1 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
3 * benchtest/bench-strtok.c (simple_strtok): Delete.
4 (strtok_string): Use as benchmark.
5 * string/strtok (STRTOK): New macro.
7 2014-02-28 Carlos O'Donell <carlos@redhat.com>
9 * manual/threads.texi: Add header and standard comments to all
12 * elf/dl-lookup.c (check_match): New function.
13 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
14 (do_lookup_x): Remove nested function check_match. Use non-nested
17 2014-02-28 Roland McGrath <roland@hack.frob.com>
19 * csu/Makefile (generated, before-compile): Use += rather than =.
20 * catgets/Makefile (generated, generated-dirs): Likewise.
21 * debug/Makefile (generated): Likewise.
22 * dlfcn/Makefile (generated): Likewise.
23 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
24 * iconvdata/Makefile (before-compile, generated): Likewise.
25 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
26 * libio/Makefile (generated): Likewise.
27 * malloc/Makefile (generated): Likewise.
28 * manual/Makefile (generated, generated-dirs): Likewise.
29 * misc/Makefile (generated): Likewise.
30 * posix/Makefile (generated): Likewise.
31 * resolv/Makefile (generated): Likewise.
32 * sunrpc/Makefile (generated, generated-dirs): Likewise.
33 * timezone/Makefile (generated, generated-dirs): Likewise.
35 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
37 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround power8
41 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New file:
42 POWER8 llround ifunc implementation.
43 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c (__lllround): Add
44 POWER8 implementation.
45 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
46 POWER8 llround implementation.
48 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint power8
52 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New file:
53 POWER8 llrint ifunc implementation.
54 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint): Add
55 POWER8 implementation.
56 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
57 POWER8 llrint implementation.
59 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
61 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite power8
63 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New file:
64 POWER8 finite ifunc implementation.
65 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite): Add
66 POWER8 implementation.
67 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
69 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
70 POWER8 finite implementation.
71 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
73 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
75 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf power8
77 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New file:
78 POWER8 isinf ifunc implementation.
79 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
80 POWER8 implementation.
81 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
83 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file:
84 POWER8 isinf implementation.
85 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
87 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
89 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h (INIT_ARCH):
90 Add hwcap2 initialization.
91 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan power8
93 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New file:
94 POWER8 isnan ifunc implementation.
95 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
96 POWER8 implementation.
97 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
99 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file:
100 POWER8 isnan implementation.
101 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
103 2014-02-27 Joey Ye <joey.ye@arm.com>
105 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
106 (_FP_NANFRAC_Q): Set to zero.
108 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
111 * math/auto-libm-test-in: New test inputs.
112 * math/auto-libm-test-out: Regenerate.
113 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
116 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
118 2014-02-27 Joseph Myers <joseph@codesourcery.com>
120 * scripts/evaluate-test.sh: Take new argument indicating whether
122 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
123 indicating whether failure is expected.
124 * conform/Makefile (test-xfail-run-conformtest): New variable.
125 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
127 * posix/Makefile (test-xfail-annexc): New variable.
128 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
130 2014-02-26 Joseph Myers <joseph@codesourcery.com>
132 * argp/Makefile: Include Makeconfig immediately after defining
134 * assert/Makefile: Likewise.
135 * benchtests/Makefile: Likewise.
136 * catgets/Makefile: Likewise.
137 * conform/Makefile: Likewise.
138 * crypt/Makefile: Likewise.
139 * csu/Makefile: Likewise.
140 (all): Remove target.
141 * ctype/Makefile: Include Makeconfig immediately after defining
143 * debug/Makefile: Likewise.
144 * dirent/Makefile: Likewise.
145 * dlfcn/Makefile: Likewise.
146 * gmon/Makefile: Likewise.
147 * gnulib/Makefile: Likewise.
148 * grp/Makefile: Likewise.
149 * gshadow/Makefile: Likewise.
150 * hesiod/Makefile: Likewise.
151 * hurd/Makefile: Likewise.
152 (all): Remove target.
153 * iconvdata/Makefile: Include Makeconfig immediately after
155 * inet/Makefile: Likewise.
156 * intl/Makefile: Likewise.
157 * io/Makefile: Likewise.
158 * libio/Makefile: Likewise.
159 (all): Remove target.
160 * locale/Makefile: Include Makeconfig immediately after defining
162 * login/Makefile: Likewise.
163 * mach/Makefile: Likewise.
164 (all): Remove target.
165 * malloc/Makefile: Include Makeconfig immediately after defining
167 (all): Remove target.
168 * manual/Makefile: Include Makeconfig immediately after defining
170 * math/Makefile: Likewise.
171 * misc/Makefile: Likewise.
172 * nis/Makefile: Likewise.
173 * nss/Makefile: Likewise.
174 * po/Makefile: Likewise.
175 (all): Remove target.
176 * posix/Makefile: Include Makeconfig immediately after defining
178 * pwd/Makefile: Likewise.
179 * resolv/Makefile: Likewise.
180 * resource/Makefile: Likewise.
181 * rt/Makefile: Likewise.
182 * setjmp/Makefile: Likewise.
183 * shadow/Makefile: Likewise.
184 * signal/Makefile: Likewise.
185 * socket/Makefile: Likewise.
186 * soft-fp/Makefile: Likewise.
187 * stdio-common/Makefile: Likewise.
188 * stdlib/Makefile: Likewise.
189 * streams/Makefile: Likewise.
190 * string/Makefile: Likewise.
191 * sunrpc/Makefile: Likewise.
192 (all): Remove target.
193 * sysvipc/Makefile: Include Makeconfig immediately after defining
195 * termios/Makefile: Likewise.
196 * time/Makefile: Likewise.
197 * timezone/Makefile: Likewise.
198 (all): Remove target.
199 * wcsmbs/Makefile: Include Makeconfig immediately after defining
201 * wctype/Makefile: Likewise.
203 2014-02-26 Steve Ellcey <sellcey@mips.com>
205 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
206 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
207 (libc_feholdexcept_setround_mips): Ditto.
208 (libc_feholdsetround): New.
209 (libc_feholdsetroundf): New.
210 (libc_feholdsetroundl): New.
211 (libc_feupdateenv_test_mips): New.
212 (libc_feupdateenv_test): New.
213 (libc_feupdateenv_testf): New.
214 (libc_feupdateenv_testl): New.
215 (libc_feresetround): New.
216 (libc_feresetroundf): New.
217 (libc_feresetroundl): New.
218 (libc_fetestexcept_mips): New.
219 (libc_fetestexcept): New.
220 (libc_fetestexceptf): New.
221 (libc_fetestexceptl): New.
223 (libc_feholdexcept_setround_mips_ctx): New.
224 (libc_feholdexcept_setround_ctx): New.
225 (libc_feholdexcept_setroundf_ctx): New.
226 (libc_feholdexcept_setroundl_ctx): New.
227 (libc_fesetenv_mips_ctx): New.
228 (libc_fesetenv_ctx): New.
229 (libc_fesetenv_ctxf): New.
230 (libc_fesetenv_ctxl): New.
231 (libc_feupdateenv_mips_ctx): New.
232 (libc_feupdateenv_ctx): New.
233 (libc_feupdateenvf_ctx): New.
234 (libc_feupdateenvl_ctx): New.
235 (libc_feholdsetround_mips_ctx): New.
236 (libc_feholdsetround_ctx): New.
237 (libc_feholdsetroundf_ctx): New.
238 (libc_feholdsetroundl_ctx): New.
239 (libc_feresetround_mips_ctx): New.
240 (libc_feresetround_ctx): New.
241 (libc_feresetroundf_ctx): New.
242 (libc_feresetroundl_ctx): New.
244 2014-02-26 Carlos O'Donell <carlos@redhat.com>
246 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
248 * manual/ipc.texi: New file.
249 * manual/Makefile (chapters): Add ipc.
250 * manual/job.texi: Add "Inter-Process Communication" to next.
251 * manual/process.texi: Add "Inter-Process Communication" to prev.
253 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
255 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
257 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
259 * malloc/malloc.c (__libc_calloc): Simplify implementation.
261 * manual/arith.texi: Fix spaces after sentences.
262 * manual/charset.texi: Likewise.
263 * manual/errno.texi: Likewise.
264 * manual/install.texi: Likewise.
265 * manual/llio.texi: Likewise.
266 * manual/locale.texi: Likewise.
267 * manual/maint.texi: Likewise.
268 * manual/math.texi: Likewise.
269 * manual/memory.texi: Likewise.
270 * manual/message.texi: Likewise.
271 * manual/probes.texi: Likewise.
272 * manual/resource.texi: Likewise.
273 * manual/signal.texi: Likewise.
274 * manual/socket.texi: Likewise.
275 * manual/stdio.texi: Likewise.
276 * manual/string.texi: Likewise.
277 * manual/time.texi: Likewise.
278 * manual/users.texi: Likewise.
280 2014-02-25 Carlos O'Donell <carlos@redhat.com>
283 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
284 _DEFAULT_SOURCE is defined.
286 2014-02-25 Ulrich Drepper <drepper@gmail.com>
287 Carlos O'Donell <carlos@redhat.com>
290 * elf/dl-tls.c (_dl_count_modids): New function.
291 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
292 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
293 audit library and increment generation counter.
294 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
295 * elf/tst-audit9.c: New file.
296 * elf/tst-auditmod9a.c: New file.
297 * elf/tst-auditmod9b.c: New file.
298 * elf/Makefile: Add rules to build and run tst-audit9.
300 2014-02-25 Florian Weimer <fweimer@redhat.com>
303 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
305 2014-02-25 Will Newton <will.newton@linaro.org>
307 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
308 (__longjmp): Restore sp and lr before restoring callee
309 saved registers. Add longjmp and longjmp_target
310 SystemTap probe point.
311 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
312 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
313 Define to zero to match jmpbuf layout.
314 * sysdeps/arm/setjmp.S: Include stap-probe.h.
315 (__sigsetjmp): Save sp and lr before saving callee
316 saved registers. Add setjmp SystemTap probe point.
318 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
320 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
322 2014-02-24 Andreas Schwab <schwab@suse.de>
325 * elf/pldd.c (wait_for_ptrace_stop): New function.
326 (main): Call it after attaching.
328 2014-02-22 Roland McGrath <roland@hack.frob.com>
330 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
331 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
332 Versions files is now verboten.
333 * hurd/Versions (libc: GLIBC_2.0):
334 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
335 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
336 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
337 * mach/Versions: Likewise.
339 * csu/Versions: Remove unused %include.
340 * resolv/Versions: Likewise.
342 2014-02-21 Joseph Myers <joseph@codesourcery.com>
344 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
345 ($(objpfx)check-local-headers.out): Likewise.
346 ($(objpfx)begin-end-check.out): Likewise.
347 * Makerules (check-abi-%.out): Likewise.
348 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
349 ($(objpfx)test2.cat): Likewise.
350 ($(objpfx)de/libc.cat): Likewise.
351 ($(objpfx)test-gencat.out): Likewise.
352 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
353 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
354 ($(objpfx)noload-mem): Likewise.
355 ($(objpfx)tst-pathopt.out): Likewise.
356 ($(objpfx)tst-rtld-load-self.out): Likewise.
357 ($(objpfx)tst-array1-cmp.out): Likewise.
358 ($(objpfx)tst-array1-static-cmp.out): Likewise.
359 ($(objpfx)tst-array2-cmp.out): Likewise.
360 ($(objpfx)tst-array3-cmp.out): Likewise.
361 ($(objpfx)tst-array4-cmp.out): Likewise.
362 ($(objpfx)tst-array5-cmp.out): Likewise.
363 ($(objpfx)tst-array5-static-cmp.out): Likewise.
364 ($(objpfx)check-textrel.out): Likewise.
365 ($(objpfx)check-execstack.out): Likewise.
366 ($(objpfx)check-localplt.out): Likewise.
367 ($(objpfx)order2-cmp.out): Likewise.
368 ($(objpfx)tst-leaks1-mem): Likewise.
369 ($(objpfx)tst-leaks1-static-mem): Likewise.
370 ($(objpfx)tst-initorder-cmp.out): Likewise.
371 ($(objpfx)tst-initorder2-cmp.out): Likewise.
372 ($(objpfx)tst-unused-dep.out): Likewise.
373 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
374 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
375 * iconv/Makefile (test-iconvconfig): Likewise.
376 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
377 ($(objpfx)iconv-test.out): Likewise.
378 ($(objpfx)tst-tables.out): Likewise.
379 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
380 ($(objpfx)tst-gettext.out): Likewise.
381 ($(objpfx)tst-translit.out): Likewise.
382 ($(objpfx)tst-gettext2.out): Likewise.
383 ($(objpfx)tst-gettext4.out): Likewise.
384 ($(objpfx)tst-gettext6.out): Likewise.
385 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
386 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
387 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
388 ($(objpfx)tst-fopenloc-mem.out): Likewise.
389 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
390 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
391 * posix/Makefile ($(objpfx)globtest.out): Likewise.
392 ($(objpfx)wordexp-tst.out): Likewise.
393 ($(objpfx)annexc.out): Likewise.
394 ($(objpfx)tst-fnmatch-mem): Likewise.
395 ($(objpfx)bug-regex2-mem): Likewise.
396 ($(objpfx)bug-regex14-mem): Likewise.
397 ($(objpfx)bug-regex21-mem): Likewise.
398 ($(objpfx)bug-regex31-mem): Likewise.
399 ($(objpfx)tst-vfork3-mem): Likewise.
400 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
401 ($(objpfx)tst-pcre-mem): Likewise.
402 ($(objpfx)tst-boost-mem): Likewise.
403 ($(objpfx)tst-getconf.out): Likewise.
404 ($(objpfx)bug-ga2-mem): Likewise.
405 ($(objpfx)bug-glob2-mem): Likewise.
406 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
407 ($(objpfx)mtrace-tst-leaks2): Likewise.
408 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
409 ($(objpfx)tst-printf.out): Likewise.
410 ($(objpfx)tst-setvbuf1.out): Likewise.
411 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
412 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
413 ($(objpfx)tst-fmtmsg.out): Likewise.
414 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
415 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
417 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
418 * bits/sigaction.h [__USE_MISC]: Likewise.
419 * bits/waitstatus.h: Update #endif comments.
420 * ctype/ctype.h: Likewise.
421 * dirent/dirent.h: Likewise.
422 [__USE_MISC]: Remove redundant conditionals.
423 * grp/grp.h: Update #endif comments.
424 [__USE_GNU]: Remove redundant conditionals.
425 [__USE_MISC]: Likewise.
426 * inet/netinet/in.h [__USE_GNU]: Likewise.
427 * io/sys/stat.h [__USE_MISC]: Likewise.
428 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
429 * libio/bits/stdio.h: Update #endif comments.
430 [__USE_MISC]: Remove redundant conditionals.
431 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
432 * libio/stdio.h: Update #endif comments.
433 [__USE_MISC]: Remove redundant conditionals.
434 * math/bits/math-finite.h [__USE_MISC]: Likewise.
435 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
436 * math/math.h: Update #else and #endif comments.
437 [__USE_MISC]: Remove redundant conditionals.
438 * misc/sys/uio.h: Update #endif comments.
439 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
440 * posix/glob.h [__USE_MISC]: Likewise.
441 * posix/sys/types.h: Update #endif comments.
442 [__USE_MISC]: Remove redundant conditionals.
443 * posix/sys/wait.h: Update #endif comments.
444 [__USE_MISC]: Remove redundant conditionals.
445 * posix/unistd.h: Update #endif comments.
446 [__USE_MISC]: Remove redundant conditionals.
447 * pwd/pwd.h [__USE_GNU]: Likewise.
448 [__USE_MISC]: Likewise.
449 * resolv/netdb.h [__USE_GNU]: Likewise.
450 * signal/signal.h: Update #endif comments.
451 [__USE_MISC]: Remove redundant conditionals.
452 * stdlib/stdlib.h: Update #else and #endif comments.
453 [__USE_MISC]: Remove redundant conditionals.
454 [__USE_GNU]: Likewise.
455 * string/bits/string2.h [__USE_MISC]: Likewise.
456 * string/string.h: Update #endif comments.
457 [__USE_MISC]: Remove redundant conditionals.
458 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
460 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
461 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
462 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
464 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
466 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
468 [__USE_MISC]: Remove redundant conditionals.
469 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
470 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
471 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
472 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
473 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
475 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
476 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
478 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
479 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
481 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
483 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
484 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
486 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
488 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
489 * sysdeps/x86/bits/string.h: Update #endif comments.
490 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
492 * time/sys/time.h: Update #endif comments.
493 * time/time.h: Likewise.
494 [__USE_MISC]: Remove redundant conditionals.
496 2014-02-21 Yury Gribov <y.gribov@samsung.com>
499 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
501 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
503 * Versions.def (librt): Add GLIBC_2.17.
505 2014-02-21 Adam Conrad <adconrad@0c3.net>
507 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
508 synonym for _SYS_AUXV_H to allow direct inclusion.
509 * sysdeps/sparc/bits/hwcap.h: Likewise.
510 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
511 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
512 * sysdeps/sparc/sysdep.h: Likewise.
514 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
516 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
518 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
520 * benchtests/bench-strrchr.c: Print length instead of position.
522 2014-02-20 Joseph Myers <joseph@codesourcery.com>
525 * sysdeps/unix/sysv/linux/kernel-features.h
526 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
527 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
528 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
529 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
531 [__i386__ || __powerpc__ || __sh__ || __sparc__]
532 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
533 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
534 (__ASSUME_SENDMMSG): Define instead of using previous
535 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
536 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
537 (__ASSUME_SENDMMSG_SYSCALL): Define.
538 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
539 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
541 * sysdeps/unix/sysv/linux/arm/kernel-features.h
542 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
544 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
545 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
547 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
548 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
549 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
550 [__ASSUME_SENDMMSG]: Change conditionals to
551 [__ASSUME_SENDMMSG_SOCKETCALL].
552 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
553 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
555 * sysdeps/unix/sysv/linux/mips/kernel-features.h
556 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
558 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
559 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
560 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
561 [!__ASSUME_SENDMMSG]: Change conditional to
562 [!__ASSUME_SENDMMSG_SOCKETCALL].
563 * sysdeps/unix/sysv/linux/tile/kernel-features.h
564 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
568 * sysdeps/unix/sysv/linux/kernel-features.h
569 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
570 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
571 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
572 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
573 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
574 [__i386__ || __sparc__]
575 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
576 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
577 (__ASSUME_RECVMMSG): Define instead of using previous
578 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
579 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
580 (__ASSUME_RECVMMSG_SYSCALL): Define.
581 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
582 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
584 * sysdeps/unix/sysv/linux/arm/kernel-features.h
585 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
587 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
588 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
590 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
591 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
592 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
593 [__ASSUME_RECVMMSG]: Change condition to
594 [__ASSUME_RECVMMSG_SOCKETCALL].
595 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
596 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
598 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
599 * sysdeps/unix/sysv/linux/mips/kernel-features.h
600 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
602 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
603 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
604 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
605 [!__ASSUME_RECVMMSG]: Change condition to
606 [!__ASSUME_RECVMMSG_SOCKETCALL].
607 * sysdeps/unix/sysv/linux/tile/kernel-features.h
608 (__ASSUME_RECVMMSG_SYSCALL): Define.
611 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
612 __powerpc__ || __s390__ || __sh__ || __sparc__]
613 (__ASSUME_SOCKETCALL): Define.
614 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
615 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
616 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
617 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
618 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
619 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
620 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
621 (__ASSUME_ACCEPT4): Define instead of using previous
622 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
623 __powerpc__ || __sparc__ || __s390__)] condition.
624 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
625 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
626 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
627 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
628 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
629 [!__ASSUME_ACCEPT4]: Change condition to
630 [!__ASSUME_ACCEPT4_SOCKETCALL].
631 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
632 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
633 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
634 * sysdeps/unix/sysv/linux/arm/kernel-features.h
635 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
636 __ASSUME_ACCEPT4_SYSCALL.
637 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
638 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
639 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
640 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
641 __ASSUME_ACCEPT4_SYSCALL.
642 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
643 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
644 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
645 [__ASSUME_ACCEPT4]: Change condition to
646 [__ASSUME_ACCEPT4_SOCKETCALL].
647 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
648 (__ASSUME_SOCKETCALL): Define.
649 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
650 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
651 (__ASSUME_SOCKETCALL): Define.
652 (__ASSUME_ACCEPT4): Remove.
653 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
655 * sysdeps/unix/sysv/linux/mips/kernel-features.h
656 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
658 * sysdeps/unix/sysv/linux/tile/kernel-features.h
659 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
661 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
663 (HWCAP_ARM_LPAE): Likewise.
664 (HWCAP_ARM_EVTSTRM): Likewise.
665 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
666 Add vpfd32, lpae and evtstrm.
667 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
670 2014-02-19 Joseph Myers <joseph@codesourcery.com>
672 * math/auto-libm-test-in: Add tests of clog10.
673 * math/auto-libm-test-out: Regenerated.
674 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
675 * sysdeps/i386/fpu/libm-test-ulps: Update.
676 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
678 2014-02-18 Andreas Schwab <schwab@suse.de>
681 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
682 Store non-zero if the second buffer was newly allocated.
684 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
685 to send_vc and send_dg.
686 (res_nsend): Pass NULL for ansp2_malloced.
687 * resolv/res_query.c (__libc_res_nquery): Add parameter
688 answerp2_malloced and pass it down to __libc_res_nsend.
689 (res_nquery): Pass additional NULL to __libc_res_nquery.
690 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
691 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
692 second answer buffer if answerp2_malloced was set.
693 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
694 (__libc_res_nquerydomain): Add parameter
695 answerp2_malloced and pass it down to __libc_res_nquery.
696 (res_nquerydomain): Pass additional NULL to
697 __libc_res_nquerydomain.
698 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
699 additional NULL to __libc_res_nsend and __libc_res_nquery.
700 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
701 additional NULL to __libc_res_nsearch.
702 (_nss_dns_gethostbyname4_r): Revert last change. Use new
703 parameter of __libc_res_nsearch to check for separately allocated
705 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
707 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
708 additional NULL to __libc_res_nquery.
709 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
711 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
712 * include/resolv.h: Update prototypes of __libc_res_nquery,
713 __libc_res_nsearch, __libc_res_nsend.
715 2014-02-18 Joseph Myers <joseph@codesourcery.com>
717 * math/auto-libm-test-in: Add tests of fma.
718 * math/auto-libm-test-out: Regenerated.
719 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
720 (fma_towardzero_test_data): Likewise.
721 (fma_downward_test_data): Likewise.
722 (fma_upward_test_data): Likewise.
723 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
725 (rounding_modes): Add values for new field.
726 (func_calc_method): Add value mpfr_fff_f.
727 (func_calc_desc): Add mpfr_fff_f union field.
728 (test_function): Add field exact_args.
729 (FUNC): Add macro argument EXACT_ARGS.
730 (FUNC_mpfr_f_f): Update call to FUNC.
731 (FUNC_mpfr_f_f): Likewise.
732 (FUNC_mpfr_ff_f): Likewise.
733 (FUNC_mpfr_if_f): Likewise.
734 (FUNC_mpc_c_f): Likewise.
735 (FUNC_mpc_c_c): Likewise.
736 (test_functions): Add fma. Update calls to FUNC.
737 (handle_input_arg): Add argument exact_args.
738 (add_test): Update call to handle_input_arg.
739 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
740 (output_for_one_input_case): Update call to calc_generic_results.
741 Recalculate exact zero results in each rounding mode.
743 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
744 non-negative before setting low bit.
745 * math/auto-libm-test-in: Mark one asin test possibly having
747 * math/auto-libm-test-out: Regenerated.
748 * sysdeps/i386/fpu/libm-test-ulps: Update.
749 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
751 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
753 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
754 * sysdeps/unix/sysv/linux/microblaze: Move directory from
755 ports/sysdeps/unix/sysv/linux/microblaze.
756 * README: Add missing listing for microblaze*-*-linux-gnu.
758 2014-02-16 Mike Frysinger <vapier@gentoo.org>
760 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
761 * sysdeps/unix/sysv/linux/ia64: Move directory from
762 ports/sysdeps/unix/sysv/linux/ia64.
763 * README: Update listing for ia64-*-linux-gnu.
765 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
766 Joseph Myers <joseph@codesourcery.com>
768 * Makeconfig (test-name): New variable.
769 (evaluate-test): Likewise.
770 * Makerules (do-test-clean): Remove .test-result files.
771 (common-mostlyclean): Likewise.
772 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
773 * scripts/evaluate-test.sh: New file.
775 2014-02-14 Joseph Myers <joseph@codesourcery.com>
777 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
778 separate $(objpfx)tst-fopenloc-cmp.out and
779 $(objpfx)tst-fopenloc-mem.out targets.
780 (tests): Update dependencies.
781 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
782 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
783 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
784 (tst-rxspencer-no-utf8-ARGS): New variable.
785 (tst-rxspencer-no-utf8-ENV): Likewise.
786 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
787 instead of $(objpfx)tst-rxspencer-mem.
788 ($(objpfx)tst-rxspencer-mem): Change target to
789 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
790 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
791 * posix/tst-rxspencer-no-utf8.c: New file.
793 * elf/Makefile ($(objpfx)order.out): Remove rule.
794 [$(run-built-tests) = yes] (tests): Depend on
795 $(objpfx)order-cmp.out.
796 ($(objpfx)order-cmp.out): New rule.
797 [$(run-built-tests) = yes] (tests): Depend on
798 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
799 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
800 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
801 $(objpfx)tst-array5-static-cmp.out.
802 ($(objpfx)tst-array1.out): Remove rule.
803 ($(objpfx)tst-array1-cmp.out): New rule.
804 ($(objpfx)tst-array1-static.out): Remove rule.
805 ($(objpfx)tst-array1-static-cmp.out): New rule.
806 ($(objpfx)tst-array2.out): Remove rule.
807 ($(objpfx)tst-array2-cmp.out): New rule.
808 ($(objpfx)tst-array3.out): Remove rule.
809 ($(objpfx)tst-array3-cmp.out): New rule.
810 ($(objpfx)tst-array4.out): Remove rule.
811 ($(objpfx)tst-array4-cmp.out): New rule.
812 ($(objpfx)tst-array5.out): Remove rule.
813 ($(objpfx)tst-array5-cmp.out): New rule.
814 ($(objpfx)tst-array5-static.out): Remove rule.
815 ($(objpfx)tst-array5-static-cmp.out): New rule.
816 [$(run-built-tests) = yes] (tests): Depend on
817 $(objpfx)order2-cmp.out.
818 ($(objpfx)order2.out): Remove rule.
819 ($(objpfx)order2-cmp.out): New rule.
820 ($(objpfx)tst-initorder.out): Remove rule.
821 [$(run-built-tests) = yes] (tests): Depend on
822 $(objpfx)tst-initorder-cmp.out.
823 ($(objpfx)tst-initorder-cmp.out): New rule.
824 ($(objpfx)tst-initorder2.out): Remove rule.
825 [$(run-built-tests) = yes] (tests): Depend on
826 $(objpfx)tst-initorder2-cmp.out.
827 ($(objpfx)tst-initorder2-cmp.out): New rule.
828 [$(run-built-tests) = yes] (tests): Depend on
829 $(objpfx)tst-unused-dep-cmp.out.
830 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
831 ($(objpfx)tst-unused-dep-cmp.out): New rule.
832 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
833 on $(objpfx)tst-setvbuf1-cmp.out.
834 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
835 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
836 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
837 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
838 ($(objpfx)tst-svc.out): Remove rule.
839 ($(objpfx)tst-svc-cmp.out): New rule.
841 2014-02-13 Joseph Myers <joseph@codesourcery.com>
843 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
844 * ctype/ctype.h [__USE_MISC]: Likewise.
845 * dirent/dirent.h [__USE_MISC]: Likewise.
846 * grp/grp.h [__USE_MISC]: Likewise.
847 * io/fcntl.h [__USE_MISC]: Likewise.
848 * io/sys/stat.h [__USE_MISC]: Likewise.
849 * libio/stdio.h [__USE_MISC]: Likewise.
850 * posix/unistd.h [__USE_MISC]: Likewise.
851 * pwd/pwd.h [__USE_MISC]: Likewise.
852 * stdlib.h [__USE_MISC]: Likewise.
853 * string/bits/string2.h [__USE_MISC]: Likewise.
854 * string/string.h [__USE_MISC]: Likewise.
855 * time/time.h [__USE_MISC]: Likewise.
857 2014-02-13 Andreas Schwab <schwab@suse.de>
860 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
861 second answer buffer if it was separately allocated.
863 2014-02-12 Joseph Myers <joseph@codesourcery.com>
865 * sysdeps/mips/math-tests.h: Include <features.h>.
866 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
867 (ROUNDING_TESTS_long_double): Do not define.
868 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
869 (EXCEPTION_TESTS_long_double): Likewise.
870 * sysdeps/mips/mips64/libm-test-ulps: Update.
872 * include/features.h (__USE_BSD): Remove macro definitions.
873 (__USE_SVID): Likewise.
874 (_BSD_SOURCE): Likewise.
875 (_SVID_SOURCE): Likewise.
876 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
877 from definition of _DEFAULT_SOURCE.
878 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
880 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
881 * bits/mman.h [__USE_BSD]: Likewise.
882 * bits/termios.h [__USE_BSD]: Likewise.
883 * bits/waitstatus.h [__USE_BSD]: Likewise.
884 * ctype/ctype.h [__USE_SVID]: Likewise.
885 * dirent/dirent.h [__USE_BSD]: Likewise.
886 * grp/grp.h [__USE_SVID]: Likewise.
887 [__USE_BSD]: Likewise.
888 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
889 * io/fcntl.h [__USE_BSD]: Likewise.
890 * io/ftw.h [__USE_BSD]: Likewise.
891 * io/sys/stat.h [__USE_BSD]: Likewise.
892 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
893 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
894 * libio/stdio.h [__USE_SVID]: Likewise.
895 [__USE_BSD]: Likewise.
896 * math/math.h [__USE_SVID]: Likewise.
897 [__USE_BSD]: Likewise.
898 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
899 * misc/bits/syslog.h [__USE_BSD]: Likewise.
900 * misc/search.h [__USE_SVID]: Likewise.
901 * misc/sys/mman.h [__USE_BSD]: Likewise.
902 * misc/sys/syslog.h [__USE_BSD]: Likewise.
903 * misc/sys/uio.h [__USE_BSD]: Likewise.
904 * posix/bits/unistd.h [__USE_BSD]: Likewise.
905 * posix/glob.h [__USE_BSD]: Likewise.
906 * posix/regex.h [__USE_BSD]: Likewise.
907 * posix/sys/types.h [__USE_BSD]: Likewise.
908 [__USE_SVID]: Likewise.
909 * posix/sys/utsname.h [__USE_SVID]: Likewise.
910 * posix/sys/wait.h [__USE_BSD]: Likewise.
911 [__USE_SVID]: Likewise.
912 * posix/unistd.h [__USE_BSD]: Likewise.
913 [__USE_SVID]: Likewise.
914 * pwd/pwd.h [__USE_SVID]: Likewise.
915 * resolv/netdb.h [__USE_BSD]: Likewise.
916 * setjmp/setjmp.h [__USE_BSD]: Likewise.
917 * signal/signal.h [__USE_BSD]: Likewise.
918 [__USE_SVID]: Likewise.
919 * socket/sys/socket.h [__USE_BSD]: Likewise.
920 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
921 * stdlib/stdlib.h [__USE_BSD]: Likewise.
922 [__USE_SVID]: Likewise.
923 * string/bits/string2.h [__USE_BSD]: Likewise.
924 [__USE_SVID]: Likewise.
925 * string/bits/string3.h [__USE_BSD]: Likewise.
926 * string/endian.h [__USE_BSD]: Likewise.
927 * string/string.h [__USE_SVID]: Likewise.
928 [__USE_BSD]: Likewise.
929 * string/strings.h [__USE_BSD]: Likewise.
930 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
931 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
932 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
933 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
934 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
935 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
937 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
939 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
940 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
942 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
943 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
945 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
947 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
948 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
949 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
951 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
953 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
954 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
955 * termios/termios.h [__USE_BSD]: Likewise.
956 * time/sys/time.h [__USE_BSD]: Likewise.
957 * time/time.h [__USE_BSD]: Likewise.
958 [__USE_SVID]: Likewise.
960 * Makefile (subdir_targets): Remove subdir_lint.out.
962 * stdio-common/Makefile (do-tst-unbputc): Remove target.
963 (do-tst-printf): Likewise.
964 (tests): Depend directly on $(objpfx)tst-unbputc.out and
965 $(objpfx)tst-printf.out.
967 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
969 * Makerules (check-abi-%): Change target to
970 $(objpfx)check-abi-%.out.
971 (check-abi target): Update dependencies.
972 (check-abi-pattern variable): Redirect output of diff to $@.
973 (check-abi variable): Likewise.
974 * elf/Makefile (check-abi): Update dependencies.
976 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
978 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
979 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
981 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
982 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
983 value has largest subnormal exponent.
984 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
985 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
986 * sysdeps/aarch64/soft-fp/sfp-machine.h
987 (_FP_TININESS_AFTER_ROUNDING): New macro.
988 * sysdeps/alpha/soft-fp/sfp-machine.h
989 (_FP_TININESS_AFTER_ROUNDING): Likewise.
990 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
992 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
993 (_FP_TININESS_AFTER_ROUNDING): Likewise.
994 * sysdeps/mips/soft-fp/sfp-machine.h
995 (_FP_TININESS_AFTER_ROUNDING): Likewise.
996 * sysdeps/powerpc/soft-fp/sfp-machine.h
997 (_FP_TININESS_AFTER_ROUNDING): Likewise.
998 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
1000 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
1001 (_FP_TININESS_AFTER_ROUNDING): Likewise.
1002 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
1003 (_FP_TININESS_AFTER_ROUNDING): Likewise.
1004 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
1007 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
1010 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
1013 2014-02-12 Richard Henderson <rth@redhat.com>
1015 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
1016 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
1017 * sysdeps/unix/sysv/linux/alpha: Move directory from
1018 ports/sysdeps/unix/sysv/linux/alpha.
1019 * README: Update listing for alpha-*-linux-gnu.
1021 2014-02-11 Joseph Myers <joseph@codesourcery.com>
1023 * include/features.h: Update comment documenting feature test
1025 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
1027 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
1028 (_SVID_SOURCE): Likewise.
1029 (_DEFAULT_SOURCE): Update description of default features.
1030 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
1032 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
1033 (S_ISVTX): Likewise.
1034 * manual/math.texi (Mathematical Constants): Likewise.
1035 * manual/signal.texi (Interrupted Primitives): Likewise.
1036 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
1037 * math/test-matherr.c (_SVID_SOURCE): Do not define.
1038 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
1039 Don't refer to _SVID_SOURCE in warning text.
1041 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1043 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
1045 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
1046 * sysdeps/mips/dl-lookup.c: Remove.
1047 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
1049 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
1052 * math/auto-libm-test-in: Add testcase for expl.
1053 * math/auto-libm-test-out: Regenerate.
1054 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
1055 calculation of unsafe.
1056 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
1058 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
1060 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
1061 * sysdeps/unix/sysv/linux/aarch64: Move directory from
1062 ports/sysdeps/unix/sysv/linux/aarch64.
1063 * README: Update listing for aarch64*-*-linux-gnu.
1065 2014-02-11 Will Newton <will.newton@linaro.org>
1067 * manual/probes.texi (Mathematical Function Probes): Use
1068 "triggered" instead of "hit".
1070 2014-02-11 Will Newton <will.newton@linaro.org>
1072 * manual/probes.texi (Internal Probes): Add documentation
1073 of setjmp, longjmp and longjmp_target probes.
1075 2014-02-11 Will Newton <will.newton@linaro.org>
1077 * include/stap-probe.h: Add comment about probe argument
1080 2014-02-11 Will Newton <will.newton@linaro.org>
1082 * malloc/mtrace.c (attribute_hidden): Remove unused macro
1083 definition. (tr_where, tr_freehook, tr_mallochook,
1084 tr_reallochook, tr_memalignhook): Use ANSI protoype.
1086 2014-02-11 David S. Miller <davem@davemloft.net>
1088 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
1089 processing int_tests.
1091 2014-02-10 Joseph Myers <joseph@codesourcery.com>
1093 * sysdeps/mips: Move directory from ports/sysdeps/mips.
1094 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
1095 * sysdeps/unix/sysv/linux/mips: Move directory from
1096 ports/sysdeps/unix/sysv/linux/mips.
1097 * README: Update listing for mips-*-linux-gnu and
1100 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
1102 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
1103 * sysdeps/unix/sysv/linux/m68k: Move directory from
1104 ports/sysdeps/unix/sysv/linux/m68k.
1105 * README: Update listing for m68k-*-linux-gnu.
1107 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
1109 * sysdeps/tile: Move directory from ports/sysdeps/tile.
1110 * sysdeps/unix/sysv/linux/generic: Move directory from
1111 ports/sysdeps/unix/sysv/linux/generic.
1112 * sysdeps/unix/sysv/linux/tile: Move directory from
1113 ports/sysdeps/unix/sysv/linux/tile.
1114 * README: Update listing for tile*-*-linux-gnu.
1116 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
1118 * assert/assert.c (__assert_fail_base): Use glibc_likely instead __builtin_expect.
1119 * benchtests/bench-memmem.c (simple_memmem): Likewise.
1120 * catgets/open_catalog.c (__open_catalog): Likewise.
1121 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
1122 * debug/confstr_chk.c: Likewise.
1123 * debug/fread_chk.c (__fread_chk): Likewise.
1124 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
1125 * debug/getgroups_chk.c: Likewise.
1126 * debug/mbsnrtowcs_chk.c: Likewise.
1127 * debug/mbsrtowcs_chk.c: Likewise.
1128 * debug/mbstowcs_chk.c: Likewise.
1129 * debug/memcpy_chk.c: Likewise.
1130 * debug/memmove_chk.c: Likewise.
1131 * debug/mempcpy_chk.c: Likewise.
1132 * debug/memset_chk.c: Likewise.
1133 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
1134 * debug/strcat_chk.c (__strcat_chk): Likewise.
1135 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
1136 * debug/strncat_chk.c (__strncat_chk): Likewise.
1137 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
1138 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
1139 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
1140 * debug/wcpncpy_chk.c: Likewise.
1141 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
1142 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
1143 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
1144 * debug/wcsncpy_chk.c: Likewise.
1145 * debug/wcsnrtombs_chk.c: Likewise.
1146 * debug/wcsrtombs_chk.c: Likewise.
1147 * debug/wcstombs_chk.c: Likewise.
1148 * debug/wmemcpy_chk.c: Likewise.
1149 * debug/wmemmove_chk.c: Likewise.
1150 * debug/wmempcpy_chk.c: Likewise.
1151 * debug/wmemset_chk.c: Likewise.
1152 * dirent/scandirat.c (SCANDIRAT): Likewise.
1153 * dlfcn/dladdr1.c (dladdr1): Likewise.
1154 * dlfcn/dladdr.c (dladdr): Likewise.
1155 * dlfcn/dlclose.c (dlclose_doit): Likewise.
1156 * dlfcn/dlerror.c (__dlerror): Likewise.
1157 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
1158 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
1159 * dlfcn/dlopen.c (dlopen_doit): Likewise.
1160 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
1161 * dlfcn/dlsym.c (dlsym_doit): Likewise.
1162 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
1163 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
1164 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
1166 * elf/dl-conflict.c: Likewise.
1167 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
1168 * elf/dl-dst.h: Likewise.
1169 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
1170 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
1171 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
1172 * elf/dl-init.c (call_init, _dl_init): Likewise.
1173 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
1174 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths,
1175 _dl_map_object_from_fd, open_verify, open_path,
1176 _dl_map_object): Likewise.
1177 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
1179 * elf/dl-minimal.c (__libc_memalign): Likewise.
1180 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
1181 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
1182 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
1183 * elf/dl-sym.c (do_sym): Likewise.
1184 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr, __tls_get_addr,
1185 _dl_tls_get_addr_soft): Likewise.
1186 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
1187 * elf/dl-writev.h (_dl_writev): Likewise.
1188 * elf/ldconfig.c (search_dir): Likewise.
1189 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload,
1191 * elf/setup-vdso.h (setup_vdso): Likewise.
1192 * grp/compat-initgroups.c (compat_call): Likewise.
1193 * grp/fgetgrent.c (fgetgrent): Likewise.
1194 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
1195 * grp/putgrent.c (putgrent): Likewise.
1196 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
1198 * hurd/hurdinit.c: Likewise.
1199 * iconvdata/8bit-gap.c (struct): Likewise.
1200 * iconvdata/ansi_x3.110.c : Likewise.
1201 * iconvdata/big5.c : Likewise.
1202 * iconvdata/big5hkscs.c : Likewise.
1203 * iconvdata/cp1255.c: Likewise.
1204 * iconvdata/cp1258.c : Likewise.
1205 * iconvdata/cp932.c : Likewise.
1206 * iconvdata/euc-cn.c: Likewise.
1207 * iconvdata/euc-jisx0213.c : Likewise.
1208 * iconvdata/euc-jp.c: Likewise.
1209 * iconvdata/euc-jp-ms.c : Likewise.
1210 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
1211 * iconvdata/gb18030.c : Likewise.
1212 * iconvdata/gbbig5.c (const): Likewise.
1213 * iconvdata/gbgbk.c: Likewise.
1214 * iconvdata/gbk.c : Likewise.
1215 * iconvdata/ibm1364.c : Likewise.
1216 * iconvdata/ibm930.c : Likewise.
1217 * iconvdata/ibm932.c: Likewise.
1218 * iconvdata/ibm933.c : Likewise.
1219 * iconvdata/ibm935.c : Likewise.
1220 * iconvdata/ibm937.c : Likewise.
1221 * iconvdata/ibm939.c : Likewise.
1222 * iconvdata/ibm943.c: Likewise.
1223 * iconvdata/iso_11548-1.c: Likewise.
1224 * iconvdata/iso-2022-cn.c : Likewise.
1225 * iconvdata/iso-2022-cn-ext.c : Likewise.
1226 * iconvdata/iso-2022-jp-3.c: Likewise.
1227 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
1228 * iconvdata/iso-2022-kr.c : Likewise.
1229 * iconvdata/iso646.c (gconv_end): Likewise.
1230 * iconvdata/iso_6937-2.c : Likewise.
1231 * iconvdata/iso_6937.c : Likewise.
1232 * iconvdata/iso8859-1.c: Likewise.
1233 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
1234 * iconvdata/shift_jisx0213.c : Likewise.
1235 * iconvdata/sjis.c : Likewise.
1236 * iconvdata/t.61.c : Likewise.
1237 * iconvdata/tcvn5712-1.c : Likewise.
1238 * iconvdata/tscii.c: Likewise.
1239 * iconvdata/uhc.c : Likewise.
1240 * iconvdata/unicode.c (gconv_end): Likewise.
1241 * iconvdata/utf-16.c (gconv_end): Likewise.
1242 * iconvdata/utf-32.c (gconv_end): Likewise.
1243 * iconvdata/utf-7.c (base64): Likewise.
1244 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
1245 * iconv/gconv_close.c (__gconv_close): Likewise.
1246 * iconv/gconv_open.c (__gconv_open): Likewise.
1247 * iconv/gconv_simple.c (internal_ucs4_loop_single, ucs4_internal_loop,
1248 ucs4_internal_loop_unaligned, ucs4_internal_loop_single,
1249 internal_ucs4le_loop_single, ucs4le_internal_loop,
1250 ucs4le_internal_loop_unaligned, ucs4le_internal_loop_single): Likewise.
1251 * iconv/iconv.c (iconv): Likewise.
1252 * iconv/iconv_close.c: Likewise.
1253 * iconv/loop.c (SINGLE): Likewise.
1254 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
1255 * include/atomic.h: Likewise.
1256 * inet/inet6_option.c (option_alloc): Likewise.
1257 * intl/bindtextdom.c (set_binding_values): Likewise.
1258 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
1259 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
1260 * intl/localealias.c (read_alias_file): Likewise.
1261 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
1262 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap,
1263 _IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
1264 * libio/fmemopen.c (fmemopen): Likewise.
1265 * libio/iofgets.c (_IO_fgets): Likewise.
1266 * libio/iofgets_u.c (fgets_unlocked): Likewise.
1267 * libio/iofgetws.c (fgetws): Likewise.
1268 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
1269 * libio/iogetdelim.c (_IO_getdelim): Likewise.
1270 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap,
1271 adjust_wide_data, _IO_wfile_seekoff): Likewise.
1272 * locale/findlocale.c (_nl_find_locale): Likewise.
1273 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
1274 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
1276 * locale/setlocale.c (setlocale): Likewise.
1277 * login/programs/pt_chown.c (main): Likewise.
1278 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
1279 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
1280 * malloc/memusage.c (update_data, malloc, realloc, calloc, free,
1281 mmap, mmap64, mremap, munmap): Likewise.
1282 * math/e_exp2l.c: Likewise.
1283 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
1284 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
1285 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
1286 * math/s_catan.c (__catan): Likewise.
1287 * math/s_catanf.c (__catanf): Likewise.
1288 * math/s_catanh.c (__catanh): Likewise.
1289 * math/s_catanhf.c (__catanhf): Likewise.
1290 * math/s_catanhl.c (__catanhl): Likewise.
1291 * math/s_catanl.c (__catanl): Likewise.
1292 * math/s_ccosh.c (__ccosh): Likewise.
1293 * math/s_ccoshf.c (__ccoshf): Likewise.
1294 * math/s_ccoshl.c (__ccoshl): Likewise.
1295 * math/s_cexp.c (__cexp): Likewise.
1296 * math/s_cexpf.c (__cexpf): Likewise.
1297 * math/s_cexpl.c (__cexpl): Likewise.
1298 * math/s_clog10.c (__clog10): Likewise.
1299 * math/s_clog10f.c (__clog10f): Likewise.
1300 * math/s_clog10l.c (__clog10l): Likewise.
1301 * math/s_clog.c (__clog): Likewise.
1302 * math/s_clogf.c (__clogf): Likewise.
1303 * math/s_clogl.c (__clogl): Likewise.
1304 * math/s_csin.c (__csin): Likewise.
1305 * math/s_csinf.c (__csinf): Likewise.
1306 * math/s_csinh.c (__csinh): Likewise.
1307 * math/s_csinhf.c (__csinhf): Likewise.
1308 * math/s_csinhl.c (__csinhl): Likewise.
1309 * math/s_csinl.c (__csinl): Likewise.
1310 * math/s_csqrt.c (__csqrt): Likewise.
1311 * math/s_csqrtf.c (__csqrtf): Likewise.
1312 * math/s_csqrtl.c (__csqrtl): Likewise.
1313 * math/s_ctan.c (__ctan): Likewise.
1314 * math/s_ctanf.c (__ctanf): Likewise.
1315 * math/s_ctanh.c (__ctanh): Likewise.
1316 * math/s_ctanhf.c (__ctanhf): Likewise.
1317 * math/s_ctanhl.c (__ctanhl): Likewise.
1318 * math/s_ctanl.c (__ctanl): Likewise.
1319 * math/w_pow.c: Likewise.
1320 * math/w_powf.c: Likewise.
1321 * math/w_powl.c: Likewise.
1322 * math/w_scalb.c (sysv_scalb): Likewise.
1323 * math/w_scalbf.c (sysv_scalbf): Likewise.
1324 * math/w_scalbl.c (sysv_scalbl): Likewise.
1325 * misc/error.c (error_tail): Likewise.
1326 * misc/pselect.c (__pselect): Likewise.
1327 * nis/nis_callback.c (__nis_create_callback): Likewise.
1328 * nis/nis_call.c (__nisfind_server): Likewise.
1329 * nis/nis_creategroup.c (nis_creategroup): Likewise.
1330 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
1331 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
1332 * nis/nis_getservlist.c (nis_getservlist): Likewise.
1333 * nis/nis_lookup.c (nis_lookup): Likewise.
1334 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
1335 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry,
1336 nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
1337 * nis/nis_xdr.c (xdr_endpoint): Likewise.
1338 * nis/nss_compat/compat-grp.c (getgrent_next_file, internal_getgrnam_r,
1339 internal_getgrgid_r): Likewise.
1340 * nis/nss_compat/compat-initgroups.c (add_group, internal_getgrent_r):
1342 * nis/nss_compat/compat-pwd.c (getpwent_next_file, internal_getpwnam_r,
1343 internal_getpwuid_r): Likewise.
1344 * nis/nss_compat/compat-spwd.c (getspent_next_file,
1345 internal_getspnam_r): Likewise.
1346 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r,
1347 _nss_nis_getaliasbyname_r): Likewise.
1348 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r,
1349 _nss_nis_getntohost_r): Likewise.
1350 * nis/nss_nis/nis-grp.c (internal_nis_setgrent,
1351 internal_nis_getgrent_r, _nss_nis_getgrnam_r, _nss_nis_getgrgid_r):
1353 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent,
1354 internal_nis_gethostent_r, internal_gethostbyname2_r,
1355 _nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r,
1356 _nss_nis_gethostbyname4_r): Likewise.
1357 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r,
1358 initgroups_netid): Likewise.
1359 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
1360 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r,
1361 _nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
1362 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r,
1363 _nss_nis_getprotobynumber_r): Likewise.
1364 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey,
1365 _nss_nis_getsecretkey): Likewise.
1366 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent,
1367 internal_nis_getpwent_r, _nss_nis_getpwnam_r, _nss_nis_getpwuid_r):
1369 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r,
1370 _nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
1371 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r,
1372 _nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
1373 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent, internal_nis_getspent_r,
1374 _nss_nis_getspnam_r): Likewise.
1375 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
1377 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r,
1378 _nss_nisplus_getntohost_r): Likewise.
1379 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r,
1380 _nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
1381 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r,
1382 _nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r): Likewise.
1383 * nis/nss_nisplus/nisplus-initgroups.c (_nss_nisplus_initgroups_dyn):
1385 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r,
1386 _nss_nisplus_getnetbyaddr_r): Likewise.
1387 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r,
1388 _nss_nisplus_getprotobynumber_r): Likewise.
1389 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r,
1390 _nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
1391 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
1393 * nis/nss_nisplus/nisplus-service.c (internal_nisplus_getservent_r,
1394 _nss_nisplus_getservbyname_r, _nss_nisplus_getservbyport_r): Likewise.
1395 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r,
1396 _nss_nisplus_getspnam_r): Likewise.
1397 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist): Likewise.
1398 * nscd/aicache.c (addhstaiX): Likewise.
1399 * nscd/cache.c (cache_search, prune_cache): Likewise.
1400 * nscd/connections.c (register_traced_file, send_ro_fd, handle_request,
1401 nscd_run_prune, nscd_run_worker, fd_ready, main_loop_epoll): Likewise.
1402 * nscd/grpcache.c (addgrbyX): Likewise.
1403 * nscd/hstcache.c (addhstbyX): Likewise.
1404 * nscd/initgrcache.c (addinitgroupsX): Likewise.
1405 * nscd/mem.c (gc, mempool_alloc): Likewise.
1406 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX, addinnetgrX):
1408 * nscd/nscd-client.h (__nscd_acquire_maplock, __nscd_drop_map_ref):
1410 * nscd/nscd_getai.c (__nscd_getai): Likewise.
1411 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
1412 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
1414 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
1415 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
1416 * nscd/nscd_helper.c (__readvall, open_socket,
1417 __nscd_get_mapping, __nscd_get_map_ref): Likewise.
1418 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
1419 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr): Likewise.
1420 * nscd/pwdcache.c (addpwbyX): Likewise.
1421 * nscd/selinux.c (preserve_capabilities): Likewise.
1422 * nscd/servicescache.c (addservbyX): Likewise.
1423 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
1424 * posix/fnmatch.c (fnmatch): Likewise.
1425 * posix/getopt.c (_getopt_internal_r): Likewise.
1426 * posix/glob.c (glob, glob_in_dir): Likewise.
1427 * posix/wordexp.c (exec_comm_child): Likewise.
1428 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r, getanswer_r,
1429 gaih_getanswer_slice): Likewise.
1430 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
1431 * resolv/res_init.c: Likewise.
1432 * resolv/res_mkquery.c (res_nmkquery): Likewise.
1433 * resolv/res_query.c (__libc_res_nquery): Likewise.
1434 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
1436 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
1437 * stdio-common/perror.c (perror): Likewise.
1438 * stdio-common/printf_fp.c (___printf_fp): Likewise.
1439 * stdio-common/tmpnam.c (tmpnam): Likewise.
1440 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
1441 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
1442 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl): Likewise.
1443 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
1444 * stdlib/putenv.c (putenv): Likewise.
1445 * stdlib/setenv.c (__add_to_environ): Likewise.
1446 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
1447 * stdlib/strtol_l.c (INTERNAL): Likewise.
1448 * string/memmem.c (memmem): Likewise.
1449 * string/strerror.c (strerror): Likewise.
1450 * string/strnlen.c (__strnlen): Likewise.
1451 * string/test-memmem.c (simple_memmem): Likewise.
1452 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
1453 * sunrpc/pm_getport.c (__get_socket): Likewise.
1454 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
1455 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
1456 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup,
1457 elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
1459 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
1460 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
1461 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
1462 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
1463 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
1464 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1): Likewise.
1465 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn): Likewise.
1466 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
1467 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
1468 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
1469 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
1470 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
1471 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
1472 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
1473 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
1474 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
1475 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
1476 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
1477 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
1479 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
1481 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
1483 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
1484 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
1485 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
1486 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
1487 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
1488 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
1489 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
1490 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
1491 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
1492 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
1493 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
1494 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
1495 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
1496 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
1497 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1498 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Likewise.
1499 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
1501 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
1503 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
1505 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
1506 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1507 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
1509 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
1510 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
1511 * sysdeps/posix/opendir.c (__opendirat): Likewise.
1512 * sysdeps/posix/sleep.c: Likewise.
1513 * sysdeps/posix/tempname.c: Likewise.
1514 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
1515 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
1517 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_runtime_setup,
1518 elf_machine_rela): Likewise.
1519 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
1520 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
1521 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
1522 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
1524 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
1525 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup,
1526 elf_machine_rela, elf_machine_lazy_rel): Likewise.
1527 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup,
1528 elf_machine_rela, elf_machine_lazy_rel): Likewise.
1529 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
1530 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
1531 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
1532 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
1533 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
1534 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
1535 elf_machine_lazy_rel): Likewise.
1536 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
1537 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
1538 elf_machine_lazy_rel): Likewise.
1539 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
1540 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
1541 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
1542 * sysdeps/unix/grantpt.c (grantpt): Likewise.
1543 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
1544 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
1545 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
1546 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
1548 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
1549 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
1550 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
1551 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
1552 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
1553 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
1554 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
1555 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
1556 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
1557 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
1558 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
1560 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
1561 (__posix_fallocate64_l64): Likewise.
1562 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
1563 (posix_fallocate): Likewise.
1564 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64): Likewise.
1565 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
1566 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request,
1567 getifaddrs_internal): Likewise.
1568 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
1569 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
1570 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
1571 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
1572 * sysdeps/unix/sysv/linux/posix_fallocate64.c
1573 (__posix_fallocate64_l64): Likewise.
1574 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
1576 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
1577 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
1579 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
1580 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
1581 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
1582 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
1583 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
1584 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
1585 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
1586 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
1588 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
1589 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
1590 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
1591 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
1592 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
1593 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
1594 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
1596 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
1597 (posix_fallocate): Likewise.
1598 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
1599 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
1600 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
1601 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup,
1602 elf_machine_rela, elf_machine_rela_relative, elf_machine_lazy_rel):
1604 * time/asctime.c (asctime_internal): Likewise.
1605 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
1606 * time/tzset.c (__tzset_parse_tz): Likewise.
1607 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
1608 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
1609 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
1610 * wcsmbs/wcsmbsload.h: Likewise.
1612 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
1615 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
1617 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
1619 * malloc/arena.c (grow_heap, get_free_list, reused_arena,
1620 arena_get2): Remove THREAD_STATS conditionals.
1621 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free,
1622 __malloc_stats, int): Likewise.
1624 2014-02-08 Mike Frysinger <vapier@gentoo.org>
1626 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
1627 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
1629 2014-02-08 Mike Frysinger <vapier@gentoo.org>
1631 * manual/setjmp.texi: Fix typos/grammar errors.
1633 2014-02-08 Mike Frysinger <vapier@gentoo.org>
1635 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
1636 Only return early when n is <= 0. Delete unused return statement.
1638 2014-02-08 Mike Frysinger <vapier@gentoo.org>
1640 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
1641 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
1642 * debug/tst-longjmp_chk3.c: New file.
1644 2014-02-08 Mike Frysinger <vapier@gentoo.org>
1646 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
1647 (test_main): Replace code with set_fortify_handler call.
1648 * debug/test-strcpy_chk.c: Likewise.
1649 * debug/tst-chk1.c: Likewise.
1650 * debug/tst-longjmp_chk.c: Likewise.
1651 * test-skeleton.c: Include fcntl.h & paths.h
1652 (set_fortify_handler): Define.
1654 2014-02-08 Mike Frysinger <vapier@gentoo.org>
1656 * debug/tst-longjmp_chk.c: Add header comment and include
1658 (do_test): Mark static.
1659 (TEST_FUNCTION): Define.
1661 2014-02-08 Mike Frysinger <vapier@gentoo.org>
1663 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
1664 (IP_PMTUDISC_INTERFACE): Likewise.
1665 (IP_MULTICAST_IF): Likewise.
1666 (IP_MULTICAST_TTL): Likewise.
1667 (IP_MULTICAST_LOOP): Likewise.
1668 (IP_ADD_MEMBERSHIP): Likewise.
1669 (IP_DROP_MEMBERSHIP): Likewise.
1670 (IP_UNBLOCK_SOURCE): Likewise.
1671 (IP_BLOCK_SOURCE): Likewise.
1672 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
1673 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
1674 (IP_MSFILTER): Likewise.
1675 (MCAST_JOIN_GROUP): Likewise.
1676 (MCAST_BLOCK_SOURCE): Likewise.
1677 (MCAST_UNBLOCK_SOURCE): Likewise.
1678 (MCAST_LEAVE_GROUP): Likewise.
1679 (MCAST_JOIN_SOURCE_GROUP): Likewise.
1680 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
1681 (MCAST_MSFILTER): Likewise.
1682 (IP_MULTICAST_ALL): Likewise.
1683 (IP_UNICAST_IF): Likewise.
1685 2014-02-08 Mike Frysinger <vapier@gentoo.org>
1687 * timezone/Makefile: Delete $(have-ksh) check.
1688 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
1689 * timezone/tzselect.ksh: Add +x mode bits.
1691 2014-02-08 Mike Frysinger <vapier@gentoo.org>
1693 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
1694 (ANON_INODE_FS_MAGIC): Likewise.
1695 (BDEVFS_MAGIC): Likewise.
1696 (BINFMTFS_MAGIC): Likewise.
1697 (BTRFS_TEST_MAGIC): Likewise.
1698 (CRAMFS_MAGIC_WEND): Likewise.
1699 (DEBUGFS_MAGIC): Likewise.
1700 (ECRYPTFS_SUPER_MAGIC): Likewise.
1701 (EXT3_SUPER_MAGIC): Likewise.
1702 (EXT4_SUPER_MAGIC): Likewise.
1703 (FUTEXFS_SUPER_MAGIC): Likewise.
1704 (HOSTFS_SUPER_MAGIC): Likewise.
1705 (HUGETLBFS_MAGIC): Likewise.
1706 (MINIX3_SUPER_MAGIC): Likewise.
1707 (MTD_INODE_FS_MAGIC): Likewise.
1708 (NILFS_SUPER_MAGIC): Likewise.
1709 (OPENPROM_SUPER_MAGIC): Likewise.
1710 (PIPEFS_MAGIC): Likewise.
1711 (PSTOREFS_MAGIC): Likewise.
1712 (QNX6_SUPER_MAGIC): Likewise.
1713 (RAMFS_MAGIC): Likewise.
1714 (REISERFS_SUPER_MAGIC_STRING): Likewise.
1715 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
1716 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
1717 (SECURITYFS_MAGIC): Likewise.
1718 (SELINUX_MAGIC): Likewise.
1719 (SMACK_MAGIC): Likewise.
1720 (SOCKFS_MAGIC): Likewise.
1721 (SQUASHFS_MAGIC): Likewise.
1722 (STACK_END_MAGIC): Likewise.
1723 (TMPFS_MAGIC): Likewise.
1724 (USBDEVICE_SUPER_MAGIC): Likewise.
1725 (V9FS_MAGIC): Likewise.
1726 (XENFS_SUPER_MAGIC): Likewise.
1727 (CRAMFS_MAGIC): Fix typo in comment.
1728 (EXT2_SUPER_MAGIC): Update comment.
1729 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
1731 2014-02-08 Joseph Myers <joseph@codesourcery.com>
1733 * sysdeps/arm: Move directory from ports/sysdeps/arm.
1734 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
1735 * sysdeps/unix/sysv/linux/arm: Move directory from
1736 ports/sysdeps/unix/sysv/linux/arm.
1737 * README: Update listing for arm-*-linux-gnueabi.
1739 * README: Remove mention of am33.
1741 2014-02-07 Roland McGrath <roland@hack.frob.com>
1743 * bits/sigset.h (__sigemptyset): Use a statement expression rather
1744 than the comma operator, to avoid "rhs of comma has no effect"
1746 (__sigfillset, __sigandset, __sigorset): Likewise.
1747 * include/signal.h (__sigemptyset): Likewise.
1748 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
1750 2014-02-07 Allan McRae <allan@archlinux.org>
1752 * version.h (RELEASE): Set to "development".
1753 (VERSION): Set to "2.19.90"
1754 * NEWS: Add 2.20 section.
1756 2014-02-06 Carlos O'Donell <carlos@redhat.com>
1759 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
1761 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
1763 * manual/contrib.texi: Update entry for Carlos O'Donell,
1764 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
1766 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
1768 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
1770 * sysdeps/unix/sysv/linux/kernel-features.h
1771 [__LINUX_KERNEL_VERSION >= 0x020621]
1772 (__ASSUME_PROC_PID_TASK_COMM): Define.
1774 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
1777 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
1778 conversion when destination buffer does not have enough space.
1779 * libio/tst-ftell-partial-wide.c: New test case.
1780 * libio/Makefile (tests): Add tst-ftell-partial-wide.
1782 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
1783 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
1784 Leonard and Allan McRae.
1786 2014-02-04 David S. Miller <davem@davemloft.net>
1788 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
1791 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1793 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist: New
1795 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
1797 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist: New
1799 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist: New
1801 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
1803 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist: New
1805 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist: New
1807 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
1809 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
1811 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
1813 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
1815 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
1817 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
1820 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1822 * nptl/shlib-versions: Change powerpc*le start to 2.17.
1823 * shlib-versions: Likewise.
1825 2014-02-04 Roland McGrath <roland@hack.frob.com>
1826 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1828 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
1829 (abilist-pattern): New variable, set to %-le.abilist.
1831 * Makerules (abilist-pattern): New variable.
1832 (vpath): Use $(abilist-pattern) in place of %.abilist.
1833 (check-abi-% pattern rule): Likewise.
1834 (check-abi, update-abi): Likewise.
1836 2014-02-04 Eric Wong <normalperson@yhbt.net>
1838 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1840 2014-02-04 Eric Wong <normalperson@yhbt.net>
1842 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1844 2014-02-03 Carlos O'Donell <carlos@redhat.com>
1846 * manual/startup.texi: Add next, previous, and top entries for
1847 the `Program Arguments' and `Environment Variables' nodes.
1849 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
1851 * manual/macros.texi: Add comments before MTASC-safety macros.
1853 * manual/users.texi: Document MTASC-safety properties.
1855 * manual/threads.texi (pthread_key_create, pthread_key_delete,
1856 pthread_getspecific, pthread_setspecific): Format with
1857 @deftypefun, and add @safety note.
1858 * manual/signal.texi: Move comments that analyze the above
1859 functions to their home place.
1861 2014-02-03 Allan McRae <allan@archlinux.org>
1863 * po/sl.po: Update Slovenian translation from translation project.
1865 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
1867 * manual/time.texi (timegm): Add missing blank after @c.
1868 Reported by Joseph Myers <joseph@codesourcery.com>.
1870 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
1872 * manual/check-safety.sh: New.
1873 * manual/Makefile ($(objpfx)stamp-summary): Run it.
1875 * manual/terminal.texi: Document MTASC-safety properties.
1877 * manual/filesys.texi: Document MTASC-safety properties.
1879 * manual/errno.texi: Document MTASC-safety properties.
1881 * manual/intro.texi: Document safety identifiers and
1884 * manual/string.texi (wcstok): Fix prototype.
1885 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
1887 * manual/time.texi: Document MTASC-safety properties.
1889 * manual/string.texi: Document MTASC-safety properties.
1891 * manual/threads.texi: Document MTASC-safety properties.
1893 * manual/stdio.texi: Document MTASC-safety properties.
1895 * manual/syslog.texi: Document MTASC-safety properties.
1897 * manual/sysinfo.texi: Document MTASC-safety properties.
1899 * manual/startup.texi: Document MTASC-safety properties.
1901 * manual/socket.texi: Document MTASC-safety properties.
1903 * manual/signal.texi: Document MTASC-safety properties.
1905 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
1907 * manual/setjmp.texi: Document MTASC-safety properties.
1909 * manual/search.texi: Document MTASC-safety properties.
1911 * manual/resource.texi: Document MTASC-safety properties.
1913 * manual/process.texi: Document MTASC-safety properties.
1915 * manual/platform.texi: Document MTASC-safety properties.
1917 * manual/pipe.texi: Document MTASC-safety properties.
1919 * manual/pattern.texi: Document MTASC-safety properties.
1921 * manual/message.texi: Document MTASC-safety properties.
1924 * manual/memory.texi: Document MTASC-safety properties.
1926 * manual/math.texi: Document MTASC-safety properties.
1928 * manual/locale.texi: Document MTASC-safety properties.
1930 * manual/llio.texi: Document MTASC-safety properties.
1932 * manual/libdl.texi: New.
1934 * manual/lang.texi: Document MTASC-safety properties.
1936 * manual/job.texi: Document MTASC-safety properties.
1938 * manual/getopt.texi: Document MTASC-safety properties.
1940 * manual/ctype.texi: Document MTASC-safety properties.
1942 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
1945 * csu/libc-tls.c (static_map): Remove variable.
1946 (__libc_setup_tls): Use main executable's link map for TLS data.
1947 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
1948 casing for LM_ID_BASE and GL(dl_nns).
1949 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
1950 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
1951 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
1952 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
1953 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
1955 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
1958 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
1960 * manual/debug.texi: Document MTASC-safety properties.
1962 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
1965 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
1966 of __x86_64__ when disabling x87 inline functions.
1968 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
1970 * manual/charset.texi: Document MTASC-safety properties.
1972 * manual/crypt.texi: Document MTASC-safety properties.
1974 * manual/conf.texi: Document MTASC-safety properties.
1976 * manual/arith.texi: Document MTASC-safety properties.
1978 * manual/argp.texi: Document MTASC-safety properties.
1980 * manual/macros.texi: Introduce macros to document multi
1981 thread, asynchronous signal and asynchronous cancellation
1983 * manual/intro.texi: Introduce the properties themselves.
1985 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1987 * sysdeps/sh/sh4/Makefile: New file.
1989 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
1991 * math/gen-libm-test.pl ($srcdir): New variable.
1992 ($auto_input): Use it.
1994 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
1997 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
1998 access beyond array bounds when parsing netgroups file.
2000 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
2001 the old buffer before realloc.
2003 2014-01-27 Allan McRae <allan@archlinux.org>
2005 * po/fr.po: Update French translation from translation project.
2007 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2009 * sysdeps/sh/libm-test-ulps: Regenerate.
2011 2014-01-24 David S. Miller <davem@davemloft.net>
2013 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
2015 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2017 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
2018 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
2020 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
2023 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
2024 string pointers after reallocation.
2026 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2028 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
2029 __SH4A__ instead of __SH_FPU_ANY__.
2031 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2033 * sysdeps/sh/fpu_control.h: New file.
2034 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
2035 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
2036 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
2037 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
2038 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
2039 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
2040 * sysdeps/sh/sys/ucontext.h: Remove.
2041 * sysdeps/sh/sys: Remove directory.
2043 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2045 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
2046 s390/sys/ucontext.h.
2047 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
2048 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
2050 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
2053 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
2055 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2058 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
2059 Adjust the vDSO correctly for internal calls.
2060 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
2062 2014-01-20 Allan McRae <allan@archlinux.org>
2064 * po/ca.po: Update Catalan translation from translation project.
2066 2014-01-16 Mike Frysinger <vapier@gentoo.org>
2068 * sysdeps/s390/sotruss-lib.c: New file.
2070 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2073 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
2074 (__GI___gettimeofday): Alias for a different internal symbol to avoid
2075 local calls issues by not having a PLT stub required for IFUNC calls.
2076 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
2078 2014-01-16 Joseph Myers <joseph@codesourcery.com>
2080 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
2081 * math/test-fpucw-static.c: Likewise.
2083 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
2086 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
2088 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2090 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
2091 implementation for powerpc.
2093 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
2096 * sysdeps/posix/system.c (__libc_system): Do not enable
2097 asynchronous cancellation.
2099 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2102 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
2103 handling only for numbers special also in the IEEE case.
2105 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2107 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
2109 2014-01-11 Allan McRae <allan@archlinux.org>
2111 * po/bg.po: Update Bulgarian translation from translation project.
2113 * po/de.po: Update German translation from translation project.
2115 2014-01-10 Roland McGrath <roland@hack.frob.com>
2117 * sysdeps/generic/gcc-compat.h: New file.
2119 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
2121 * benchtests/asin-inputs: Correct slow inputs.
2122 * benchtests/acos-inputs: Likewise.
2124 2014-01-10 Allan McRae <allan@archlinux.org>
2126 * po:sv.po: Update Swedish translation from translation project.
2128 * po/vi.po: Update Vietnamese translation from translation project.
2130 * po/eo.po: Update Esperanto translation from translation project.
2132 * po/cs.po: Update Czech translation from translation project.
2134 * po/nl.po: Update Dutch translation from translation project.
2136 * po/pl.po: Update Polish translation from translation project.
2138 * po/ru.po: Update Russian translation from translation project.
2140 * po/uk.po: Update Ukrainian translation from translation project.
2142 2014-01-08 Brooks Moses <bmoses@google.com>
2144 * elf/dl-load.c: Fix comment typo.
2146 2014-01-08 Carlos O'Donell <carlos@redhat.com>
2148 * po/header.pot: Rename to...
2149 * po/pot.header: ... this.
2150 * po/Makefile: Use pot.header.
2152 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
2153 Maxim Kuvyrkov <maxim@kugelworks.com>
2156 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
2157 SRC and DEST against LEN.
2159 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2162 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
2164 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
2166 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2168 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2170 2014-01-08 Joseph Myers <joseph@codesourcery.com>
2173 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
2174 for large positive arguments.
2176 2014-01-07 Joseph Myers <joseph@codesourcery.com>
2178 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
2180 * math/auto-libm-test-in: Mark various tests with
2181 xfail-rounding:ldbl-128ibm.
2182 * math/auto-libm-test-out: Regenerated.
2185 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
2186 Increase overflow threshold.
2188 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
2191 * stdio-common/vfprintf.c: Check for integer overflow.
2193 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2195 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
2196 the first argument and return value of __tls_get_addr_internal.
2198 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2200 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
2201 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
2203 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2205 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
2206 * sysdeps/s390/rtld-global-offsets.sym: New file.
2207 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
2209 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
2210 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
2211 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
2213 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
2214 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
2216 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
2218 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
2220 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
2221 halfs of GPRs for high_gprs contexts.
2222 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
2223 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
2225 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
2227 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
2229 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
2230 for high GPRs (uc_high_gprs) and for future extensions
2232 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
2233 for future extensions (__reserved).
2234 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
2236 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
2237 SC_HIGHGPRS offset definition.
2238 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
2239 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
2241 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2243 * Versions.def: Add GLIBC_2.19 for libpthread.
2244 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
2245 siglongjmp for libpthread with GLIBC_2.19 symver.
2246 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
2247 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
2248 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
2249 * sysdeps/s390/__longjmp.c: New file.
2250 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
2251 * sysdeps/s390/longjmp.c: New file.
2252 * sysdeps/s390/setjmp.S: New file.
2253 * sysdeps/s390/sigjmp.S: New file.
2254 * sysdeps/s390/v1-longjmp.c: New file.
2255 * sysdeps/s390/v1-setjmp.h: New file.
2256 * sysdeps/s390/v1-sigjmp.c: New file.
2257 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
2258 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
2260 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
2261 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
2262 versioned symbols for ____longjmp_chk.
2263 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
2265 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
2267 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
2269 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
2271 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
2273 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
2274 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
2275 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
2276 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
2277 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
2278 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
2279 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
2280 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
2281 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
2282 * sysdeps/s390/rtld-__longjmp.c: New file.
2283 * sysdeps/s390/rtld-setjmp.S: New file.
2285 2014-01-06 Joseph Myers <joseph@codesourcery.com>
2288 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
2289 Return -__logl (x) for small positive arguments without evaluating
2292 2014-01-06 Mike Frysinger <vapier@gentoo.org>
2294 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
2296 (__ptrace_peeksiginfo_args): ... this.
2297 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
2298 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
2299 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
2301 2014-01-06 Allan McRae <allan@archlinux.org>
2303 * inet/netinet/in.h: Fix typo in comment.
2305 2014-01-05 Andreas Jaeger <aj@suse.de>
2307 * sysdeps/i386/fpu/libm-test-ulps: Update.
2309 2014-01-05 Allan McRae <allan@archlinux.org>
2311 * po/libc.pot: Regenerated.
2313 * malloc/memusagestat.c: Fix gettext call formatting.
2315 2014-01-04 Sami Kerola <kerolasa@iki.fi>
2317 * nscd/nscd.c: Improve usage() output.
2319 2014-01-04 Mike Frysinger <vapier@gentoo.org>
2321 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
2322 * sysdeps/unix/sysv/linux/configure: Regenerated.
2323 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
2324 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
2326 2014-01-03 Joseph Myers <joseph@codesourcery.com>
2329 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
2330 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
2332 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2334 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
2335 extra tokens at end of #undef directive.
2336 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
2337 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
2338 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
2340 2014-01-03 Joseph Myers <joseph@codesourcery.com>
2342 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
2344 * math/auto-libm-test-in: Mark various tests with
2345 xfail-rounding:ldbl-128ibm.
2346 * math/auto-libm-test-out: Regenerated.
2348 2014-01-02 Joseph Myers <joseph@codesourcery.com>
2351 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
2352 numbers with subnormal high part when calculating exponent.
2355 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
2359 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
2361 (__ieee754_acoshl): Use __log1pl not __log1p.
2363 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
2365 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all,
2366 ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry,
2367 __failing_morecore, ptmalloc_init, dump_heap, new_heap, grow_heap,
2368 heap_trim, _int_new_arena, get_free_list, reused_arena, arena_get2):
2369 Convert to GNU style.
2370 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init,
2371 mem2mem_check, mem2chunk_check, top_check, realloc_check,
2372 memalign_check, __malloc_set_state): Likewise.
2373 * malloc/mallocbug.c (main): Likewise.
2374 * malloc/malloc.c (__malloc_assert, malloc_init_state, free_perturb,
2375 do_check_malloced_chunk, do_check_malloc_state, sysmalloc, systrim,
2376 mremap_chunk, __libc_malloc, __libc_free, __libc_realloc, _mid_memalign,
2377 _int_malloc, malloc_consolidate, _int_realloc, _int_memalign, mtrim,
2378 musable, __libc_mallopt, __posix_memalign, malloc_info): Likewise.
2379 * malloc/malloc.h: Likewise.
2380 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook, mallochook,
2381 memalignhook, reallochook, mabort): Likewise.
2382 * malloc/mcheck.h: Likewise.
2383 * malloc/memusage.c (update_data, me, malloc, realloc, calloc, free, mmap,
2384 mmap64, mremap, munmap, dest): Likewise.
2385 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
2386 * malloc/morecore.c (__default_morecore): Likewise.
2387 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
2388 * malloc/obstack.c (_obstack_begin, _obstack_newchunk,
2389 _obstack_allocated_p, obstack_free, _obstack_memory_used,
2390 print_and_abort): Likewise.
2391 * malloc/obstack.h: Likewise.
2392 * malloc/set-freeres.c (__libc_freeres): Likewise.
2393 * malloc/tst-mallocstate.c (main): Likewise.
2394 * malloc/tst-mtrace.c (main): Likewise.
2395 * malloc/tst-realloc.c (do_test): Likewise.
2397 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
2400 * nscd/netgroupcache.c (do_notfound): New function.
2401 (addgetnetgrentX): Use it.
2404 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
2405 NSS_STATUS_NOTFOUND.
2407 2014-01-01 Joseph Myers <joseph@codesourcery.com>
2409 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
2410 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2412 2014-01-01 Allan McRae <allan@archlinux.org>
2414 * scripts/update-copyrights: Update configure input file suffix.
2416 * NEWS: Update copyright year.
2417 * catgets/gencat.c: Likewise.
2418 * csu/version.c: Likewise.
2419 * debug/catchsegv.sh: Likewise.
2420 * debug/pcprofiledump.c: Likewise.
2421 * debug/xtrace.sh: Likewise.
2422 * elf/ldconfig.c: Likewise.
2423 * elf/ldd.bash.in: Likewise.
2424 * elf/pldd.c: Likewise.
2425 * elf/sotruss.ksh: Likewise.
2426 * elf/sprof.c: Likewise.
2427 * iconv/iconv_prog.c: Likewise.
2428 * iconv/iconvconfig.c: Likewise.
2429 * locale/programs/locale.c: Likewise.
2430 * locale/programs/localedef.c: Likewise.
2431 * login/programs/pt_chown.c: Likewise.
2432 * malloc/memusage.sh: Likewise.
2433 * malloc/memusagestat.c: Likewise.
2434 * malloc/mtrace.pl: Likewise.
2435 * manual/libc.texinfo: Likewise.
2436 * nscd/nscd.c: Likewise.
2437 * nss/getent.c: Likewise.
2438 * nss/makedb.c: Likewise.
2439 * posix/getconf.c: Likewise.
2440 * scripts/test-installation.pl: Likewise.
2442 * All files with FSF copyright notices: Update copyright dates
2443 using scripts/update-copyrights.
2444 * intl/plural.c: Regenerated.
2445 * locale/programs/charmap-kw.h: Likewise.
2446 * locale/programs/locfile-kw.h: Likewise.
2448 2013-12-31 Mike Frysinger <vapier@gentoo.org>
2450 * sysdeps/unix/sysv/linux/configure: Regenerated.
2451 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
2452 the linux/fanotify.h header.
2453 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
2454 HAVE_LINUX_FANOTIFY_H is defined.
2456 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
2458 * benchtests/cos-inputs: New inputs.
2459 * benchtests/sin-inputs: Likewise.
2461 * benchtests/atan-inputs: New inputs. Fix name of multiple
2462 precision fallback inputs.
2464 * benchtests/atanh-inputs: New inputs.
2465 * benchtests/tanh-inputs: Likewise.
2467 * benchtests/acosh-inputs: New inputs.
2468 * benchtests/asinh-inputs: Likewise.
2470 * benchtests/cosh-inputs: New inputs.
2471 * benchtests/sinh-inputs: Likewise.
2473 * benchtests/acos-inputs: Add more inputs.
2474 * benchtests/asin-inputs: Likewise.
2476 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
2479 * manual/arith.texi: Fix spelling.
2480 * manual/charset.texi: Likewise.
2481 * manual/errno.texi: Likewise.
2482 * manual/filesys.texi: Likewise.
2483 * manual/lang.texi: Likewise.
2484 * manual/llio.texi: Likewise.
2485 * manual/locale.texi: Likewise.
2486 * manual/message.texi: Likewise.
2487 * manual/resource.texi: Likewise.
2488 * manual/search.texi: Likewise.
2489 * manual/setjmp.texi: Likewise.
2490 * manual/stdio.texi: Likewise.
2491 * manual/string.texi: Likewise.
2492 * manual/sysinfo.texi: Likewise.
2493 * manual/time.texi: Likewise.
2495 2013-12-27 Carlos O'Donell <carlos@redhat.com>
2497 * po/sl.po: New file.
2499 2013-12-27 Mike Frysinger <vapier@gentoo.org>
2501 * .gitignore: Add core/.gdbinit/.gdb_history.
2503 2013-12-27 Allan McRae <allan@archlinux.org>
2506 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
2507 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
2509 2013-12-24 Brooks Moses <bmoses@google.com>
2511 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
2512 all compilers that claim C++98 compliance, not just GCC.
2513 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
2516 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
2518 * NEWS: Restore accidentally deleted bug-fix entries.
2520 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
2521 Ondřej Bílka <neleai@seznam.cz>
2524 * malloc/malloc.c (_int_free): Perform sanity check only if we
2527 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
2530 * manual/stdio.texi (String Input Conversions): Clarify that character
2531 classes are not supported.
2533 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2535 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2537 2013-12-22 Joseph Myers <joseph@codesourcery.com>
2540 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
2541 Calculate results for small negative arguments directly rather
2542 than using reflection formula with special underflow handling.
2544 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
2545 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
2546 sysdeps/unix/bsd/bsd4.4/syscalls.list.
2547 (fchflags): Likewise.
2549 (setlogin): Likewise.
2550 (sigaltstack): Likewise.
2553 (sigsetmask): Likewise.
2555 (waitpid): Likewise.
2556 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
2557 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
2559 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
2560 * sysdeps/unix/bsd/Makefile: ... here.
2561 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
2562 * sysdeps/unix/bsd/Versions: ... here.
2563 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
2564 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
2565 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
2566 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
2567 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
2568 * sysdeps/unix/bsd/sigblock.c: ... here.
2569 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
2570 * sysdeps/unix/bsd/sigsetmask.c: ... here.
2571 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
2572 * sysdeps/unix/bsd/sigvec.c: ... here.
2573 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
2574 * sysdeps/unix/bsd/tcdrain.c: ... here.
2575 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
2576 * sysdeps/unix/bsd/tcgetattr.c: ... here.
2577 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
2578 * sysdeps/unix/bsd/tcsetattr.c: ... here.
2579 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
2580 * sysdeps/unix/bsd/wait.c: ... here.
2581 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
2582 * sysdeps/unix/bsd/wait3.c: ... here.
2583 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
2584 * sysdeps/unix/bsd/waitpid.c: ... here.
2586 2013-12-21 Joseph Myers <joseph@codesourcery.com>
2589 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
2590 round-to-nearest for [!USE_AS_EXPM1L].
2591 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
2592 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
2593 more tests of exp and exp10. Expect some exp10 tests to miss
2594 exceptions or fail in directed rounding modes.
2595 * math/auto-libm-test-out: Regenerated.
2596 * math/libm-test.inc (exp10_tonearest_test_data): New array.
2597 (exp10_test_tonearest): New function.
2598 (exp10_towardzero_test_data): New array.
2599 (exp10_test_towardzero): New function.
2600 (exp10_downward_test_data): New array.
2601 (exp10_test_downward): New function.
2602 (exp10_upward_test_data): New array.
2603 (exp10_test_upward): New function.
2604 (main): Call the new functions.
2605 * sysdeps/i386/fpu/libm-test-ulps: Update.
2606 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2608 2013-12-20 Joseph Myers <joseph@codesourcery.com>
2610 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
2611 asinh, atan, atan2, atanh, cbrt, cos and cosh.
2612 * math/auto-libm-test-out: Regenerated.
2613 * math/libm-test.inc (acosh_test_data): Add more tests.
2614 (atanh_test_data): Likewise.
2615 (ceil_test_data): Likewise.
2616 (copysign_test_data): Likewise.
2617 * sysdeps/i386/fpu/libm-test-ulps: Update.
2618 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2620 * timezone/checktab.awk: Update from tzcode 2013i.
2621 * timezone/private.h: Likewise.
2622 * timezone/scheck.c: Likewise.
2623 * timezone/tzfile.h: Likewise.
2624 * timezone/tzselect.ksh: Likewise.
2625 * timezone/zdump.c: Likewise.
2626 * timezone/zic.c: Likewise.
2628 * math/auto-libm-test-in: Add tests of cpow.
2629 * math/auto-libm-test-out: Regenerated.
2630 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
2631 * * math/gen-auto-libm-tests.c (func_calc_method): Add value
2633 (func_calc_desc): Add mpc_cc_c union field.
2634 (test_functions): Add cpow.
2635 (special_fill_2pi): New function.
2636 (special_real_inputs): Add 2pi.
2637 (calc_generic_results): Handle mpc_cc_c.
2638 * sysdeps/i386/fpu/libm-test-ulps: Update.
2639 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2641 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
2642 csqrt, ctan and ctanh.
2643 * math/auto-libm-test-out: Regenerated.
2644 * math/libm-test.inc (TEST_COND_x86_64): New macro.
2645 (TEST_COND_x86): Likewise.
2646 (ccos_test_data): Use AUTO_TESTS_c_c.
2647 (ccosh_test_data): Likewise.
2648 (cexp_test_data): Likewise.
2649 (clog_test_data): Likewise.
2650 (csqrt_test_data): Likewise.
2651 (ctan_test_data): Likewise.
2652 (ctan_tonearest_test_data): Likewise.
2653 (ctan_towardzero_test_data): Likewise.
2654 (ctan_downward_test_data): Likewise.
2655 (ctan_upward_test_data): Likewise.
2656 (ctanh_test_data): Likewise.
2657 (ctanh_tonearest_test_data): Likewise.
2658 (ctanh_towardzero_test_data): Likewise.
2659 (ctanh_downward_test_data): Likewise.
2660 (ctanh_upward_test_data): Likewise.
2661 * math/gen-auto-libm-tests.c (func_calc_method): Add value
2663 (func_calc_desc): Add mpc_c_c union field.
2664 (FUNC_mpc_c_c): New macro.
2665 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
2666 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
2668 (special_fill_min_subnorm_p120): New function.
2669 (special_real_inputs): Add min_subnorm_p120.
2670 (calc_generic_results): Handle mpc_c_c.
2671 * sysdeps/i386/fpu/libm-test-ulps: Update.
2672 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2674 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
2676 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin,
2677 do_sin_slow): New functions.
2678 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2,
2679 cslow2, csloww1, csloww2): Use the new functions.
2681 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
2682 Use M to change sign of result instead of X. Assume X is
2684 (csloww1): Likewise.
2688 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
2693 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
2695 (sloww1): Don't adjust sign of DX.
2696 (csloww1): Likewise.
2697 (sloww2): Use X directly and don't adjust sign of DX.
2698 (csloww2): Likewise.
2700 2013-12-19 Joseph Myers <joseph@codesourcery.com>
2702 * math/auto-libm-test-in: Add tests of cabs and carg.
2703 * math/auto-libm-test-out: Regenerated.
2704 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
2705 (carg_test_data): Likewise.
2706 * math/gen-auto-libm-tests.c (func_calc_method): Add value
2708 (func_calc_desc): Add mpc_c_f union field.
2709 (test_functions): Add cabs and carg.
2710 (calc_generic_results): Handle mpc_c_f.
2712 * sysdeps/powerpc/powerpc32/libgcc-compat.S
2713 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
2714 as a macro and a compat symbol.
2715 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
2716 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
2717 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
2718 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
2719 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
2720 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
2722 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
2724 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
2726 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
2728 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
2730 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
2732 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
2733 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
2736 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2738 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2740 2013-12-19 Joseph Myers <joseph@codesourcery.com>
2742 * manual/texinfo.tex: Update to version 2013-11-26.10 with
2743 trailing whitespace removed.
2744 * scripts/config.guess: Update to version 2013-11-29.
2745 * scripts/config.sub: Update to version 2013-10-01.
2747 * math/auto-libm-test-in: Add tests of sincos.
2748 * math/auto-libm-test-out: Regenerated.
2749 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
2750 * math/gen-auto-libm-tests.c (func_calc_method): Add value
2752 (func_calc_desc): Add mpfr_f_11 union field.
2753 (test_functions): Add sincos.
2754 (calc_generic_results): Handle mpfr_f_11.
2755 * sysdeps/i386/fpu/libm-test-ulps: Update.
2756 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2758 2013-12-19 Andreas Schwab <schwab@suse.de>
2760 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
2762 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
2763 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
2764 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
2766 2013-12-19 Joseph Myers <joseph@codesourcery.com>
2768 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
2769 * sysdeps/i386/fpu/libm-test-ulps: Update.
2770 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2773 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
2774 round-to-nearest mode when using frndint.
2775 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
2776 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
2777 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
2779 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
2781 * math/auto-libm-test-out: Regenerated.
2782 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
2783 (TEST_COND_x86): Likewise.
2784 (expm1_tonearest_test_data): New array.
2785 (expm1_test_tonearest): New function.
2786 (expm1_towardzero_test_data): New array.
2787 (expm1_test_towardzero): New function.
2788 (expm1_downward_test_data): New array.
2789 (expm1_test_downward): New function.
2790 (expm1_upward_test_data): New array.
2791 (expm1_test_upward): New function.
2792 (main): Run the new test functions.
2793 * sysdeps/i386/fpu/libm-test-ulps: Update.
2794 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2796 * include/features.h: Update comment documenting feature test
2797 macros. Mention _DEFAULT_SOURCE in comment.
2798 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
2799 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
2800 _BSD_SOURCE and _SVID_SOURCE.
2801 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
2802 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
2803 !_SVID_SOURCE]: Likewise.
2804 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
2805 (__USE_POSIX_IMPLICITLY): Define.
2806 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
2807 (_POSIX_SOURCE): Undefine and redefine.
2808 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
2809 (_POSIX_C_SOURCE): Likewise.
2810 * manual/creature.texi (_DEFAULT_SOURCE): Document.
2811 (Feature Test Macros): Update documentation of default features.
2813 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2815 * benchtests/Makefile: Add bench-strtok.
2816 * benchtests/bench-strtok.c: New file: strtok benchtest.
2818 2013-12-19 Allan McRae <allan@archlinux.org>
2820 * manual/install.texi: Suppress menu for plain text output.
2821 * INSTALL: Regenerated.
2823 2013-12-18 Brooks Moses <bmoses@google.com>
2826 * misc/getauxval.c: Include errno.h.
2827 (__getauxval): Set errno to ENOENT if the requested type is not
2829 * misc/sys/auxv.h (getauxval): Document that it may set errno;
2830 don't declare with __attribute_const__.
2831 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
2832 * manual/startup.texi: Document that getauxval sets errno.
2834 2013-12-18 Joseph Myers <joseph@codesourcery.com>
2836 * math/auto-libm-test-in: Add tests of jn and yn.
2837 * math/auto-libm-test-out: Regenerated.
2838 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
2839 (yn_test_data): Likewise.
2840 * math/gen-auto-libm-tests.c (func_calc_method): Add value
2842 (func_calc_desc): Add mpfr_if_f union field.
2843 (FUNC_mpfr_if_f): New macro.
2844 (test_functions): Add jn and yn.
2845 (calc_generic_results): Assert type of second input for
2846 mpfr_ff_f. Handle mpfr_if_f.
2847 (output_for_one_input_case): Disable all checking for arguments
2848 fitting floating-point types in case of an integer argument.
2849 * sysdeps/i386/fpu/libm-test-ulps: Update.
2850 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2852 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
2853 Don't expect fegetround reference in libm.so.
2855 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
2857 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
2858 $(config-cflags-nofma).
2860 2013-12-18 Joseph Myers <joseph@codesourcery.com>
2862 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
2863 * math/auto-libm-test-out: Regenerated.
2866 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
2867 to determine exponent and adjust argument to have exponent of -1.
2868 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
2870 * math/auto-libm-test-out: Regenerated.
2871 * sysdeps/i386/fpu/libm-test-ulps: Update.
2872 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2874 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
2876 * manual/probes.texi: Remove cases when per-thread arenas are
2879 2013-12-18 Andreas Schwab <schwab@suse.de>
2881 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
2882 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
2883 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
2884 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
2885 * sysdeps/i386/i686/multiarch/Makefile: Update.
2886 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
2888 2013-12-17 Joseph Myers <joseph@codesourcery.com>
2890 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
2891 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
2893 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
2896 Support TZ transition times < 00:00:00.
2897 This is needed for version-3 tz-format files; it supports time
2898 stamps past 2037 for America/Godthab (the only entry in the tz
2899 database for which this change is relevant).
2900 * manual/time.texi (TZ Variable): Document transition times
2901 from -167:59:59 through -00:00:01.
2902 * time/tzset.c (tz_rule): Time of day is now signed.
2903 (__tzset_parse_tz): Parse negative time of day.
2905 Document TZ transition times >= 25:00:00.
2906 * manual/time.texi (TZ Variable): Document transition times from
2907 25:00:00 through 167:59:59. These are already supported, and this
2908 support will help with version-3 tz-format files.
2910 * manual/time.texi (TZ Variable): Modernize North America example
2911 to reflect current (i.e., 2007-and-later) daylight saving rules.
2913 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
2915 2013-12-17 Joseph Myers <joseph@codesourcery.com>
2917 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
2918 * sysdeps/unix/bsd/bits/stat.h: Likewise.
2919 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
2920 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
2921 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
2922 * sysdeps/unix/bsd/bsdstat.h: Likewise.
2923 * sysdeps/unix/bsd/clock.c: Likewise.
2924 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
2925 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
2926 * sysdeps/unix/bsd/init-posix.c: Likewise.
2927 * sysdeps/unix/bsd/poll.c: Likewise.
2928 * sysdeps/unix/bsd/ptsname.c: Likewise.
2929 * sysdeps/unix/bsd/seekdir.c: Likewise.
2930 * sysdeps/unix/bsd/setegid.c: Likewise.
2931 * sysdeps/unix/bsd/seteuid.c: Likewise.
2932 * sysdeps/unix/bsd/setgid.c: Likewise.
2933 * sysdeps/unix/bsd/setrgid.c: Likewise.
2934 * sysdeps/unix/bsd/setruid.c: Likewise.
2935 * sysdeps/unix/bsd/setsid.c: Likewise.
2936 * sysdeps/unix/bsd/setuid.c: Likewise.
2937 * sysdeps/unix/bsd/sigaction.c: Likewise.
2938 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
2939 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
2940 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
2941 * sysdeps/unix/bsd/telldir.c: Likewise.
2942 * sysdeps/unix/bsd/times.c: Likewise.
2943 * sysdeps/unix/bsd/usleep.c: Likewise.
2945 * misc/Makefile (install-lib): Remove libbsd-compat.a.
2946 ($(objpfx)libbsd-compat.a): Remove rule.
2948 * include/features.h (__FAVOR_BSD): Do not define.
2949 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
2950 features conflicting with POSIX.
2951 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
2952 (_BSD_SOURCE): Remove description of not being a subset of other
2953 feature test macros.
2954 * manual/job.texi (getpgrp): Do not document BSD version.
2955 (getpgid): Do not document by reference to BSD getpgrp.
2956 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
2957 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
2958 * signal/signal.h [__FAVOR_BSD]: Likewise.
2959 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
2960 instead of making contents conditional on [__FAVOR_BSD].
2961 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
2963 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2965 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2967 2013-12-17 Joseph Myers <joseph@codesourcery.com>
2970 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
2971 values below 2**-450, not 2**-500.
2972 * math/auto-libm-test-in: Don't allow spurious underflow from
2974 * math/auto-libm-test-out: Regenerated.
2978 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
2979 values of ha and hb and sort them after adjusting subnormal
2981 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
2983 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
2984 values of ea and eb and sort them after adjusting subnormal
2986 * math/auto-libm-test-in: Do not expect some hypot tests of
2987 subnormals to fail. Add more hypot tests.
2988 * math/auto-libm-test-out: Regenerated.
2990 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2993 * sysdeps/sh/s_fma.c: New file.
2994 * sysdeps/sh/s_fmaf.c: New file.
2995 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
2997 * sysdeps/sh/Implies: Add sh/soft-fp.
2999 2013-12-16 Roland McGrath <roland@hack.frob.com>
3001 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
3002 level of indirection to members `objname', `errstring', `malloced'.
3003 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
3004 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
3005 it as the __longjmp argument (just pass 1 instead).
3006 (_dl_catch_error): Initialize C with argument pointers and address of
3007 volatile local ERRCODE rather than copying values out of C at return.
3009 2013-12-16 Joseph Myers <joseph@codesourcery.com>
3011 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
3012 * math/auto-libm-test-out: Regenerated.
3013 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
3014 (hypot_test_data): Likewise.
3015 (pow_test_data): Likewise.
3016 (pow_tonearest_test_data): Likewise.
3017 * math/gen-auto-libm-tests.c (func_calc_method): Add value
3019 (func_calc_desc): Add mpfr_ff_f union field.
3020 (FUNC_mpfr_ff_f): New macro.
3021 (test_functions): Add atan2, hypot and pow.
3022 (special_fill_min): New function.
3023 (special_fill_minus_min): Likewise.
3024 (special_fill_min_subnorm): Likewise.
3025 (special_fill_minus_min_subnorm): Likewise.
3026 (special_real_inputs): Add min, -min, min_subnorm and
3028 (calc_generic_results): Handle mpfr_ff_f.
3029 * sysdeps/i386/fpu/libm-test-ulps: Update.
3030 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3032 2013-12-16 Will Newton <will.newton@linaro.org>
3034 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
3035 (Aligned Memory Blocks): Add documentation for aligned_alloc
3036 and suggest it as an alternative to posix_memalign.
3037 (Hooks for Malloc): Document __memalign_hook is also called
3038 for aligned_alloc. (Summary of Malloc): Add summary for
3039 aligned alloc. Document __memalign_hook is also called
3042 2013-12-16 Will Newton <will.newton@linaro.org>
3044 * manual/memory.texi (Malloc Examples): Clarify default
3045 alignment documentation. Suggest posix_memalign rather
3046 than memalign or valloc.
3047 (Aligned Memory Blocks): Remove suggestion to use memalign
3048 or valloc. Remove obsolete comment about BSD.
3049 Document memalign errno values and mark the function obsolete.
3050 Document posix_memalign returned error codes. Mark valloc
3051 as obsolete. (Hooks for Malloc): __memalign_hook is also
3052 called for posix_memalign and valloc.
3053 (Summary of Malloc): Add posix_memalign to function summary.
3054 __memalign_hook is also called for posix_memalign and valloc.
3056 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
3058 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
3062 (sloww): Use mynumber union. Expand ternary operator into
3064 (cslow): use mynumber union.
3066 2013-12-16 Allan McRae <allan@archlinux.org>
3068 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
3069 * configure: Regenerated.
3071 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
3074 * configure.ac: Added --enable-maintainer-mode. Check for
3075 autoconf when enabled.
3076 * configure: Regenerated.
3078 * nscd/nscd.service: New file.
3079 * nscd/nscd.tmpfiles: New file.
3081 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
3084 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
3085 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
3086 * sysdeps/x86_64/multiarch/strstr.c: ... here.
3087 (strstr): Add __strstr_sse2_unaligned ifunc.
3088 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
3089 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
3090 (strcasestr): Remove __strcasestr_sse42 ifunc.
3091 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
3092 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
3093 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
3095 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3097 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
3098 * sysdeps/sh/bits/fenv.h: ... here.
3099 * sysdeps/sh/sh4/fpu/bits: Remove directory.
3101 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3103 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
3105 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3107 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
3108 hypotf multiarch implementations.
3109 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
3110 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
3111 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
3112 multiarch hypot for PPC64.
3113 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
3114 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
3115 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
3116 multiarch hypotf for PPC64.
3118 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3120 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
3121 modff multiarch implementations.
3122 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
3123 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
3124 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
3125 multiarch modf for PPC64.
3126 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
3127 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
3128 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
3129 multiarch modff for PPC64.
3131 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3133 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
3134 and logl multiarch implementations.
3135 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
3136 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
3137 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
3138 multiarch logb for PPC64.
3139 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
3140 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
3141 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
3142 multiarch logb for PPC64.
3143 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
3144 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
3145 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
3146 multiarch logb for PPC64.
3148 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3150 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
3151 isinff multiarch implementation.
3152 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
3154 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
3155 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
3156 multiarch isinf for PPC64.
3157 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
3159 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
3160 multiarch isinff for PPC64.
3162 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3164 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
3165 finitef multiarch implementation.
3166 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
3168 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
3169 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
3170 multiarch finite for PPC64.
3171 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
3173 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
3174 multiarch finitef for PPC64.
3176 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3178 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
3179 lrint multiarch implementation.
3180 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
3182 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
3183 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
3184 multiarch llrint for PPC64.
3185 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
3186 multiarch lrint for PPC64.
3188 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3190 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
3191 copysignf multiarch implementation.
3192 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
3194 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
3196 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
3197 multiarch copysign for PPC64.
3198 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
3199 multiarch copysignf for PPC64.
3201 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3203 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
3204 multiarch implementation.
3205 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
3207 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
3209 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
3211 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
3213 multiarch llround for PPC64.
3214 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
3215 multiarch trunc for PPC64.
3216 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
3217 multiarch truncf for PPC64.
3219 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3221 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
3222 multiarch implementation.
3223 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
3225 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
3227 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
3229 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
3231 multiarch llround for PPC64.
3232 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
3233 multiarch round for PPC64.
3234 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
3235 multiarch roundf for PPC64.
3237 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3239 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
3240 multiarch implementation.
3241 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
3243 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
3245 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
3247 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
3249 multiarch llround for PPC64.
3250 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
3251 multiarch floor for PPC64.
3252 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
3253 multiarch floorf for PPC64.
3255 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3257 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
3258 multiarch implementation.
3259 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
3261 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
3263 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
3265 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
3267 multiarch llround for PPC64.
3268 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
3269 multiarch ceil for PPC64.
3270 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
3271 multiarch ceilf for PPC64.
3273 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3275 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
3276 multiarch implementation.
3277 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
3279 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
3281 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
3283 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
3284 multiarch llround for PPC64.
3285 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
3286 multiarch lround for PPC64.
3288 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3290 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
3291 multiarch implementation.
3292 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
3293 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
3294 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
3296 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
3297 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
3298 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
3299 multiarch isnan for PPC64.
3300 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
3301 multiarch isnanf for PPC64.
3303 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3305 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
3306 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
3307 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
3308 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
3309 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
3310 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
3312 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3314 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
3315 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
3316 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
3317 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
3319 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3321 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
3322 multiarch implementations.
3323 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3324 (__libc_ifunc_impl_list): Likewise.
3325 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
3326 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
3327 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
3328 multiarch stpcpy for PPC64.
3330 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3332 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
3333 multiarch implementations.
3334 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3335 (__libc_ifunc_impl_list): Likewise.
3336 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
3337 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
3338 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
3339 multiarch strcpy for PPC64.
3341 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3343 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
3344 redefine function name.
3345 (_wordcopy_fwd_dest_aligned): Likewise.
3346 (_wordcopy_bwd_aligned): Likewise.
3347 (_wordcopy_bwd_dest_aligned): Likewise.
3348 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
3349 multiarch implementations.
3350 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3351 (__libc_ifunc_impl_list): Likewise.
3352 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
3353 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
3354 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
3355 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
3356 multiarch wcscpy for PPC64.
3358 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3360 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
3361 multiarch implementations.
3362 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3363 (__libc_ifunc_impl_list): Likewise.
3364 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
3365 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
3366 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
3367 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
3368 multiarch wcscpy for PPC64.
3370 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3372 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
3373 multiarch implementations.
3374 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3375 (__libc_ifunc_impl_list): Likewise.
3376 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
3377 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
3378 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
3379 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
3380 multiarch wcsrchr for PPC64.
3382 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3384 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
3385 multiarch implementations.
3386 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3387 (__libc_ifunc_impl_list): Likewise.
3388 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
3389 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
3390 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
3391 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
3392 multiarch wcschr for PPC64.
3394 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3396 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
3397 multiarch implementations.
3398 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3399 (__libc_ifunc_impl_list): Likewise.
3400 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
3401 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
3402 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
3403 multiarch strchrnul for PPC64.
3405 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3407 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
3409 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3410 (__libc_ifunc_impl_list): Likewise.
3411 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
3412 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
3413 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
3414 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
3417 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3419 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
3421 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3422 (__libc_ifunc_impl_list): Likewise.
3423 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
3424 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
3425 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
3426 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
3429 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3431 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
3432 multiarch implementations.
3433 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3434 (__libc_ifunc_impl_list): Likewise.
3435 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
3436 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
3437 strncasecmp for PPC64.
3438 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
3439 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
3440 multiarch strncasecmp_l for PPC64.
3442 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3444 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
3445 multiarch implementations.
3446 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3447 (__libc_ifunc_impl_list): Likewise.
3448 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
3449 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
3450 multiarch strcasecmp for PPC64.
3451 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
3453 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
3454 multiarch strcasecmp_l for PPC64.
3456 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3458 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
3460 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3461 (__libc_ifunc_impl_list): Likewise.
3462 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
3463 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
3464 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
3467 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3469 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
3471 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3472 (__libc_ifunc_impl_list): Likewise.
3473 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
3474 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
3475 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
3478 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3480 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
3482 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3483 (__libc_ifunc_impl_list): Likewise.
3484 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
3485 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
3486 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
3487 rawmemrchr for PPC64.
3489 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3491 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
3493 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3494 (__libc_ifunc_impl_list): Likewise.
3495 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
3496 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
3497 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
3500 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3502 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
3504 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3505 (__libc_ifunc_impl_list): Likewise.
3506 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
3507 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
3508 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
3511 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3513 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
3515 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3516 (__libc_ifunc_impl_list): Likewise.
3517 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
3518 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
3519 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
3522 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3524 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
3525 avoid cretion of __bzero symbol.
3526 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
3528 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
3530 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
3532 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
3533 multiarch implementations.
3534 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3535 (__libc_ifunc_impl_list): Likewise.
3536 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
3537 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
3538 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
3539 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
3541 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
3542 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
3543 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
3544 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
3545 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
3547 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
3549 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3551 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
3552 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
3554 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3555 (__libc_ifunc_impl_list): Likewise.
3556 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
3557 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
3558 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
3559 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
3562 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3564 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
3565 multiarch for POWER/PPC64.
3566 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
3567 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
3568 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
3569 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
3570 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
3571 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
3572 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
3573 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
3574 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
3577 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3579 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
3580 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
3581 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
3582 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
3583 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
3584 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
3585 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
3586 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
3587 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
3588 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
3589 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
3590 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
3591 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
3592 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
3593 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
3594 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
3595 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
3596 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
3597 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
3598 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
3599 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
3600 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
3602 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3604 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
3606 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
3608 * benchtests/Makefile (bench): Add exp2 and log2.
3609 (LDLIBS-bench-exp2): Add -lm.
3610 (LDLIBS-bench-log2): Likewise.
3611 * benchtests/exp2-inputs: New inputs file.
3612 * benchtests/log2-inputs: New inputs file.
3613 * benchtests/log-inputs: Add new inputs.
3614 * benchtests/tan-inputs: Likewise.
3616 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3618 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
3620 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2,
3621 csloww1, csloww2): ... from here.
3623 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
3624 instead of structures.
3625 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
3626 (POLYNOMIAL): Likewise.
3627 (TAYLOR_SLOW): Likewise.
3635 (bsloww1): Likewise.
3636 (bsloww2): Likewise.
3639 (csloww1): Likewise.
3640 (csloww2): Likewise.
3642 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
3644 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
3645 (__malloc_assert, __libc_realloc, __libc_calloc,
3646 _int_realloc): Expand MALLOC_COPY and MALLOC_ZERO to
3648 * malloc/hooks.c (realloc_check): Likewise.
3650 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
3652 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
3653 * malloc/arena.c: Remove PER_THREAD conditional.
3654 [!PER_THREAD]: Remove code.
3655 (ptmalloc_unlock_all2): Likewise.
3656 (ptmalloc_init): Likewise.
3657 (_int_new_arena): Likewise.
3658 (arena_get2): Likewise.
3659 * malloc/hooks.c (__malloc_get_state): Likewise.
3660 (__malloc_set_state): Likewise.
3661 * malloc/malloc.c: Likewise.
3662 (struct malloc_state): Likewise.
3663 (struct malloc_par): Likewise.
3664 (__libc_realloc): Likewise.
3665 (__libc_mallopt): Likewise.
3667 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3669 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
3671 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
3673 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
3674 macro to a function. Check for zero perturb_byte.
3675 (_int_malloc, _int_free): Remove zero perturb_byte checks.
3677 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
3679 * malloc/malloc.c: (force_reg): Remove.
3680 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc,
3681 _mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
3682 force_reg by atomic_forced_read.
3683 * malloc/arena.c (ptmalloc_init): Likewise.
3684 * malloc/hooks.c (top_check): Likewise.
3686 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3688 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3690 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
3692 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3694 2013-12-08 Joseph Myers <joseph@codesourcery.com>
3696 * math/auto-libm-test-in: Add tests of lgamma.
3697 * math/auto-libm-test-out: Regenerated.
3698 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
3699 (M_LOG_2_SQRT_PIl): Likewise.
3700 (lgamma_test_data): Use AUTO_TESTS_f_f1.
3701 * math/gen-auto-libm-tests.c (func_calc_method): Add value
3703 (func_calc_desc): Add mpfr_f_f1 union field.
3712 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
3713 (test_functions): Add lgamma.
3714 (calc_generic_results): Handle mpfr_f_f1.
3715 * sysdeps/i386/fpu/libm-test-ulps: Update.
3716 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3718 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3720 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
3721 __mpn_add_n for PowerPC64/POWER7.
3722 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
3723 __mpn_sub_n for PowerPC64/POWER7.
3725 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3727 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
3728 __mpn_addmul_1 for PowerPC64.
3729 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
3730 __mpn_submul_1 for PowerPC64.
3731 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
3733 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
3736 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
3739 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
3741 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3743 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
3745 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3747 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
3748 add multiarch folders.
3749 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
3750 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
3751 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
3752 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
3753 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
3754 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
3755 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
3756 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
3757 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
3758 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
3759 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
3760 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
3761 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
3762 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
3763 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
3764 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
3765 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
3767 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3769 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
3770 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
3771 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
3773 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
3775 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
3776 multiarch __ieee754_hypot for PowerPC32.
3777 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
3779 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
3781 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
3782 multiarch __ieee754_hypotf for PowerPC32.
3784 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3786 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
3787 long_double_symbol only if __logbl is defined.
3788 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
3789 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
3790 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
3791 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
3792 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
3793 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
3794 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
3795 path for implementation.
3796 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
3797 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
3798 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
3799 logb, and logbl multiarch implementations for PowerPC32.
3800 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
3802 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
3804 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
3805 multiarch logb for PowerPC32.
3806 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
3808 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
3810 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
3811 multiarch logbf for PowerPC32.
3812 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
3813 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
3815 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
3816 multiarch logbl implementation for PowerPC32.
3818 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3820 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
3821 and modff multiarch implementations.
3822 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
3824 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
3826 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
3827 multiarch modf for PowerPC32.
3828 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
3830 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
3832 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
3833 multiarch modff for PowerPC32.
3835 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3837 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
3838 and lrintf multiarch implementations.
3839 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
3841 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
3843 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
3844 multiarch lrint for PowerPC32.
3845 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
3846 file: multiarch lrintf for PowerPC32.
3848 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3850 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
3851 and lroundf multiarch implementations.
3852 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
3854 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
3856 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
3858 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
3859 multiarch lround for PowerPC32.
3860 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
3861 file: multiarch lroundf for PowerPC32.
3863 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3865 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
3866 copysign and copysignf multiarch implementations.
3867 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
3869 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
3871 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
3872 file: multiarch copysign for PowerPC32.
3873 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
3874 file: multiarch copysignf for PowerPC32.
3876 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3878 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
3879 and truncf multiarch implementations.
3880 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
3882 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
3884 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
3885 multiarch trunc for PowerPC32.
3886 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
3888 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
3890 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
3891 multiarch truncf for PowerPC32.
3893 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3895 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
3896 and roundf multiarch implementations.
3897 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
3899 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
3901 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
3902 multiarch round for PowerPC32.
3903 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
3905 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
3907 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
3908 multiarch roundf for PowerPC32.
3910 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3912 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
3913 and floorf multiarch implementations.
3914 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
3916 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
3918 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
3919 multiarch floor for PowerPC32.
3920 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
3922 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
3924 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
3925 multiarch floorf for PowerPC32.
3927 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3929 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
3930 and ceilf multiarch implementations.
3931 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
3933 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
3935 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
3936 multiarch ceil for PowerPC32.
3937 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
3939 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
3941 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
3942 multiarch ceilf for PowerPC32.
3944 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3946 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
3948 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
3950 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
3951 and finitef multiarch implementations.
3952 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
3954 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
3956 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
3957 multiarch finite for PowerPC32.
3958 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
3960 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
3961 file: multiarch finitef for PowerPC32.
3963 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3965 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
3966 and isinff multiarch implementations.
3967 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
3969 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
3971 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
3972 multiarch isinf for PowerPC32.
3973 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
3975 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
3976 multiarch isinff for PowerPC32.
3978 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3980 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
3981 alias when __isnan is defined.
3982 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
3983 and isnanf multiarch implementations.
3984 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
3986 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
3988 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
3990 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
3992 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
3993 multiarch isnan for PowerPC32.
3994 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
3996 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
3998 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
3999 multiarch isnanf for PowerPC32.
4001 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4003 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
4004 and sqrtf multiarch implementations.
4005 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
4007 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
4009 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
4010 multiarch sqrt for PowerPC32.
4011 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
4013 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
4015 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
4016 multiarch sqrtf for PowerPC32.
4018 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4020 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
4021 and llroundf multiarch implementations.
4022 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
4024 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
4026 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
4028 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
4029 file: multiarch llround for PowerPC32.
4030 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
4031 file: multiarch llroundf for PowerPC32.
4033 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4035 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
4036 multiarch PowerPC32 fpu implementations.
4037 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
4039 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
4041 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
4042 multiarch llrint for PowerPC32.
4043 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
4045 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
4047 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
4050 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4052 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
4054 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4056 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
4058 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
4060 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
4062 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
4063 multiarch wordcopy for PPC32.
4064 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
4066 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
4067 (__libc_ifunc_impl_list): Likewise.
4068 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
4069 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
4070 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
4071 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
4072 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
4073 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
4075 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4077 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
4078 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
4080 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
4082 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
4084 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
4085 multiarch wcscpy for PPC32.
4086 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
4088 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
4089 (__libc_ifunc_impl_list): Likewise.
4090 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
4091 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
4092 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
4093 sysdeps/powerpc/power6/wcscpy.c.
4095 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4097 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
4098 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
4100 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
4102 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
4104 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
4105 multiarch wcsrchr for PPC32.
4106 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
4108 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
4109 (__libc_ifunc_impl_list): Likewise.
4110 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
4111 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
4112 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
4113 sysdeps/powerpc/power6/wcsrchr.c.
4115 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4117 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
4119 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
4121 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
4122 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
4123 multiarch wcschr for PPc32.
4124 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
4126 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
4127 (__libc_ifunc_impl_list): Likewise.
4128 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
4129 * sysdeps/powerpc/power6/wcschr.c: ... to here.
4130 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
4131 sysdeps/powerpc/power6/wcschr.c.
4133 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4135 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
4136 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
4138 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
4139 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
4140 file: multiarch strchr for PPC32.
4141 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
4143 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
4144 (__libc_ifunc_impl_list): Likewise.
4146 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4148 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
4150 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
4152 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
4154 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
4155 multiarch strchrnul for PPC32.
4156 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
4158 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
4159 (__libc_ifunc_impl_list): Likewise.
4161 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4163 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
4165 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
4166 multiarch strncasecmp for PPC32.
4167 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
4169 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
4170 multiarch strncasecmp_l for PPC32.
4171 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
4172 strncasecmp multiarch objects.
4173 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
4174 (__libc_ifunc_impl_list): Likewise.
4176 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4178 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
4180 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
4181 multiarch strncasecmp for PPC32.
4182 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
4184 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
4185 multiarch strcasecmp_l for PPC32.
4186 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
4188 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
4189 (__libc_ifunc_impl_list): Likewise.
4191 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4193 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
4195 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
4197 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
4198 multiarch strncmp for PPC32.
4199 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
4201 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
4202 (__libc_ifunc_impl_list): Likewise.
4204 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4206 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
4207 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
4209 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
4210 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
4211 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
4213 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
4214 (__libc_ifunc_impl_list): Likewise.
4216 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4218 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
4220 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
4222 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
4223 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
4225 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
4226 (__libc_ifunc_impl_list): Likewise.
4228 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4230 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
4232 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
4234 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
4235 multiarch rawmemchr for PPC32.
4236 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
4238 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
4239 (__libc_ifunc_impl_list): Likewise.
4241 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4243 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
4245 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
4247 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
4248 file: memrchr multiarch for PPC32.
4249 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
4251 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
4252 (__libc_ifunc_impl_list): Likewise.
4254 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4256 * string/memchr.c (__memchr): Using macro to redefine symbol name.
4257 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
4259 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
4260 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
4261 multiarch memchr for PPC32.
4262 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
4264 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
4265 (__libc_ifunc_impl_list): Likewise.
4267 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4269 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
4270 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
4272 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
4274 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
4275 file: multiarch mempcpy for PPC32.
4276 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
4278 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
4279 (__libc_ifunc_impl_list): Likewise.
4281 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4283 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
4284 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
4285 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
4286 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
4287 multiarch bzero for PPC32.
4288 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
4290 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
4292 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
4293 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
4294 file: multiarch memset for PPC32.
4295 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
4296 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
4297 memset multiarch objects.
4298 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
4299 (__libc_ifunc_impl_list): Likewise.
4301 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4303 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
4305 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
4306 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
4308 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
4309 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
4311 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
4312 (__libc_ifunc_impl_list): Likewise.
4314 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4316 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
4317 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
4318 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
4320 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
4322 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
4324 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
4325 multiarch memcpy for PPC32.
4326 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
4328 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
4329 (__libc_ifunc_impl_list): Likewise.
4331 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4333 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
4334 support multiarch for POWER/PPC32.
4335 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
4337 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
4338 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
4339 Implies file to make multiarch folder appers before the fpu and
4340 default folder for power4 configuration.
4342 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
4344 * scripts/bench.pl: Append volatile keyword to type.
4346 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4348 * sysdeps/sh/sotruss-lib.c: New file.
4349 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
4351 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4353 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4355 2013-12-05 Joseph Myers <joseph@codesourcery.com>
4358 * math/w_tgamma.c: Include <errno.h>.
4359 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
4360 * math/w_tgammaf.c: Include <errno.h>.
4361 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
4362 * math/w_tgammal.c: Include <errno.h>.
4363 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
4364 * math/auto-libm-test-in: Do not allow missing errno on tgamma
4365 underflow. Add more tgamma tests.
4366 * math/auto-libm-test-out: Regenerated.
4367 * sysdeps/i386/fpu/libm-test-ulps: Update.
4368 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4370 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
4371 sin, sinh, tan, tanh, tgamma, y0 and y1.
4372 * math/auto-libm-test-out: Regenerated.
4373 * math/libm-test.inc (TEST_COND_x86_64): New macro.
4374 (TEST_COND_x86): Likewise.
4375 (M_E2l): Remove macro.
4377 (M_2_SQRT_PIl): Likewise.
4378 (M_SQRT_PIl): Likewise.
4379 (M_1_DIV_El): Likewise.
4380 (log_test_data): Use AUTO_TESTS_f_f.
4381 (log10_test_data): Likewise.
4382 (log1p_test_data): Likewise.
4383 (log2_test_data): Likewise.
4384 (sin_test_data): Likewise.
4385 (sin_tonearest_test_data): Likewise.
4386 (sin_towardzero_test_data): Likewise.
4387 (sin_downward_test_data): Likewise.
4388 (sin_upward_test_data): Likewise.
4389 (sinh_test_data): Likewise.
4390 (sinh_tonearest_test_data): Likewise.
4391 (sinh_towardzero_test_data): Likewise.
4392 (sinh_downward_test_data): Likewise.
4393 (sinh_upward_test_data): Likewise.
4394 (tan_test_data): Likewise.
4395 (tan_tonearest_test_data): Likewise.
4396 (tan_towardzero_test_data): Likewise.
4397 (tan_downward_test_data): Likewise.
4398 (tan_upward_test_data): Likewise.
4399 (tanh_test_data): Likewise.
4400 (tgamma_test_data): Likewise.
4401 (y0_test_data): Likewise.
4402 (y1_test_data): Likewise.
4403 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
4404 (special_real_inputs): Add pi/4.
4405 * sysdeps/i386/fpu/libm-test-ulps: Update.
4406 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4408 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4410 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
4411 "longjmp_target" static probes.
4412 (__longjmp): Rename to __longjmp_symbol.
4413 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
4414 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
4415 on which longjmp to generate.
4416 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
4417 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
4419 (__sigsetjmp): Rename to __sigsetjmp_symbol.
4420 (__sigjmp_save): Rename to __sigjmp_save_symbol.
4421 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
4422 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
4423 and __sigjmp_save_symbol based on which sigsetjmp to generated.
4424 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
4425 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
4426 __longjmp_symbol based on which __longjmp to generate.
4427 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
4429 (setjmp): Rename to setjmp_symbol.
4430 (__sigsetjmp): Rename to __sigsetjmp_symbol.
4431 (_setjmp): Rename to _setjmp_symbol.
4432 (__sigsetjmp): Rename to __sigsetjmp_symbol.
4433 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
4434 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
4435 which setjmp to generate.
4436 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
4437 "longjmp_target" static probes.
4439 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
4441 * benchtests/README: Add note about output arguments.
4442 * benchtests/bench-sincos.c: Remove file.
4443 * benchtests/sincos-inputs: New file.
4444 * scripts/bench.pl: Identify output arguments and define
4445 static variables for them.
4447 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
4450 * Makefile (INSTALL): Add install-plain.texi as the primary
4452 * manual/install-plain.texi: New file.
4453 * manual/install.texi: Include node directive only for
4454 non-plaintext output.
4456 2013-12-04 Joseph Myers <joseph@codesourcery.com>
4458 * stdlib/longlong.h: Update from GCC.
4462 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
4463 * math/w_j0f.c (y0f): Likewise.
4464 * math/w_j0l.c (__y0l): Likewise.
4465 * math/w_j1.c (y1): Likewise.
4466 * math/w_j1f.c (y1f): Likewise.
4467 * math/w_j1l.c (__y1l): Likewise
4468 * math/w_jn.c (yn): Likewise.
4469 * math/w_jnf.c (ynf): Likewise.
4470 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
4471 Bessel function pole errors in _POSIX_ mode. Use NAN as return
4472 value for Bessel function domain errors outside _SVID_ mode.
4473 Adjust sign of return value for yn (negative integer, 0).
4474 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
4475 by zero in return for negative x and set sign appropriately for
4477 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
4478 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
4479 * math/libm-test.inc (y0_test_data): Add more tests and adjust
4480 expectations in error cases.
4481 (y1_test_data): Likewise.
4482 (yn_test_data): Likewise.
4483 * sysdeps/i386/fpu/libm-test-ulps: Update.
4484 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4486 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4488 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
4489 "64" to "64-v1". Add "64-v2".
4490 (abi-64-options): Rename to ...
4491 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
4492 (abi-64-condition): Rename to ...
4493 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
4494 (abi-64-ld-soname): Rename to ...
4495 (abi-64-v1-ld-soname): ... this.
4496 (abi-64-v2-options): Define.
4497 (abi-64-v2-condition): Likewise.
4498 (abi-64-v2-ld-soname): Likewise.
4499 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
4500 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
4501 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
4502 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
4503 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
4505 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4506 Alan Modra <amodra@gmail.com>
4508 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
4509 New versions for use with the ELFv2 ABI.
4510 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
4511 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
4513 (struct La_ppc64v2_retval): Likewise.
4514 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
4515 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
4516 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
4517 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
4518 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
4519 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
4520 Do not save or restore CR.
4521 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
4522 (_dl_profile_resolve): Do no save or restore CR. Support extended
4523 return values for ELFv2 ABI. Fix location of FPR return registers.
4524 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
4525 updated values for _CALL_ELF == 2.
4526 (La_regs, La_retval, int_retval): Likewise.
4528 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4530 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
4531 (FRAME_MIN_SIZE_PARM): Likewise.
4532 (FRAME_BACKCHAIN): Likewise.
4533 (FRAME_CR_SAVE): Likewise.
4534 (FRAME_LR_SAVE): Likewise.
4535 (FRAME_TOC_SAVE): Likewise.
4536 (FRAME_PARM_SAVE): Likewise.
4537 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
4538 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
4539 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
4540 (call_mcount_parm_offset): New macro.
4541 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
4542 (PROF): Use symbolic stack frame offsets.
4543 (TAIL_CALL_SYSCALL_ERROR): Likewise.
4544 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
4545 Redefine in terms of FRAME_MIN_SIZE.
4546 (_dl_runtime_resolve): Use symbolic stack frame offsets.
4547 (_dl_profile_resolve): Likewise. Update comment.
4548 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
4549 symbols stack frame offsets.
4550 (__sigsetjmp): Likewise.
4551 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
4552 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
4553 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
4554 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
4556 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
4557 (FRAME_BACKCHAIN): Remove.
4558 (FRAME_CR_SAVE): Likewise.
4559 (FRAME_LR_SAVE): Likewise.
4560 (FRAME_COMPILER_DW): Likewise.
4561 (FRAME_LINKER_DW): Likewise.
4562 (FRAME_TOC_SAVE): Likewise.
4563 (FRAME_PARM_SAVE): Likewise.
4564 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
4565 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
4566 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
4567 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
4568 (CHECK_SP): Use symbolic stack frame offsets.
4569 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
4570 zone" instead of caller's parameter save area for temp storage.
4571 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
4572 Likewise. Also, use symbolic stack frame offsets.
4573 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
4574 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
4575 our own stack frame instead of the caller's.
4576 (__socket): Use symbolic stack frame offsets.
4578 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4579 Alan Modra <amodra@gmail.com>
4581 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
4583 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK,
4584 PPC64_LOCAL_ENTRY_OFFSET): Define.
4585 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
4587 (elf_machine_fixup_plt): Call it.
4588 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
4590 (elf_machine_rela): Update call to elf_machine_plt_conflict.
4591 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
4592 _dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
4593 r2 before calling target.
4595 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4596 Alan Modra <amodra@gmail.com>
4598 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
4599 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
4600 versions of macros to support ELFv2 ABI.
4601 (LOCALENTRY): New macro.
4602 (ENTRY, EALIGN): Use it.
4603 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
4604 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
4605 fall through into ENTRY entry point.
4606 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
4607 Only define if _CALL_ELF != 2.
4609 (elf_machine_matches_host): Verify ABI version matches.
4610 (RTLD_START): Use LOCALENTRY.
4611 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
4612 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
4613 (PLT_ENTRY_WORDS): New macro.
4614 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
4615 (elf_machine_runtime_setup): Support ELFv2 ABI.
4616 (elf_machine_fixup_plt): Likewise.
4617 (elf_machine_plt_conflict): Likewise.
4618 (resolve_ifunc): Likewise.
4619 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
4620 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
4622 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
4623 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
4624 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
4625 (makecontext): Support ELFv2 ABI.
4626 * elf/elf.h (EF_PPC64_ABI): Define.
4628 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4630 * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
4631 New assembler macro.
4632 [ASSEMBLER] (ENTRY_1): Do not switch to .text section here ...
4633 [ASSEMBLER] (ENTRY): ... but instead here ...
4634 [ASSEMBLER] (EALIGN): ... and here.
4635 [!ASSEMBLER] (PPC64_LOAD_FUNCPTR): New macro.
4636 [!ASSEMBLER] (ENTRY_1): New macro; set up .opd entry.
4637 [!ASSEMBLER] (ENTRY_2): Use it.
4638 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
4639 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
4640 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
4641 _dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
4642 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
4643 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
4644 Use PPC64_LOAD_FUNCPTR.
4646 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4648 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
4650 2013-12-04 Alan Modra <amodra@gmail.com>
4652 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
4653 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
4654 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
4655 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
4657 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
4658 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
4659 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
4660 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
4661 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
4662 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
4664 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4666 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
4667 (__makecontext): Fix incorrect CFI when backtracing out of
4668 context created via makecontext.
4669 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
4670 (__setcontext): Fix incorrect CFI during switch to new context.
4671 (__novec_setcontext): Likewise.
4673 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
4676 * time/strptime_l.c (__strptime_internal): Allow modifiers
4678 * time/tst-strptime.c (day_tests): Add testcase.
4681 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4683 * scripts/bench.pl: Skip over blank lines.
4685 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
4688 * manual/time.texi (Calendar Time): Clarify what timezone functions
4691 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4693 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4695 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
4697 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
4699 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
4700 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
4701 * debug/memset_chk.c (__memset_chk): Likewise.
4702 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
4703 * debug/strncpy_chk.c: Likewise.
4705 2013-12-03 Joseph Myers <joseph@codesourcery.com>
4709 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
4710 (__ieee754_exp): For possibly underflowing results, check size of
4711 result and force underflow exception if required.
4712 * math/auto-libm-test-in: Add more tests of exp.
4713 * math/auto-libm-test-out: Regenerated.
4714 * sysdeps/i386/fpu/libm-test-ulps: Update.
4715 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4718 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
4719 * math/w_exp2f.c (__exp2f): Likewise.
4720 * math/w_exp2l.c (__exp2l): Likewise.
4721 * math/auto-libm-test-in: Do not allow missing errno on exp2
4723 * math/auto-libm-test-out: Regenerated.
4725 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
4728 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
4729 handle filename validation.
4730 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
4733 2013-12-03 Joseph Myers <joseph@codesourcery.com>
4736 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
4737 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
4738 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
4740 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
4741 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
4742 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
4743 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
4744 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
4745 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
4746 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
4747 * math/auto-libm-test-in: Don't allow missing errno from erfc.
4748 Add more erfc tests.
4749 * math/auto-libm-test-out: Regenerated.
4750 * sysdeps/i386/fpu/libm-test-ulps: Update.
4751 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4753 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
4754 exp2, expm1, j0 and j1.
4755 * math/auto-libm-test-out: Regenerated.
4756 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
4757 (erfc_test_data): Likewise.
4758 (exp_test_data): Likewise.
4759 (exp_tonearest_test_data): Likewise.
4760 (exp_towardzero_test_data): Likewise.
4761 (exp_downward_test_data): Likewise.
4762 (exp_upward_test_data): Likewise.
4763 (exp10_test_data): Likewise.
4764 (exp2_test_data): Likewise.
4765 (expm1_test_data): Likewise.
4766 (j0_test_data): Likewise.
4767 (j1_test_data): Likewise.
4768 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
4769 (input_flag_type): Add flag_xfail_rounding.
4770 (input_flags): Add xfail-rounding.
4771 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
4772 (output_for_one_input_case): Handle flag_xfail_rounding.
4773 * sysdeps/i386/fpu/libm-test-ulps: Update.
4774 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4776 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
4779 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
4782 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
4785 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
4786 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
4787 (STAP_PROBE0): New macro.
4788 (STAP_PROBE1): Likewise.
4789 (STAP_PROBE2): Likewise.
4790 (STAP_PROBE3): Likewise.
4791 (STAP_PROBE4): Likewise.
4793 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
4795 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
4797 2013-12-02 Steve Ellcey <sellcey@mips.com>
4799 * benchtests/Makefile (bench): Add sqrt.
4800 (LDLIBS-bench-sqrt): New.
4801 * benchtests/sqrt-input: New.
4803 2013-12-02 Pavel Simerda <psimerda@redhat.com>
4805 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
4806 (GAIH_EAI): Likewise.
4807 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
4808 (gaih_inet): Likewise.
4809 (getaddrinfo): Don't use GAIH_EAI.
4811 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
4812 (struct gaih): Remove definition.
4814 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
4816 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
4817 Use HERRNOP directly.
4819 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4821 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4823 2013-11-30 Joseph Myers <joseph@codesourcery.com>
4825 * math/gen-auto-libm-tests.c (test_functions): Add more
4826 single-argument functions.
4827 (special_fill_pi_2): New function.
4828 (special_fill_minus_pi_2): Likewise.
4829 (special_fill_pi_6): Likewise.
4830 (special_fill_minus_pi_6): Likewise.
4831 (special_fill_pi_3): Likewise.
4832 (special_fill_2pi_3): Likewise.
4833 (special_fill_e): Likewise.
4834 (special_fill_1_e): Likewise.
4835 (special_fill_e_minus_1): Likewise.
4836 (special_real_inputs): Add more special inputs.
4837 (output_for_one_input_case): Do not require ERANGE on underflow to
4838 zero if round-to-nearest result does not underflow to zero, unless
4839 exact results required.
4840 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
4841 atan, atanh, cbrt, cos and cosh.
4842 * math/auto-libm-test-out: Regenerated.
4843 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
4844 (acos_tonearest_test_data): Likewise.
4845 (acos_towardzero_test_data): Likewise.
4846 (acos_downward_test_data): Likewise.
4847 (acos_upward_test_data): Likewise.
4848 (acosh_test_data): Likewise.
4849 (asin_test_data): Likewise.
4850 (asin_tonearest_test_data): Likewise.
4851 (asin_towardzero_test_data): Likewise.
4852 (asin_upward_test_data): Likewise.
4853 (asinh_test_data): Likewise.
4854 (atan_test_data): Likewise.
4855 (atanh_test_data): Likewise.
4856 (cbrt_test_data): Likewise.
4857 (cos_test_data): Likewise.
4858 (cos_tonearest_test_data): Likewise.
4859 (cos_towardzero_test_data): Likewise.
4860 (cos_downward_test_data): Likewise.
4861 (cos_upward_test_data): Likewise.
4862 (cosh_test_data): Likewise.
4863 (cosh_tonearest_test_data): Likewise.
4864 (cosh_towardzero_test_data): Likewise.
4865 (cosh_downward_test_data): Likewise.
4866 (cosh_upward_test_data): Likewise.
4867 * sysdeps/i386/fpu/libm-test-ulps: Update.
4868 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4870 2013-11-29 Joseph Myers <joseph@codesourcery.com>
4873 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
4874 * math/w_exp10f.c (__exp10f): Likewise.
4875 * math/w_exp10l.c (__exp10l): Likewise.
4876 * math/libm-test.inc (exp10_test_data): Add more tests and expect
4877 errno settings in existing tests.
4880 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
4881 precision control set to double precision.
4882 * sysdeps/i386/fpu/w_sqrt.c: New file.
4883 * math/auto-libm-test-in: Add more tests.
4884 * math/auto-libm-test-out: Update.
4886 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
4887 (sqrt_test_tonearest): New function.
4888 (sqrt_towardzero_test_data): New variable.
4889 (sqrt_test_towardzero): New function.
4890 (sqrt_downward_test_data): New variable.
4891 (sqrt_test_downward): New function.
4892 (sqrt_upward_test_data): New variable.
4893 (sqrt_test_upward): New function.
4894 (main): Call the new functions.
4896 * math/gen-auto-libm-tests.c: New file.
4897 * math/auto-libm-test-in: Likewise.
4898 * math/auto-libm-test-out: New generated file.
4899 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
4901 (%beautify): Add generated representations of zero.
4902 (top level): Set $auto_input and call parse_auto_input.
4903 (beautify): Remove trailing "f" from hex float constants.
4904 (parse_args): Handle XFAIL_TEST.
4905 (convert_condition): New function.
4906 (or_value): Likewise.
4907 (or_cond_value): Likewise.
4908 (generate_testfile): Handle AUTO_TESTS_* lines.
4909 (parse_auto_input): New function.
4910 * math/libm-test.inc (XFAIL_TEST): New macro.
4911 (ERRNO_UNCHANGED): Update value.
4912 (ERRNO_EDOM): Likewise.
4913 (ERRNO_ERANGE): Likewise.
4914 (IGNORE_RESULT): Likewise.
4915 (TEST_COND_flt_32): New macro.
4916 (TEST_COND_dbl_64): Likewise.
4917 (TEST_COND_ldbl_96_intel): Likewise.
4918 (TEST_COND_ldbl_96_m68k): Likewise.
4919 (TEST_COND_ldbl_128): Likewise.
4920 (TEST_COND_ldbl_128ibm): Likewise.
4921 (TEST_COND_long32): Likewise.
4922 (TEST_COND_long64): Likewise.
4923 (TEST_COND_before_rounding): Likewise.
4924 (TEST_COND_after_rounding): Likewise.
4925 (enable_test): Handle XFAIL_TEST flag.
4926 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
4927 with finite results.
4928 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
4931 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
4932 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4935 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
4936 __tls_get_addr_internal instead of __tls_get_offset in order to
4937 avoid GOT pointer dependency. Make rtld export
4938 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
4939 __tls_get_addr since we are a __tls_get_offset platform.
4940 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
4941 GOT pointer being set up before.
4942 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
4944 2013-11-28 Joseph Myers <joseph@codesourcery.com>
4946 * manual/math.texi (Errors in Math Functions): Document accuracy
4950 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
4951 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
4952 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
4953 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
4954 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
4955 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
4956 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
4957 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
4958 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
4959 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
4960 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
4961 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
4962 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
4963 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
4964 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
4965 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
4967 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
4968 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
4969 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
4970 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
4971 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
4973 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
4975 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
4977 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
4978 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
4979 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
4980 atomic-feupdateenv and flt-rounds.
4981 * sysdeps/powerpc/nofpu/Versions (libc): Add
4982 __atomic_feholdexcept, __atomic_feclearexcept,
4983 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
4984 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
4985 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
4986 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
4987 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
4989 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
4992 * manual/arith.texi (FP Exceptions): Document that exceptions may
4993 not be raised when matherr is used.
4994 (Math Error Reporting): Document overflow in directed rounding
4995 modes. Document that errno may not be set when finite values are
4996 returned on overflow. Document intent to set errno on underflow
4997 only for underflow to zero.
5000 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
5001 round-to-nearest then adjust result for other rounding modes.
5002 * include/fenv.h (fegetround): Use libm_hidden_proto.
5003 * math/fegetround.c (fegetround): Use libm_hidden_def.
5004 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
5005 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
5006 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
5007 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
5009 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
5010 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
5011 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
5012 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
5014 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5017 * nss/Versions (libnss_files): Add
5018 _nss_files_gethostbyname3_r.
5019 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
5021 (HOST_DB_LOOKUP): Remove macro.
5022 (_nss_files_gethostbyname_r): Implement function without the
5023 HOST_DB_LOOKUP macro.
5024 (_nss_files_gethostbyname2_r): Likewise.
5026 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
5028 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
5030 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
5032 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
5033 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
5036 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5038 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
5039 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
5040 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
5041 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
5042 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
5043 __fe_nomask_env_priv and attribute_hidden.
5044 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
5045 (libc_feupdateenv_test_ppc): Likewise.
5046 (libc_feresetround_ppc): Likewise.
5047 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
5048 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
5049 compat_symbol macro.
5050 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
5051 (__fe_nomask_env): Likewise.
5052 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
5054 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
5056 * string/Makefile: Remove ifunc tests.
5057 * string/test-string.h: Define TEST_IFUNC.
5058 * string/test-bcopy-ifunc.c: Remove.
5059 * string/test-bzero-ifunc.c: Likewise.
5060 * string/test-memccpy-ifunc.c: Likewise.
5061 * string/test-memchr-ifunc.c: Likewise.
5062 * string/test-memcmp-ifunc.c: Likewise.
5063 * string/test-memcpy-ifunc.c: Likewise.
5064 * string/test-memmem-ifunc.c: Likewise.
5065 * string/test-memmove-ifunc.c: Likewise.
5066 * string/test-mempcpy-ifunc.c: Likewise.
5067 * string/test-memrchr-ifunc.c: Likewise.
5068 * string/test-memset-ifunc.c: Likewise.
5069 * string/test-rawmemchr-ifunc.c: Likewise.
5070 * string/test-stpcpy-ifunc.c: Likewise.
5071 * string/test-stpncpy-ifunc.c: Likewise.
5072 * string/test-strcasecmp-ifunc.c: Likewise.
5073 * string/test-strcasestr-ifunc.c: Likewise.
5074 * string/test-strcat-ifunc.c: Likewise.
5075 * string/test-strchr-ifunc.c: Likewise.
5076 * string/test-strchrnul-ifunc.c: Likewise.
5077 * string/test-strcmp-ifunc.c: Likewise.
5078 * string/test-strcpy-ifunc.c: Likewise.
5079 * string/test-strcspn-ifunc.c: Likewise.
5080 * string/test-strlen-ifunc.c: Likewise.
5081 * string/test-strncasecmp-ifunc.c: Likewise.
5082 * string/test-strncat-ifunc.c: Likewise.
5083 * string/test-strncmp-ifunc.c: Likewise.
5084 * string/test-strncpy-ifunc.c: Likewise.
5085 * string/test-strnlen-ifunc.c: Likewise.
5086 * string/test-strpbrk-ifunc.c: Likewise.
5087 * string/test-strrchr-ifunc.c: Likewise.
5088 * string/test-strspn-ifunc.c: Likewise.
5089 * string/test-strstr-ifunc.c: Likewise.
5091 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
5093 * benchtests/Makefile: Remove ifunc tests.
5094 * benchtests/bench-string.h: Define TEST_IFUNC.
5095 * benchtests/bench-bcopy-ifunc.c: Remove.
5096 * benchtests/bench-bzero-ifunc.c: Likewise.
5097 * benchtests/bench-memccpy-ifunc.c: Likewise.
5098 * benchtests/bench-memchr-ifunc.c: Likewise.
5099 * benchtests/bench-memcmp-ifunc.c: Likewise.
5100 * benchtests/bench-memcpy-ifunc.c: Likewise.
5101 * benchtests/bench-memmem-ifunc.c: Likewise.
5102 * benchtests/bench-memmove-ifunc.c: Likewise.
5103 * benchtests/bench-mempcpy-ifunc.c: Likewise.
5104 * benchtests/bench-memrchr-ifunc.c: Likewise.
5105 * benchtests/bench-memset-ifunc.c: Likewise.
5106 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
5107 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
5108 * benchtests/bench-stpcpy-ifunc.c: Likewise.
5109 * benchtests/bench-stpncpy-ifunc.c: Likewise.
5110 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
5111 * benchtests/bench-strcasestr-ifunc.c: Likewise.
5112 * benchtests/bench-strcat-ifunc.c: Likewise.
5113 * benchtests/bench-strchr-ifunc.c: Likewise.
5114 * benchtests/bench-strchrnul-ifunc.c: Likewise.
5115 * benchtests/bench-strcmp-ifunc.c: Likewise.
5116 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
5117 * benchtests/bench-strcpy-ifunc.c: Likewise.
5118 * benchtests/bench-strcspn-ifunc.c: Likewise.
5119 * benchtests/bench-strlen-ifunc.c: Likewise.
5120 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
5121 * benchtests/bench-strncat-ifunc.c: Likewise.
5122 * benchtests/bench-strncmp-ifunc.c: Likewise.
5123 * benchtests/bench-strncpy-ifunc.c: Likewise.
5124 * benchtests/bench-strnlen-ifunc.c: Likewise.
5125 * benchtests/bench-strpbrk-ifunc.c: Likewise.
5126 * benchtests/bench-strrchr-ifunc.c: Likewise.
5127 * benchtests/bench-strsep-ifunc.c: Likewise.
5128 * benchtests/bench-strspn-ifunc.c: Likewise.
5129 * benchtests/bench-strstr-ifunc.c: Likewise.
5131 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
5133 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
5135 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
5137 * resolv/netdb.h: Use __glibc_reserved instead __unused.
5138 * rt/aio.h: Likewise.
5139 * sysdeps/gnu/bits/utmp.h: Likewise.
5140 * sysdeps/gnu/bits/utmpx.h: Likewise.
5141 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
5142 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
5143 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
5144 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
5145 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
5146 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
5147 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
5148 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
5149 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
5150 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
5151 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
5152 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
5153 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
5154 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
5155 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
5156 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
5157 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
5158 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
5159 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
5160 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
5161 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
5162 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
5163 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
5164 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
5165 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
5166 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
5167 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
5168 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
5169 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
5170 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
5171 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
5172 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
5173 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
5174 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
5175 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
5176 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
5177 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
5178 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
5179 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
5180 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
5181 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
5182 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
5184 2013-11-25 Carlos O'Donell <carlos@redhat.com>
5187 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
5188 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
5190 2013-11-25 Joseph Myers <joseph@codesourcery.com>
5192 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
5193 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
5196 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5198 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
5199 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
5200 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
5201 (__fesetround): Remove define.
5202 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
5203 rounding and exceptions handling.
5204 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
5205 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
5206 (__fe_nomask_env): Likewise.
5207 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
5208 __fegetround instead of fegetround.
5209 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
5210 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
5212 2013-11-21 Roland McGrath <roland@hack.frob.com>
5214 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
5217 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
5219 2013-11-21 Meador Inge <meadori@codesourcery.com>
5222 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
5223 (encrypt_r): Likewise.
5224 * malloc/obstack.h (obstack_free): Likewise.
5225 * posix/unistd.h (encrypt): Likewise.
5227 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
5229 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
5230 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
5231 DL_CALL_DT_FINI() that call the functions directly.
5232 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
5233 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
5234 * elf/dl-fini.c: Likewise.
5236 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
5238 * malloc/hooks.c (memalign_check): Add alignment rounding.
5239 * malloc/malloc.c (_mid_memalign): New function.
5240 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
5241 Implement by calling _mid_memalign.
5242 * manual/probes.texi (Memory Allocation Probes): Remove
5243 memory_valloc_retry and memory_pvalloc_retry.
5245 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
5247 * locale/programs/locarchive.c (open_archive): Add const
5248 qualifier to ARCHIVEFNAME and copy default fname to
5252 * libio/tst-widetext.input: Rename Oriya to Odia.
5253 * locale/iso-639.def: Likewise.
5255 * manual/probes.texi (Mathematical Function Probes): Add
5256 documentation for sin, cos, asin and acos probes.
5257 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
5258 (__sin32): Add slowasin probe.
5259 (__cos32): Add slowacos probe.
5260 (__mpsin): Add slowsin probe.
5261 (__mpcos): Add slowcos probe.
5263 2013-11-19 Joseph Myers <joseph@codesourcery.com>
5266 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
5267 thread-local __sim_exceptions_thread and global
5268 __sim_exceptions_global.
5269 (__sim_disabled_exceptions): Change to thread-local
5270 __sim_disabled_exceptions_thread and global
5271 __sim_disabled_exceptions_global.
5272 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
5273 and global __sim_round_mode_global.
5274 (__simulate_exceptions): Use thread-local floating-point state and
5275 set global state from it as needed.
5276 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
5277 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
5278 __sim_round_mode_thread.
5279 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
5280 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
5281 and global __sim_exceptions_global.
5282 (__sim_disabled_exceptions): Change to thread-local
5283 __sim_disabled_exceptions_thread and global
5284 __sim_disabled_exceptions_global.
5285 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
5286 and global __sim_round_mode_global.
5287 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
5288 (SIM_SET_GLOBAL): Likewise.
5289 * sysdeps/powerpc/soft-fp/sfp-machine.h
5290 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
5291 __sim_round_mode_thread.
5292 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
5293 __sim_disabled_exceptions_thread.
5294 (__sim_exceptions): Change to __sim_exceptions_thread.
5295 (__sim_disabled_exceptions): Change to
5296 __sim_disabled_exceptions_thread.
5297 (__sim_round_mode): Change to __sim_round_mode_thread.
5298 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
5299 thread-local floating-point state and set global state from it as
5301 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
5302 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
5303 (__sim_disabled_exceptions): Remove extern declaration.
5304 (feenableexcept): Use thread-local floating-point state and set
5305 global state from it as needed.
5306 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
5308 (__sim_disabled_exceptions): Likewise.
5309 (__sim_round_mode): Likewise.
5310 (__fegetenv): Use thread-local floating-point state.
5311 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
5312 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
5313 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
5314 floating-point state and set global state from it as needed.
5315 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
5316 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
5317 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
5319 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
5320 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
5322 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
5323 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
5324 Use __sim_round_mode_thread.
5325 * math/test-fenv-tls.c: New file.
5326 * math/Makefile (tests): Add test-fenv-tls.
5327 ($(objpfx)test-fenv-tls): Depend on
5328 $(common-objpfx)nptl/libpthread.so.
5330 2013-11-19 Andreas Schwab <schwab@suse.de>
5332 * locale/programs/locale.c (show_info): Decode wordarray elements.
5333 * locale/categories.def (LC_MONETARY): Add element for
5334 _NL_MONETARY_CRNCYSTR.
5335 * locale/C-monetary.c (conversion_rate): New variable.
5336 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
5339 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
5341 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
5342 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
5344 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
5346 * elf/Makefile (tst-auxv): New test.
5347 * elf/tst-auxv.c: New
5348 * elf/rtld.c (dl_main): Adjust AT_EXECFN
5350 2013-11-18 Joseph Myers <joseph@codesourcery.com>
5352 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
5353 (hidden_proto): Caller changed.
5354 (hidden_tls_proto): New macro.
5355 (libc_hidden_tls_proto): Likewise.
5356 (rtld_hidden_tls_proto): Likewise.
5357 (libm_hidden_tls_proto): Likewise.
5358 (libresolv_hidden_tls_proto): Likewise.
5359 (librt_hidden_tls_proto): Likewise.
5360 (libdl_hidden_tls_proto): Likewise.
5361 (libnss_files_hidden_tls_proto): Likewise.
5362 (libnsl_hidden_tls_proto): Likewise.
5363 (libnss_nisplus_hidden_tls_proto): Likewise.
5364 (libutil_hidden_tls_proto): Likewise.
5366 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
5369 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
5370 (decompose_rpath): Defer expansion to fillin_rpath.
5371 (_dl_init_paths): Pass linkmap to fillin_rpath.
5373 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5375 * benchtests/Makefile: Add strsep.
5376 * benchtests/bench-strsep.c: New file: strsep benchtest.
5377 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
5379 2013-11-18 Andreas Schwab <schwab@suse.de>
5381 * locale/programs/locale.c (show_info) [case byte]: Check for
5382 '\377' instead of '\177'.
5383 * locale/C-monetary.c (not_available): Always use "\377".
5384 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
5385 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
5386 detect unavailable sign_posn locale elements.
5387 * locale/localeconv.c (__localeconv): For grouping and
5388 mon_grouping handle "\177" and "\377" like no grouping.
5389 (INT_ELEM): New macro. Use it to set all numeric members.
5390 * locale/programs/ld-monetary.c (monetary_read)
5391 <tok_mon_grouping>: Normalize single -1 to the empty string.
5392 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
5395 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
5398 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
5399 when we match (nil).
5400 * stdio-common/tst-sscanf.c (struct test): Add testcase.
5402 2013-11-16 Joseph Myers <joseph@codesourcery.com>
5404 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
5405 (NO_TEST_INLINE): Update value.
5406 (ERRNO_UNCHANGED): Likewise.
5407 (ERRNO_EDOM): Likewise.
5408 (ERRNO_ERANGE): Likewise.
5409 (IGNORE_RESULT): Likewise.
5410 (check_float_internal): Check signs of NaN results if
5412 (check_complex): Pass TEST_NAN_SIGN flag through to second
5413 check_float_internal call.
5414 (copysign_test_data): Add tests with quiet NaNs as second
5415 argument. Use TEST_NAN_SIGN.
5416 (fabs_test_data): Add test of negative quiet NaN argument. Use
5418 (signbit_test_data): Add tests of quiet NaN argument.
5419 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
5421 * math/gen-libm-test.pl (show_exceptions): Take extra argument
5423 (parse_args): Handle function results specified as IGNORE.
5424 * math/libm-test.inc (IGNORE_RESULT): New macro.
5425 (check_float_internal): Do not check numerical result if flag
5427 (check_complex): Pass through IGNORE_RESULT to second
5428 check_float_internal call.
5429 (check_int): Do not check numerical result if flag IGNORE_RESULT
5431 (check_long): Likewise.
5432 (check_bool): Likewise.
5433 (check_longlong): Likewise.
5434 (lrint_test_data): Add tests of infinite and NaN arguments.
5435 (lrint_tonearest_test_data): Likewise.
5436 (lrint_towardzero_test_data): Likewise.
5437 (lrint_downward_test_data): Likewise.
5438 (lrint_upward_test_data): Likewise.
5439 (llrint_test_data): Likewise.
5440 (llrint_tonearest_test_data): Likewise.
5441 (llrint_towardzero_test_data): Likewise.
5442 (llrint_downward_test_data): Likewise.
5443 (llrint_upward_test_data): Likewise.
5444 (lround_test_data): Likewise.
5445 (llround_test_data): Likewise.
5447 * math/libm-test.inc (NO_TEST_INLINE): New macro.
5448 (ERRNO_UNCHANGED): Update value.
5449 (ERRNO_EDOM): Likewise.
5450 (ERRNO_ERANGE): Likewise.
5451 (NO_TEST_INLINE_FLOAT): New macro.
5452 (NO_TEST_INLINE_DOUBLE): Likewise.
5453 (enable_test): New function.
5454 (RUN_TEST_f_f): Check enable_test before running test.
5455 (RUN_TEST_2_f): Likewise.
5456 (RUN_TEST_fff_f): Likewise.
5457 (RUN_TEST_c_f): Likewise.
5458 (RUN_TEST_f_f1): Likewise.
5459 (RUN_TEST_fF_f1): Likewise.
5460 (RUN_TEST_fI_f1): Likewise.
5461 (RUN_TEST_ffI_f1): Likewise.
5462 (RUN_TEST_c_c): Likewise.
5463 (RUN_TEST_cc_c): Likewise.
5464 (RUN_TEST_f_i): Likewise.
5465 (RUN_TEST_f_i_tg): Likewise.
5466 (RUN_TEST_ff_i_tg): Likewise.
5467 (RUN_TEST_f_b): Likewise.
5468 (RUN_TEST_f_b_tg): Likewise.
5469 (RUN_TEST_f_l): Likewise.
5470 (RUN_TEST_f_L): Likewise.
5471 (RUN_TEST_fFF_11): Likewise.
5472 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
5474 (cosh_test_data): Likewise.
5475 (exp_test_data): Likewise.
5476 (expm1_test_data): Likewise.
5477 (hypot_test_data): Likewise.
5478 (pow_test_data): Likewise.
5479 (sinh_test_data): Likewise.
5480 (tanh_test_data): Likewise.
5481 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
5484 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
5485 tests with quiet NaN input and output.
5486 (acosh_test_data): Likewise.
5487 (asin_test_data): Likewise.
5488 (asinh_test_data): Likewise.
5489 (atan_test_data): Likewise.
5490 (atanh_test_data): Likewise.
5491 (atan2_test_data): Likewise.
5492 (cbrt_test_data): Likewise.
5493 (cos_test_data): Likewise.
5494 (cosh_test_data): Likewise.
5495 (erf_test_data): Likewise.
5496 (erfc_test_data): Likewise.
5497 (exp_test_data): Likewise.
5498 (exp10_test_data): Likewise.
5499 (exp2_test_data): Likewise.
5500 (expm1_test_data): Likewise.
5501 (hypot_test_data): Likewise.
5502 (j0_test_data): Likewise.
5503 (j1_test_data): Likewise.
5504 (jn_test_data): Likewise.
5505 (lgamma_test_data): Likewise.
5506 (log_test_data): Likewise.
5507 (log10_test_data): Likewise.
5508 (log1p_test_data): Likewise.
5509 (log2_test_data): Likewise.
5510 (pow_test_data): Likewise.
5511 (scalb_test_data): Likewise.
5512 (sin_test_data): Likewise.
5513 (sincos_test_data): Likewise.
5514 (sinh_test_data): Likewise.
5515 (tan_test_data): Likewise.
5516 (tanh_test_data): Likewise.
5517 (tgamma_test_data): Likewise.
5518 (y0_test_data): Likewise.
5519 (y1_test_data): Likewise.
5520 (yn_test_data): Likewise.
5523 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
5524 argument being NaN and avoid computations with second argument in
5526 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
5527 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
5528 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
5530 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
5532 * locale/iso-639.def: Add Chitwani Tharu (the).
5534 2013-11-14 Andreas Schwab <schwab@suse.de>
5536 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
5537 word instead of empty string.
5539 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5541 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
5542 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
5543 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
5544 (__fe_nomask_env): Likewise.
5546 2013-11-13 Steve Ellcey <sellcey@mips.com>
5548 * benchtests/bench-timing.h: Include time.h.
5550 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
5553 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
5555 * sysdeps/unix/sysv/linux/configure: Regenerated.
5557 2013-11-13 Joseph Myers <joseph@codesourcery.com>
5560 * stdlib/strtod_l.c (round_and_return): Do not consider
5561 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
5562 exponent one less than half the least subnormal exponent.
5563 * stdlib/test-strtod-round-data: Add more tests.
5564 * stdlib/tst-strtod-round.c (tests): Regenerated.
5566 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5569 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
5570 (__fe_mask_env): Likewise.
5571 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
5572 libm_hidden_proto and add function prototype.
5573 (__fe_mask_env): Add function prototype.
5574 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
5575 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
5576 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
5577 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
5578 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
5579 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
5581 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5583 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
5584 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
5586 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5588 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
5589 of htab_find_slot().
5591 2013-11-11 David S. Miller <davem@davemloft.net>
5594 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
5595 symbol in the non-vis3 case in static builds.
5596 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
5597 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
5598 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
5599 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
5601 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5604 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
5607 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5609 * benchtests/Makefile: Add bench-strtod.
5610 * benchtests/bench-strtod.c: New file: strtod benchtest
5612 2013-11-11 Andreas Schwab <schwab@suse.de>
5615 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
5616 terminating NUL in key length.
5618 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5620 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
5621 Add artificial ODP entry for vDSO symbol for PPC64.
5622 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
5623 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
5625 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
5628 * nss/getent.c (services_keys): Recognize services starting with digit.
5630 2013-11-06 David S. Miller <davem@davemloft.net>
5633 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
5634 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
5636 2013-11-06 Will Newton <will.newton@linaro.org>
5638 * manual/memory.texi (Malloc Examples): Remove register
5639 keyword from examples.
5641 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
5643 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
5645 2013-11-04 Joseph Myers <joseph@codesourcery.com>
5648 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
5649 depending on [__GCC_IEC_559 > 0].
5650 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
5651 depending on [__GCC_IEC_559_COMPLEX > 0].
5653 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
5655 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
5658 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
5660 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
5662 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
5665 * malloc/malloc (malloc_info): Do not handle first bin as
5668 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
5670 * locale/iso-639.def: Add Central Nahuatl (nhn).
5672 2013-11-01 Bruno Haible <bruno@clisp.org>
5675 * manual/math.texi (BSD Random): Specify range upper bound as
5678 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
5680 * locale/iso-639.def: Add Meadow Mari (mhr).
5682 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
5684 [BZ #14752], [BZ #15763]
5685 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
5687 * rt/tst_shm.c: Add test for escaping directory.
5689 2013-10-31 Andreas Schwab <schwab@suse.de>
5692 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
5693 followed by 'x' as part of digit sequence.
5694 * stdio-common/tst-sscanf.c (double_tests2): New tests.
5696 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
5699 * configure.ac: allow GNU Make 4.0 and greater.
5700 * configure: Regenerated.
5702 2013-10-30 Will Newton <will.newton@linaro.org>
5705 * malloc/hooks.c (memalign_check): Limit alignment to the
5706 maximum representable power of two.
5707 * malloc/malloc.c (__libc_memalign): Likewise.
5708 * malloc/tst-memalign.c (do_test): Add test for very
5709 large alignment values.
5710 * malloc/tst-posix_memalign.c (do_test): Likewise.
5712 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
5715 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
5716 (munmap_chunk): Likewise.
5717 (mremap_chunk): Likewise.
5719 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
5722 * stdlib/div.c (div): Remove obsolete code.
5723 * stdlib/ldiv.c (ldiv): Likewise.
5724 * stdlib/lldiv.c (lldiv): Likewise.
5726 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5729 * nss/nss_files/files-XXX.c (get_contents_ret): New
5731 (get_contents): New function.
5732 (internal_getent): Use it. Expand size of LINEBUFLEN.
5734 2013-10-30 Mike Frysinger <vapier@gentoo.org>
5736 * configure.in: Moved to ...
5737 * configure.ac: ... here. Change reference to configure.in
5739 * sysdeps/arm/preconfigure.ac: ... here.
5740 configure.in to configure.ac.
5741 * sysdeps/gnu/configure.in: Moved to ...
5742 * sysdeps/gnu/configure.ac: ... here.
5743 * sysdeps/i386/configure.in: Moved to ...
5744 * sysdeps/i386/configure.ac: ... here.
5745 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
5746 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
5747 * sysdeps/mach/configure.in: Moved to ...
5748 * sysdeps/mach/configure.ac: ... here.
5749 * sysdeps/mach/hurd/configure.in: Moved to ...
5750 * sysdeps/mach/hurd/configure.ac: ... here.
5751 * sysdeps/powerpc/configure.in: Moved to ...
5752 * sysdeps/powerpc/configure.ac: ... here.
5753 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
5754 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
5755 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
5756 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
5757 * sysdeps/s390/s390-32/configure.in: Moved to ...
5758 * sysdeps/s390/s390-32/configure.ac: ... here.
5759 * sysdeps/s390/s390-64/configure.in: Moved to ...
5760 * sysdeps/s390/s390-64/configure.ac: ... here.
5761 * sysdeps/sh/configure.in: Moved to ...
5762 * sysdeps/sh/configure.ac: ... here.
5763 * sysdeps/sparc/configure.in: Moved to ...
5764 * sysdeps/sparc/configure.ac: ... here.
5765 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
5766 * sysdeps/unix/sysv/linux/configure.ac: ... here.
5767 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
5768 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
5769 * sysdeps/x86_64/configure.in: Moved to ...
5770 * sysdeps/x86_64/configure.ac: ... here.
5771 * sysdeps/x86_64/preconfigure.in: Moved to ...
5772 * sysdeps/x86_64/preconfigure.ac: ... here.
5773 * aclocal.m4: Change reference to configure.in to configure.ac.
5774 * config.h.in: Likewise.
5775 * manual/install.texi: Likewise.
5776 * manual/maint.texi: Likewise.
5777 * Makefile: Likewise.
5778 * malloc/Makefile: Likewise.
5779 * nscd/Makefile: Likewise.
5780 * Makeconfig: Change reference to configure.in and
5781 preconfigure.in to configure.ac and preconfigure.ac
5783 * INSTALL: Regenerated.
5784 * configure: Likewise.
5785 * sysdeps/gnu/configure: Likewise.
5786 * sysdeps/i386/configure: Likewise.
5787 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
5788 * sysdeps/mach/configure: Likewise.
5789 * sysdeps/mach/hurd/configure: Likewise.
5790 * sysdeps/powerpc/configure: Likewise.
5791 * sysdeps/powerpc/powerpc32/configure: Likewise.
5792 * sysdeps/powerpc/powerpc64/configure: Likewise.
5793 * sysdeps/s390/s390-32/configure: Likewise.
5794 * sysdeps/s390/s390-64/configure: Likewise.
5795 * sysdeps/sh/configure: Likewise.
5796 * sysdeps/sparc/configure: Likewise.
5797 * sysdeps/unix/sysv/linux/configure: Likewise.
5798 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
5799 * sysdeps/x86_64/configure: Likewise.
5800 * sysdeps/x86_64/preconfigure: Likewise.
5802 2013-10-29 Andreas Schwab <schwab@suse.de>
5804 * stdio-common/Makefile (tst-swscanf-ENV): Define.
5806 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5808 * benchtests/pow-inputs: Add new inputs.
5810 * benchtests/exp-inputs: Add new inputs.
5812 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
5813 conditional check for return value.
5814 (__cos32): Likewise.
5816 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5818 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
5819 to provide a boost for large inputs with word alignment.
5820 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
5821 implementation based on optimized PPC64 strcpy.
5822 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
5823 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
5824 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
5825 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
5827 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
5830 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
5832 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
5835 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
5836 * time/tst-strptime.c (day_tests): Add testcase.
5838 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
5841 * manual/pattern.texi: Acknowledge that fnmatch can fail.
5843 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
5846 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
5847 MAP_FAILED on error.
5849 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
5852 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
5853 heap for large requests.
5855 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
5858 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
5859 result if the result has no associated interface.
5860 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
5861 interface for all 127.X.Y.Z addresses.
5863 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
5865 * locale/iso-639.def: Add Ligurian (lij)
5867 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
5870 * sunrpc/rpc_main.c: Document rpcgen -5.
5872 2013-10-19 Michael Stahl <mstahl@redhat.com>
5874 * elf/rtld.c (do_preload): Print the reason why preloading failed.
5876 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
5879 * posix/glob.c: Match only directories when trailing slash is present.
5880 * posix/tst-gnuglob.c (my_opendir): Do not open files.
5881 (main): Add testcase.
5883 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
5886 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
5888 2013-10-18 Carlos O'Donell <carlos@redhat.com>
5890 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
5891 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
5892 AUTH_DES and cindex for FIPS 140-2.
5893 (DES Encryption): Add cindex FIPS 46-3.
5895 * locale/locarchive.h (struct locarhandle): Add fname.
5896 * locale/programs/localedef.c (main): Pass ARGV[remaining]
5897 if an optional argument was specified to --list-archive,
5899 * locale/programs/locarchive.c (show_archive_content): Take new
5900 argument fname and pass it via ah.fname to open_archive.
5901 * locale/programs/localedef.h: Update decl.
5902 (open_archive): If AH->fname is non-null, open that file
5903 rather than the default file name, and don't ignore ENOENT.
5904 (create_archive): Set AH.fname to NULL.
5905 (delete_locales_from_archive): Likewise.
5906 (add_locales_to_archive): Likewise.
5907 * locale/programs/locfile.c (write_all_categories): Likewise.
5909 2013-10-18 Joseph Myers <joseph@codesourcery.com>
5910 Aldy Hernandez <aldyh@redhat.com>
5912 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
5913 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
5914 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
5915 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
5916 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
5917 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
5918 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
5919 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
5920 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
5921 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
5922 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
5923 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
5924 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
5925 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
5926 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
5928 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
5930 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
5932 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
5934 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
5935 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
5937 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
5938 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
5939 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
5940 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
5942 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
5943 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
5944 * sysdeps/powerpc/preconfigure: Likewise.
5945 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
5947 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
5948 Replace contents of file by #include of <fenv_libc.h>.
5949 * sysdeps/powerpc/soft-fp/sfp-machine.h
5950 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
5952 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
5953 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
5954 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
5955 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
5956 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
5957 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
5958 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
5959 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
5960 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
5961 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
5962 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
5963 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
5964 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
5965 Allow copysignl PLT reference to be missing.
5967 2013-10-18 Richard Sandiford <richard@codesourcery.com>
5968 Joseph Myers <joseph@codesourcery.com
5971 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
5973 (add_to_tablewc): Assert sequence of wide characters is nonempty.
5975 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
5977 * elf/tst-tls-dlinfo.c: Don't include tls.h.
5978 * elf/tst-tls1.c: Likewise.
5979 * elf/tst-tls10.h: Likewise.
5980 * elf/tst-tls14.c: Likewise.
5981 * elf/tst-tls2.c: Likewise.
5982 * elf/tst-tls3.c: Likewise.
5983 * elf/tst-tls4.c: Likewise.
5984 * elf/tst-tls5.c: Likewise.
5985 * elf/tst-tls6.c: Likewise.
5986 * elf/tst-tls7.c: Likewise.
5987 * elf/tst-tls8.c: Likewise.
5988 * elf/tst-tls9.c: Likewise.
5989 * elf/tst-tlsmod1.c: Likewise.
5990 * elf/tst-tlsmod13.c: Likewise.
5991 * elf/tst-tlsmod13a.c: Likewise.
5992 * elf/tst-tlsmod14a.c: Likewise.
5993 * elf/tst-tlsmod16a.c: Likewise.
5994 * elf/tst-tlsmod16b.c: Likewise.
5995 * elf/tst-tlsmod2.c: Likewise.
5996 * elf/tst-tlsmod3.c: Likewise.
5997 * elf/tst-tlsmod4.c: Likewise.
5998 * elf/tst-tlsmod5.c: Likewise.
5999 * elf/tst-tlsmod6.c: Likewise.
6001 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
6004 * malloc/malloc.c: remove checks for statistics.
6006 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
6009 * inet/inet_net.c (inet_network): Detect additional invalid strings.
6010 * inet/tst-network.c: Add testcase.
6012 2013-10-17 Andreas Schwab <schwab@suse.de>
6015 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
6016 to determine canonical name.
6018 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
6020 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
6021 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
6022 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6023 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
6024 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6025 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
6026 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
6027 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
6028 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
6029 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
6030 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
6031 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
6032 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
6033 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
6034 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
6035 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
6036 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6037 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
6038 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
6039 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
6040 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
6041 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6042 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
6043 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
6044 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
6045 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
6046 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
6047 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
6048 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
6049 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
6050 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
6051 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
6052 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
6053 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
6054 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
6055 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
6056 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
6057 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
6058 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
6059 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
6060 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
6061 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
6062 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
6063 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
6064 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
6065 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
6066 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
6067 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
6068 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
6069 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
6070 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
6071 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
6072 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
6073 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
6074 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
6075 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
6076 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
6077 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
6079 2013-10-17 Joseph Myers <joseph@codesourcery.com>
6082 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
6083 make result into a quiet NaN.
6085 2013-10-16 Joseph Myers <joseph@codesourcery.com>
6087 * soft-fp/adddf3.c: Fix horizontal whitespace.
6088 * soft-fp/addsf3.c: Likewise.
6089 * soft-fp/addtf3.c: Likewise.
6090 * soft-fp/divdf3.c: Likewise.
6091 * soft-fp/divsf3.c: Likewise.
6092 * soft-fp/divtf3.c: Likewise.
6093 * soft-fp/double.h: Likewise.
6094 * soft-fp/eqdf2.c: Likewise.
6095 * soft-fp/eqsf2.c: Likewise.
6096 * soft-fp/eqtf2.c: Likewise.
6097 * soft-fp/extenddftf2.c: Likewise.
6098 * soft-fp/extended.h: Likewise.
6099 * soft-fp/extendsfdf2.c: Likewise.
6100 * soft-fp/extendsftf2.c: Likewise.
6101 * soft-fp/extendxftf2.c: Likewise.
6102 * soft-fp/fixdfdi.c: Likewise.
6103 * soft-fp/fixdfsi.c: Likewise.
6104 * soft-fp/fixdfti.c: Likewise.
6105 * soft-fp/fixsfdi.c: Likewise.
6106 * soft-fp/fixsfsi.c: Likewise.
6107 * soft-fp/fixsfti.c: Likewise.
6108 * soft-fp/fixtfdi.c: Likewise.
6109 * soft-fp/fixtfsi.c: Likewise.
6110 * soft-fp/fixtfti.c: Likewise.
6111 * soft-fp/fixunsdfdi.c: Likewise.
6112 * soft-fp/fixunsdfsi.c: Likewise.
6113 * soft-fp/fixunsdfti.c: Likewise.
6114 * soft-fp/fixunssfdi.c: Likewise.
6115 * soft-fp/fixunssfsi.c: Likewise.
6116 * soft-fp/fixunssfti.c: Likewise.
6117 * soft-fp/fixunstfdi.c: Likewise.
6118 * soft-fp/fixunstfsi.c: Likewise.
6119 * soft-fp/fixunstfti.c: Likewise.
6120 * soft-fp/floatdidf.c: Likewise.
6121 * soft-fp/floatdisf.c: Likewise.
6122 * soft-fp/floatditf.c: Likewise.
6123 * soft-fp/floatsidf.c: Likewise.
6124 * soft-fp/floatsisf.c: Likewise.
6125 * soft-fp/floatsitf.c: Likewise.
6126 * soft-fp/floattidf.c: Likewise.
6127 * soft-fp/floattisf.c: Likewise.
6128 * soft-fp/floattitf.c: Likewise.
6129 * soft-fp/floatundidf.c: Likewise.
6130 * soft-fp/floatundisf.c: Likewise.
6131 * soft-fp/floatunditf.c: Likewise.
6132 * soft-fp/floatunsidf.c: Likewise.
6133 * soft-fp/floatunsisf.c: Likewise.
6134 * soft-fp/floatunsitf.c: Likewise.
6135 * soft-fp/floatuntidf.c: Likewise.
6136 * soft-fp/floatuntisf.c: Likewise.
6137 * soft-fp/floatuntitf.c: Likewise.
6138 * soft-fp/fmadf4.c: Likewise.
6139 * soft-fp/fmasf4.c: Likewise.
6140 * soft-fp/fmatf4.c: Likewise.
6141 * soft-fp/gedf2.c: Likewise.
6142 * soft-fp/gesf2.c: Likewise.
6143 * soft-fp/getf2.c: Likewise.
6144 * soft-fp/ledf2.c: Likewise.
6145 * soft-fp/lesf2.c: Likewise.
6146 * soft-fp/letf2.c: Likewise.
6147 * soft-fp/muldf3.c: Likewise.
6148 * soft-fp/mulsf3.c: Likewise.
6149 * soft-fp/multf3.c: Likewise.
6150 * soft-fp/negdf2.c: Likewise.
6151 * soft-fp/negsf2.c: Likewise.
6152 * soft-fp/negtf2.c: Likewise.
6153 * soft-fp/op-1.h: Likewise.
6154 * soft-fp/op-2.h: Likewise.
6155 * soft-fp/op-4.h: Likewise.
6156 * soft-fp/op-8.h: Likewise.
6157 * soft-fp/op-common.h: Likewise.
6158 * soft-fp/quad.h: Likewise.
6159 * soft-fp/single.h: Likewise.
6160 * soft-fp/soft-fp.h: Likewise.
6161 * soft-fp/sqrtdf2.c: Likewise.
6162 * soft-fp/sqrtsf2.c: Likewise.
6163 * soft-fp/sqrttf2.c: Likewise.
6164 * soft-fp/subdf3.c: Likewise.
6165 * soft-fp/subsf3.c: Likewise.
6166 * soft-fp/subtf3.c: Likewise.
6167 * soft-fp/truncdfsf2.c: Likewise.
6168 * soft-fp/trunctfdf2.c: Likewise.
6169 * soft-fp/trunctfsf2.c: Likewise.
6170 * soft-fp/trunctfxf2.c: Likewise.
6171 * soft-fp/unorddf2.c: Likewise.
6172 * soft-fp/unordsf2.c: Likewise.
6173 * soft-fp/unordtf2.c: Likewise.
6175 2013-10-15 Joseph Myers <joseph@codesourcery.com>
6177 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
6178 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
6180 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
6182 * elf/dl-libc.c: Clear initfini list after freeing.
6184 2013-10-14 Joseph Myers <joseph@codesourcery.com>
6186 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
6187 * soft-fp/addsf3.c: Likewise.
6188 * soft-fp/addtf3.c: Likewise.
6189 * soft-fp/divdf3.c: Likewise.
6190 * soft-fp/divsf3.c: Likewise.
6191 * soft-fp/divtf3.c: Likewise.
6192 * soft-fp/double.h: Likewise.
6193 * soft-fp/eqdf2.c: Likewise.
6194 * soft-fp/eqsf2.c: Likewise.
6195 * soft-fp/eqtf2.c: Likewise.
6196 * soft-fp/extenddftf2.c: Likewise.
6197 * soft-fp/extended.h: Likewise.
6198 * soft-fp/extendsfdf2.c: Likewise.
6199 * soft-fp/extendsftf2.c: Likewise.
6200 * soft-fp/extendxftf2.c: Likewise.
6201 * soft-fp/fixdfdi.c: Likewise.
6202 * soft-fp/fixdfsi.c: Likewise.
6203 * soft-fp/fixdfti.c: Likewise.
6204 * soft-fp/fixsfdi.c: Likewise.
6205 * soft-fp/fixsfsi.c: Likewise.
6206 * soft-fp/fixsfti.c: Likewise.
6207 * soft-fp/fixtfdi.c: Likewise.
6208 * soft-fp/fixtfsi.c: Likewise.
6209 * soft-fp/fixtfti.c: Likewise.
6210 * soft-fp/fixunsdfdi.c: Likewise.
6211 * soft-fp/fixunsdfsi.c: Likewise.
6212 * soft-fp/fixunsdfti.c: Likewise.
6213 * soft-fp/fixunssfdi.c: Likewise.
6214 * soft-fp/fixunssfsi.c: Likewise.
6215 * soft-fp/fixunssfti.c: Likewise.
6216 * soft-fp/fixunstfdi.c: Likewise.
6217 * soft-fp/fixunstfsi.c: Likewise.
6218 * soft-fp/fixunstfti.c: Likewise.
6219 * soft-fp/floatdidf.c: Likewise.
6220 * soft-fp/floatdisf.c: Likewise.
6221 * soft-fp/floatditf.c: Likewise.
6222 * soft-fp/floatsidf.c: Likewise.
6223 * soft-fp/floatsisf.c: Likewise.
6224 * soft-fp/floatsitf.c: Likewise.
6225 * soft-fp/floattidf.c: Likewise.
6226 * soft-fp/floattisf.c: Likewise.
6227 * soft-fp/floattitf.c: Likewise.
6228 * soft-fp/floatundidf.c: Likewise.
6229 * soft-fp/floatundisf.c: Likewise.
6230 * soft-fp/floatunsidf.c: Likewise.
6231 * soft-fp/floatunsisf.c: Likewise.
6232 * soft-fp/floatuntidf.c: Likewise.
6233 * soft-fp/floatuntisf.c: Likewise.
6234 * soft-fp/floatuntitf.c: Likewise.
6235 * soft-fp/fmadf4.c: Likewise.
6236 * soft-fp/fmasf4.c: Likewise.
6237 * soft-fp/fmatf4.c: Likewise.
6238 * soft-fp/gedf2.c: Likewise.
6239 * soft-fp/gesf2.c: Likewise.
6240 * soft-fp/getf2.c: Likewise.
6241 * soft-fp/ledf2.c: Likewise.
6242 * soft-fp/lesf2.c: Likewise.
6243 * soft-fp/letf2.c: Likewise.
6244 * soft-fp/muldf3.c: Likewise.
6245 * soft-fp/mulsf3.c: Likewise.
6246 * soft-fp/multf3.c: Likewise.
6247 * soft-fp/negdf2.c: Likewise.
6248 * soft-fp/negsf2.c: Likewise.
6249 * soft-fp/negtf2.c: Likewise.
6250 * soft-fp/op-1.h: Likewise.
6251 * soft-fp/op-2.h: Likewise.
6252 * soft-fp/op-4.h: Likewise.
6253 * soft-fp/op-8.h: Likewise.
6254 * soft-fp/op-common.h: Likewise.
6255 * soft-fp/quad.h: Likewise.
6256 * soft-fp/single.h: Likewise.
6257 * soft-fp/soft-fp.h: Likewise.
6258 * soft-fp/sqrtdf2.c: Likewise.
6259 * soft-fp/sqrtsf2.c: Likewise.
6260 * soft-fp/sqrttf2.c: Likewise.
6261 * soft-fp/subdf3.c: Likewise.
6262 * soft-fp/subsf3.c: Likewise.
6263 * soft-fp/subtf3.c: Likewise.
6264 * soft-fp/truncdfsf2.c: Likewise.
6265 * soft-fp/trunctfdf2.c: Likewise.
6266 * soft-fp/trunctfsf2.c: Likewise.
6267 * soft-fp/trunctfxf2.c: Likewise.
6268 * soft-fp/unorddf2.c: Likewise.
6269 * soft-fp/unordsf2.c: Likewise.
6270 * soft-fp/unordtf2.c: Likewise.
6272 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
6275 * misc/error.c (error_tail): Fix possible buffer overflow.
6277 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
6280 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
6283 2013-10-14 P. J. McDermott <pj@pehjota.net>
6286 * elf/ldd.bash.in (try_trace): New function. Delete previous code
6287 testing pipefail option.
6289 2013-10-12 Joseph Myers <joseph@codesourcery.com>
6291 * soft-fp/double.h: Indent preprocessor directives inside #if.
6292 * soft-fp/extended.h: Likewise.
6293 * soft-fp/op-2.h: Likewise.
6294 * soft-fp/op-4.h: Likewise.
6295 * soft-fp/op-common.h: Likewise.
6296 * soft-fp/quad.h: Likewise.
6297 * soft-fp/single.h: Likewise.
6298 * soft-fp/soft-fp.h: Likewise.
6300 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
6302 * iconv/iconv_prog.c: Fix typos.
6303 * stdio-common/psiginfo-data.h: Likewise.
6305 2013-10-12 Reuben Thomas <rrt@sc3d.org>
6308 * locale/setlocale.c: Fix typo.
6310 2013-10-12 Joseph Myers <joseph@codesourcery.com>
6313 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
6314 signaling NaN arguments.
6315 * soft-fp/unordsf2.c (__unordsf2): Likewise.
6316 * soft-fp/unordtf2.c (__unordtf2): Likewise.
6319 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
6321 * soft-fp/gesf2.c (__gesf2): Likewise.
6322 * soft-fp/getf2.c (__getf2): Likewise.
6323 * soft-fp/ledf2.c (__ledf2): Likewise.
6324 * soft-fp/lesf2.c (__lesf2): Likewise.
6325 * soft-fp/letf2.c (__letf2): Likewise.
6327 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
6328 * soft-fp/eqsf2.c (__eqsf2): Likewise.
6329 * soft-fp/eqtf2.c (__eqtf2): Likewise.
6330 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
6331 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
6332 * soft-fp/fixdfti.c (__fixdfti): Likewise.
6333 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
6334 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
6335 * soft-fp/fixsfti.c (__fixsfti): Likewise.
6336 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
6337 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
6338 * soft-fp/fixtfti.c (__fixtfti): Likewise.
6339 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
6340 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
6341 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
6342 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
6343 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
6344 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
6345 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
6346 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
6347 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
6348 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
6349 * soft-fp/floatdisf.c (__floatdisf): Likewise.
6350 * soft-fp/floatsisf.c (__floatsisf): Likewise.
6351 * soft-fp/floattidf.c (__floattidf): Likewise.
6352 * soft-fp/floattisf.c (__floattisf): Likewise.
6353 * soft-fp/floattitf.c (__floattitf): Likewise.
6354 * soft-fp/floatundidf.c (__floatundidf): Likewise.
6355 * soft-fp/floatundisf.c (__floatundisf): Likewise.
6356 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
6357 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
6358 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
6359 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
6360 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
6361 * soft-fp/gesf2.c (__gesf2): Likewise.
6362 * soft-fp/getf2.c (__getf2): Likewise.
6363 * soft-fp/ledf2.c (__ledf2): Likewise.
6364 * soft-fp/lesf2.c (__lesf2): Likewise.
6365 * soft-fp/letf2.c (__letf2): Likewise.
6367 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
6368 Undefine and redefine.
6369 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
6370 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
6371 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
6372 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
6373 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
6374 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
6375 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
6376 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
6377 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
6378 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
6379 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
6380 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
6381 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
6382 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
6383 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
6386 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
6387 without decrementing exponent if mantissa >= that for the
6389 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
6390 denominator, not >. Decrement exponent in < case instead of
6391 incrementing in >= case.
6392 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
6393 without decrementing exponent if mantissa >= that for the
6396 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
6397 computing saturated result for unsigned overflow.
6399 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6400 Jeff Law <law@redhat.com>
6402 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
6403 (atan2Mp): Add systemtap probe marker.
6404 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
6405 (__ieee754_log): Add systemtap probe marker.
6406 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
6407 (atanMp): Add systemtap probe marker.
6408 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
6409 (tanMp): Add systemtap probe marker.
6410 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
6411 (__slowexp): Add systemtap probe marker.
6412 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
6413 (__slowpow): Add systemtap probe marker.
6414 * manual/probes.texi: Document probes.
6416 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
6419 * libio/fileops.c (_IO_new_file_write): Return count of bytes
6421 (_IO_new_file_xsputn): Don't return EOF if nothing has been
6423 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
6424 written to buffer but not flushed.
6425 * libio/iofwrite_u.c: Likewise.
6426 * libio/iopadn.c: Return bytes returned even if EOF was
6428 * libio/iowpadn.c: Likewise.
6429 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
6430 if _IO_padn does not write the whole buffer.
6431 [!COMPILE_WPRINTF] (PAD): Likewise.
6433 2013-10-10 David S. Miller <davem@davemloft.net>
6435 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
6438 2013-10-10 Joseph Myers <joseph@codesourcery.com>
6440 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
6441 instead of FSF address.
6442 * soft-fp/fixdfti.c: Likewise.
6443 * soft-fp/fixsfti.c: Likewise.
6444 * soft-fp/fixtfti.c: Likewise.
6445 * soft-fp/fixunsdfti.c: Likewise.
6446 * soft-fp/fixunssfti.c: Likewise.
6447 * soft-fp/fixunstfti.c: Likewise.
6448 * soft-fp/floattidf.c: Likewise.
6449 * soft-fp/floattisf.c: Likewise.
6450 * soft-fp/floattitf.c: Likewise.
6451 * soft-fp/floatuntidf.c: Likewise.
6452 * soft-fp/floatuntisf.c: Likewise.
6453 * soft-fp/floatuntitf.c: Likewise.
6454 * soft-fp/trunctfxf2.c: Likewise.
6456 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
6457 * soft-fp/fixdfti.c: Likewise.
6458 * soft-fp/fixsfti.c: Likewise.
6459 * soft-fp/fixtfti.c: Likewise.
6460 * soft-fp/fixunsdfti.c: Likewise.
6461 * soft-fp/fixunssfti.c: Likewise.
6462 * soft-fp/fixunstfti.c: Likewise.
6463 * soft-fp/floattidf.c: Likewise.
6464 * soft-fp/floattisf.c: Likewise.
6465 * soft-fp/floattitf.c: Likewise.
6466 * soft-fp/floatuntidf.c: Likewise.
6467 * soft-fp/floatuntisf.c: Likewise.
6468 * soft-fp/floatuntitf.c: Likewise.
6469 * soft-fp/trunctfxf2.c: Likewise.
6471 2013-10-10 David S. Miller <davem@davemloft.net>
6473 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6475 2013-10-10 Joseph Myers <joseph@codsourcery.com>
6477 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
6478 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
6479 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
6480 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
6481 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
6482 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
6483 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
6485 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
6486 for NaNs before doing comparisons on argument.
6487 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
6490 2013-10-10 Will Newton <will.newton@linaro.org>
6492 * malloc/hooks.c (memalign_check): Ensure the value of bytes
6493 passed to _int_memalign does not overflow.
6495 2013-10-10 Torvald Riegel <triegel@redhat.com>
6497 * scripts/bench.pl: Add include-sources directive.
6498 * benchtests/README: Update documentation.
6500 2013-10-10 Joseph Myers <joseph@codesourcery.com>
6502 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
6503 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
6504 instead of FP_INIT_ROUNDMODE.
6505 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
6506 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
6509 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
6510 copy class of input value.
6511 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
6512 not handle exceptions.
6513 * soft-fp/negsf2.c (__negsf2): Likewise.
6514 * soft-fp/negtf2.c (__negtf2): Likewise.
6515 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
6517 2013-10-09 Joseph Myers <joseph@codesourcery.com>
6519 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
6520 semicolon. From Linux kernel.
6522 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
6524 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
6526 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
6529 * manual/socket.texi: Added statement about buffer
6530 for gethostbyname2_r.
6532 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
6534 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
6535 Use .p2align directive instead, throughout.
6536 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
6537 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
6538 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
6539 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
6540 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
6541 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
6542 * sysdeps/x86_64/strchr.S: Likewise.
6543 * sysdeps/x86_64/strrchr.S: Likewise.
6545 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
6547 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
6549 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
6551 * sysdeps/generic/math_private.h (__mpsin1): Remove
6553 (__mpcos1): Likewise.
6554 (__mpsin): New argument __range_reduce.
6555 (__mpcos): Likewise.
6556 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
6557 (slow): Use __mpsin and __mpcos.
6564 (bsloww1): Likewise.
6565 (bsloww2): Likewise.
6568 (csloww1): Likewise.
6569 (csloww2): Likewise.
6570 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
6571 range_reduce. Merge in __mpsin1.
6572 (__mpcos): Likewise.
6574 (__mpcos1): Likewise.
6576 2013-10-07 Joseph Myers <joseph@codesourcery.com>
6578 * locale/loadlocale.c (_nl_intern_locale_data): Use
6580 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
6581 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
6582 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
6583 obstack data is appropriately aligned.
6584 (obstack_int32_grow_fast): Likewise.
6585 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
6586 * locale/programs/locfile.c (add_locale_uint32): Likewise.
6587 (add_locale_uint32_array): Likewise.
6589 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
6591 * benchtests/Makefile: Remove ARGLIST and RET variables.
6592 ($(objpfx)bench-%.c): Pass only function name to the script.
6593 * benchtests/README: Update documentation.
6594 * benchtests/acos-inputs: Add new directives.
6595 * benchtests/acosh-inputs: Likewise.
6596 * benchtests/asin-inputs: Likewise.
6597 * benchtests/asinh-inputs: Likewise.
6598 * benchtests/atan-inputs: Likewise.
6599 * benchtests/atanh-inputs: Likewise.
6600 * benchtests/cos-inputs: Likewise.
6601 * benchtests/cosh-inputs: Likewise.
6602 * benchtests/exp-inputs: Likewise.
6603 * benchtests/log-inputs: Likewise.
6604 * benchtests/pow-inputs: Likewise.
6605 * benchtests/rint-inputs: Likewise.
6606 * benchtests/sin-inputs: Likewise.
6607 * benchtests/sinh-inputs: Likewise.
6608 * benchtests/tan-inputs: Likewise.
6609 * benchtests/tanh-inputs: Likewise.
6610 * scripts/bench.pl: Add support for new directives.
6612 2013-10-07 Alan Modra <amodra@gmail.com>
6614 * README: Fix careless merge.
6616 2013-10-05 Alan Modra <amodra@gmail.com>
6618 * NEWS: Mention powerpc64le support and bugs fixed.
6619 * README: Both big-endian and little-endian powerpc64 supported.
6621 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
6623 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
6624 _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
6625 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
6626 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
6628 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
6630 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
6633 2013-10-04 Joseph Myers <joseph@codesourcery.com>
6635 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
6636 Move -mhard-float appending from
6637 ports/sysdeps/powerpc/powerpc32/Makefile.
6638 [$(with-fp) = yes] (ASFLAGS): Likewise.
6639 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
6640 * sysdeps/powerpc/nofpu: Move directory from
6641 ports/sysdeps/powerpc/nofpu.
6642 * sysdeps/powerpc/soft-fp: Move directory from
6643 ports/sysdeps/powerpc/soft-fp.
6644 * sysdeps/powerpc/powerpc32/405: Move directory from
6645 ports/sysdeps/powerpc/powerpc32/405.
6646 * sysdeps/powerpc/powerpc32/440: Move directory from
6647 ports/sysdeps/powerpc/powerpc32/440.
6648 * sysdeps/powerpc/powerpc32/464: Move directory from
6649 ports/sysdeps/powerpc/powerpc32/464.
6650 * sysdeps/powerpc/powerpc32/476: Move directory from
6651 ports/sysdeps/powerpc/powerpc32/476.
6652 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
6653 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
6654 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
6655 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
6656 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
6657 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
6658 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
6659 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
6660 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
6661 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
6662 * README: Update for powerpc-*-linux-gnu software floating point
6665 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
6666 case to powerpc/powerpc32*.
6667 * sysdeps/unix/sysv/linux/configure: Regenerated.
6669 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
6670 (_FPU_MASK_OM): Define as 0x04.
6671 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
6672 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
6674 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
6676 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
6678 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
6679 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
6681 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
6682 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
6684 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
6685 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
6686 and setcontext_e500.
6688 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
6690 * locale/iso-3166.def: Update iso-1366.def and related occurrences
6692 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
6694 * manual/threads.texi (Default Thread Attributes): Fix typo.
6696 2013-10-04 Will Newton <will.newton@linaro.org>
6698 * malloc/Makefile: Add tst-memalign.
6699 * malloc/tst-memalign.c: New file.
6701 * malloc/tst-posix_memalign.c: Add comments.
6702 (do_test): Add comments and call free on all potentially
6703 allocated pointers. Add space after cast.
6705 * malloc/tst-pvalloc.c: Add comments.
6706 (do_test): Add comments and call free on all potentially
6707 allocated pointers. Remove duplicate check for NULL pointer.
6708 Add space after cast.
6710 * malloc/tst-valloc.c: Add comments.
6711 (do_test): Add comments and call free on all potentially
6712 allocated pointers. Remove duplicate check for NULL pointer.
6713 Add space after cast.
6715 2013-10-04 Alan Modra <amodra@gmail.com>
6717 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
6718 Use stdint types in rather than __attribute__((mode())).
6719 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
6721 2013-10-04 Alan Modra <amodra@gmail.com>
6723 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
6724 Correct handling of unaligned relocs for little-endian.
6725 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
6727 2013-10-04 Alan Modra <amodra@gmail.com>
6729 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
6730 * configure: Regenerate.
6731 * nptl/shlib-versions: Powerpc*le starts at 2.18.
6732 * shlib-versions: Likewise.
6734 2013-10-04 Alan Modra <amodra@gmail.com>
6736 * string/tester.c (test_memrchr): Increment reported test cycle.
6738 2013-10-04 Alan Modra <amodra@gmail.com>
6740 * string/test-memcpy.c (do_one_test): When reporting errors, print
6741 string address and don't overrun end of string.
6743 2013-10-04 Alan Modra <amodra@gmail.com>
6745 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
6746 insrdi. Make better use of reg selection to speed exit slightly.
6747 Schedule entry path a little better. Remove useless "are we done"
6748 checks on entry to main loop. Handle wrapping around zero address.
6749 Correct main loop count. Handle single left-over word from main
6750 loop inline rather than by using loop_small. Remove extra word
6751 case in loop_small caused by wrong loop count. Add little-endian
6753 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
6754 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
6756 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
6757 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
6758 support. Avoid rlwimi.
6759 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
6761 2013-10-04 Alan Modra <amodra@gmail.com>
6763 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
6765 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
6766 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
6767 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
6768 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
6769 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
6770 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
6772 2013-10-04 Alan Modra <amodra@gmail.com>
6774 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
6775 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
6776 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
6777 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
6778 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
6779 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
6780 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
6781 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
6782 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
6783 use of regs. Use power7 mtocrf. Tidy function tails.
6785 2013-10-04 Alan Modra <amodra@gmail.com>
6787 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
6788 Formatting. Consistently use rXXX register defines or rN defines.
6789 Use early exit labels that avoid restoring unused non-volatile regs.
6790 Make cr field use more consistent with rWORDn compares. Rename
6791 regs used as shift registers for unaligned loop, using rN defines
6792 for short lifetime/multiple use regs.
6793 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
6794 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
6795 addi 1,1,64 to pop stack frame. Simplify return value code.
6796 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
6798 2013-10-04 Alan Modra <amodra@gmail.com>
6800 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
6801 support. Correct typos, formatting. Optimize tail. Use insrdi
6803 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
6804 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
6805 little-endian support. Correct typos.
6806 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
6808 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
6809 in loop and entry code to keep "and." results.
6810 (strchr): Add little-endian support. Comment. Move cntlzd
6812 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
6814 2013-10-04 Alan Modra <amodra@gmail.com>
6816 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
6817 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
6818 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
6819 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
6821 2013-10-04 Alan Modra <amodra@gmail.com>
6823 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
6824 (rTMP): Define as r11.
6825 (strcmp): Add little-endian support. Optimise tail.
6826 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
6827 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
6828 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
6829 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
6830 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
6831 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
6832 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
6834 2013-10-04 Alan Modra <amodra@gmail.com>
6836 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
6837 little-endian support. Remove unnecessary "are we done" tests.
6838 Handle "s" wrapping around zero and extremely large "size".
6839 Correct main loop count. Handle single left-over word from main
6840 loop inline rather than by using small_loop. Correct comments.
6841 Delete "zero" tail, use "end_max" instead.
6842 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
6844 2013-10-04 Alan Modra <amodra@gmail.com>
6846 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
6847 support. Don't branch over align.
6848 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
6849 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
6850 support. Rearrange tmp reg use to suit. Comment.
6851 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
6853 2013-10-04 Alan Modra <amodra@gmail.com>
6855 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
6857 2013-10-04 Alan Modra <amodra@gmail.com>
6859 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
6860 conditional form of branch and link when obtaining pc.
6861 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
6863 2013-10-04 Alan Modra <amodra@gmail.com>
6865 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
6867 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
6868 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
6870 2013-10-04 Alan Modra <amodra@gmail.com>
6872 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
6873 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
6874 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
6875 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
6876 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
6877 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
6878 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
6879 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
6880 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
6881 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
6883 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
6884 Alistair Popple <alistair@ozlabs.au.ibm.com>
6885 Alan Modra <amodra@gmail.com>
6888 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
6889 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
6890 _dl_hwcap access for little-endian.
6891 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
6892 destroy vmx regs when saving unaligned.
6893 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
6894 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
6895 destroy vmx regs when saving unaligned.
6897 2013-10-04 Alan Modra <amodra@gmail.com>
6899 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
6900 Don't use a union to pack hi/low value.
6902 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
6904 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
6906 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
6907 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
6908 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
6909 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
6910 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
6912 2013-10-04 Alan Modra <amodra@gmail.com>
6914 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
6915 constants to usual value for .cst8 section, and remove redundant
6917 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
6918 constant for 0x1p52. Load little-endian words of double from
6919 correct stack offsets.
6921 2013-10-04 Alan Modra <amodra@gmail.com>
6923 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
6924 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
6925 words of double from correct stack offsets.
6926 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
6927 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
6928 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
6929 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
6930 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
6931 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
6932 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
6933 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
6934 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
6935 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
6936 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
6937 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
6938 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
6939 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
6940 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
6941 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
6942 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
6944 2013-10-04 Alan Modra <amodra@gmail.com>
6946 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
6947 64-bit int/double union.
6948 (_FPU_SETCW): Likewise.
6949 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
6950 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
6952 2013-10-04 Alan Modra <amodra@gmail.com>
6954 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
6955 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
6957 2013-10-04 Alan Modra <amodra@gmail.com>
6959 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
6960 use vector int constants.
6961 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
6963 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
6965 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
6966 array with long long.
6967 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
6968 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
6969 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
6970 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
6971 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
6972 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
6973 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
6974 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
6975 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
6976 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
6977 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
6978 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
6979 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
6981 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
6983 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
6984 (__signbit): Likewise. Correct for little-endian.
6985 (__signbitl): Call __signbit.
6986 (lrint): Correct for little-endian.
6987 (lrintf): Call lrint.
6989 2013-10-04 Alan Modra <amodra@gmail.com>
6991 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
6992 union 32-bit int array member with 64-bit int array.
6993 (t515, tm256): Double rather than long double.
6994 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
6996 2013-10-04 Alan Modra <amodra@gmail.com>
6998 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
7000 (IEEE854_LONG_DOUBLE_BIAS): Delete.
7001 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
7002 version of math_ldbl.h.
7004 2013-10-04 Alan Modra <amodra@gmail.com>
7006 [BZ #15734], [BZ #15735]
7007 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
7008 all uses of ieee875 long double macros and unions. Simplify test
7009 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
7010 ldbl_extract_mantissa value for ix,iy exponents. Properly
7011 normalize after ldbl_extract_mantissa, and don't add hidden bit
7012 already handled. Don't treat low word of ieee854 mantissa like
7013 low word of IBM long double and mask off bit when testing for
7015 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
7016 all uses of ieee875 long double macros and unions. Simplify tests
7017 for 0.0L and inf. Correct double adjustment of k. Delete dead code
7018 adjusting ha,hb. Simplify code setting kld. Delete two600 and
7019 two1022, instead use their values. Recognise that tests for large
7020 "a" and small "b" are mutually exclusive. Rename vars. Comment.
7021 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
7022 Rewrite all uses of ieee875 long double macros and unions. Simplify
7023 test for 0.0L and nan. Correct negation.
7024 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
7025 ieee875 long double macros and unions. Correct output for large
7026 magnitude x. Correct absolute value calculation.
7027 (__erfcl): Likewise.
7028 * math/libm-test.inc: Add tests for errors discovered in IBM long
7029 double versions of fmodl, remainderl, erfl and erfcl.
7031 2013-10-04 Alan Modra <amodra@gmail.com>
7033 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
7034 all uses of ieee854 long double macros and unions. Simplify tests
7035 for long doubles that are fully specified by the high double.
7036 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
7038 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
7039 Remove dead code too.
7040 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
7041 (__ieee754_ynl): Likewise.
7042 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
7043 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
7044 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
7045 Remove dead code too.
7046 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
7047 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
7048 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
7049 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
7051 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
7053 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
7054 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
7055 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
7056 Comment on variable precision.
7057 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
7058 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
7060 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
7061 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
7062 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
7063 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
7064 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
7066 2013-10-04 Alan Modra <amodra@gmail.com>
7068 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
7069 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
7070 all uses of ieee854 long double macros and unions.
7071 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
7072 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
7073 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
7074 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
7075 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
7076 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
7078 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
7079 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
7080 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
7081 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
7082 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
7083 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
7084 Simplify sign and nan test too.
7085 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
7086 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
7087 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
7088 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
7090 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
7091 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
7093 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
7094 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
7095 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
7096 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
7097 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
7098 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
7100 2013-10-04 Alan Modra <amodra@gmail.com>
7102 * stdio-common/printf_size.c (__printf_size): Don't use
7103 union ieee854_long_double in fpnum union.
7104 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
7105 signbit macro to retrieve sign from long double.
7106 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
7107 retrieve sign from long double.
7108 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
7109 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
7110 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
7111 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
7112 * math/test-misc.c (main): Don't use union ieee854_long_double.
7114 2013-10-04 Alan Modra <amodra@gmail.com>
7117 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
7118 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
7119 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
7120 calculation. Remove unnecessary test for denormal exponent.
7121 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
7122 Correct handling of denormals. Avoid undefined shift behaviour.
7123 Correct normalisation of low mantissa when low double is denormal.
7124 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
7125 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
7126 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
7127 Correct normalisation of low mantissa. Test for overflow of high
7128 mantissa and normalise.
7129 (ldbl_nearbyint): Use more readable constant for two52.
7130 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
7131 (__mpn_construct_long_double): Fix test for overflow of high
7132 mantissa and correct normalisation. Avoid undefined shift.
7134 2013-10-04 Alan Modra <amodra@gmail.com>
7136 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
7137 (union ibm_extended_long_double): Define as an array of ieee754_double.
7138 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
7139 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
7140 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
7141 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
7142 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
7143 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
7144 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
7145 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
7146 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
7147 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
7148 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
7150 2013-10-03 Joseph Myers <joseph@codesourcery.com>
7152 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
7153 page size instead of calling getpagesize.
7155 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
7156 (LOCFILE_ALIGN_MASK): Likewise.
7157 (LOCFILE_ALIGN_UP): Likewise.
7158 (LOCFILE_ALIGNED_P): Likewise.
7159 * locale/programs/ld-collate.c (collate_output): Use the new
7160 macros instead of __alignof__ (int32_t).
7161 * locale/weight.h (findidx): Likewise.
7163 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
7166 * manual/string.texi: Fix strncat and wcsncat.
7168 2013-10-03 Brooks Moses <bmoses@google.com>
7171 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
7172 * Makerules: ...here, and adjust associated comments.
7174 2013-10-02 Will Newton <will.newton@linaro.org>
7176 * malloc/Makefile: Add tst-pvalloc.
7177 * malloc/tst-pvalloc.c: New file.
7179 2013-10-02 Will Newton <will.newton@linaro.org>
7181 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
7182 improve test coverage.
7184 2013-10-02 Will Newton <will.newton@linaro.org>
7186 * malloc/Makefile: Add tst-posix_memalign.
7187 * malloc/tst-posix_memalign.c: New file.
7189 2013-10-01 Eric Blake <eblake@redhat.com>
7191 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
7192 Use __THROWNL rather than __THROW on static functions.
7194 2013-09-30 Petr Machata <pmachata@redhat.com>
7196 * elf/elf.h (R_AARCH64_ABS16): New macro.
7197 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
7198 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
7199 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
7200 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
7201 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
7202 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
7203 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
7204 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
7205 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
7206 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
7207 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
7208 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
7209 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
7210 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
7211 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
7212 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
7213 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
7214 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
7215 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
7216 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
7217 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
7218 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
7219 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
7220 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
7221 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
7222 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
7223 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
7224 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
7225 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
7226 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
7227 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
7228 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
7229 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
7230 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
7231 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
7232 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
7233 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
7234 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
7235 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
7236 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
7237 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
7238 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
7239 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
7240 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
7241 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
7242 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
7243 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
7244 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
7245 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
7246 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
7247 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
7248 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
7249 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
7250 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
7251 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
7252 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
7253 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
7254 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
7255 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
7256 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
7257 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
7258 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
7259 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
7260 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
7261 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
7262 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
7263 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
7264 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
7265 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
7266 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
7267 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
7268 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
7269 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
7270 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
7271 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
7272 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
7273 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
7274 (R_AARCH64_TLSDESC_LDR): Likewise.
7275 (R_AARCH64_TLSDESC_ADD): Likewise.
7276 (R_AARCH64_TLSDESC_CALL): Likewise.
7278 2013-09-30 Andreas Schwab <schwab@suse.de>
7281 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
7282 the nss database lookup.
7283 * nscd/initgrcache.c (addinitgroupsX): Likewise.
7284 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
7286 2013-09-28 Mike Frysinger <vapier@gentoo.org>
7288 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
7290 2013-09-28 P. J. McDermott <pj@pehjota.net>
7292 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
7293 ${Bash-specific parameter/pattern/string} parameter expansion.
7294 * sysdeps/unix/make-syscalls.sh: Likewise.
7296 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7298 * sysdeps/sh/stackguard-macros.h: New file.
7300 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
7302 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
7303 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
7304 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
7305 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
7306 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
7307 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
7309 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7311 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
7312 Fix thread ID register.
7314 2013-09-25 Joseph Myers <joseph@codesourcery.com>
7316 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
7317 [POSIX || UNIX98]: Require rather than permitting all symbols from
7319 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
7320 element of struct sched_param.
7321 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
7322 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
7323 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
7324 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
7327 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
7329 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
7330 argument calculation.
7332 2013-09-24 Joseph Myers <joseph@codesourcery.com>
7334 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
7336 [POSIX] (pthread_attr_t): Do not require type.
7337 [POSIX] (pthread_cond_t): Likewise.
7338 [POSIX] (pthread_condattr_t): Likewise.
7339 [POSIX] (pthread_key_t): Likewise.
7340 [POSIX] (pthread_mutex_t): Likewise.
7341 [POSIX] (pthread_mutexattr_t): Likewise.
7342 [POSIX] (pthread_once_t): Likewise.
7343 [POSIX] (pthread_t): Likewise.
7344 [POSIX-based standards] (pthread_atfork): Expect function.
7346 2013-09-24 Joseph Myers <joseph@codesourcery.com>
7347 Richard Sandiford <richard@codesourcery.com>
7349 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
7350 (swap_endianness_p): New extern variable.
7351 (set_big_endian): New inline function.
7352 (maybe_swap_uint32): Likewise.
7353 (maybe_swap_uint32_array): Likewise.
7354 (maybe_swap_uint32_obstack): Likewise.
7355 * locale/programs/locfile.c: Include <stdbool.h>.
7356 (swap_endianness_p): New variable.
7357 (add_locale_uint32): Call maybe_swap_uint32.
7358 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
7359 (write_locale_data): Call maybe_swap_uint32_array.
7360 * locale/programs/ld-collate.c (obstack_int32_grow): Call
7362 (obstack_int32_grow_fast): Likewise.
7363 (output_weightwc): Call maybe_swap_uint32_obstack.
7364 (collate_output): Likewise.
7365 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
7366 (OPT_LITTLE_ENDIAN): Likewise.
7367 (options): Add --little-endian and --big-endian options.
7368 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
7369 * locale/programs/locarchive.c: Include "locfile.h".
7373 (create_archive): Use the new macros to access fields of
7374 structures directly mapped from or written to locale archives.
7375 (oldlocrecentcmp): Likewise.
7376 (enlarge_archive): Likewise.
7377 (insert_name): Likewise.
7378 (add_alias): Likewise.
7379 (add_locale): Likewise.
7380 (delete_locales_from_archive): Likewise.
7381 (show_archive_content): Likewise.
7382 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
7385 2013-09-24 Roland McGrath <roland@hack.frob.com>
7387 * manual/freemanuals.texi: Updated from (newly) canonical copy at
7388 http://www.gnu.org/doc/freemanuals.texi.
7389 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
7391 2013-09-24 Will Newton <will.newton@linaro.org>
7393 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
7396 2013-09-23 Joseph Myers <joseph@codesourcery.com>
7398 * locale/hashval.h (compute_hashval): Interpret bytes of key as
7401 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
7403 * manual/threads.texi (POSIX Threads): Fix a typo.
7405 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
7408 * string/tst-strcoll-overflow.c: New test case.
7409 * string/Makefile (xtests): Add tst-strcoll-overflow.
7410 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
7411 cache if string sizes may cause integer overflow.
7414 * string/strcoll_l.c (coll_seq): New members rule, idx,
7415 save_idx and back_us.
7416 (get_next_seq_nocache): New function.
7417 (do_compare_nocache): New function.
7418 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
7421 2013-09-23 Carlos O'Donell <carlos@redhat.com>
7424 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
7425 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
7426 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
7429 * elf/Makefile (tests): Add tst-ptrguard1.
7430 (tests-static): Add tst-ptrguard1-static.
7431 (tst-ptrguard1-ARGS): Define.
7432 (tst-ptrguard1-static-ARGS): Define.
7433 * elf/tst-ptrguard1.c: New file.
7434 * elf/tst-ptrguard1-static.c: New file.
7435 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
7436 * sysdeps/i386/stackguard-macros.h: Likewise.
7437 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
7438 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
7439 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
7440 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
7441 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
7442 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
7444 2013-09-23 Hector Marco <hecmargi@upv.es>
7445 Ismael Ripoll <iripoll@disca.upv.es>
7446 Carlos O'Donell <carlos@redhat.com>
7449 * sysdeps/generic/stackguard-macros.h: Define
7450 __pointer_chk_guard_local and POINTER_CHK_GUARD.
7451 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
7452 Define __pointer_chk_guard_local.
7453 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
7454 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
7456 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
7459 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
7461 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
7463 * include/string.h (__ffs): Declare as hidden.
7464 * string/ffs.c (__ffs): Define as hidden.
7465 * sysdeps/i386/ffs.c (__ffs): Likewise.
7466 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
7467 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
7468 * sysdeps/s390/ffs.c (__ffs): Likewise.
7469 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
7471 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
7473 * NEWS: Mention malloc probes.
7475 * malloc/arena.c (new_heap): New memory_heap_new probe.
7476 (grow_heap): New memory_heap_more probe.
7477 (shrink_heap): New memory_heap_less probe.
7478 (heap_trim): New memory_heap_free probe.
7479 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
7480 (systrim): New memory_sbrk_less probe.
7481 * manual/probes.texi: Document them.
7483 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
7484 * manual/probes.texi: Document it.
7486 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
7487 (__libc_realloc): Add memory_realloc_retry probe.
7488 (__libc_memalign): Add memory_memalign_retry probe.
7489 (__libc_valloc): Add memory_valloc_retry probe.
7490 (__libc_pvalloc): Add memory_pvalloc_retry probe.
7491 (__libc_calloc): Add memory_calloc_retry probe.
7492 * manual/probes.texi: Document them.
7494 * malloc/arena.c (get_free_list): Add probe
7495 memory_arena_reuse_free_list.
7496 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
7497 and memory_arena_reuse.
7498 (arena_get2) [!PER_THREAD]: Likewise.
7499 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
7500 memory_arena_reuse_realloc.
7501 * manual/probes.texi: Document them.
7503 * malloc/malloc.c (__libc_free): Add
7504 memory_mallopt_free_dyn_thresholds probe.
7505 (__libc_mallopt): Add multiple memory_mallopt probes.
7506 * manual/probes.texi: Document them.
7508 * malloc/malloc.c: Include stap-probe.h.
7509 (__libc_mallopt): Add memory_mallopt probe.
7510 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
7511 * manual/probes.texi: New.
7512 * manual/Makefile (chapters): Add probes.
7513 * manual/threads.texi: Set next node.
7515 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
7518 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
7519 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
7520 Add `Chinese' to `nan' entry name.
7522 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
7524 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
7525 (POLYNOMIAL): Likewise.
7526 (TAYLOR_SINCOS): Likewise.
7527 (TAYLOR_SLOW): Likewise.
7528 (__sin): Use TAYLOR_SINCOS.
7530 (slow): Use TAYLOR_SLOW.
7535 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7537 * stdlib/strtod_l.c: Fix buffer overrun.
7539 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
7541 * benchtests/Makefile (bench): Add sincos.
7542 * benchtests/bench-sincos.c: New file.
7544 * math/libm-test.inc (cos_test_data): New test inputs.
7545 (sin_test_data): Likewise.
7547 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
7555 (bsloww1): Likewise.
7556 (bsloww2): Likewise.
7558 (csloww1): Likewise.
7559 (csloww2): Likewise.
7561 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
7566 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
7570 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
7572 * config.h.in (HAVE_MIPS_NAN2008): New macro.
7573 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
7574 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
7575 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
7576 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
7577 * elf/cache.c (print_entry): Handle the new cache flags.
7579 2013-09-18 Joseph Myers <joseph@codesourcery.com>
7580 Aldy Hernandez <aldyh@redhat.com>
7582 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
7583 Change condition to [_SOFT_FLOAT].
7584 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
7585 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
7586 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
7587 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
7588 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
7589 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
7590 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
7591 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
7592 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
7593 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
7594 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
7595 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
7596 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
7597 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
7598 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
7599 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
7602 2013-09-18 Joseph Myers <joseph@codesourcery.com>
7604 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
7605 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
7606 (__longjmp): Use LOAD_GP to load saved GPRs.
7607 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
7608 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
7609 (__sigsetjmp): Use SAVE_GP to save GPRs.
7611 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
7612 Do not append -msoft-float.
7613 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
7615 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
7617 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
7619 2013-09-17 Joseph Myers <joseph@codesourcery.com>
7622 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
7623 (_FPU_GETCW): Use initial "__" on variable and field names but not
7624 on macro parameter name.
7625 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
7626 parentheses around reference to macro parameter.
7628 2013-09-13 Richard Sandiford <richard@codesourcery.com>
7630 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
7632 (ctype_startup): Use uint32_t in cast and sizeof for
7635 2013-09-11 Jia Liu <proljc@gmail.com>
7637 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
7639 [__FreeBSD__]: Likewise.
7641 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
7643 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
7644 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
7645 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
7646 (strchr): Remove __strchr_sse42 ifunc selection.
7647 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
7648 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
7650 2013-09-11 Will Newton <will.newton@linaro.org>
7652 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
7653 parameter to RES. Remove hardcoded 1000 value.
7654 * benchtests/bench-skeleton.c (main): Pass RES parameter
7655 to TIMING_INIT and multiply result by 1000.
7657 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7659 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7661 2013-09-11 Andreas Schwab <schwab@suse.de>
7663 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
7665 (O_TMPFILE) [__USE_GNU]: Define.
7666 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
7669 2013-09-11 Will Newton <will.newton@linaro.org>
7672 * malloc/malloc.c (__libc_memalign): Check the value of bytes
7675 2013-09-11 Will Newton <will.newton@linaro.org>
7678 * malloc/malloc.c (__libc_valloc): Check the value of bytes
7681 2013-09-11 Will Newton <will.newton@linaro.org>
7684 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
7687 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
7689 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
7690 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
7691 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
7692 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
7693 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
7695 2013-09-10 Allan McRae <allan@archlinux.org>
7698 * manual/arith.texi (Parsing of Floats): Clarify
7702 * manual/install.texi (Running make install): Mention
7704 * INSTALL: Regenerated.
7706 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
7708 * csu/init-first.c (_init): Remove the !SHARED condition around
7709 FPU control word initialization.
7710 * elf/dl-support.c (_dl_fpu_control): New variable.
7711 (_dl_aux_init) <AT_FPUCW>: Initialize it.
7712 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
7713 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
7714 * math/test-fpucw-static.c: New file.
7715 * math/test-fpucw-ieee.c: New file.
7716 * math/test-fpucw-ieee-static.c: New file.
7717 * math/Makefile (tests): Add `test-fpucw-ieee' and
7719 (tests-static): New variable.
7720 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
7722 [($(build-shared),yes)]
7723 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
7725 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
7728 2013-09-09 Allan McRae <allan@archlinux.org>
7731 * manual/string.texi (Collation Functions): Fix typo in
7733 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
7736 * stdlib/isomac.c (get_null_defines): Fix memory leak.
7739 * libio/memstream.c (open_memstream): Fix memory leak.
7740 * libio/wmemstream.c (open_wmemstream): Likewise.
7743 * nscd/netgroupcache.c: Fix nesting of ifdefs.
7745 2013-09-09 Will Newton <will.newton@linaro.org>
7747 * malloc/Makefile: Add tst-realloc to tests.
7748 * malloc/tst-realloc.c: New file.
7750 2013-09-09 Allan McRae <allan@archlinux.org>
7753 * COPYING: Update from GNU website to fix FSF address.
7754 * COPYING.LIB: Likewise.
7756 2013-09-06 David S. Miller <davem@davemloft.net>
7758 * po/zh_TW.po: Update Chinese (traditional) translation from
7759 translation project.
7761 2013-09-06 Richard Sandiford <richard@codesourcery.com>
7762 Joseph Myers <joseph@codesourcery.com>
7764 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
7766 (obstack_chunk_alloc): New macro.
7767 (obstack_chunk_free): Likewise.
7768 (record_offset): New function.
7769 (init_locale_data): Likewise.
7770 (align_locale_data): Likewise.
7771 (add_locale_empty): Likewise.
7772 (add_locale_raw_data): Likewise.
7773 (add_locale_raw_obstack): Likewise.
7774 (add_locale_string): Likewise.
7775 (add_locale_wstring): Likewise.
7776 (add_locale_uint32): Likewise.
7777 (add_locale_uint32_array): Likewise.
7778 (add_locale_char): Likewise.
7779 (start_locale_structure): Likewise.
7780 (end_locale_structure): Likewise.
7781 (start_locale_prelude): Likewise.
7782 (end_locale_prelude): Likewise.
7783 (write_locale_data): Take locale_file structure rather than an
7785 * locale/programs/locfile.h: Include "obstack.h".
7786 (struct locale_file): Change to store locale file contents instead
7788 (init_locale_data): New prototype.
7789 (align_locale_data): Likewise.
7790 (add_locale_empty): Likewise.
7791 (add_locale_raw_data): Likewise.
7792 (add_locale_raw_obstack): Likewise.
7793 (add_locale_string): Likewise.
7794 (add_locale_wstring): Likewise.
7795 (add_locale_uint32): Likewise.
7796 (add_locale_uint32_array): Likewise.
7797 (add_locale_char): Likewise.
7798 (start_locale_structure): Likewise.
7799 (end_locale_structure): Likewise.
7800 (start_locale_prelude): Likewise.
7801 (end_locale_prelude): Likewise.
7802 (write_locale_data): Update prototype.
7803 * locale/programs/3level.h (struct TABLE): Remove result field.
7804 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
7805 Use new locale_file interface.
7806 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
7807 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
7808 * locale/programs/ld-address.c (address_output): Use new
7809 locale_file interface.
7810 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
7812 (collate_finish): Don't call collseq_table_finalize.
7813 (collate_output): Use new locale_file interface.
7814 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
7816 (NO_FINALIZE): Change to NO_ADD_LOCALE.
7817 (TABLE): Move defines earlier in file.
7818 (ELEMENT): Likewise.
7819 (DEFAULT): Likewise.
7820 (wctrans_table_add): Move macro and inline function earlier in
7822 (struct wctype_table): Move type earlier in file.
7823 (add_locale_wctype_table): New static prototype.
7824 (struct locale_ctype_t): Use logical types instead of struct iovec
7825 pointers for members.
7826 (ctype_output): Use new locale_file interface.
7827 (wctype_table_finalize): Change to add_locale_wctype_table. Use
7828 new locale_file interface.
7829 (allocate_arrays): Update for use of new locale_file interface.
7830 * locale/programs/ld-identification.c (identification_output): Use
7831 new locale_file interface.
7832 * locale/programs/ld-measurement.c (measurement_output): Likewise.
7833 * locale/programs/ld-messages.c (messages_output): Likewise.
7834 * locale/programs/ld-monetary.c (monetary_output): Likewise.
7835 * locale/programs/ld-name.c (name_output): Likewise.
7836 * locale/programs/ld-numeric.c (numeric_output): Likewise.
7837 * locale/programs/ld-paper.c (paper_output): Likewise.
7838 * locale/programs/ld-telephone.c (telephone_output): Likewise.
7839 * locale/programs/ld-time.c (time_output): Likewise.
7841 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7843 * benchtests/Makefile: Add memrchr benchmark.
7844 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
7845 benchmark as memrchr.
7846 * benchtests/bench-memrchr-ifunc.c: New file.
7847 * benchtests/bench-memrchr.c: New file.
7849 2013-09-06 Will Newton <will.newton@linaro.org>
7851 * benchtests/Makefile (string-bench): Add memcpy.
7853 2013-09-05 Carlos O'Donell <carlos@redhat.com>
7854 Cong Wang <amwang@redhat.com>
7857 * sysdeps/unix/sysv/linux/bits/in.h
7858 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
7859 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
7860 before __USE_KERNEL_IPV6_DEFS uses.
7861 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
7863 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
7864 sockaddr_in6, or ipv6_mreq.
7866 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7868 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
7869 memory access for final bytes in some large inputs.
7870 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
7872 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7874 * string/test-memrchr.c: New file.
7875 * string/test-memrchr-ifunc.c: New file.
7876 * string/Makefile: Add new memrchr testcase.
7878 2013-09-05 Mike Frysinger <vapier@gentoo.org>
7880 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
7881 fanotify_init returns EPERM.
7883 2013-09-04 Joseph Myers <joseph@codesourcery.com>
7885 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
7887 (top level): Treat second token from macro or constant entries for
7888 allowed headers as allowed.
7889 * include/complex.h: Condition internal declarations on
7891 * include/fenv.h: Condition include of <stdbool.h> and internal
7892 declarations on [!_ISOMAC].
7894 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
7897 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
7899 2013-09-04 Joseph Myers <joseph@codesourcery.com>
7901 * configure.in (--enable-versioning): Remove configure option.
7902 (libc_cv_asm_symver_directive): Remove configure test.
7903 (libc_cv_ld_version_script_option): Likewise.
7904 (VERSIONING): Remove variable and AC_SUBST.
7905 (DO_VERSIONING): Remove AC_DEFINE.
7906 * configure: Regenerated.
7907 * config.h.in (DO_VERSIONING): Remove macro.
7908 * Makerules [$(versioning) = yes]: Change conditionals to
7909 [$(build-shared) = yes].
7910 * config.make.in (versioning): Remove variable.
7911 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
7912 [$(build-shared) = yes].
7913 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
7914 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
7915 * elf/Makefile [$(versioning) = yes]: Change conditionals to
7916 [$(build-shared) = yes].
7917 * extra-lib.mk [$(versioning) = yes]: Likewise.
7918 * hurd/Makefile [$(versioning) = yes]: Likewise.
7919 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
7921 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
7923 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
7924 [SHARED && !NO_HIDDEN].
7925 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
7927 [SHARED && DO_VERSIONING]: Likewise..
7928 * libio/Makefile [$(versioning) = yes]: Change conditionals to
7929 [$(build-shared) = yes].
7930 * manual/install.texi (--disable-versioning): Remove
7932 * INSTALL: Regenerated.
7933 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
7935 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
7936 [$(build-shared) = yes].
7937 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
7938 * sysdeps/i386/i686/multiarch/strstr-c.c
7939 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
7940 [SHARED && !NO_HIDDEN].
7941 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
7942 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
7943 * sysdeps/powerpc/powerpc32/dl-machine.c
7944 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
7945 * sysdeps/powerpc/powerpc32/sysdep.h
7946 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
7947 to [SHARED && PIC && !NO_HIDDEN].
7948 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
7949 conditional to [SHARED].
7951 2013-09-04 Will Newton <will.newton@linaro.org>
7953 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
7954 * benchtests/bench-string.h: Include bench-timing.h instead
7955 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
7956 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
7957 call to HP_TIMING_DIFF_INIT.
7958 * benchtests/bench-memccpy.c: Use bench-timing.h macros
7959 instead of hp-timing.h macros.
7960 * benchtests/bench-memchr.c: Likewise.
7961 * benchtests/bench-memcmp.c: Likewise.
7962 * benchtests/bench-memcpy.c: Likewise.
7963 * benchtests/bench-memmem.c: Likewise.
7964 * benchtests/bench-memmove.c: Likewise.
7965 * benchtests/bench-memset.c: Likewise.
7966 * benchtests/bench-rawmemchr.c: Likewise.
7967 * benchtests/bench-strcasecmp.c: Likewise.
7968 * benchtests/bench-strcasestr.c: Likewise.
7969 * benchtests/bench-strcat.c: Likewise.
7970 * benchtests/bench-strchr.c: Likewise.
7971 * benchtests/bench-strcmp.c: Likewise.
7972 * benchtests/bench-strcpy.c: Likewise.
7973 * benchtests/bench-strcpy_chk.c: Likewise.
7974 * benchtests/bench-strlen.c: Likewise.
7975 * benchtests/bench-strncasecmp.c: Likewise.
7976 * benchtests/bench-strncat.c: Likewise.
7977 * benchtests/bench-strncmp.c: Likewise.
7978 * benchtests/bench-strncpy.c: Likewise.
7979 * benchtests/bench-strnlen.c: Likewise.
7980 * benchtests/bench-strpbrk.c: Likewise.
7981 * benchtests/bench-strrchr.c: Likewise.
7982 * benchtests/bench-strspn.c: Likewise.
7983 * benchtests/bench-strstr.c: Likewise.
7985 2013-09-04 Will Newton <will.newton@linaro.org>
7987 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
7989 2013-09-03 Joseph Myers <joseph@codesourcery.com>
7992 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
7993 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
7994 * math/libm-test.inc (lgamma_test_data): Add more tests.
7995 * sysdeps/i386/fpu/libm-test-ulps: Update.
7996 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7998 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
8000 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
8001 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
8003 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
8004 Add strcmp-sse2-unaligned
8005 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
8007 2013-09-02 Mike Frysinger <vapier@gentoo.org>
8009 * Versions.def (libc): Add GLIBC_2.19.
8011 2013-09-02 Mike Frysinger <vapier@gentoo.org>
8013 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
8014 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
8016 2013-09-02 Joseph Myers <joseph@codesourcery.com>
8019 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
8020 intermediate calculations in recurrence.
8021 (__ieee754_ynf): Likewise.
8022 * math/libm-test.inc (jn_test_data): Do not allow spurious
8023 underflow exception. Add more tests.
8024 (yn_test_data): Add more tests.
8025 * sysdeps/i386/fpu/libm-test-ulps: Update.
8026 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8028 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
8030 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
8032 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
8034 * csu/init-first.c: Fix then/than typos.
8035 * locale/programs/ld-collate.c: Likewise.
8036 * locale/programs/linereader.h: Likewise.
8037 * manual/charset.texi: Likewise.
8038 * manual/filesys.texi: Likewise.
8039 * manual/stdio.texi: Likewise.
8040 * manual/string.texi: Likewise.
8041 * stdlib/fmtmsg.c: Likewise.
8042 * sysdeps/i386/stpncpy.S: Likewise.
8043 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
8044 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
8045 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
8046 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
8048 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
8050 * elf/dl-open.c: Fix typos.
8051 * iconvdata/gbbig5.c: Likewise.
8052 * iconvdata/iso-2022-jp.c: Likewise.
8053 * iconv/gconv_int.h: Likewise.
8054 * iconv/loop.c: Likewise.
8055 * nis/rpcsvc/nis.h: Likewise.
8056 * resolv/ns_name.c: Likewise.
8057 * stdio-common/vfscanf.c: Likewise.
8058 * streams/stropts.h: Likewise.
8059 * sunrpc/rpc_thread.c: Likewise.
8060 * sysdeps/i386/strpbrk.S: Likewise.
8061 * sysdeps/ieee754/k_standard.c: Likewise.
8062 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
8063 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
8064 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
8065 * sysdeps/mach/hurd/profil.c: Likewise.
8066 * sysdeps/s390/dl-procinfo.h: Likewise.
8067 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
8068 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
8069 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
8070 * sysdeps/x86_64/dl-trampoline.S: Likewise.
8071 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
8073 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
8075 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
8076 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
8078 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
8080 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
8082 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
8083 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
8084 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
8085 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
8086 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
8087 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
8088 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
8089 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
8091 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
8092 Roland McGrath <roland@hack.frob.com>
8094 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
8095 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
8097 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
8099 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
8100 __executable_start symbol instead of _start.
8102 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
8104 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
8105 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
8107 * sysdeps/gnu/ldsodefs.h: ... this new file.
8109 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
8110 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
8111 instead of ELFOSABI_LINUX.
8113 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
8114 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
8115 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
8116 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
8118 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
8119 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
8120 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
8122 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
8123 (ibm_extended_long_double): Add ieee_nan member.
8124 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
8125 (do_test): New function.
8127 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
8129 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
8130 functions, renamed from truncdfsf_test, trunctfsf_test,
8132 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
8134 (do_test): Run all these.
8136 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
8138 * argp/argp-help.c: Fix typos.
8139 * argp/argp-parse.c: Likewise.
8140 * debug/backtracesyms.c: Likewise.
8141 * elf/elf.h: Likewise.
8142 * malloc/malloc.c: Likewise.
8143 * nis/nis_print.c: Likewise.
8144 * resolv/res_comp.c: Likewise.
8145 * stdlib/stdlib.h: Likewise.
8146 * sunrpc/clnt_tcp.c: Likewise.
8147 * sunrpc/clnt_udp.c: Likewise.
8148 * sunrpc/clnt_unix.c: Likewise.
8149 * sysdeps/unix/bsd/ptsname.c: Likewise.
8150 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
8151 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
8152 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
8154 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
8156 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
8158 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
8160 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8162 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
8163 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
8165 2013-08-27 Mike Frysinger <vapier@gentoo.org>
8168 * dlfcn/Makefile (tests): Add bug-dl-leaf.
8169 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
8170 ($(objpfx)bug-dl-leaf): New rule.
8171 ($(objpfx)bug-dl-leaf.so): Likewise.
8172 ($(objpfx)bug-dl-leaf.out): Likewise.
8173 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
8174 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
8175 * dlfcn/bug-dl-leaf.c: New test.
8176 * dlfcn/bug-dl-leaf-lib.c: Likewise.
8177 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
8178 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
8179 (dlclose): Likewise.
8180 (dlmopen): Likewise.
8182 2013-08-27 Roland McGrath <roland@hack.frob.com>
8184 * include/netdb.h [!_ISOMAC]:
8185 Don't include <tls.h>.
8186 (h_errno, __libc_h_errno): Move declaration and macros out of
8189 * include/resolv.h [_RESOLV_H_]:
8190 Don't include <tls.h>.
8191 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
8192 * resolv/res_libc.c: Don't include <tls.h>.
8193 (_res): Use __attribute__ ((nocommon)) in place of
8194 __attribute__ ((section (".bss"))).
8196 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
8197 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
8199 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
8201 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
8202 only under [SIOCGIFCONF && SIOCGIFNETMASK].
8204 * resolv/res_mkquery.c: Include <sys/time.h>.
8206 * inet/ifreq.c: Moved to ...
8207 * sysdeps/unix/ifreq.c: ... here.
8208 * inet/ifreq.c: New file, true stub version.
8210 * socket/sa_len.c: New file.
8211 * socket/Makefile (aux): Add it.
8212 * sysdeps/unix/sysv/linux/Makefile
8213 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
8214 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
8215 and #include <socket/sa_len.c>.
8216 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
8217 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
8219 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
8220 * bits/socket.h: ... here.
8222 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
8223 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
8224 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
8226 2013-08-27 Andreas Schwab <schwab@suse.de>
8229 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
8230 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
8231 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
8232 * string/test-strcasecmp.c (test_main): Run tests in several
8234 * string/test-strncasecmp.c (test_main): Likewise.
8236 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
8237 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
8238 to __strcasecmp_nonascii and __strncasecmp_nonascii.
8239 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
8240 (__strncasecmp_ssse3) [PIC]: Likewise.
8242 2013-08-26 Roland McGrath <roland@hack.frob.com>
8244 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
8246 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
8247 instead of explicitly declaring xdecrypt.
8248 * nis/nss_nis/nis-publickey.c: Likewise.
8250 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
8253 * nscd/aicache.c: Include res_hconf.h.
8254 (addhstaiX): Initialize res_hconf.
8256 2013-08-26 Andreas Schwab <schwab@suse.de>
8258 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
8259 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
8261 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
8263 * nscd/aicache.c (addhstaiX): Fix indentation.
8265 2013-08-25 Mike Frysinger <vapier@gentoo.org>
8267 * configure.ac: Quote $build_pt_chown test.
8268 * configure: Regenerated.
8270 2013-08-23 Joseph Myers <joseph@codesourcery.com>
8273 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
8274 * math/s_cexpf.c (__cexpf): Likewise.
8275 * math/s_cexpl.c (__cexpl): Likewise.
8276 * math/libm-test.inc (cexp_test_data): Correct expected return
8277 value for NaN + i0. Add another test.
8279 2013-08-22 David S. Miller <davem@davemloft.net>
8281 * po/ca.po: Update Catalan translation from translation project.
8282 * po/uk.po: Add Ukrainian translations from translation project.
8284 2013-08-21 Joseph Myers <joseph@codesourcery.com>
8287 * math/s_fdim.c (__fdim): Check for infinite arguments if result
8288 is infinite, not alongside NaN test.
8289 * math/s_fdimf.c (__fdimf): Likewise.
8290 * math/s_fdiml.c (__fdiml): Likewise.
8291 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
8294 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
8296 * argp/argp-help.c: Fix typos.
8297 * crypt/speeds.c: Likewise.
8298 * csu/check_fds.c: Likewise.
8299 * elf/dl-load.c: Likewise.
8300 * elf/dl-open.c: Likewise.
8301 * elf/reldep3.c: Likewise.
8302 * elf/reldep.c: Likewise.
8303 * elf/sprof.c: Likewise.
8304 * iconv/iconv_charmap.c: Likewise.
8305 * iconv/skeleton.c: Likewise.
8306 * iconv/strtab.c: Likewise.
8307 * io/lockf64.c: Likewise.
8308 * libio/libioP.h: Likewise.
8309 * resolv/gai_notify.c: Likewise.
8310 * resolv/ns_name.c: Likewise.
8311 * resolv/ns_samedomain.c: Likewise.
8312 * resolv/res_send.c: Likewise.
8313 * stdlib/random.c: Likewise.
8314 * sunrpc/rpc/xdr.h: Likewise.
8315 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
8316 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
8317 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
8318 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
8319 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
8320 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
8321 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
8322 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
8323 * sysdeps/mach/hurd/check_fds.c: Likewise.
8324 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
8325 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
8326 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
8327 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
8328 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
8329 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
8330 * sysdeps/pthread/aio_notify.c: Likewise.
8331 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
8332 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
8333 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
8334 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
8335 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
8337 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
8339 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
8340 version if bit_Slow_SSE4_2 is set.
8341 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
8342 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
8344 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8347 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
8348 trampoline stack frame information.
8349 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
8350 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
8351 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
8352 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
8353 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
8354 * sysdeps/unix/sysv/linux/powerpc/init-first.c
8355 (_libc_vdso_platform_setup): Initialize the signal trampolines.
8356 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
8358 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
8359 interrupting a syscall and set with option SA_SIGINFO.
8361 2013-08-20 Joseph Myers <joseph@codesourcery.com>
8364 * math/s_cproj.c (__cproj): Only return an infinity if one part of
8365 argument is infinite.
8366 * math/s_cprojf.c (__cprojf): Likewise.
8367 * math/s_cprojl.c (__cprojl): Likewise.
8368 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
8369 * math/libm-test.inc (cproj_test_data): Add more tests.
8371 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
8373 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
8374 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
8375 size. Use __ffs to determine corresponding shift.
8377 2013-08-20 Joseph Myers <joseph@codesourcery.com>
8378 Roland McGrath <roland@hack.frob.com>
8380 * Makefile (INSTALL): Remove trailing blank lines from output of
8383 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8385 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
8386 Align 32 bit compat elf_greg to 8 bytes.
8388 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
8390 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
8392 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
8394 * string/strcoll_l.c (coll_seq): New structure.
8395 (get_next_seq_cached): New function.
8396 (get_next_seq): New function.
8397 (do_compare): New function.
8398 (STRCOLL): Use GNU style definition. Simplify implementation
8399 by using get_next_seq, get_next_seq_cached and do_compare.
8401 2013-08-16 Florian Weimer <fweimer@redhat.com>
8405 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
8407 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
8409 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
8410 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
8411 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
8413 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
8414 GETDENTS_64BIT_ALIGNED.
8415 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
8416 * manual/filesys.texi (Reading/Closing Directory): Document
8417 ENAMETOOLONG return value of readdir_r. Recommend readdir more
8419 * manual/conf.texi (Limits for Files): Add portability note to
8421 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
8423 2013-08-13 Andreas Schwab <schwab@suse.de>
8426 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
8428 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
8429 LDBL_MAX_EXP >= 16384]: Add tests for it.
8431 2013-08-12 David S. Miller <davem@davemloft.net>
8433 * version.h (RELEASE): Set to "development".
8434 (VERSION): Set to "2.18.90".
8435 * NEWS: Add 2.19 section.
8437 2013-08-03 David S. Miller <davem@davemloft.net>
8439 * po/ko.po: Update Korean translation from translation project.
8441 2013-08-01 David S. Miller <davem@davemloft.net>
8443 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
8444 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
8447 2013-07-30 David S. Miller <davem@davemloft.net>
8449 * po/fr.po: Update French translation from translation project.
8451 2013-07-28 David S. Miller <davem@davemloft.net>
8453 * po/cs.po: Update Czech translation from translation project.
8455 * po/sv.po: Update Swedish translation from translation project.
8457 2013-07-27 David S. Miller <davem@davemloft.net>
8459 * po/eo.po: Update Esperanto translation from translation project.
8461 * po/vi.po: Update Vietnamese translation from translation project.
8463 * po/de.po: Update German translation from translation project.
8465 2013-07-26 David S. Miller <davem@davemloft.net>
8467 * po/bg.po: Update Bulgarian translation from translation project.
8469 * po/nl.po: Update Dutch translation from translation project.
8470 * po/pl.po: Update Polish translation from translation project.
8471 * po/ru.po: Update Russian translation from translation project.
8473 2013-07-24 David S. Miller <davem@davemloft.net>
8475 * po/libc.pot: Update.
8477 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8479 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
8481 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
8482 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
8483 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
8485 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8487 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
8489 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8490 Andreas Schwab <schwab@suse.de>
8491 Roland McGrath <roland@hack.frob.com>
8492 Joseph Myers <joseph@codesourcery.com>
8493 Carlos O'Donell <carlos@redhat.com>
8496 * config.h.in: Define HAVE_PT_CHOWN.
8497 * config.make.in (build-pt-chown): New variable.
8498 * configure.in (--enable-pt_chown): New configure option.
8499 * configure: Regenerate.
8500 * login/Makefile: Include Makeconfig. Build pt_chown only if
8501 build-pt-chown is enabled.
8502 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
8503 pt_chown to fix pty ownership.
8504 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
8506 * manual/install.texi (Configuring and compiling): Mention
8507 --enable-pt_chown. Add @findex for grantpt.
8508 * INSTALL: Regenerate.
8510 2013-07-20 David S. Miller <davem@davemloft.net>
8512 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
8513 difference between 32-bit and 64-bit.
8515 2013-07-15 Carlos O'Donell <carlos@redhat.com>
8518 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
8519 Avoid system header dependency with -ffreestanding.
8520 ($(objpfx)bits/syscall%d): Likewise.
8522 2013-07-13 David S. Miller <davem@davemloft.net>
8524 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
8525 underflows from atanl/atan2l due to bug 15319.
8526 (casinh_test_data): Likewise.
8528 2013-07-07 David S. Miller <davem@davemloft.net>
8530 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
8532 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
8534 * sysdeps/i386/fpu/libm-test-ulps: Update.
8535 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8537 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8539 * configure.in (--enable-lock-elision): Fix message text.
8540 * INSTALL: Regenerate.
8541 * configure: Regenerate.
8543 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8545 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8547 2013-07-03 Andreas Jaeger <aj@suse.de>
8549 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
8551 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
8552 (ptrace_peeksiginfo_args): Add.
8553 (__ptrace_peeksiginfo_flags): Add.
8554 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
8555 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
8556 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
8558 2013-07-03 Allan McRae <allan@archlinux.org>
8560 * sysdeps/i386/fpu/libm-test-ulps: Update.
8562 2013-07-02 David S. Miller <davem@davemloft.net>
8564 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8566 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
8568 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8570 2013-07-02 Joseph Myers <joseph@codesourcery.com>
8572 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
8573 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8575 2013-07-02 Andi Kleen <ak@linux.intel.com>
8577 * config.h.in (ENABLE_LOCK_ELISION): Add.
8578 * configure.in (--enable-lock-elision): Add option.
8579 * manual/install.texi: Document --enable lock elision.
8580 * configure: Regenerate
8581 * INSTALL: Regenerate.
8583 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
8585 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
8586 SSE4.2 strcasecmp for libc.a.
8587 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
8589 2013-07-02 Joseph Myers <joseph@codesourcery.com>
8592 * soft-fp/op-common.h (_FP_FMA): New macro.
8593 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
8594 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
8595 (_FP_MUL_MEAT_1_imm): ... here.
8596 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
8597 (_FP_MUL_MEAT_1_wide): ... here.
8598 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
8599 (_FP_MUL_MEAT_1_hard): ... here.
8600 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
8601 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
8602 (_FP_MUL_MEAT_2_wide): ... here.
8603 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
8604 (_FP_MUL_MEAT_2_wide_3mul): ... here.
8605 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
8606 (_FP_MUL_MEAT_2_gmp): ... here.
8607 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
8608 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
8609 (_FP_MUL_MEAT_4_wide): ... here.
8610 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
8611 (_FP_MUL_MEAT_4_gmp): ... here.
8612 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
8613 (_FP_WFRACBITS_DW_S): Likewise.
8614 (_FP_WFRACXBITS_DW_S): Likewise.
8615 (_FP_HIGHBIT_DW_S): Likewise.
8616 (FP_FMA_S): Likewise.
8617 (_FP_FRAC_HIGH_DW_S): Likewise.
8618 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
8619 (_FP_WFRACBITS_DW_D): Likewise.
8620 (_FP_WFRACXBITS_DW_D): Likewise.
8621 (_FP_HIGHBIT_DW_D): Likewise.
8622 (FP_FMA_D): Likewise.
8623 (_FP_FRAC_HIGH_DW_D): Likewise.
8624 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
8625 (_FP_WFRACBITS_DW_E): Likewise.
8626 (_FP_WFRACXBITS_DW_E): Likewise.
8627 (_FP_HIGHBIT_DW_E): Likewise.
8628 (FP_FMA_E): Likewise.
8629 (_FP_FRAC_HIGH_DW_E): Likewise.
8630 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
8631 (_FP_WFRACBITS_DW_Q): Likewise.
8632 (_FP_WFRACXBITS_DW_Q): Likewise.
8633 (_FP_HIGHBIT_DW_Q): Likewise.
8634 (FP_FMA_Q): Likewise.
8635 (_FP_FRAC_HIGH_DW_Q): Likewise.
8636 * soft-fp/fmasf4.c: New file.
8637 * soft-fp/fmadf4.c: Likewise.
8638 * soft-fp/fmatf4.c: Likewise.
8640 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
8642 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
8643 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
8645 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
8647 (index_Slow_SSE4_2): Likewise.
8648 (index_Prefer_PMINUB_for_stringop): Likewise.
8649 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
8650 bit_Slow_SSE4_2 is set.
8651 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
8652 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
8654 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
8656 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
8657 rtld_global._dl_hwcap2.
8658 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
8660 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
8661 POWER8 feature descriptions defined in _dl_hwcap2.
8662 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
8663 string handling for POWER8 feature bits.
8664 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
8665 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
8666 _dl_powerpc_cap_flags.
8667 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
8668 * sysdeps/powerpc/rtld-global-offsets.sym
8669 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
8670 _dl_hwcap2 in the rtld_global_ro structure.
8672 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
8674 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
8675 hardware capabilities in support of AT_HWCAP2.
8676 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
8677 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
8679 (_dl_show_auxv): Add support for calling _dl_procinfo to display
8680 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
8681 explicitly the unknown a_type display mechanism is used.
8682 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
8683 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
8685 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
8686 to macro prototype for AT_HWCAP2 support.
8687 * sysdeps/i386/dl-procinfo.h: Likewise.
8688 * sysdeps/s390/dl-procinfo.h: Likewise.
8689 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
8690 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
8691 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
8692 return -1 for unknown a_type display fallback.
8693 * sysdeps/sparc/dl-procinfo.h: Likewise.
8694 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
8695 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
8697 2013-06-28 Joseph Myers <joseph@codesourcery.com>
8699 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
8700 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
8702 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
8705 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
8706 mprotect making __stack_prot writable.
8708 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
8709 Joseph Myers <joseph@codesourcery.com>
8711 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
8712 as being properly aligned.
8714 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
8716 * dlfcn/modstatic5.c: New file.
8717 * dlfcn/tststatic5.c: New file.
8718 * dlfcn/Makefile (tests): Add tststatic5.
8719 (tests-static): Likewise.
8720 (modules-names): Add modstatic5.
8721 (tststatic5-ENV): New variable.
8722 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
8725 * elf/dl-support.c (_dl_main_map): New variable.
8726 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
8727 (_dl_nns, _dl_load_adds): Set to 1.
8728 (_dl_initial_searchlist): Refer to _dl_main_map.
8729 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
8730 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
8731 call to _dl_get_origin.
8732 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
8734 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
8735 * dlfcn/modstatic3.c: New file.
8736 * dlfcn/tststatic3.c: New file.
8737 * dlfcn/tststatic4.c: New file.
8738 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
8739 (tests-static): Likewise.
8740 (modules-names): Add modstatic3.
8741 (tststatic3-ENV, tststatic4-ENV): New variables.
8742 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
8743 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
8745 2013-06-26 Joseph Myers <joseph@codesourcery.com>
8747 * configure.in (CC): Require GCC version 4.4 or later.
8748 * configure: Regenerated.
8749 * manual/install.texi (Tools for Compilation): Update GCC version
8751 * INSTALL: Regenerated.
8753 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
8756 * string/test-memcmp.c (check2): New.
8757 (main): Call check2.
8759 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
8761 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
8764 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
8766 (dl_open_worker) [!SHARED]: ... here.
8768 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
8770 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
8772 2013-06-25 Richard Henderson <rth@redhat.com>
8774 * locale/programs/locarchive.c: Include <libc-internal.h>
8776 2013-06-25 Joseph Myers <joseph@codesourcery.com>
8778 * manual/texinfo.tex: Update to version 2013-06-21.17, with
8779 trailing whitespace removed.
8781 2013-06-24 Mike Frysinger <vapier@gentoo.org>
8784 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
8785 * locale/programs/locarchive.c: Include libc-mmap.h.
8786 (prepare_address_space): Take two new outputs (the mmap base and len).
8787 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
8789 (create_archive): Declare new mmap base and len values for
8790 prepare_address_space, and store the result in ah.
8791 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
8792 (enlarge_archive): If ah->mmap_base is not NULL, use that and
8793 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
8794 Declare new mmap base and len values for
8795 prepare_address_space, and store the result in new_ah.
8796 (open_archive): Declare new mmap base and len values for
8797 prepare_address_space, and store the result in ah.
8798 (close_archive): If ah->mmap_base is not NULL, use that and
8799 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
8800 * sysdeps/generic/libc-mmap.h: New file.
8802 2013-06-24 Mike Frysinger <vapier@gentoo.org>
8804 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
8805 (ALIGN_UP): Likewise.
8806 (PTR_ALIGN_DOWN): Likewise.
8807 (PTR_ALIGN_UP): Likewise.
8809 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
8811 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
8812 entry mapped to PPC_PLATFORM_POWER8.
8813 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
8815 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
8816 (_dl_string_platform): Add case for exporting platform position for
8818 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
8819 search path to sysdeps/powerpc/powerpc32/power8 directory.
8820 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
8821 search path to sysdeps/powerpc/powerpc64/power8 directory.
8822 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
8824 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
8827 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
8829 * INSTALL: Regenerate.
8831 * nscd/connections.c (nscd_init): Fix comment.
8833 2013-06-22 Joseph Myers <joseph@codesourcery.com>
8835 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
8838 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
8839 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
8841 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
8843 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
8845 (DL_DST_REQ_STATIC): Remove macro.
8847 2013-06-21 Joseph Myers <joseph@codesourcery.com>
8850 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
8851 with a shift of 0 bits.
8853 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
8855 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
8858 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8861 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
8863 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8865 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
8866 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
8867 accepts -fno-tree-loop-distribute-patterns.
8868 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
8869 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
8871 * string/memset.c (memset): Likewise.
8872 * string/test-memmove.c (simple_memmove): Disable loop transformation
8874 * string/test-memset.c (simple_memset): Likewise.
8875 * benchtests/bench-memmove.c (simple_memmove): Likewise.
8876 * benchtests/bench-memset.c (simple_memset): Likewise.
8877 * configure: Regenerated.
8879 2013-06-20 Joseph Myers <joseph@codesourcery.com>
8881 * math/test-misc.c (main): Ignore fesetround failure when failures
8882 of subsequent rounding tests would be ignored.
8885 * math/fedisblxcpt.c (fedisableexcept): Return 0.
8886 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
8887 * math/fegetenv.c (__fegetenv): Return 0.
8888 * math/fegetexcept.c (fegetexcept): Return 0.
8889 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
8891 * math/feholdexcpt.c (feholdexcept): Return 0.
8892 * math/fesetenv.c (__fesetenv): Return 0.
8893 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
8894 argument FE_TONEAREST.
8895 * math/feupdateenv.c (__feupdateenv): Return 0.
8896 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
8898 2013-06-18 Roland McGrath <roland@hack.frob.com>
8900 * elf/rtld-Rules (rtld-compile-command.S): New variable.
8901 (rtld-compile-command.s, rtld-compile-command.c): New variables.
8902 ($(objpfx)rtld-%.os rules): Use them.
8904 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8906 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
8909 2013-06-17 Roland McGrath <roland@hack.frob.com>
8911 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
8912 length of target pattern, then descending length of dependency pattern.
8913 * configure.in (AWK): Require gawk 3.1.2 or newer.
8914 * manual/install.texi (Tools for Compilation): Say that we do.
8915 * configure: Regenerated.
8917 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
8918 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
8919 * scripts/sysd-rules.awk: ... this new script.
8920 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
8921 than a glob-style pattern.
8923 2013-06-17 Joseph Myers <joseph@codesourcery.com>
8925 * math/test-misc.c (main): Do not treat incorrectly rounded
8926 conversions as failure unless ROUNDING_TESTS passes.
8928 2013-06-15 Joseph Myers <joseph@codesourcery.com>
8931 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
8932 restore exception state around main square root computation, then
8933 check for inexactness explicitly.
8935 * math/libm-test.inc (fma_test_data): Add another test.
8937 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
8939 * manual/threads.texi (Non-POSIX Extensions): New document
8940 node. Document pthread_getattr_default_np and
8941 pthread_setattr_default_np.
8943 * Versions.def (libpthread): Add GLIBC_2.18.
8944 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
8945 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
8947 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
8949 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
8951 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
8953 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
8955 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
8957 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
8959 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
8961 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
8964 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
8966 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8967 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
8969 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
8970 H.J. Lu <hjl.tools@gmail.com>
8973 * sysdeps/x86_64/rtld-memset.c: Remove file.
8974 * sysdeps/x86_64/rtld-memset.S: New file.
8976 2013-06-14 Joseph Myers <joseph@codesourcery.com>
8978 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
8979 (test_in_one_mode): Take arguments for whether the rounding mode
8980 is supported for each floating-point type.
8981 (do_test): Pass new arguments to test_in_one_mode using
8984 2013-06-13 Roland McGrath <roland@hack.frob.com>
8986 * posix/tst-waitid.c (do_test): Distinguish different instances of
8987 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
8988 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
8989 before entering the kernel for waitpid.
8991 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
8993 * NEWS: Fix note on clock function precision. Text by Roland
8996 2013-06-13 Roland McGrath <roland@hack.frob.com>
8998 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
8999 it into place only when and if the sanity check passes.
9001 2013-06-13 Joseph Myers <joseph@codesourcery.com>
9003 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
9004 output for whether conversion result is exact. Take argument
9005 indicating whether type is IBM long double.
9006 (round_for_all): Change need_exact field to ibm_ld.
9007 * stdlib/tst-strtod-round.c (struct exactness): New type.
9008 (struct test): Change bool ld_ok field to struct exactness exact.
9009 (TEST): Update all definitions for change to field.
9010 (tests): Regenerate array contents.
9011 (test_in_one_mode): Take pointer to new field instead of old ld_ok
9012 field value. Check for IBM long double here.
9013 (do_test): Update calls to test_in_one_mode.
9015 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
9018 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
9019 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
9021 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9024 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
9025 generated by the compiler on loop optimizations.
9026 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
9027 general definitions.
9029 2013-06-12 Joseph Myers <joseph@codesourcery.com>
9031 * math/bug-nextafter.c: Include <math-tests.h>.
9032 (main): Only test for exceptions if EXCEPTION_TESTS is true for
9034 * math/bug-nexttoward.c: Include <math-tests.h>.
9035 (main): Only test for exceptions if EXCEPTION_TESTS is true for
9037 * math/test-misc.c: Include <math-tests.h>.
9038 (main): Only test for exceptions if EXCEPTION_TESTS is true for
9041 2013-06-12 Andreas Jaeger <aj@suse.de>
9043 * po/ia.po: Update Interlingua translation from translation
9046 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
9048 * include/fenv.h: Include stdbool.h.
9049 (struct rm_ctx): New structure.
9050 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
9052 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
9053 (SET_RESTORE_ROUNDF): Likewise.
9054 (SET_RESTORE_ROUNDL): Likewise.
9055 (SET_RESTORE_ROUND_NOEX): Likewise.
9056 (SET_RESTORE_ROUND_NOEXF): Likewise.
9057 (SET_RESTORE_ROUND_NOEXL): Likewise.
9058 (SET_RESTORE_ROUND_53BIT): Likewise.
9059 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
9060 (libc_feresetround_noexf_ctx): Likewise.
9061 (libc_feresetround_noexl_ctx): Likewise.
9062 (libc_feholdsetround_53bit_ctx): Likewise.
9063 (libc_feresetround_53bit_ctx): Likewise.
9064 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
9065 (libc_feholdexcept_setround_sse_ctx): New function.
9066 (libc_fesetenv_sse_ctx): Likewise.
9067 (libc_feupdateenv_sse_ctx): Likewise.
9068 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
9069 (libc_feholdexcept_setround_387_ctx): Likewise.
9070 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
9071 (libc_feholdsetround_387_prec_ctx): Likewise.
9072 (libc_feholdsetround_387_ctx): Likewise.
9073 (libc_feholdsetround_387_53bit_ctx): Likewise.
9074 (libc_feholdsetround_sse_ctx): Likewise.
9075 (libc_feresetround_sse_ctx): Likewise.
9076 (libc_feresetround_387_ctx): Likewise.
9077 (libc_feupdateenv_387_ctx): Likewise.
9078 (libc_feholdexcept_setroundf_ctx): Define macro.
9079 (libc_fesetenvf_ctx): Likewise.
9080 (libc_feupdateenvf_ctx): Likewise.
9081 (libc_feholdsetroundf_ctx): Likewise.
9082 (libc_feresetroundf_ctx): Likewise.
9083 (libc_feholdexcept_setround_ctx): Likewise.
9084 (libc_fesetenv_ctx): Likewise.
9085 (libc_feupdateenv_ctx): Likewise.
9086 (libc_feholdsetround_ctx): Likewise.
9087 (libc_feresetround_ctx): Likewise.
9088 (libc_feholdexcept_setroundl_ctx): Likewise.
9089 (libc_feupdateenvl_ctx): Likewise.
9090 (libc_feholdsetroundl_ctx): Likewise.
9091 (libc_feresetroundl_ctx): Likewise.
9092 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
9093 (libc_feresetround_53bit_ctx): Likewise.
9095 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
9097 * locale/iso-639.def: Convert to UTF-8.
9099 2013-06-11 Joseph Myers <joseph@codesourcery.com>
9101 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
9102 (EXCEPTION_TESTS_double): Likewise.
9103 (EXCEPTION_TESTS_long_double): Likewise.
9104 (EXCEPTION_TESTS): Likewise.
9105 * math/libm-test.inc (test_exceptions): Only test exceptions if
9106 EXCEPTION_TESTS (FLOAT).
9108 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
9110 * benchtests/Makefile (string-bench): Add strcpy_chk and
9112 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
9113 * benchtests/bench-stpcpy_chk.c: New file.
9114 * benchtests/bench-strcpy_chk-ifunc.c: New file.
9115 * benchtests/bench-strcpy_chk.c: New file.
9116 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
9118 (do_test): Likewise.
9120 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
9122 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
9123 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
9124 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
9125 with tabs where appropriate.
9126 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
9128 [PPC_PLATFORM_PPC440]: Likewise.
9129 [PPC_PLATFORM_PPC464]: Likewise.
9130 [PPC_PLATFORM_PPC476]: Likewise.
9131 (_dl_string_platform): Add support for detecting ppc405, ppc440,
9132 ppc464, and ppc476 platform strings merging from ports/
9135 2013-06-11 Andreas Schwab <schwab@suse.de>
9138 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
9139 (from_ucs4_idx): Regenerate.
9140 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
9141 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
9142 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
9143 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
9144 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
9145 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
9146 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
9147 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
9148 from FROM_LOOP and TO_LOOP specific macros.
9149 (BODY): Handle combining characters.
9150 * iconvdata/BIG5HKSCS.irreversible: Update.
9151 * iconvdata/BIG5HKSCS.precomposed: New file.
9152 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
9154 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
9156 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
9158 * include/sys/time.h: Fix indentation and add copyright header.
9160 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
9161 (do_test): Likewise.
9162 * string/test-memchr.c (do_one_test): Likewise.
9163 (do_test): Likewise.
9164 * string/test-memcmp.c (do_one_test): Likewise.
9165 (do_test): Likewise.
9166 * string/test-memcpy.c (do_one_test): Likewise.
9167 (do_test): Likewise.
9168 * string/test-memmem.c (do_one_test): Likewise.
9169 (do_test): Likewise.
9170 (do_random_tests): Likewise.
9171 * string/test-memmove.c (do_one_test): Likewise.
9172 (do_test): Likewise.
9173 * string/test-memset.c (do_one_test): Likewise.
9174 (do_test): Likewise.
9175 * string/test-rawmemchr.c (do_one_test): Likewise.
9176 (do_test): Likewise.
9177 * string/test-strcasecmp.c (do_one_test): Likewise.
9178 (do_test): Likewise.
9179 * string/test-strcasestr.c (do_one_test): Likewise.
9180 (do_test): Likewise.
9181 * string/test-strcat.c (do_one_test): Likewise.
9182 (do_test): Likewise.
9183 * string/test-strchr.c (do_one_test): Likewise.
9184 (do_test): Likewise.
9185 * string/test-strcmp.c (do_one_test): Likewise.
9186 (do_test): Likewise.
9187 * string/test-strcpy.c (do_one_test): Likewise.
9188 (do_test): Likewise.
9189 * string/test-string.h: Likewise.
9190 (test_init): Likewise.
9191 * string/test-strlen.c (do_one_test): Likewise.
9192 (do_test): Likewise.
9193 * string/test-strncasecmp.c (do_one_test): Likewise.
9194 (do_test): Likewise.
9195 * string/test-strncat.c (do_one_test): Likewise.
9196 (do_test): Likewise.
9197 * string/test-strncmp.c (do_one_test): Likewise.
9198 (do_test_limit): Likewise.
9199 (do_test): Likewise.
9200 * string/test-strncpy.c (do_one_test): Likewise.
9201 (do_test): Likewise.
9202 * string/test-strnlen.c (do_one_test): Likewise.
9203 (do_test): Likewise.
9204 * string/test-strpbrk.c (do_one_test): Likewise.
9205 (do_test): Likewise.
9206 * string/test-strrchr.c (do_one_test): Likewise.
9207 (do_test): Likewise.
9208 * string/test-strspn.c (do_one_test): Likewise.
9209 (do_test): Likewise.
9210 * string/test-strstr.c (do_one_test): Likewise.
9211 (do_test): Likewise.
9213 * benchtests/Makefile (string-bench): Add string benchmarks.
9214 * benchtests/bench-bcopy-ifunc.c: New file.
9215 * benchtests/bench-bcopy.c: New file.
9216 * benchtests/bench-bzero-ifunc.c: New file.
9217 * benchtests/bench-bzero.c: New file.
9218 * benchtests/bench-memccpy-ifunc.c: New file.
9219 * benchtests/bench-memccpy.c: New file.
9220 * benchtests/bench-memchr-ifunc.c: New file.
9221 * benchtests/bench-memchr.c: New file.
9222 * benchtests/bench-memcmp-ifunc.c: New file.
9223 * benchtests/bench-memcmp.c: New file.
9224 * benchtests/bench-memmem-ifunc.c: New file.
9225 * benchtests/bench-memmem.c: New file.
9226 * benchtests/bench-memmove-ifunc.c: New file.
9227 * benchtests/bench-memmove.c: New file.
9228 * benchtests/bench-mempcpy-ifunc.c: New file.
9229 * benchtests/bench-mempcpy.c: New file.
9230 * benchtests/bench-memset-ifunc.c: New file.
9231 * benchtests/bench-memset.c: New file.
9232 * benchtests/bench-rawmemchr-ifunc.c: New file.
9233 * benchtests/bench-rawmemchr.c: New file.
9234 * benchtests/bench-stpcpy-ifunc.c: New file.
9235 * benchtests/bench-stpcpy.c: New file.
9236 * benchtests/bench-stpncpy-ifunc.c: New file.
9237 * benchtests/bench-stpncpy.c: New file.
9238 * benchtests/bench-strcasecmp-ifunc.c: New file.
9239 * benchtests/bench-strcasecmp.c: New file.
9240 * benchtests/bench-strcasestr-ifunc.c: New file.
9241 * benchtests/bench-strcasestr.c: New file.
9242 * benchtests/bench-strcat-ifunc.c: New file.
9243 * benchtests/bench-strcat.c: New file.
9244 * benchtests/bench-strchr-ifunc.c: New file.
9245 * benchtests/bench-strchr.c: New file.
9246 * benchtests/bench-strchrnul-ifunc.c: New file.
9247 * benchtests/bench-strchrnul.c: New file.
9248 * benchtests/bench-strcmp-ifunc.c: New file.
9249 * benchtests/bench-strcmp.c: New file.
9250 * benchtests/bench-strcpy-ifunc.c: New file.
9251 * benchtests/bench-strcpy.c: New file.
9252 * benchtests/bench-strcspn-ifunc.c: New file.
9253 * benchtests/bench-strcspn.c: New file.
9254 * benchtests/bench-strlen-ifunc.c: New file.
9255 * benchtests/bench-strlen.c: New file.
9256 * benchtests/bench-strncasecmp-ifunc.c: New file.
9257 * benchtests/bench-strncasecmp.c: New file.
9258 * benchtests/bench-strncat-ifunc.c: New file.
9259 * benchtests/bench-strncat.c: New file.
9260 * benchtests/bench-strncmp-ifunc.c: New file.
9261 * benchtests/bench-strncmp.c: New file.
9262 * benchtests/bench-strncpy-ifunc.c: New file.
9263 * benchtests/bench-strncpy.c: New file.
9264 * benchtests/bench-strnlen-ifunc.c: New file.
9265 * benchtests/bench-strnlen.c: New file.
9266 * benchtests/bench-strpbrk-ifunc.c: New file.
9267 * benchtests/bench-strpbrk.c: New file.
9268 * benchtests/bench-strrchr-ifunc.c: New file.
9269 * benchtests/bench-strrchr.c: New file.
9270 * benchtests/bench-strspn-ifunc.c: New file.
9271 * benchtests/bench-strspn.c: New file.
9272 * benchtests/bench-strstr-ifunc.c: New file.
9273 * benchtests/bench-strstr.c: New file.
9275 * benchtests/Makefile: Disable parallel execution of targets.
9276 (string-bench): Add memcpy.
9277 (benchset): New variable to store a list of benchmark sets.
9278 (bench-func): Renamed from bench.
9279 (bench-set): New target.
9280 (bench): Depend on bench-func and bench-set.
9281 * benchtests/README: Add section on benchmark sets.
9282 * benchtests/bench-memcpy-ifunc.c: New file.
9283 * benchtests/bench-memcpy.c: New file.
9284 * benchtests/bench-string.h: New file.
9286 2013-06-11 Andreas Schwab <schwab@suse.de>
9289 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
9290 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
9291 values in the triple.
9292 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
9293 terminator in the group key.
9295 2013-06-11 Andreas Jaeger <aj@suse.de>
9297 * po/zh_TW.po: Update Chinese (traditional) translation from
9298 translation project.
9300 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
9302 * include/time.h (__clock_gettime): Add libc_hidden_proto.
9303 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
9304 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
9305 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
9306 (clock_getcpuclockid): Likewise.
9307 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
9308 Add weak_alias and libc_hidden_def.
9309 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
9310 * rt/clock_gettime.c (clock_gettime): Rename to
9311 __clock_gettime. Add weak_alias and libc_hidden_def.
9312 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
9313 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
9314 __clock_nanosleep. Add weak_alias and libc_hidden_def.
9315 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
9316 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
9318 * rt/clock_settime.c (clock_settime): Rename to
9319 __clock_settime. Add weak_alias and libc_hidden_def.
9320 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
9322 2013-06-10 Joseph Myers <joseph@codesourcery.com>
9324 * mach/err_boot.sub: Remove trailing whitespace.
9325 * mach/err_ipc.sub: Likewise.
9326 * mach/err_mach.sub: Likewise.
9328 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
9329 (ROUNDING_TESTS_double): Likewise.
9330 (ROUNDING_TESTS_long_double): Likewise.
9331 (ROUNDING_TESTS): Likewise.
9332 * math/libm-test.inc: Include <math-tests.h>.
9333 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
9334 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
9335 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
9336 (IF_ROUND_INIT_FE_UPWARD): Likewise.
9338 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
9340 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
9343 2013-06-08 Joseph Myers <joseph@codesourcery.com>
9345 * sysdeps/gnu/errlist.awk: Do not generate space at end of
9346 otherwise empty TRANS lines.
9347 * sysdeps/gnu/errlist.c: Regenerated.
9349 * catgets/gencat.c (error_print): Use (void) in function
9351 * crypt/crypt_util.c (__init_des): Likewise.
9352 * crypt/speeds.c (Stop): Likewise.
9354 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
9355 * inet/ruserpass.c (token): Likewise.
9356 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
9357 * intl/localealias.c (extend_alias_table): Likewise.
9358 * intl/plural-exp.c (init_germanic_plural): Likewise.
9359 * libio/fcloseall.c (__fcloseall): Likewise.
9360 * libio/genops.c (_IO_flush_all): Likewise.
9361 (_IO_flush_all_linebuffered): Likewise.
9362 (_IO_cleanup): Likewise.
9363 (_IO_iter_begin): Likewise.
9364 (_IO_iter_end): Likewise.
9365 (_IO_list_lock): Likewise.
9366 (_IO_list_unlock): Likewise.
9367 (_IO_list_resetlock): Likewise.
9368 * libio/getchar.c (getchar): Likewise.
9369 * libio/getchar_u.c (getchar_unlocked): Likewise.
9370 * libio/getwchar.c (getwchar): Likewise.
9371 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
9372 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
9373 * login/getpt.c (__getpt): Likewise.
9374 * login/tst-utmp.c (main): Likewise.
9375 * malloc/hooks.c (__malloc_check_init): Likewise.
9376 * malloc/malloc.c (__malloc_stats): Likewise.
9377 * malloc/mtrace.c (tr_break): Likewise.
9379 (muntrace): Likewise.
9380 * misc/fstab.c (endfsent): Likewise.
9381 * misc/getclktck.c (__getclktck): Likewise.
9382 * misc/getdtsz.c (__getdtablesize): Likewise.
9383 * misc/gethostid.c (gethostid): Likewise.
9384 * misc/getpagesize.c (__getpagesize): Likewise.
9385 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
9386 (__get_nprocs): Likewise.
9387 (__get_phys_pages): Likewise.
9388 (__get_avphys_pages): Likewise.
9389 * misc/getttyent.c (getttyent): Likewise.
9390 (setttyent): Likewise.
9391 (endttyent): Likewise.
9392 * misc/getusershell.c (getusershell): Likewise.
9393 (endusershell): Likewise.
9394 (setusershell): Likewise.
9395 (initshells): Likewise.
9396 * misc/hsearch.c (__hdestroy): Likewise.
9397 * misc/sync.c (sync): Likewise.
9398 * misc/syslog.c (closelog_internal): Likewise.
9399 (closelog): Likewise.
9400 * misc/ttyslot.c (ttyslot): Likewise.
9401 * misc/vhangup.c (vhangup): Likewise.
9402 * posix/fork.c (__fork): Likewise.
9403 * posix/getegid.c (__getegid): Likewise.
9404 * posix/geteuid.c (__geteuid): Likewise.
9405 * posix/getgid.c (__getgid): Likewise.
9406 * posix/getpid.c (__getpid): Likewise.
9407 * posix/getppid.c (__getppid): Likewise.
9408 * posix/getuid.c (__getuid): Likewise.
9409 * posix/pause.c (pause): Likewise.
9410 * posix/setpgrp.c (setpgrp): Likewise.
9411 * posix/setsid.c (__setsid): Likewise.
9412 * posix/test-vfork.c (noop): Likewise.
9413 * resolv/gethnamaddr.c (_endhtent): Likewise.
9414 (_gethtent): Likewise.
9415 (ht_endhostent): Likewise.
9416 (gethostent): Likewise.
9417 (dns_service): Likewise.
9418 * stdlib/drand48.c (drand48): Likewise.
9419 * stdlib/lrand48.c (lrand48): Likewise.
9420 * stdlib/mrand48.c (mrand48): Likewise.
9421 * stdlib/rand.c (rand): Likewise.
9422 * stdlib/random.c (__random): Likewise.
9423 * stdlib/setenv.c (clearenv): Likewise.
9424 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
9425 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
9426 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
9427 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
9428 (__get_nprocs): Likewise.
9429 (__get_phys_pages): Likewise.
9430 (__get_avphys_pages): Likewise.
9431 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
9432 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
9433 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
9434 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
9435 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
9436 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
9437 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
9438 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
9439 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
9440 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
9441 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
9442 * sysdeps/mach/hurd/sync.c (sync): Likewise.
9443 * sysdeps/posix/clock.c (clock): Likewise.
9444 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
9445 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
9446 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
9447 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
9448 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
9449 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
9450 (__get_nprocs_conf): Likewise.
9451 (__get_phys_pages): Likewise.
9452 (__get_avphys_pages): Likewise.
9453 * time/clock.c (clock): Likewise.
9454 * time/tzset.c (__tzname_max): Likewise.
9456 2013-06-07 Joseph Myers <joseph@codesourcery.com>
9458 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
9459 (__bswap_32): Do not use "register".
9460 * crypt/crypt.c (_ufc_doit_r): Likewise.
9461 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
9462 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
9463 * gmon/gmon.c (__monstartup): Likewise.
9464 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
9465 * hurd/hurdmalloc.c (more_memory): Likewise.
9468 (realloc): Likewise.
9469 (malloc_fork_prepare): Likewise.
9470 (malloc_fork_parent): Likewise.
9471 (malloc_fork_child): Likewise.
9472 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
9473 (_svcauth_des): Likewise.
9474 * inet/inet_lnaof.c (inet_lnaof): Likewise.
9475 * inet/inet_net.c (inet_network): Likewise.
9476 * inet/inet_netof.c (inet_netof): Likewise.
9477 * inet/rcmd.c (__validuser2_sa): Likewise.
9478 * io/fts.c (fts_open): Likewise.
9479 (fts_load): Likewise.
9480 (fts_close): Likewise.
9481 (fts_read): Likewise.
9482 (fts_children): Likewise.
9483 (fts_build): Likewise.
9484 (fts_stat): Likewise.
9485 (fts_sort): Likewise.
9486 (fts_alloc): Likewise.
9487 (fts_lfree): Likewise.
9488 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
9489 (_IO_file_xsgetn): Likewise.
9490 (_IO_file_xsgetn_mmap): Likewise.
9491 * libio/iofopncook.c (_IO_cookie_read): Likewise.
9492 (_IO_cookie_write): Likewise.
9493 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
9494 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
9495 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
9496 * malloc/obstack.c (_obstack_begin): Likewise.
9497 (_obstack_begin_1): Likewise.
9498 (_obstack_newchunk): Likewise.
9499 (_obstack_allocated_p): Likewise.
9500 (obstack_free): Likewise.
9501 (_obstack_memory_used): Likewise.
9502 * misc/getttyent.c (getttynam): Likewise.
9503 (getttyent): Likewise.
9506 * misc/getusershell.c (initshells): Likewise.
9507 * misc/syslog.c (__vsyslog_chk): Likewise.
9508 * misc/ttyslot.c (ttyslot): Likewise.
9509 * nis/nis_hash.c (__nis_hash): Likewise.
9510 * posix/fnmatch_loop.c (FCT): Likewise.
9511 * posix/getconf.c (print_all): Likewise.
9513 * posix/getopt.c (exchange): Likewise.
9514 * posix/glob.c (globfree): Likewise.
9515 (prefix_array): Likewise.
9516 (__glob_pattern_type): Likewise.
9517 * resolv/arpa/nameser.h (NS_GET16): Likewise.
9518 (NS_GET32): Likewise.
9519 (NS_PUT16): Likewise.
9520 (NS_PUT32): Likewise.
9521 * resolv/gethnamaddr.c (getanswer): Likewise.
9522 (gethostbyname2): Likewise.
9523 (gethostbyaddr): Likewise.
9524 (_gethtent): Likewise.
9525 (_gethtbyname2): Likewise.
9526 (_gethtbyaddr): Likewise.
9527 * resolv/ns_print.c (dst_s_get_int16): Likewise.
9528 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
9529 * resolv/res_init.c (__res_vinit): Likewise.
9530 (net_mask): Likewise.
9531 * resolv/res_mkquery.c (outchar): Likewise.
9533 * stdio-common/printf_fp.c (outchar): Likewise.
9535 * stdio-common/printf_fphex.c (outchar): Likewise.
9537 * stdio-common/printf_size.c (outchar): Likewise.
9539 * stdio-common/test_rdwr.c (main): Likewise.
9540 * stdio-common/tfformat.c (matches): Likewise.
9541 * stdio-common/vfprintf.c (outchar): Likewise.
9542 (printf_unknown): Likewise.
9543 (buffered_vfprintf): Likewise.
9544 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
9545 * stdio-common/xbug.c (AppendToBuffer): Likewise.
9546 (ReadFile): Likewise.
9547 * stdlib/qsort.c (SWAP): Likewise.
9548 (_quicksort): Likewise.
9549 * stdlib/setenv.c (__add_to_environ): Likewise.
9550 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
9551 * stdlib/strtol_l.c (__strtol_l): Likewise.
9552 * stdlib/tst-strtod.c (main): Likewise.
9553 * stdlib/tst-strtol.c (main): Likewise.
9554 * stdlib/tst-strtoll.c (main): Likewise.
9555 * string/bits/string2.h (__strcmp_cc): Likewise.
9556 (__strcmp_cg): Likewise.
9557 (__strcspn_c1): Likewise.
9558 (__strcspn_c2): Likewise.
9559 (__strcspn_c3): Likewise.
9560 (__strspn_c1): Likewise.
9561 (__strspn_c2): Likewise.
9562 (__strspn_c3): Likewise.
9563 (__strsep_1c): Likewise.
9564 (__strsep_2c): Likewise.
9565 (__strsep_3c): Likewise.
9566 * string/memccpy.c (__memccpy): Likewise.
9567 * string/stpcpy.c (__stpcpy): Likewise.
9568 * string/strcmp.c (strcmp): Likewise.
9569 * string/strrchr.c (strrchr): Likewise.
9570 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
9572 * sysdeps/mach/hurd/getcwd.c
9573 (_hurd_canonicalize_directory_name_internal): Likewise.
9574 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
9575 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
9576 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
9577 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
9578 Likewise, in both definitions.
9579 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
9581 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
9582 64] (__bswap_64): Likewise.
9583 * time/test_time.c (main): Likewise.
9584 * time/tzfile.c (__tzfile_read): Likewise.
9585 (__tzfile_compute): Likewise.
9586 * time/tzset.c (__tzset_parse_tz): Likewise.
9587 (tzset_internal): Likewise.
9588 (compute_change): Likewise.
9589 * wcsmbs/wcscat.c (__wcscat): Likewise.
9590 * wcsmbs/wcschr.c (wcschr): Likewise.
9591 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
9592 * wcsmbs/wcscspn.c (wcscspn): Likewise.
9593 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
9594 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
9595 * wcsmbs/wcsspn.c (wcsspn): Likewise.
9596 * wcsmbs/wcsstr.c (wcsstr): Likewise.
9597 * wcsmbs/wmemchr.c (wmemchr): Likewise.
9598 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
9599 * wcsmbs/wmemset.c (wmemset): Likewise.
9601 2013-06-06 Joseph Myers <joseph@codesourcery.com>
9603 * scripts/config.guess: Update to version 2013-05-16.
9604 * scripts/config.sub: Update to version 2013-04-24.
9605 * scripts/install-sh: Update to version 2011-11-20.07.
9606 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
9607 * scripts/move-if-change: Update to version 2012-01-06 07:23.
9609 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
9611 * debug/fgetws_u_chk.c: Fix leading whitespaces.
9612 * elf/sln.c: Likewise.
9613 * hurd/hurd/ioctl.h: Likewise.
9614 * hurd/hurdmalloc.c: Likewise.
9615 * hurd/xattr.c: Likewise.
9616 * include/shlib-compat.h: Likewise.
9617 * inet/ruserpass.c: Likewise.
9618 * libio/iofgets_u.c: Likewise.
9619 * libio/iofgetws_u.c: Likewise.
9620 * locale/programs/ld-identification.c: Likewise.
9621 * locale/programs/ld-time.c: Likewise.
9622 * mach/msg-destroy.c: Likewise.
9623 * nss/nss_files/files-netgrp.c: Likewise.
9624 * resolv/res_data.c: Likewise.
9625 * soft-fp/op-1.h: Likewise.
9626 * soft-fp/op-2.h: Likewise.
9627 * soft-fp/op-4.h: Likewise.
9628 * soft-fp/op-common.h: Likewise.
9629 * stdio-common/printf_fphex.c: Likewise.
9630 * stdlib/strtod_l.c: Likewise.
9631 * sunrpc/rpc/clnt.h: Likewise.
9632 * sysdeps/generic/framestate.c: Likewise.
9633 * sysdeps/i386/bsd-_setjmp.S: Likewise.
9634 * sysdeps/i386/bsd-setjmp.S: Likewise.
9635 * sysdeps/i386/__longjmp.S: Likewise.
9636 * sysdeps/i386/setjmp.S: Likewise.
9637 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
9638 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
9639 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
9640 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
9641 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
9642 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
9643 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
9644 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
9645 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
9646 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
9647 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
9648 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
9649 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
9650 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
9651 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
9652 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
9653 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
9654 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
9655 * sysdeps/ieee754/support.c: Likewise.
9656 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
9657 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
9658 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
9659 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
9660 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
9661 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
9662 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
9663 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
9664 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
9665 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
9666 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
9667 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
9668 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
9669 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
9670 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
9671 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
9672 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
9673 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
9675 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
9677 * posix/transbug.c: Remove executable mode.
9679 2013-06-05 Joseph Myers <joseph@codesourcery.com>
9681 * crypt/speeds.c: Remove trailing whitespace.
9682 * dlfcn/default.c: Likewise.
9683 * elf/ifuncdep2.c: Likewise.
9684 * elf/ifuncmain1.c: Likewise.
9685 * elf/ifuncmain1vis.c: Likewise.
9686 * elf/testobj.h: Likewise.
9687 * elf/tst-stackguard1.c: Likewise.
9688 * gmon/sys/gmon.h: Likewise.
9689 * hurd/hurdmsg.c: Likewise.
9690 * hurd/new-fd.c: Likewise.
9691 * hurd/ports-get.c: Likewise.
9692 * iconvdata/ibm1008_420.c: Likewise.
9693 * inet/tst-getni1.c: Likewise.
9694 * inet/tst-getni2.c: Likewise.
9695 * libio/ioungetc.c: Likewise.
9696 * libio/wfiledoalloc.c: Likewise.
9697 * manual/libm-err-tab.pl: Likewise.
9698 * math/w_dremf.c: Likewise.
9699 * misc/ftruncate.c: Likewise.
9700 * posix/bug-glob2.c: Likewise.
9701 * posix/tst-pcre.c: Likewise.
9702 * posix/wait4.c: Likewise.
9703 * resolv/README: Likewise.
9704 * resolv/res_debug.h: Likewise.
9705 * resolv/tst-inet_ntop.c: Likewise.
9706 * setjmp/bug269-setjmp.c: Likewise.
9707 * soft-fp/extended.h: Likewise.
9708 * soft-fp/op-1.h: Likewise.
9709 * soft-fp/op-2.h: Likewise.
9710 * soft-fp/op-4.h: Likewise.
9711 * soft-fp/op-8.h: Likewise.
9712 * soft-fp/testit.c: Likewise.
9713 * stdio-common/bug16.c: Likewise.
9714 * stdlib/random.c: Likewise.
9715 * sunrpc/rpcsvc/rquota.x: Likewise.
9716 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
9717 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
9718 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
9719 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
9720 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
9721 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
9722 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
9723 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
9724 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
9725 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
9726 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
9727 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
9728 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
9729 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
9730 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
9731 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
9732 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
9733 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
9734 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
9735 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
9736 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
9737 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
9738 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
9739 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
9740 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
9741 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
9742 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
9743 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
9744 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
9745 * sysdeps/ieee754/s_lib_version.c: Likewise.
9746 * sysdeps/mach/hurd/check_fds.c: Likewise.
9747 * sysdeps/mach/hurd/getsockname.c: Likewise.
9748 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
9749 * sysdeps/mach/hurd/recvfrom.c: Likewise.
9750 * sysdeps/powerpc/bits/link.h: Likewise.
9751 * sysdeps/powerpc/dl-procinfo.c: Likewise.
9752 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
9753 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
9754 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
9755 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
9756 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
9757 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
9758 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
9759 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
9760 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
9761 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
9762 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
9763 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
9764 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
9765 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
9766 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
9767 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
9768 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
9769 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
9770 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
9771 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
9772 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
9773 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
9774 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
9775 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
9776 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
9777 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
9778 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
9779 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
9780 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
9781 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
9782 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
9783 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
9784 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
9785 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
9786 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
9787 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
9788 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
9789 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
9790 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
9791 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
9792 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
9793 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
9794 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
9795 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
9796 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
9797 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
9798 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
9799 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
9800 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
9801 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
9802 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
9803 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
9804 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
9805 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
9806 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
9807 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
9808 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
9809 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
9810 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
9811 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
9812 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
9813 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
9814 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
9815 * sysdeps/powerpc/sysdep.h: Likewise.
9816 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
9817 * sysdeps/s390/s390-64/sub_n.S: Likewise.
9818 * sysdeps/sh/dl-trampoline.S: Likewise.
9819 * sysdeps/sh/memset.S: Likewise.
9820 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
9821 * sysdeps/sh/strlen.S: Likewise.
9822 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
9823 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
9824 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
9825 * sysdeps/sparc/sparc32/rem.S: Likewise.
9826 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
9827 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
9828 * sysdeps/sparc/sparc32/strchr.S: Likewise.
9829 * sysdeps/sparc/sparc32/udiv.S: Likewise.
9830 * sysdeps/sparc/sparc32/urem.S: Likewise.
9831 * sysdeps/sparc/sparc64/add_n.S: Likewise.
9832 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
9833 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
9834 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
9835 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
9836 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
9837 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
9838 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
9839 * sysdeps/unix/bsd/times.c: Likewise.
9840 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
9841 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
9842 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
9843 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
9844 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
9845 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
9846 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
9847 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
9848 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
9849 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
9850 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
9851 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
9852 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
9853 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
9854 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
9855 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
9856 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
9857 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
9858 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
9859 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
9860 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
9861 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
9862 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
9863 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
9864 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
9865 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
9866 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
9867 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
9868 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
9869 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
9870 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
9871 * sysdeps/x86_64/strcspn.S: Likewise.
9873 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
9875 * locale/C-translit.h: Revert #include <stdint.h> because this is a
9876 generated file. Regenerate properly from gen-translit.pl.
9877 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
9878 locale/C-translit.h.
9880 2013-06-05 Andreas Schwab <schwab@suse.de>
9883 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
9884 week as 6 instead of -1.
9885 * time/tst-strptime.c (day_tests): Add test case.
9887 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
9889 * sysdeps/generic/math_private.h
9890 (libc_feholdexcept_setround_53bit): Replace with
9891 libc_feholdsetround_53bit.
9892 (libc_feupdateenv_53bit): Replace with
9893 libc_feresetround_53bit.
9894 (SET_RESTORE_ROUND_53BIT): Adjust.
9896 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
9898 * string/test-strchrnul.c: Add copyright header.
9900 * posix/tst-getaddrinfo4.c: Increase test timeout.
9902 2013-06-03 Carlos O'Donell <carlos@redhat.com>
9905 * math/libm-test.inc (MAX_EXP): Remove
9907 (ulp): Use MIN_EXP - MANT_DIG.
9908 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
9910 2013-05-31 Carlos O'Donell <carlos@redhat.com>
9912 * po/be.po: Revert last change.
9913 * po/zh_CN.po: Likewise.
9914 * po/header.pot: Likewise.
9916 2013-05-31 Joseph Myers <joseph@codesourcery.com>
9918 * Makefile ($(common-objpfx)linkobj/libc.so): Define
9919 link-libc-deps to empty as target-specific variable.
9920 * Makerules (link-libc-args): New variable.
9921 (libc-for-link): Likewise.
9922 (link-libc-deps): Likewise.
9923 (lib%.so): Depend on $(link-libc-deps). Link with
9925 (build-module): Link with $(link-libc-args).
9926 (build-module-asneeded): Likewise.
9927 (build-module-helper-objlist): Filter out $(link-libc-deps) from
9929 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
9930 target-specific variable.
9931 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
9932 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
9933 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
9935 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
9937 ($(objpfx)libpcprofile.so): Likewise.
9938 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
9940 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
9941 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
9942 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
9944 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
9945 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
9946 * login/Makefile ($(objpfx)libutil.so): Likewise.
9947 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
9948 * math/Makefile ($(objpfx)libm.so): Likewise.
9949 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
9950 $(objpfx)libnsl.so): Define libc-for-link as target-specific
9951 variable instead of depending directly on libc.
9952 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
9953 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
9955 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
9957 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
9958 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
9959 ($(objpfx)libanl.so): Likewise.
9960 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
9962 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
9964 * sysdeps/i386/fpu/Makefile: Remove file.
9965 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
9966 ($(objpfx)libm.so): Remove dependency on ld.so.
9968 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
9971 * nis/yp_xdr.c (XDRMAXNAME): Define.
9972 (XDRMAXRECORD): Define.
9973 (xdr_domainname): Use XDRMAXNAME.
9974 (xdr_mapname): Likewise.
9975 (xdr_peername): Likewise.
9976 (xdr_keydat): Use XDRMAXRECORD.
9977 (xdr_valdat): Likewise.
9979 2013-05-30 Jeff Law <law@redhat.com>
9982 * manual/errno.texi (ESTALE): Update to account for more than
9983 just NFS file systems.
9984 * sysdeps/gnu/errlist.c: Regenerated.
9986 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
9989 * elf/Makefile (tests): Add tst-null-argv.
9990 (modules-names): Add tst-null-argv-lib.
9991 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
9992 (tst-null-argv-ENV): Set environment for tst-null-argv.
9993 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
9994 (RTLD_PROGNAME): New macro.
9995 * elf/tst-null-argv.c: New test case.
9996 * elf/tst-null-argv-lib.c: Library for test case.
9997 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
9998 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
9999 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
10000 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
10001 * elf/dl-init.c (call_init): Likewise.
10002 (_dl_init): Likewise.
10003 * elf/dl-load.c (print_search_path): Likewise.
10004 (_dl_map_object): Likewise.
10005 * elf/dl-lookup.c (do_lookup_x): Likewise.
10006 (add_dependency): Likewise.
10007 (_dl_lookup_symbol_x): Likewise.
10008 (_dl_debug_bindings): Likewise.
10009 * elf/dl-open.c (_dl_show_scope): Likewise.
10010 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
10011 * elf/dl-version.c (match_symbol): Likewise.
10012 (_dl_check_map_versions): Likewise.
10013 * elf/rtld.c (dl_main): Likewise.
10014 (print_unresolved): Use RTLD_PROGNAME.
10015 (print_missing_version): Likewise.
10016 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
10017 (elf_machine_rela): Likewise.
10018 * sysdeps/powerpc/powerpc32/dl-machine.c
10019 (__process_machine_rela): Likewise.
10020 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
10022 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
10024 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
10026 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
10027 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
10029 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
10031 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
10033 2013-05-28 Carlos O'Donell <carlos@redhat.com>
10035 * po/be.po: Add descriptive title.
10036 * po/zh_CN.po: Likewise.
10037 * po/header.pot: Likewise.
10039 2013-05-28 Mike Frysinger <vapier@gentoo.org>
10041 * locale/programs/locarchive.c (create_archive): Inlucde fname in
10043 (enlarge_archive): Likewise.
10045 2013-05-28 Ben North <ben@redfrontdoor.org>
10047 * manual/arith.texi (frexp): It is the magnitude of the return
10048 value which lies in [0.5, 1), not the return value itself.
10050 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10052 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10054 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
10056 * stdio-common/bug26.c (main): Correct fscanf template.
10058 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
10059 declare _dl_skip_args.
10061 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
10064 * manual/platform.texi: Add missing @end deftypefun.
10066 2013-05-24 Joseph Myers <joseph@codesourcery.com>
10069 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
10070 bit of mantissa of 2^16382.
10071 * math/libm-test.inc (hypot_test_data): Add more tests.
10073 * math/libm-test.inc: Add drem and pow10 to list of tested
10075 (pow10_test): New function.
10076 (drem_test): Likewise.
10077 (drem_test_tonearest): Likewise.
10078 (drem_test_towardzero): Likewise.
10079 (drem_test_downward): Likewise.
10080 (drem_test_upward): Likewise.
10081 (main): Call the new functions.
10083 * math/libm-test.inc (finite_test_data): Remove.
10084 (finite_test): Run tests from isfinite_test_data.
10085 (gamma_test_data): Remove.
10086 (gamma_test): Run tests from lgamma_test_data.
10087 * sysdeps/i386/fpu/libm-test-ulps: Update.
10088 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10090 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10092 * manual/platform.texi: Add PowerPC PPR function set documentation.
10093 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
10096 2013-05-24 Carlos O'Donell <carlos@redhat.com>
10098 * math/libm-test.inc (MAX_EXP): Define.
10100 (ulp): New function.
10101 (check_float_internal): Use ULPDIFF.
10102 (cpow_test): Disable failing test.
10103 (check_ulp): Test ulp() implemetnation.
10104 (main): Call check_ulp before starting tests.
10106 2013-05-24 Joseph Myers <joseph@codesourcery.com>
10108 * math/gen-libm-test.pl (generate_testfile): Do not handle
10109 START_DATA and END_DATA.
10110 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
10112 (acos_tonearest_test_data): Likewise.
10113 (acos_towardzero_test_data): Likewise.
10114 (acos_downward_test_data): Likewise.
10115 (acos_upward_test_data): Likewise.
10116 (acosh_test_data): Likewise.
10117 (asin_test_data): Likewise.
10118 (asin_tonearest_test_data): Likewise.
10119 (asin_towardzero_test_data): Likewise.
10120 (asin_downward_test_data): Likewise.
10121 (asin_upward_test_data): Likewise.
10122 (asinh_test_data): Likewise.
10123 (atan_test_data): Likewise.
10124 (atanh_test_data): Likewise.
10125 (atan2_test_data): Likewise.
10126 (cabs_test_data): Likewise.
10127 (cacos_test_data): Likewise.
10128 (cacosh_test_data): Likewise.
10129 (carg_test_data): Likewise.
10130 (casin_test_data): Likewise.
10131 (casinh_test_data): Likewise.
10132 (catan_test_data): Likewise.
10133 (catanh_test_data): Likewise.
10134 (cbrt_test_data): Likewise.
10135 (ccos_test_data): Likewise.
10136 (ccosh_test_data): Likewise.
10137 (ceil_test_data): Likewise.
10138 (cexp_test_data): Likewise.
10139 (cimag_test_data): Likewise.
10140 (clog_test_data): Likewise.
10141 (clog10_test_data): Likewise.
10142 (conj_test_data): Likewise.
10143 (copysign_test_data): Likewise.
10144 (cos_test_data): Likewise.
10145 (cos_tonearest_test_data): Likewise.
10146 (cos_towardzero_test_data): Likewise.
10147 (cos_downward_test_data): Likewise.
10148 (cos_upward_test_data): Likewise.
10149 (cosh_test_data): Likewise.
10150 (cosh_tonearest_test_data): Likewise.
10151 (cosh_towardzero_test_data): Likewise.
10152 (cosh_downward_test_data): Likewise.
10153 (cosh_upward_test_data): Likewise.
10154 (cpow_test_data): Likewise.
10155 (cproj_test_data): Likewise.
10156 (creal_test_data): Likewise.
10157 (csin_test_data): Likewise.
10158 (csinh_test_data): Likewise.
10159 (csqrt_test_data): Likewise.
10160 (ctan_test_data): Likewise.
10161 (ctan_tonearest_test_data): Likewise.
10162 (ctan_towardzero_test_data): Likewise.
10163 (ctan_downward_test_data): Likewise.
10164 (ctan_upward_test_data): Likewise.
10165 (ctanh_test_data): Likewise.
10166 (ctanh_tonearest_test_data): Likewise.
10167 (ctanh_towardzero_test_data): Likewise.
10168 (ctanh_downward_test_data): Likewise.
10169 (ctanh_upward_test_data): Likewise.
10170 (erf_test_data): Likewise.
10171 (erfc_test_data): Likewise.
10172 (exp_test_data): Likewise.
10173 (exp_tonearest_test_data): Likewise.
10174 (exp_towardzero_test_data): Likewise.
10175 (exp_downward_test_data): Likewise.
10176 (exp_upward_test_data): Likewise.
10177 (exp10_test_data): Likewise.
10178 (exp2_test_data): Likewise.
10179 (expm1_test_data): Likewise.
10180 (fabs_test_data): Likewise.
10181 (fdim_test_data): Likewise.
10182 (finite_test_data): Likewise.
10183 (floor_test_data): Likewise.
10184 (fma_test_data): Likewise.
10185 (fma_towardzero_test_data): Likewise.
10186 (fma_downward_test_data): Likewise.
10187 (fma_upward_test_data): Likewise.
10188 (fmax_test_data): Likewise.
10189 (fmin_test_data): Likewise.
10190 (fmod_test_data): Likewise.
10191 (fpclassify_test_data): Likewise.
10192 (frexp_test_data): Likewise.
10193 (gamma_test_data): Likewise.
10194 (hypot_test_data): Likewise.
10195 (ilogb_test_data): Likewise.
10196 (isfinite_test_data): Likewise.
10197 (isgreater_test_data): Likewise.
10198 (isgreaterequal_test_data): Likewise.
10199 (isinf_test_data): Likewise.
10200 (isless_test_data): Likewise.
10201 (islessequal_test_data): Likewise.
10202 (islessgreater_test_data): Likewise.
10203 (isnan_test_data): Likewise.
10204 (isnormal_test_data): Likewise.
10205 (issignaling_test_data): Likewise.
10206 (isunordered_test_data): Likewise.
10207 (j0_test_data): Likewise.
10208 (j1_test_data): Likewise.
10209 (jn_test_data): Likewise.
10210 (ldexp_test_data): Likewise.
10211 (lgamma_test_data): Likewise.
10212 (lrint_test_data): Likewise.
10213 (lrint_tonearest_test_data): Likewise.
10214 (lrint_towardzero_test_data): Likewise.
10215 (lrint_downward_test_data): Likewise.
10216 (lrint_upward_test_data): Likewise.
10217 (llrint_test_data): Likewise.
10218 (llrint_tonearest_test_data): Likewise.
10219 (llrint_towardzero_test_data): Likewise.
10220 (llrint_downward_test_data): Likewise.
10221 (llrint_upward_test_data): Likewise.
10222 (log_test_data): Likewise.
10223 (log10_test_data): Likewise.
10224 (log1p_test_data): Likewise.
10225 (log2_test_data): Likewise.
10226 (logb_test_data): Likewise.
10227 (logb_downward_test_data): Likewise.
10228 (lround_test_data): Likewise.
10229 (llround_test_data): Likewise.
10230 (modf_test_data): Likewise.
10231 (nearbyint_test_data): Likewise.
10232 (nextafter_test_data): Likewise.
10233 (nexttoward_test_data): Likewise.
10234 (pow_test_data): Likewise.
10235 (pow_tonearest_test_data): Likewise.
10236 (pow_towardzero_test_data): Likewise.
10237 (pow_downward_test_data): Likewise.
10238 (pow_upward_test_data): Likewise.
10239 (remainder_test_data): Likewise.
10240 (remainder_tonearest_test_data): Likewise.
10241 (remainder_towardzero_test_data): Likewise.
10242 (remainder_downward_test_data): Likewise.
10243 (remainder_upward_test_data): Likewise.
10244 (remquo_test_data): Likewise.
10245 (rint_test_data): Likewise.
10246 (rint_tonearest_test_data): Likewise.
10247 (rint_towardzero_test_data): Likewise.
10248 (rint_downward_test_data): Likewise.
10249 (rint_upward_test_data): Likewise.
10250 (round_test_data): Likewise.
10251 (scalb_test_data): Likewise.
10252 (scalbn_test_data): Likewise.
10253 (scalbln_test_data): Likewise.
10254 (signbit_test_data): Likewise.
10255 (sin_test_data): Likewise.
10256 (sin_tonearest_test_data): Likewise.
10257 (sin_towardzero_test_data): Likewise.
10258 (sin_downward_test_data): Likewise.
10259 (sin_upward_test_data): Likewise.
10260 (sincos_test_data): Likewise.
10261 (sinh_test_data): Likewise.
10262 (sinh_tonearest_test_data): Likewise.
10263 (sinh_towardzero_test_data): Likewise.
10264 (sinh_downward_test_data): Likewise.
10265 (sinh_upward_test_data): Likewise.
10266 (sqrt_test_data): Likewise.
10267 (tan_test_data): Likewise.
10268 (tan_tonearest_test_data): Likewise.
10269 (tan_towardzero_test_data): Likewise.
10270 (tan_downward_test_data): Likewise.
10271 (tan_upward_test_data): Likewise.
10272 (tanh_test_data): Likewise.
10273 (tgamma_test_data): Likewise.
10274 (trunc_test_data): Likewise.
10275 (y0_test_data): Likewise.
10276 (y1_test_data): Likewise.
10277 (yn_test_data): Likewise.
10278 (significand_test_data): Likewise.
10280 * math/gen-libm-test.pl (@functions): Remove variable.
10281 (generate_testfile): Don't handle START and END lines.
10282 * math/libm-test.inc (START): New macro.
10284 (END_COMPLEX): Likewise.
10285 (acos_test): Use END macro without arguments.
10286 (acos_test_tonearest): Likewise.
10287 (acos_test_towardzero): Likewise.
10288 (acos_test_downward): Likewise.
10289 (acos_test_upward): Likewise.
10290 (acosh_test): Likewise.
10291 (asin_test): Likewise.
10292 (asin_test_tonearest): Likewise.
10293 (asin_test_towardzero): Likewise.
10294 (asin_test_downward): Likewise.
10295 (asin_test_upward): Likewise.
10296 (asinh_test): Likewise.
10297 (atan_test): Likewise.
10298 (atanh_test): Likewise.
10299 (atan2_test): Likewise.
10300 (cabs_test): Likewise.
10301 (cacos_test): Use END_COMPLEX macro without arguments.
10302 (cacosh_test): Likewise.
10303 (carg_test): Use END macro without arguments.
10304 (casin_test): Use END_COMPLEX macro without arguments.
10305 (casinh_test): Likewise.
10306 (catan_test): Likewise.
10307 (catanh_test): Likewise.
10308 (cbrt_test): Use END macro without arguments.
10309 (ccos_test): Use END_COMPLEX macro without arguments.
10310 (ccosh_test): Likewise.
10311 (ceil_test): Use END macro without arguments.
10312 (cexp_test): Use END_COMPLEX macro without arguments.
10313 (cimag_test): Use END macro without arguments.
10314 (clog_test): Use END_COMPLEX macro without arguments.
10315 (clog10_test): Likewise.
10316 (conj_test): Likewise.
10317 (copysign_test): Use END macro without arguments.
10318 (cos_test): Likewise.
10319 (cos_test_tonearest): Likewise.
10320 (cos_test_towardzero): Likewise.
10321 (cos_test_downward): Likewise.
10322 (cos_test_upward): Likewise.
10323 (cosh_test): Likewise.
10324 (cosh_test_tonearest): Likewise.
10325 (cosh_test_towardzero): Likewise.
10326 (cosh_test_downward): Likewise.
10327 (cosh_test_upward): Likewise.
10328 (cpow_test): Use END_COMPLEX macro without arguments.
10329 (cproj_test): Likewise.
10330 (creal_test): Use END macro without arguments.
10331 (csin_test): Use END_COMPLEX macro without arguments.
10332 (csinh_test): Likewise.
10333 (csqrt_test): Likewise.
10334 (ctan_test): Likewise.
10335 (ctan_test_tonearest): Likewise.
10336 (ctan_test_towardzero): Likewise.
10337 (ctan_test_downward): Likewise.
10338 (ctan_test_upward): Likewise.
10339 (ctanh_test): Likewise.
10340 (ctanh_test_tonearest): Likewise.
10341 (ctanh_test_towardzero): Likewise.
10342 (ctanh_test_downward): Likewise.
10343 (ctanh_test_upward): Likewise.
10344 (erf_test): Use END macro without arguments.
10345 (erfc_test): Likewise.
10346 (exp_test): Likewise.
10347 (exp_test_tonearest): Likewise.
10348 (exp_test_towardzero): Likewise.
10349 (exp_test_downward): Likewise.
10350 (exp_test_upward): Likewise.
10351 (exp10_test): Likewise.
10352 (exp2_test): Likewise.
10353 (expm1_test): Likewise.
10354 (fabs_test): Likewise.
10355 (fdim_test): Likewise.
10356 (finite_test): Likewise.
10357 (floor_test): Likewise.
10358 (fma_test): Likewise.
10359 (fma_test_towardzero): Likewise.
10360 (fma_test_downward): Likewise.
10361 (fma_test_upward): Likewise.
10362 (fmax_test): Likewise.
10363 (fmin_test): Likewise.
10364 (fmod_test): Likewise.
10365 (fpclassify_test): Likewise.
10366 (frexp_test): Likewise.
10367 (gamma_test): Likewise.
10368 (hypot_test): Likewise.
10369 (ilogb_test): Likewise.
10370 (isfinite_test): Likewise.
10371 (isgreater_test): Likewise.
10372 (isgreaterequal_test): Likewise.
10373 (isinf_test): Likewise.
10374 (isless_test): Likewise.
10375 (islessequal_test): Likewise.
10376 (islessgreater_test): Likewise.
10377 (isnan_test): Likewise.
10378 (isnormal_test): Likewise.
10379 (issignaling_test): Likewise.
10380 (isunordered_test): Likewise.
10381 (j0_test): Likewise.
10382 (j1_test): Likewise.
10383 (jn_test): Likewise.
10384 (ldexp_test): Likewise.
10385 (lgamma_test): Likewise.
10386 (lrint_test): Likewise.
10387 (lrint_test_tonearest): Likewise.
10388 (lrint_test_towardzero): Likewise.
10389 (lrint_test_downward): Likewise.
10390 (lrint_test_upward): Likewise.
10391 (llrint_test): Likewise.
10392 (llrint_test_tonearest): Likewise.
10393 (llrint_test_towardzero): Likewise.
10394 (llrint_test_downward): Likewise.
10395 (llrint_test_upward): Likewise.
10396 (log_test): Likewise.
10397 (log10_test): Likewise.
10398 (log1p_test): Likewise.
10399 (log2_test): Likewise.
10400 (logb_test): Likewise.
10401 (logb_test_downward): Likewise.
10402 (lround_test): Likewise.
10403 (llround_test): Likewise.
10404 (modf_test): Likewise.
10405 (nearbyint_test): Likewise.
10406 (nextafter_test): Likewise.
10407 (nexttoward_test): Likewise.
10408 (pow_test): Likewise.
10409 (pow_test_tonearest): Likewise.
10410 (pow_test_towardzero): Likewise.
10411 (pow_test_downward): Likewise.
10412 (pow_test_upward): Likewise.
10413 (remainder_test): Likewise.
10414 (remainder_test_tonearest): Likewise.
10415 (remainder_test_towardzero): Likewise.
10416 (remainder_test_downward): Likewise.
10417 (remainder_test_upward): Likewise.
10418 (remquo_test): Likewise.
10419 (rint_test): Likewise.
10420 (rint_test_tonearest): Likewise.
10421 (rint_test_towardzero): Likewise.
10422 (rint_test_downward): Likewise.
10423 (rint_test_upward): Likewise.
10424 (round_test): Likewise.
10425 (scalb_test): Likewise.
10426 (scalbn_test): Likewise.
10427 (scalbln_test): Likewise.
10428 (signbit_test): Likewise.
10429 (sin_test): Likewise.
10430 (sin_test_tonearest): Likewise.
10431 (sin_test_towardzero): Likewise.
10432 (sin_test_downward): Likewise.
10433 (sin_test_upward): Likewise.
10434 (sincos_test): Likewise.
10435 (sinh_test): Likewise.
10436 (sinh_test_tonearest): Likewise.
10437 (sinh_test_towardzero): Likewise.
10438 (sinh_test_downward): Likewise.
10439 (sinh_test_upward): Likewise.
10440 (sqrt_test): Likewise.
10441 (tan_test): Likewise.
10442 (tan_test_tonearest): Likewise.
10443 (tan_test_towardzero): Likewise.
10444 (tan_test_downward): Likewise.
10445 (tan_test_upward): Likewise.
10446 (tanh_test): Likewise.
10447 (tgamma_test): Likewise.
10448 (trunc_test): Likewise.
10449 (y0_test): Likewise.
10450 (y1_test): Likewise.
10451 (yn_test): Likewise.
10452 (significand_test): Likewise.
10454 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
10457 * libio/genops.c (_IO_no_init): Initialize wide struct info.
10459 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
10462 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
10463 __ppc_mdoio and __ppc_mdoom.
10464 * manual/platform.texi: Document new functions __ppc_yield,
10465 __ppc_mdoio and __ppc_mdoom.
10467 2013-05-22 Carlos O'Donell <carlos@redhat.com>
10469 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
10470 (main): Mention "tls" pseudo-hwcap is legacy.
10471 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
10473 2013-05-22 Joseph Myers <joseph@codesourcery.com>
10475 * math/gen-libm-test.pl (parse_args): Output only string of
10476 arguments as text for test name, not full call or descriptions of
10477 tests for extra outputs.
10478 (generate_testfile): Do not pass function name to parse_args.
10479 Generate this_func variable from START.
10480 * math/libm-test.inc (struct test_f_f_data): Rename test_name
10482 (struct test_ff_f_data): Likewise.
10483 (test_ff_f_data_nexttoward): Likewise.
10484 (struct test_fi_f_data): Likewise.
10485 (struct test_fl_f_data): Likewise.
10486 (struct test_if_f_data): Likewise.
10487 (struct test_fff_f_data): Likewise.
10488 (struct test_c_f_data): Likewise.
10489 (struct test_f_f1_data): Likewise. Remove field extra_name.
10490 (struct test_fF_f1_data): Likewise.
10491 (struct test_ffI_f1_data): Likewise.
10492 (struct test_c_c_data): Rename test_name field to arg_str.
10493 (struct test_cc_c_data): Likewise.
10494 (struct test_f_i_data): Likewise.
10495 (struct test_ff_i_data): Likewise.
10496 (struct test_f_l_data): Likewise.
10497 (struct test_f_L_data): Likewise.
10498 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
10500 (COMMON_TEST_SETUP): New macro.
10501 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
10502 (COMMON_TEST_CLEANUP): Likewise.
10503 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
10504 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
10506 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
10507 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
10509 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
10510 (RUN_TEST_fff_f): Take argument string. Call new setup and
10512 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
10513 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
10515 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
10516 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
10518 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
10519 (RUN_TEST_fF_f1): Take argument string. Call new setup and
10521 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
10522 (RUN_TEST_fI_f1): Take argument string. Call new setup and
10524 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
10525 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
10527 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
10528 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
10530 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
10531 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
10533 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
10534 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
10536 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
10537 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
10539 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
10540 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
10542 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
10543 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
10545 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
10546 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
10548 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
10549 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
10551 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
10552 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
10554 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
10555 (RUN_TEST_fFF_11): Take argument string. Call new setup and
10557 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
10559 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
10561 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
10562 to _sifields.sigfault.
10563 (si_addr_lsb): Define new macro.
10564 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
10565 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
10566 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
10568 2013-05-03 Carlos O'Donell <carlos at redhat.com>
10571 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
10573 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
10575 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
10576 loading the domain.
10578 2013-05-22 Joseph Myers <joseph@codesourcery.com>
10580 * math/gen-libm-test.pl (parse_args): Do not include expected
10581 result in test name.
10582 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
10583 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
10584 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
10585 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
10586 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
10587 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10589 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
10591 * benchtests/Makefile: Sort function entries.
10593 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
10594 tanh, asinh, acosh, atanh.
10595 * benchtests/acos-inputs: New file.
10596 * benchtests/acosh-inputs: New file.
10597 * benchtests/asin-inputs: New file.
10598 * benchtests/asinh-inputs: New file.
10599 * benchtests/atanh-inputs: New file.
10600 * benchtests/cosh-inputs: New file.
10601 * benchtests/log-inputs: New file.
10602 * benchtests/sinh-inputs: New file.
10603 * benchtests/tanh-inputs: New file.
10605 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
10608 * posix/tst-getaddrinfo4.c: New test.
10609 * posix/Makefile (tests): Add it.
10611 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
10614 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
10615 when no services were used.
10616 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
10617 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
10619 2013-05-21 Andreas Schwab <schwab@suse.de>
10622 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
10623 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
10625 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
10626 redundant variable declarations and reallocation of buffer when
10627 parsing as IPv6 address. Always set NSS status when called from
10628 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
10629 buffer too small. Correct computation of needed size.
10630 * nss/Makefile (tests): Add test-digits-dots.
10631 * nss/test-digits-dots.c: New test.
10633 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
10635 * benchtests/Makefile: Remove instructions for adding
10637 * benchtests/README: New file to explain how to execute and
10638 enhance the benchmark tests.
10640 2013-05-21 Andreas Schwab <schwab@suse.de>
10643 * setjmp/Makefile (tests): Add tst-sigsetjmp.
10644 * setjmp/tst-sigsetjmp.c: New test.
10646 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
10648 * sysdeps/x86_64/memset.S (memset): New implementation.
10649 (__bzero): Likewise.
10650 (__memset_tail): New function.
10652 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
10654 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
10655 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
10656 __memcpy_sse2_unaligned ifunc selection.
10657 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
10658 Add memcpy-sse2-unaligned.S.
10659 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
10660 Add: __memcpy_sse2_unaligned.
10662 2013-05-19 Joseph Myers <joseph@codesourcery.com>
10665 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
10666 math_force_eval before restoring floating-point envrionment.
10667 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
10668 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
10670 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
10672 (__nearbyintl): Use math_force_eval before restoring
10673 floating-point environment.
10674 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
10676 * math/gen-libm-test.pl (special_functions): Remove.
10677 (parse_args): Don't handle TEST_extra. Handle functions with no
10679 * math/libm-test.inc (struct test_sincos_data): Replace with
10680 struct test_fFF_11_data.
10681 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
10682 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
10683 (sincos_test_data): Change element type to struct
10684 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
10685 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
10686 RUN_TEST_LOOP_sincos.
10687 * math/README.libm-test: Don't mention special handling of
10688 individual functions.
10689 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
10690 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
10691 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
10692 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
10693 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
10694 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10696 * math/gen-libm-test.pl (get_variable): Remove function.
10697 (parse_args): Don't show pointer parameters to call in test
10698 names. Use "extra output N" in test names for extra outputs
10699 rather than naming variables.
10701 2013-05-18 Joseph Myers <joseph@codesourcery.com>
10704 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
10705 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
10706 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
10708 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
10710 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
10713 * math/gen-libm-test.pl (@tests): Remove variable.
10714 ($count): Likewise.
10715 (new_test): Remove function.
10716 (show_exceptions): New function.
10717 (special_functions): Use show_exceptions instead of new_test.
10718 (parse_args): Likewise.
10719 (generate_testfile): Pass only function name in generated call to
10720 print_max_error or print_complex_max_error.
10721 (get_ulps): Do not handle complex tests specially.
10722 (output_test): Rename to ...
10723 (get_all_ulps_for_test): ... this. Return a string rather than
10724 printing to a file. Require ulps to be present.
10725 (output_ulps): Generate arrays rather than #defines.
10726 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
10727 (struct ulp_data): New type.
10728 (BUILD_COMPLEX_ULP): Remove macro.
10729 (compare_ulp_data): New function.
10730 (find_ulps): Likewise.
10731 (find_test_ulps): Likewise.
10732 (find_function_ulps): Likewise.
10733 (find_complex_function_ulps): Likewise.
10734 (print_max_error): Determine allowed ulps using
10735 find_function_ulps.
10736 (print_complex_max_error): Determine allowed ulps using
10737 find_complex_function_ulps.
10738 (check_float_internal): Determine max ulps using find_test_ulps.
10739 (check_float): Do not take max_ulp parameter. Update call to
10740 check_float_internal.
10741 (check_complex): Likewise.
10742 (check_int): Do not take max_ulp parameter.
10743 (check_long): Likewise.
10744 (check_bool): Likewise.
10745 (check_longlong): Likewise.
10746 (struct test_f_f_data): Remove max_ulp field.
10747 (struct test_ff_f_data): Likewise.
10748 (struct test_ff_f_data_nexttoward): Likewise.
10749 (struct test_fi_f_data): Likewise.
10750 (struct test_fl_f_data): Likewise.
10751 (struct test_if_f_data): Likewise.
10752 (struct test_fff_f_data): Likewise.
10753 (struct test_c_f_data): Likewise.
10754 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
10755 (struct test_fF_f1_data): Likewise.
10756 (struct test_ffI_f1_data): Likewise.
10757 (struct test_c_c_data): Remove max_ulp field.
10758 (struct test_cc_c_data): Likewise.
10759 (struct test_f_i_data): Likewise.
10760 (struct test_ff_i_data): Likewise.
10761 (struct test_f_l_data): Likewise.
10762 (struct test_f_L_data): Likewise.
10763 (struct test_sincos_data): Likewise.
10764 (RUN_TEST_f_f): Do not handle ulps.
10765 (RUN_TEST_LOOP_f_f): Likewise.
10766 (RUN_TEST_2_f): Likewise.
10767 (RUN_TEST_LOOP_2_f): Likewise.
10768 (RUN_TEST_fff_f): Likewise.
10769 (RUN_TEST_LOOP_fff_f): Likewise.
10770 (RUN_TEST_c_f): Likewise.
10771 (RUN_TEST_LOOP_c_f): Likewise.
10772 (RUN_TEST_f_f1): Likewise.
10773 (RUN_TEST_LOOP_f_f1): Likewise.
10774 (RUN_TEST_fF_f1): Likewise.
10775 (RUN_TEST_LOOP_fF_f1): Likewise.
10776 (RUN_TEST_fI_f1): Likewise.
10777 (RUN_TEST_LOOP_fI_f1): Likewise.
10778 (RUN_TEST_ffI_f1): Likewise.
10779 (RUN_TEST_LOOP_ffI_f1): Likewise.
10780 (RUN_TEST_c_c): Likewise.
10781 (RUN_TEST_LOOP_c_c): Likewise.
10782 (RUN_TEST_cc_c): Likewise.
10783 (RUN_TEST_LOOP_cc_c): Likewise.
10784 (RUN_TEST_f_i): Likewise.
10785 (RUN_TEST_LOOP_f_i): Likewise.
10786 (RUN_TEST_f_i_tg): Likewise.
10787 (RUN_TEST_LOOP_f_i_tg): Likewise.
10788 (RUN_TEST_ff_i_tg): Likewise.
10789 (RUN_TEST_LOOP_ff_i_tg): Likewise.
10790 (RUN_TEST_f_b): Likewise.
10791 (RUN_TEST_LOOP_f_b): Likewise.
10792 (RUN_TEST_f_b_tg): Likewise.
10793 (RUN_TEST_LOOP_f_b_tg): Likewise.
10794 (RUN_TEST_f_l): Likewise.
10795 (RUN_TEST_LOOP_f_l): Likewise.
10796 (RUN_TEST_f_L): Likewise.
10797 (RUN_TEST_LOOP_f_L): Likewise.
10798 (RUN_TEST_sincos): Likewise.
10799 (RUN_TEST_LOOP_sincos): Likewise.
10801 2013-05-17 Joseph Myers <joseph@codesourcery.com>
10805 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
10806 main case of finite arguments, set rounding mode to FE_TONEAREST
10807 and discard exceptions.
10808 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
10810 (remainder_tonearest_test_data): New variable.
10811 (remainder_test_tonearest): New function.
10812 (remainder_towardzero_test_data): New variable.
10813 (remainder_test_towardzero): New function.
10814 (remainder_downward_test_data): New variable.
10815 (remainder_test_downward): New function.
10816 (remainder_upward_test_data): New variable.
10817 (remainder_test_upward): New function.
10818 (main): Call the new test functions.
10820 * math/libm-test.inc (struct test_f_f1_data): Remove field
10822 (struct test_fF_f1_data): Likewise.
10823 (struct test_ffI_f1_data): Likewise.
10824 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
10825 based on value of EXTRA_EXPECTED.
10826 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
10827 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
10828 EXTRA_VAR based on value of EXTRA_EXPECTED.
10829 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
10830 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
10831 EXTRA_VAR based on value of EXTRA_EXPECTED.
10832 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
10833 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
10834 EXTRA_VAR based on value of EXTRA_EXPECTED.
10835 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
10836 * math/gen-libm-test.pl (parse_args): Don't output initializers
10837 for extra output values.
10839 * math/libm-test.inc (check_int): Expect result to be exactly
10840 equal to expected value and do not handle ulps.
10841 (check_long): Likewise.
10842 (check_longlong): Likewise.
10844 * math/libm-test.inc (ceil_test_data): Test for "inexact"
10846 (cimag_test_data): Likewise.
10847 (conj_test_data): Likewise.
10848 (copysign_test_data): Likewise.
10849 (cproj_test_data): Likewise.
10850 (creal_test_data): Likewise.
10851 (fabs_test_data): Likewise.
10852 (fdim_test_data): Likewise.
10853 (finite_test_data): Likewise.
10854 (floor_test_data): Likewise.
10855 (fmax_test_data): Likewise.
10856 (fmin_test_data): Likewise.
10857 (fmod_test_data): Likewise.
10858 (fpclassify_test_data): Likewise.
10859 (frexp_test_data): Likewise.
10860 (ilogb_test_data): Likewise.
10861 (isfinite_test_data): Likewise.
10862 (isgreater_test_data): Likewise.
10863 (isgreaterequal_test_data): Likewise.
10864 (isinf_test_data): Likewise.
10865 (isless_test_data): Likewise.
10866 (islessequal_test_data): Likewise.
10867 (islessgreater_test_data): Likewise.
10868 (isnan_test_data): Likewise.
10869 (isnormal_test_data): Likewise.
10870 (issignaling_test_data): Likewise.
10871 (isunordered_test_data): Likewise.
10872 (ldexp_test_data): Likewise.
10873 (lrint_test_data): Likewise.
10874 (lrint_test_data) [TEST_FLOAT]: Disable one test.
10875 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
10876 (lrint_tonearest_test_data): Test for "inexact" exceptions.
10877 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
10878 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
10879 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
10881 (lrint_towardzero_test_data): Test for "inexact" exceptions.
10882 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
10883 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
10884 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
10886 (lrint_downward_test_data): Test for "inexact" exceptions.
10887 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
10888 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
10889 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
10891 (lrint_upward_test_data): Test for "inexact" exceptions.
10892 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
10894 (llrint_test_data): Test for "inexact" exceptions.
10895 (llrint_test_data) [TEST_FLOAT]: Disable one test.
10896 (llrint_tonearest_test_data): Test for "inexact" exceptions.
10897 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
10898 (llrint_towardzero_test_data): Test for "inexact" exceptions.
10899 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
10900 (llrint_downward_test_data): Test for "inexact" exceptions.
10901 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
10902 (llrint_upward_test_data): Test for "inexact" exceptions.
10903 (logb_test_data): Likewise.
10904 (logb_downward_test_data): Likewise.
10905 (nextafter_test_data): Likewise.
10906 (nexttoward_test_data): Likewise.
10907 (remainder_test_data): Likewise.
10908 (remquo_test_data): Likewise.
10909 (scalbn_test_data): Likewise.
10910 (scalbln_test_data): Likewise.
10911 (signbit_test_data): Likewise.
10912 (sqrt_test_data): Likewise.
10913 (significand_test_data): Likewise.
10915 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
10918 * benchtests/bench-modf.c (struct args): Mark arg0 as
10920 * scripts/bench.pl: Mark members of struct args as volatile.
10922 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10925 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
10926 negative infinity on POWER6 or lower.
10927 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
10929 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
10932 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
10933 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
10934 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
10935 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
10936 (_FP_SETQNAN): New macro.
10937 (_FP_SETQNAN_SEMIRAW): Likewise.
10938 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
10939 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
10940 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
10941 (FP_EXTEND): Use _FP_FRAC_SNANP.
10942 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
10943 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
10945 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
10947 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
10950 2013-05-16 Joseph Myers <joseph@codesourcery.com>
10952 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
10953 with DIVIDE_BY_ZERO_EXCEPTION.
10954 (gamma_test_data): Likewise.
10955 (lgamma_test_data): Likewise.
10956 (log_test_data): Likewise.
10957 (log10_test_data): Likewise.
10958 (log2_test_data): Likewise.
10959 (tgamma_test_data): Likewise.
10961 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
10962 (acos_test_tonearest): Likewise.
10963 (acos_test_towardzero): Likewise.
10964 (acos_test_downward): Likewise.
10965 (acos_test_upward): Likewise.
10966 (acosh_test): Likewise.
10967 (asin_test): Likewise.
10968 (asin_test_tonearest): Likewise.
10969 (asin_test_towardzero): Likewise.
10970 (asin_test_downward): Likewise.
10971 (asin_test_upward): Likewise.
10972 (asinh_test): Likewise.
10973 (atan_test): Likewise.
10974 (atanh_test): Likewise.
10975 (atan2_test): Likewise.
10976 (cabs_test): Likewise.
10977 (cacos_test): Likewise.
10978 (cacosh_test): Likewise.
10979 (casin_test): Likewise.
10980 (casinh_test): Likewise.
10981 (catan_test): Likewise.
10982 (catanh_test): Likewise.
10983 (cbrt_test): Likewise.
10984 (ccos_test): Likewise.
10985 (ccosh_test): Likewise.
10986 (cexp_test): Likewise.
10987 (clog_test): Likewise.
10988 (clog10_test): Likewise.
10989 (cos_test): Likewise.
10990 (cos_test_tonearest): Likewise.
10991 (cos_test_towardzero): Likewise.
10992 (cos_test_downward): Likewise.
10993 (cos_test_upward): Likewise.
10994 (cosh_test): Likewise.
10995 (cosh_test_tonearest): Likewise.
10996 (cosh_test_towardzero): Likewise.
10997 (cosh_test_downward): Likewise.
10998 (cosh_test_upward): Likewise.
10999 (cpow_test): Likewise.
11000 (csin_test): Likewise.
11001 (csinh_test): Likewise.
11002 (csqrt_test): Likewise.
11003 (ctan_test): Likewise.
11004 (ctan_test_tonearest): Likewise.
11005 (ctan_test_towardzero): Likewise.
11006 (ctan_test_downward): Likewise.
11007 (ctan_test_upward): Likewise.
11008 (ctanh_test): Likewise.
11009 (ctanh_test_tonearest): Likewise.
11010 (ctanh_test_towardzero): Likewise.
11011 (ctanh_test_downward): Likewise.
11012 (ctanh_test_upward): Likewise.
11013 (erf_test): Likewise.
11014 (erfc_test): Likewise.
11015 (exp_test): Likewise.
11016 (exp_test_tonearest): Likewise.
11017 (exp_test_towardzero): Likewise.
11018 (exp_test_downward): Likewise.
11019 (exp_test_upward): Likewise.
11020 (exp10_test): Likewise.
11021 (exp2_test): Likewise.
11022 (expm1_test): Likewise.
11023 (fmod_test): Likewise.
11024 (gamma_test): Likewise.
11025 (hypot_test): Likewise.
11026 (j0_test): Likewise.
11027 (j1_test): Likewise.
11028 (jn_test): Likewise.
11029 (lgamma_test): Likewise.
11030 (log_test): Likewise.
11031 (log10_test): Likewise.
11032 (log1p_test): Likewise.
11033 (log2_test): Likewise.
11034 (logb_test_downward): Likewise.
11035 (pow_test): Likewise.
11036 (pow_test_tonearest): Likewise.
11037 (pow_test_towardzero): Likewise.
11038 (pow_test_downward): Likewise.
11039 (pow_test_upward): Likewise.
11040 (remainder_test): Likewise.
11041 (remquo_test): Likewise.
11042 (sin_test): Likewise.
11043 (sin_test_tonearest): Likewise.
11044 (sin_test_towardzero): Likewise.
11045 (sin_test_downward): Likewise.
11046 (sin_test_upward): Likewise.
11047 (sincos_test): Likewise.
11048 (sinh_test): Likewise.
11049 (sinh_test_tonearest): Likewise.
11050 (sinh_test_towardzero): Likewise.
11051 (sinh_test_downward): Likewise.
11052 (sinh_test_upward): Likewise.
11053 (sqrt_test): Likewise.
11054 (tan_test): Likewise.
11055 (tan_test_tonearest): Likewise.
11056 (tan_test_towardzero): Likewise.
11057 (tan_test_downward): Likewise.
11058 (tan_test_upward): Likewise.
11059 (tanh_test): Likewise.
11060 (tgamma_test): Likewise.
11061 (y0_test): Likewise.
11062 (y1_test): Likewise.
11063 (yn_test): Likewise.
11065 * math/gen-libm-test.pl (adjust_arg): Remove function.
11066 (special_function): Remove argument $in_func. Only handle
11067 generating output for tables of tests, not inside functions.
11068 (parse_args): Likewise.
11069 (generate_testfile): Remove variable $in_func. Update call to
11071 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
11072 (MINUS_ZERO_INIT): Rename macro to minus_zero.
11073 (PLUS_INFTY_INIT): Rename macro to plus_infty.
11074 (MINUS_INFTY_INIT): Rename macro to minus_infty.
11075 (QNAN_VALUE_INIT): Rename macro to qnan_value.
11076 (MAX_VALUE_INIT): Rename macro to max_value.
11077 (MIN_VALUE_INIT): Rename macro to min_value.
11078 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
11079 (plus_zero): Remove variable.
11080 (minus_zero): Likewise.
11081 (plus_infty): Likewise.
11082 (minus_infty): Likewise.
11083 (qnan_value): Likewise.
11084 (max_value): Likewise.
11085 (min_value): Likewise.
11086 (min_subnorm_value): Likewise.
11088 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11090 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
11091 uint64_t or uint32_t usage.
11092 * crypt/sha256-block.c: Likewise.
11093 * crypt/sha256-crypt.c: Likewise.
11094 * crypt/sha256.c: Likewise.
11095 * crypt/sha512-block.c: Likewise.
11096 * crypt/sha512-crypt.c: Likewise.
11097 * crypt/sha512.c: Likewise.
11098 * debug/backtrace-tst.c: Likewise.
11099 * debug/pcprofiledump.c: Likewise.
11100 * elf/cache.c: Likewise.
11101 * elf/dl-cache.c: Likewise.
11102 * elf/dl-misc.c: Likewise.
11103 * elf/dl-profile.c: Likewise.
11104 * elf/dl-support.c: Likewise.
11105 * elf/ldconfig.c: Likewise.
11106 * elf/sprof.c: Likewise.
11107 * iconv/dummy-repertoire.c: Likewise.
11108 * iconv/iconv_charmap.c: Likewise.
11109 * iconv/skeleton.c: Likewise.
11110 * iconvdata/8bit-generic.c: Likewise.
11111 * iconvdata/cp737.h: Likewise.
11112 * iconvdata/cp775.h: Likewise.
11113 * iconvdata/ibm1008.h: Likewise.
11114 * iconvdata/ibm1025.h: Likewise.
11115 * iconvdata/ibm1046.h: Likewise.
11116 * iconvdata/ibm1097.h: Likewise.
11117 * iconvdata/ibm1112.h: Likewise.
11118 * iconvdata/ibm1122.h: Likewise.
11119 * iconvdata/ibm1123.h: Likewise.
11120 * iconvdata/ibm1124.h: Likewise.
11121 * iconvdata/ibm1129.h: Likewise.
11122 * iconvdata/ibm1130.h: Likewise.
11123 * iconvdata/ibm1132.h: Likewise.
11124 * iconvdata/ibm1133.h: Likewise.
11125 * iconvdata/ibm1137.h: Likewise.
11126 * iconvdata/ibm1140.h: Likewise.
11127 * iconvdata/ibm1141.h: Likewise.
11128 * iconvdata/ibm1142.h: Likewise.
11129 * iconvdata/ibm1143.h: Likewise.
11130 * iconvdata/ibm1144.h: Likewise.
11131 * iconvdata/ibm1145.h: Likewise.
11132 * iconvdata/ibm1146.h: Likewise.
11133 * iconvdata/ibm1147.h: Likewise.
11134 * iconvdata/ibm1148.h: Likewise.
11135 * iconvdata/ibm1149.h: Likewise.
11136 * iconvdata/ibm1153.h: Likewise.
11137 * iconvdata/ibm1154.h: Likewise.
11138 * iconvdata/ibm1155.h: Likewise.
11139 * iconvdata/ibm1156.h: Likewise.
11140 * iconvdata/ibm1157.h: Likewise.
11141 * iconvdata/ibm1158.h: Likewise.
11142 * iconvdata/ibm1160.h: Likewise.
11143 * iconvdata/ibm1161.h: Likewise.
11144 * iconvdata/ibm1162.h: Likewise.
11145 * iconvdata/ibm1163.h: Likewise.
11146 * iconvdata/ibm1164.h: Likewise.
11147 * iconvdata/ibm1166.h: Likewise.
11148 * iconvdata/ibm1167.h: Likewise.
11149 * iconvdata/ibm12712.h: Likewise.
11150 * iconvdata/ibm1390.h: Likewise.
11151 * iconvdata/ibm1399.h: Likewise.
11152 * iconvdata/ibm16804.h: Likewise.
11153 * iconvdata/ibm4517.h: Likewise.
11154 * iconvdata/ibm4899.h: Likewise.
11155 * iconvdata/ibm4909.h: Likewise.
11156 * iconvdata/ibm4971.h: Likewise.
11157 * iconvdata/ibm5347.h: Likewise.
11158 * iconvdata/ibm803.h: Likewise.
11159 * iconvdata/ibm856.h: Likewise.
11160 * iconvdata/ibm901.h: Likewise.
11161 * iconvdata/ibm902.h: Likewise.
11162 * iconvdata/ibm9030.h: Likewise.
11163 * iconvdata/ibm9066.h: Likewise.
11164 * iconvdata/ibm921.h: Likewise.
11165 * iconvdata/ibm922.h: Likewise.
11166 * iconvdata/ibm9448.h: Likewise.
11167 * iconvdata/isiri-3342.h: Likewise.
11168 * iconvdata/jis0201.h: Likewise.
11169 * include/link.h: Likewise.
11170 * include/netdb.h: Likewise.
11171 * inet/check_native.c: Likewise.
11172 * inet/check_pf.c: Likewise.
11173 * inet/getipv4sourcefilter.c: Likewise.
11174 * inet/getnameinfo.c: Likewise.
11175 * inet/getsourcefilter.c: Likewise.
11176 * inet/htonl.c: Likewise.
11177 * inet/setipv4sourcefilter.c: Likewise.
11178 * inet/setsourcefilter.c: Likewise.
11179 * inet/test-inet6_opt.c: Likewise.
11180 * inet/tst-network.c: Likewise.
11181 * locale/C-collate.c: Likewise.
11182 * locale/C-ctype.c: Likewise.
11183 * locale/C-time.c: Likewise.
11184 * locale/C-translit.h: Likewise.
11185 * locale/loadarchive.c: Likewise.
11186 * locale/programs/3level.h: Likewise.
11187 * locale/programs/charmap.c: Likewise.
11188 * locale/programs/charmap.h: Likewise.
11189 * locale/programs/ld-address.c: Likewise.
11190 * locale/programs/ld-collate.c: Likewise.
11191 * locale/programs/ld-ctype.c: Likewise.
11192 * locale/programs/ld-identification.c: Likewise.
11193 * locale/programs/ld-measurement.c: Likewise.
11194 * locale/programs/ld-messages.c: Likewise.
11195 * locale/programs/ld-monetary.c: Likewise.
11196 * locale/programs/ld-name.c: Likewise.
11197 * locale/programs/ld-numeric.c: Likewise.
11198 * locale/programs/ld-paper.c: Likewise.
11199 * locale/programs/ld-telephone.c: Likewise.
11200 * locale/programs/ld-time.c: Likewise.
11201 * locale/programs/linereader.c: Likewise.
11202 * locale/programs/locale.c: Likewise.
11203 * locale/programs/locarchive.c: Likewise.
11204 * locale/programs/locfile.h: Likewise.
11205 * locale/programs/repertoire.c: Likewise.
11206 * locale/programs/simple-hash.c: Likewise.
11207 * locale/programs/simple-hash.h: Likewise.
11208 * malloc/memusage.c: Likewise.
11209 * malloc/memusagestat.c: Likewise.
11210 * nis/nis_defaults.c: Likewise.
11211 * nis/nis_hash.c: Likewise.
11212 * nis/nis_print.c: Likewise.
11213 * nis/nis_xdr.c: Likewise.
11214 * nscd/connections.c: Likewise.
11215 * nscd/hstcache.c: Likewise.
11216 * nscd/nscd_gethst_r.c: Likewise.
11217 * nscd/nscd_getserv_r.c: Likewise.
11218 * nscd/nscd_helper.c: Likewise.
11219 * nscd/servicescache.c: Likewise.
11220 * nss/makedb.c: Likewise.
11221 * nss/nss_db/db-XXX.c: Likewise.
11222 * nss/nss_db/db-initgroups.c: Likewise.
11223 * nss/nss_db/db-netgrp.c: Likewise.
11224 * nss/nss_files/files-network.c: Likewise.
11225 * nss/nss_files/files-parse.c: Likewise.
11226 * posix/bug-regex5.c: Likewise.
11227 * posix/fnmatch_loop.c: Likewise.
11228 * posix/regcomp.c: Likewise.
11229 * posix/regexec.c: Likewise.
11230 * posix/tst-rfc3484-2.c: Likewise.
11231 * posix/tst-rfc3484-3.c: Likewise.
11232 * posix/tst-rfc3484.c: Likewise.
11233 * resolv/nss_dns/dns-canon.c: Likewise.
11234 * resolv/nss_dns/dns-network.c: Likewise.
11235 * resolv/res_init.c: Likewise.
11236 * resolv/res_mkquery.c: Likewise.
11237 * resolv/tst-aton.c: Likewise.
11238 * stdlib/cxa_atexit.c: Likewise.
11239 * stdlib/cxa_finalize.c: Likewise.
11240 * stdlib/gen-fpioconst.c: Likewise.
11241 * stdlib/strtol_l.c: Likewise.
11242 * string/tst-endian.c: Likewise.
11243 * sunrpc/auth_des.c: Likewise.
11244 * sunrpc/clnt_udp.c: Likewise.
11245 * sunrpc/rtime.c: Likewise.
11246 * sunrpc/svcauth_des.c: Likewise.
11247 * sunrpc/xdr.c: Likewise.
11248 * sunrpc/xdr_intXX_t.c: Likewise.
11249 * sunrpc/xdr_rec.c: Likewise.
11250 * sysdeps/generic/ldconfig.h: Likewise.
11251 * sysdeps/generic/ldsodefs.h: Likewise.
11252 * sysdeps/generic/memusage.h: Likewise.
11253 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
11254 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
11255 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
11256 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
11257 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
11258 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
11259 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
11260 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
11261 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
11262 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
11263 * sysdeps/posix/getaddrinfo.c: Likewise.
11264 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
11265 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
11266 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
11267 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
11268 * sysdeps/powerpc/test-gettimebase.c: Likewise.
11269 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
11270 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
11271 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
11272 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
11273 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
11274 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
11275 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
11276 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
11277 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
11278 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
11279 * sysdeps/x86_64/dl-tls.h: Likewise.
11280 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
11281 * time/alt_digit.c: Likewise.
11282 * time/era.c: Likewise.
11283 * wcsmbs/tst-c16c32-1.c: Likewise.
11285 2013-05-16 Joseph Myers <joseph@codesourcery.com>
11287 * math/libm-test.inc (struct test_sincos_data): New type.
11288 (RUN_TEST_LOOP_sincos): New macro.
11289 (sincos_test_data): New variable.
11290 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
11292 2013-05-16 Richard Henderson <rth@redhat.com>
11294 * math/atest-exp2.c (LIMB64): New macro.
11295 (CONSTSZ): New macro.
11296 (mp_exp1, mp_exp_m1, mp_log2): New variables.
11298 (print_mpn_fp): ... to function scope.
11299 (read_mpn_hex): Remove.
11300 (get_log2): Remove.
11301 (exp2_mpn): Use mp_log2.
11302 (main): Use mp_exp1.
11304 2013-05-16 Joseph Myers <joseph@codesourcery.com>
11306 * math/libm-test.inc: Remove comment about not testing "inexact"
11308 (INEXACT_EXCEPTION): New macro.
11309 (NO_INEXACT_EXCEPTION): Likewise.
11310 (INVALID_EXCEPTION_OK): Update value.
11311 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
11312 (OVERFLOW_EXCEPTION_OK): Likewise.
11313 (UNDERFLOW_EXCEPTION_OK): Likewise.
11314 (IGNORE_ZERO_INF_SIGN): Likewise.
11315 (ERRNO_UNCHANGED): Likewise.
11316 (ERRNO_EDOM): Likewise.
11317 (ERRNO_ERANGE): Likewise.
11318 (test_exceptions): Handle testing "inexact" exceptions.
11319 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
11320 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
11321 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
11322 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
11324 (rint_towardzero_test_data): Likewise.
11325 (rint_downward_test_data): Likewise.
11326 (rint_upward_test_data): Likewise.
11328 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
11329 with OVERFLOW_EXCEPTION.
11330 (exp10_test_data): Likewise.
11331 (exp2_test_data): Likewise.
11332 (expm1_test_data): Likewise.
11333 (lgamma_test_data): Likewise.
11334 (pow_test_data): Likewise.
11335 (tgamma_test_data): Likewise.
11336 (yn_test_data): Remove duplicate test of overflow.
11338 * math/libm-test.inc (struct test_cc_c_data): New type.
11339 (RUN_TEST_LOOP_cc_c): New macro.
11340 (cpow_test_data): New variable.
11341 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
11343 * math/libm-test.inc (struct test_f_L_data): New type.
11344 (RUN_TEST_LOOP_f_L): New macro.
11345 (llrint_test_data): New variable.
11346 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
11347 (llrint_tonearest_test_data): New variable.
11348 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
11349 (llrint_towardzero_test_data): New variable.
11350 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
11351 (llrint_downward_test_data): New variable.
11352 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
11353 (llrint_upward_test_data): New variable.
11354 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
11355 (llround_test_data): New variable.
11356 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
11358 2013-05-13 Peter Collingbourne <pcc@google.com>
11360 * math/atest-exp2.c (get_log2): Remove const attribute.
11362 2013-05-15 Joseph Myers <joseph@codesourcery.com>
11364 * math/libm-test.inc (struct test_f_l_data): New type.
11365 (RUN_TEST_LOOP_f_l): New macro.
11366 (lrint_test_data): New variable.
11367 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
11368 (lrint_tonearest_test_data): New variable.
11369 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
11370 (lrint_towardzero_test_data): New variable.
11371 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
11372 (lrint_downward_test_data): New variable.
11373 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
11374 (lrint_upward_test_data): New variable.
11375 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
11376 (lround_test_data): New variable.
11377 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
11379 2013-05-15 Peter Collingbourne <pcc@google.com>
11381 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
11382 (EXTRACT_WORDS64) Use where appropriate.
11383 (INSERT_WORDS64) Likewise.
11385 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
11386 constraints with x constraints.
11387 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
11389 * malloc/obstack.c (_obstack_compat): Add initializer.
11391 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
11393 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
11394 si_trapno and add si_addr_lsb to _sifields.sigfault.
11395 (si_trapno): Remove macro.
11396 (si_addr_lsb): Define new macro.
11397 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
11399 2013-05-15 Joseph Myers <joseph@codesourcery.com>
11401 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
11402 instead of TEST_f_l.
11403 (llrint_test_tonearest): Likewise.
11404 (llrint_test_towardzero): Likewise.
11405 (llrint_test_downward): Likewise.
11406 (llrint_test_upward): Likewise.
11407 (llround_test): Likewise.
11409 * math/libm-test.inc (struct test_f_i_data): Add comment.
11410 (RUN_TEST_LOOP_f_b): New macro.
11411 (RUN_TEST_LOOP_f_b_tg): Likewise.
11412 (finite_test_data): New variable.
11413 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
11414 (isfinite_test_data): New variable.
11415 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
11416 (isinf_test_data): New variable.
11417 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
11418 (isnan_test_data): New variable.
11419 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
11420 (isnormal_test_data): New variable.
11421 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
11422 (issignaling_test_data): New variable.
11423 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
11424 (signbit_test_data): New variable.
11425 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
11427 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
11428 with INVALID_EXCEPTION.
11429 (acosh_test_data): Likewise.
11430 (asin_test_data): Likewise.
11431 (atanh_test_data): Likewise.
11432 (fmod_test_data): Likewise.
11433 (log_test_data): Likewise.
11434 (log10_test_data): Likewise.
11435 (log2_test_data): Likewise.
11436 (pow_test_data): Likewise.
11437 (sqrt_test_data): Likewise.
11438 (y0_test_data): Likewise.
11439 (y1_test_data): Likewise.
11440 (yn_test_data): Likewise.
11442 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
11445 * math/libm-test.inc (struct test_ff_i_data): New type.
11446 (RUN_TEST_LOOP_ff_i_tg): New macro.
11447 (isgreater_test_data): New variable.
11448 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
11449 (isgreaterequal_test_data): New variable.
11450 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
11451 (isless_test_data): New variable.
11452 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
11453 (islessequal_test_data): New variable.
11454 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
11455 (islessgreater_test_data): New variable.
11456 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
11457 (isunordered_test_data): New variable.
11458 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
11460 2013-05-14 David S. Miller <davem@davemloft.net>
11462 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11464 2013-05-14 Joseph Myers <joseph@codesourcery.com>
11466 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
11468 * math/libm-test.inc (struct test_fF_f1_data): Change type of
11470 (struct test_f_i_data): Change type of max_ulp to int.
11472 * math/libm-test.inc (test_ffI_f1_data): New type.
11473 (RUN_TEST_LOOP_ffI_f1): New macro.
11474 (remquo_test_data): New variable.
11475 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
11477 * setjmp/tst-setjmp-fp.c: New file.
11478 * setjmp/Makefile (tests): Add tst-setjmp-fp.
11479 (link-libm): New variable.
11480 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
11482 * math/libm-test.inc (struct test_f_i_data): New type.
11483 (RUN_TEST_LOOP_f_i): New macro.
11484 (RUN_TEST_LOOP_f_i_tg): Likewise.
11485 (fpclassify_test_data): New variable.
11486 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
11487 (ilogb_test_data): New variable.
11488 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
11490 * math/libm-test.inc (scalbln_test): Correct function name in END
11493 * math/libm-test.inc (struct test_f_f1_data): Add comment.
11494 (RUN_TEST_LOOP_fI_f1): New macro.
11495 (frexp_test_data): New variable.
11496 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
11498 * math/libm-test.inc (struct test_fF_f1_data): New type.
11499 (RUN_TEST_LOOP_fF_f1): New macro.
11500 (modf_test_data): New variable.
11501 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
11503 * math/libm-test.inc (struct test_f_f1_data): New type.
11504 (RUN_TEST_LOOP_f_f1): New macro.
11505 (gamma_test_data): New variable.
11506 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
11507 (lgamma_test_data): New variable.
11508 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
11510 2013-05-13 Carlos O'Donell <carlos@redhat.com>
11512 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
11513 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
11514 (main): Comment "tls" pseudo-hwcap.
11516 2013-05-13 Joseph Myers <joseph@codesourcery.com>
11518 * math/libm-test.inc (struct test_fl_f_data): New type.
11519 (RUN_TEST_LOOP_fl_f): New variable.
11520 (scalbln_test_data): New variable.
11521 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
11523 * math/libm-test.inc (struct test_fi_f_data): New type.
11524 (RUN_TEST_LOOP_fi_f): New macro.
11525 (ldexp_test_data): New variable.
11526 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
11527 (scalbn_test_data): New variable.
11528 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
11530 * math/libm-test.inc (struct test_c_f_data): New type.
11531 (RUN_TEST_LOOP_c_f): New macro.
11532 (cabs_test_data): New variable.
11533 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
11534 (carg_test_data): New variable.
11535 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
11536 (cimag_test_data): New variable.
11537 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
11538 (creal_test_data): New variable.
11539 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
11541 * math/libm-test.inc (struct test_if_f_data): New type.
11542 (RUN_TEST_LOOP_if_f): New macro.
11543 (jn_test_data): New variable.
11544 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
11545 (yn_test_data): New variable.
11546 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
11548 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
11550 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11552 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
11553 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
11555 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
11557 * benchtests/Makefile (CPPFLAGS-nonlib): Add
11558 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
11559 (bench-deps): Add bench-timing.h.
11560 * benchtests-bench-skeleton.c: Include bench-timing.h.
11561 (main): Use TIMING_* macros instead of clock_gettime.
11562 * benchtests/bench-timing.h: New file.
11565 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
11566 Renamed from _LIB_VERSION.
11567 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
11569 2013-05-12 Joseph Myers <joseph@codesourcery.com>
11571 * math/libm-test.inc (struct test_fff_f_data): New type.
11572 (RUN_TEST_LOOP_fff_f): New macro.
11573 (fma_test_data): New variable.
11574 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
11575 (fma_towardzero_test_data): New variable.
11576 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
11577 (fma_downward_test_data): New variable.
11578 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
11579 (fma_upward_test_data): New variable.
11580 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
11582 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
11583 (struct test_c_c_data): New type.
11584 (RUN_TEST_LOOP_c_c): New macro.
11585 (cacos_test_data): New variable.
11586 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
11587 (cacosh_test_data): New variable.
11588 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
11589 (casin_test_data): New variable.
11590 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
11591 (casinh_test_data): New variable.
11592 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
11593 (catan_test_data): New variable.
11594 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
11595 (catanh_test_data): New variable.
11596 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
11597 (ccos_test_data): New variable.
11598 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
11599 (ccosh_test_data): New variable.
11600 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
11601 (cexp_test_data): New variable.
11602 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
11603 (clog_test_data): New variable.
11604 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
11605 (clog10_test_data): New variable.
11606 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
11607 (conj_test_data): New variable.
11608 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
11609 (cproj_test_data): New variable.
11610 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
11611 (csin_test_data): New variable.
11612 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
11613 (csinh_test_data): New variable.
11614 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
11615 (csqrt_test_data): New variable.
11616 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
11617 (ctan_test_data): New variable.
11618 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
11619 (ctan_tonearest_test_data): New variable.
11620 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
11621 (ctan_towardzero_test_data): New variable.
11622 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
11623 (ctan_downward_test_data): New variable.
11624 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
11625 (ctan_upward_test_data): New variable.
11626 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
11627 (ctanh_test_data): New variable.
11628 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
11629 (ctanh_tonearest_test_data): New variable.
11630 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
11631 (ctanh_towardzero_test_data): New variable.
11632 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
11633 (ctanh_downward_test_data): New variable.
11634 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
11635 (ctanh_upward_test_data): New variable.
11636 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
11637 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
11640 * math/libm-test.inc (struct test_ff_f_data): New type.
11641 (struct test_ff_f_data_nexttoward): Likewise.
11642 (RUN_TEST_LOOP_2_f): New macro.
11643 (RUN_TEST_LOOP_ff_f): Likewise.
11644 (atan2_test_data): New variable.
11645 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
11646 (copysign_test_data): New variable.
11647 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
11648 (fdim_test_data): New variable.
11649 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
11650 (fmax_test_data): New variable.
11651 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
11652 (fmin_test_data): New variable.
11653 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
11654 (fmod_test_data): New variable.
11655 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
11656 (hypot_test_data): New variable.
11657 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
11658 (nextafter_test_data): New variable.
11659 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
11660 (nexttoward_test_data): New variable.
11661 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
11662 (pow_test_data): New variable.
11663 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
11664 (pow_tonearest_test_data): New variable.
11665 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
11666 (pow_towardzero_test_data): New variable.
11667 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
11668 (pow_downward_test_data): New variable.
11669 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
11670 (pow_upward_test_data): New variable.
11671 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
11672 (remainder_test_data): New variable.
11673 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
11674 (scalb_test_data): New variable.
11675 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
11676 * sysdeps/i386/fpu/libm-test-ulps: Update.
11678 2013-05-11 Joseph Myers <joseph@codesourcery.com>
11680 * math/libm-test.inc (fma_test): Use max_value instead of local
11682 (nextafter_test): Likewise.
11684 * math/libm-test.inc (acos_towardzero_test_data): New variable.
11685 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
11686 (acos_downward_test_data): New variable.
11687 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11688 (acos_upward_test_data): New variable.
11689 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
11690 (acosh_test_data): New variable.
11691 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
11692 (asin_test_data): New variable.
11693 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
11694 (asin_tonearest_test_data): New variable.
11695 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
11696 (asin_towardzero_test_data): New variable.
11697 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
11698 (asin_downward_test_data): New variable.
11699 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11700 (asin_upward_test_data): New variable.
11701 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
11702 (asinh_test_data): New variable.
11703 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
11704 (atan_test_data): New variable.
11705 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
11706 (atanh_test_data): New variable.
11707 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
11708 (cbrt_test_data): New variable.
11709 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
11710 (ceil_test_data): New variable.
11711 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
11712 (cos_test_data): New variable.
11713 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
11714 (cos_tonearest_test_data): New variable.
11715 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
11716 (cos_towardzero_test_data): New variable.
11717 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
11718 (cos_downward_test_data): New variable.
11719 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11720 (cos_upward_test_data): New variable.
11721 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
11722 (cosh_test_data): New variable.
11723 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
11724 (cosh_tonearest_test_data): New variable.
11725 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
11726 (cosh_towardzero_test_data): New variable.
11727 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
11728 (cosh_downward_test_data): New variable.
11729 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11730 (cosh_upward_test_data): New variable.
11731 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
11732 (erf_test_data): New variable.
11733 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
11734 (erfc_test_data): New variable.
11735 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
11736 (exp_test_data): New variable.
11737 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
11738 (exp_tonearest_test_data): New variable.
11739 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
11740 (exp_towardzero_test_data): New variable.
11741 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
11742 (exp_downward_test_data): New variable.
11743 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11744 (exp_upward_test_data): New variable.
11745 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
11746 (exp10_test_data): New variable.
11747 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
11748 (exp2_test_data): New variable.
11749 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
11750 (expm1_test_data): New variable.
11751 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
11752 (fabs_test_data): New variable.
11753 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
11754 (floor_test_data): New variable.
11755 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
11756 (j0_test_data): New variable.
11757 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
11758 (j1_test_data): New variable.
11759 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
11760 (log_test_data): New variable.
11761 (log_test): Run tests with RUN_TEST_LOOP_f_f.
11762 (log10_test_data): New variable.
11763 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
11764 (log1p_test_data): New variable.
11765 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
11766 (log2_test_data): New variable.
11767 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
11768 (logb_test_data): New variable.
11769 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
11770 (logb_downward_test_data): New variable.
11771 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11772 (nearbyint_test_data): New variable.
11773 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
11774 (rint_test_data): New variable.
11775 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
11776 (rint_tonearest_test_data): New variable.
11777 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
11778 (rint_towardzero_test_data): New variable.
11779 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
11780 (rint_downward_test_data): New variable.
11781 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11782 (rint_upward_test_data): New variable.
11783 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
11784 (round_test_data): New variable.
11785 (round_test): Run tests with RUN_TEST_LOOP_f_f.
11786 (sin_test_data): New variable.
11787 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
11788 (sin_tonearest_test_data): New variable.
11789 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
11790 (sin_towardzero_test_data): New variable.
11791 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
11792 (sin_downward_test_data): New variable.
11793 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11794 (sin_upward_test_data): New variable.
11795 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
11796 (sinh_test_data): New variable.
11797 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
11798 (sinh_tonearest_test_data): New variable.
11799 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
11800 (sinh_towardzero_test_data): New variable.
11801 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
11802 (sinh_downward_test_data): New variable.
11803 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11804 (sinh_upward_test_data): New variable.
11805 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
11806 (sqrt_test_data): New variable.
11807 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
11808 (tan_test_data): New variable.
11809 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
11810 (tan_tonearest_test_data): New variable.
11811 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
11812 (tan_towardzero_test_data): New variable.
11813 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
11814 (tan_downward_test_data): New variable.
11815 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11816 (tan_upward_test_data): New variable.
11817 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
11818 (tanh_test_data): New variable.
11819 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
11820 (tgamma_test_data): New variable.
11821 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
11822 (trunc_test_data): New variable.
11823 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
11824 (y0_test_data): New variable.
11825 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
11826 (y1_test_data): New variable.
11827 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
11828 (significand_test_data): New variable.
11829 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
11831 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
11834 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
11836 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
11838 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
11840 2013-05-10 Andreas Jaeger <aj@suse.de>
11843 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
11844 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
11846 2013-05-10 Joseph Myers <joseph@codesourcery.com>
11848 * math/gen-libm-test.pl (adjust_arg): New function.
11849 (special_functions): Handle generating output in both functions
11851 (parse_args): Likewise.
11852 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
11853 $in_func argument to parse_args.
11854 * math/libm-test.inc (struct test_f_f_data): New type.
11855 (IF_ROUND_INIT_): New macro.
11856 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
11857 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
11858 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
11859 (IF_ROUND_INIT_FE_UPWARD): Likewise.
11860 (ROUND_RESTORE_): Likewise.
11861 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
11862 (ROUND_RESTORE_FE_TONEAREST): Likewise.
11863 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
11864 (ROUND_RESTORE_FE_UPWARD): Likewise.
11865 (RUN_TEST_LOOP_f_f): New macro.
11866 (acos_test_data): New variable.
11867 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
11868 (acos_tonearest_test_data): New variable.
11869 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
11871 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
11873 * benchtests/bench-skeleton.c (startup): Fix coding style.
11875 2013-05-10 Joseph Myers <joseph@codesourcery.com>
11878 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
11879 negative infinity argument.
11880 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
11881 negative infinity argument.
11882 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
11883 negative infinity argument.
11884 * math/libm-test.inc (tgamma_test): Expect errno to be set for
11887 2013-05-10 Florian Weimer <fweimer@redhat.com>
11889 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
11890 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
11891 * iconv/iconv_prog.c (main): Likewise.
11892 * locale/programs/charmap-dir.c (charmap_readdir)
11893 (fopen_uncompressed): Likewise.
11894 * locale/programs/locfile.c (siblings_uncached)
11895 (write_locale_data): Use lstat64 instead of lstat.
11896 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
11899 2013-05-10 Andreas Jaeger <aj@suse.de>
11902 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
11904 Include <locale.h>.
11906 2013-05-09 Carlos O'Donell <carlos@redhat.com>
11908 * elf/dl-close.c (_dl_close_worker): Add comments.
11910 2013-05-09 Joseph Myers <joseph@codesourcery.com>
11913 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
11915 (__ieee754_rem_pio2l): Update comments.
11918 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
11920 (__ieee754_rem_pio2l): Update comments.
11922 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
11923 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
11925 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
11928 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
11929 (M_PI_34_LOG10El): Likewise.
11930 (M_PI2_LOG10El): Likewise.
11931 (M_PI4_LOG10El): Likewise.
11932 (M_PI_LOG10El): Likewise.
11934 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11936 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11938 2013-05-08 Joseph Myers <joseph@codesourcery.com>
11940 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
11941 (MINUS_ZERO_INIT): Likewise.
11942 (PLUS_INFTY_INIT): Likewise.
11943 (MINUS_INFTY_INIT): Likewise.
11944 (QNAN_VALUE_INIT): Likewise.
11945 (MAX_VALUE_INIT): Likewise.
11946 (MIN_VALUE_INIT): Likewise.
11947 (MIN_SUBNORM_VALUE_INIT): Likewise.
11948 (plus_zero): Initialize with PLUS_ZERO_INIT.
11949 (minus_zero): Initialize with MINUS_ZERO_INIT.
11950 (plus_infty): Initialize with PLUS_INFTY_INIT.
11951 (minus_infty): Initialize with MINUS_INFTY_INIT.
11952 (qnan_value): Initialize with QNAN_VALUE_INIT.
11953 (max_value): Initialize with MAX_VALUE_INIT.
11954 (min_value): Initialize with MIN_VALUE_INIT.
11955 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
11957 * math/libm-test.inc (RUN_TEST_if_f): New macro.
11958 (jn_test): Use TEST_if_f instead of TEST_ff_f.
11959 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
11960 (yn_test): Use TEST_if_f instead of TEST_ff_f.
11962 * math/libm-test.inc (RUN_TEST_f_f): New macro.
11963 (RUN_TEST_2_f): Likewise.
11964 (RUN_TEST_ff_f): Likewise.
11965 (RUN_TEST_fi_f): Likewise.
11966 (RUN_TEST_fl_f): Likewise.
11967 (RUN_TEST_fff_f): Likewise.
11968 (RUN_TEST_c_f): Likewise.
11969 (RUN_TEST_f_f1): Likewise.
11970 (RUN_TEST_fF_f1): Likewise.
11971 (RUN_TEST_fI_f1): Likewise.
11972 (RUN_TEST_ffI_f1): Likewise.
11973 (RUN_TEST_c_c): Likewise.
11974 (RUN_TEST_cc_c): Likewise.
11975 (RUN_TEST_f_i): Likewise.
11976 (RUN_TEST_f_i_tg): Likewise.
11977 (RUN_TEST_ff_i_tg): Likewise.
11978 (RUN_TEST_f_b): Likewise.
11979 (RUN_TEST_f_b_tg): Likewise.
11980 (RUN_TEST_f_l): Likewise.
11981 (RUN_TEST_f_L): Likewise.
11982 (RUN_TEST_sincos): Likewise.
11983 * math/gen-libm-test.pl (new_test): Take new argument to indicate
11984 whether to show exceptions. Do not include ");\n" in return
11986 (special_functions): Output call to RUN_TEST_sincos instead of
11987 check_float calls. Update calls to new_test.
11988 (parse_args): Output call to single RUN_TEST_* macro instead of
11989 check_* calls and other assignments. Update calls to new_test.
11995 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
11996 input to result for tgamma overflow.
11997 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
11998 (gamma_coeff): New variable.
11999 (NCOEFF): New macro.
12000 (gamma_positive): New function.
12001 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
12002 underflow here. Use gamma_positive instead of exp (lgamma) for
12004 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
12005 (gamma_coeff): New variable.
12006 (NCOEFF): New macro.
12007 (gammaf_positive): New function.
12008 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
12009 underflow here. Use gamma_positive instead of exp (lgamma) for
12011 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
12012 (gamma_coeff): New variable.
12013 (NCOEFF): New macro.
12014 (gammal_positive): New function.
12015 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
12016 underflow here. Use gamma_positive instead of exp (lgamma) for
12018 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
12019 (gamma_coeff): New variable.
12020 (NCOEFF): New macro.
12021 (gammal_positive): New function.
12022 (__ieee754_gammal_r): Handle positive infinity, overflow and
12023 underflow here. Handle NaN the same as positive infinity. Remove
12024 check x < 0xffffffff for negative integers. Use gamma_positive
12025 instead of exp (lgamma) for other arguments.
12026 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
12027 (gamma_coeff): New variable.
12028 (NCOEFF): New macro.
12029 (gammal_positive): New function.
12030 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
12031 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
12032 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
12033 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
12034 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
12035 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
12036 * sysdeps/generic/math_private.h (__gamma_productf): New
12038 (__gamma_product): Likewise.
12039 (__gamma_productl): Likewise.
12040 * math/Makefile (libm-calls): Add gamma_product.
12041 * math/libm-test.inc (tgamma_test): Add more tests.
12042 * sysdeps/i386/fpu/libm-test-ulps: Update.
12043 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12045 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
12047 * benchtests/bench-skeleton.c (main): Preheat CPU.
12049 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
12051 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
12053 2013-05-07 Roland McGrath <roland@hack.frob.com>
12055 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
12056 and _dl_skip_args_internal.
12058 2013-05-07 Carlos O'Donell <carlos@redhat.com>
12060 * manual/message.texi (Message Translation): Talk about users.
12061 Message to key mapping impacts design.
12063 2013-05-06 Roland McGrath <roland@hack.frob.com>
12065 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
12067 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
12069 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
12070 * sysdeps/wordsize-64/glob64.c: ... here.
12072 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
12073 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
12076 * debug/getlogin_r_chk.c: Moved to ...
12077 * login/getlogin_r_chk.c: ... here.
12078 * debug/Makefile (routines): Move getlogin_r_chk to ...
12079 * login/Makefile (routines): ... here.
12080 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
12081 * login/Versions (libc: GLIBC_2.4): ... here.
12083 * io/poll.c (__poll): Renamed from poll.
12084 Add libc_hidden_def.
12085 (poll): Define as weak alias.
12087 * debug/ptsname_r_chk.c: Moved to ...
12088 * login/ptsname_r_chk.c: ... here.
12089 * debug/Makefile (routines): Move ptsname_r_chk to ...
12090 * login/Makefile (routines): ... here.
12091 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
12092 * login/Versions (libc: GLIBC_2.4): ... here.
12094 * posix/getlogin.c: Moved to ...
12095 * login/getlogin.c: ... here.
12096 * posix/getlogin_r.c: Moved to ...
12097 * login/getlogin_r.c: ... here.
12098 * posix/getlogin_r.c: Moved to ...
12099 * login/getlogin_r.c: ... here.
12100 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
12101 * login/Makefile (routines): ... here.
12102 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
12103 * login/Versions (libc: GLIBC_2.0): ... here.
12105 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
12106 (setrlimit): Define as weak alias.
12108 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
12109 Call __ names for open, ftruncate, and close.
12110 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
12111 (truncate): Define as weak alias.
12113 2013-05-06 Joseph Myers <joseph@codesourcery.com>
12115 * math/gen-libm-test.pl (parse_args): Initialize x before each
12116 test of frexp, modf and remquo.
12118 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
12119 test signgam value.
12121 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12125 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
12127 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
12129 2013-05-06 Roland McGrath <roland@hack.frob.com>
12131 * elf/dl-writev.h: New file.
12132 * elf/dl-misc.c: Include it.
12133 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
12134 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
12136 2013-05-04 Joseph Myers <joseph@codesourcery.com>
12138 * math/libm-test.inc (noXFails): Remove variable.
12139 (noXPasses): Likewise.
12140 (BUILD_COMPLEX_INT): Remove macro.
12141 (print_screen): Remove xfail argument.
12142 (print_screen_max_error): Likewise.
12143 (update_stats): Likewise.
12144 (print_max_error): Likewise. Update calls to other affected
12146 (print_complex_max_error): Likewise.
12147 (test_single_exception): Update calls to print_screen.
12148 (test_single_errno): Likewise.
12149 (check_float_internal): Remove xfail argument. Update calls to
12150 other affected functions.
12151 (check_float): Likewise.
12152 (check_complex): Likewise.
12153 (check_int): Likewise.
12154 (check_long): Likewise.
12155 (check_bool): Likewise.
12156 (check_longlong): Likewise.
12157 (main): Don't print noXFails and noXPasses.
12158 * math/gen-libm-test.pl (top level): Don't mention expected
12159 failure handling in comment.
12160 (new_test): Don't handle expected failures.
12161 (parse_args): Don't mention expected failure handling in comment.
12162 (generate_testfile): Don't handle expected failures.
12163 (parse_ulps): Likewise.
12164 (print_ulps_file): Likewise.
12165 (get_failure): Remove function.
12166 (output_test): Don't handle expected failures.
12167 * make/README.libm-test: Don't mention expected failure handling.
12169 * math/libm-test.inc (plus_zero): Make const. Add initializer.
12170 (minus_zero): Likewise.
12171 (plus_infty): Likewise.
12172 (minus_infty): Likewise.
12173 (qnan_value): Likewise.
12174 (max_value): Likewise.
12175 (min_value): Likewise.
12176 (min_subnorm_value): Likewise.
12177 (initialize): Do not initialize those variables dynamically.
12179 2013-05-03 Roland McGrath <roland@hack.frob.com>
12181 * io/open.c (__open_2): Moved to ...
12182 * io/open_2.c: ... this new file.
12183 * io/open64.c (__open64_2): Moved to ...
12184 * io/open64_2.c: ... this new file.
12185 * io/openat.c (__openat_2): Moved to ...
12186 * io/openat_2.c: ... this new file.
12187 * io/openat64.c (__openat64_2): Moved to ...
12188 * io/openat64_2.c: ... this new file.
12189 * io/Makefile (routines): Add them.
12190 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
12191 * sysdeps/unix/sysv/linux/open_2.c: File removed.
12192 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
12193 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
12194 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
12195 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
12196 (__openat64): Add hidden_ver.
12197 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
12198 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
12200 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
12201 Separately conditionalize setting of GLRO(dl_sysinfo) so
12202 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
12203 as well, but the actual setting is only under [NEED_DL_SYSINFO].
12205 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12207 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
12208 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
12210 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
12211 * sysdeps/unix/sysv/linux/powerpc/init-first.c
12212 (_libc_vdso_platform_setup): Add __vdso_time initialization.
12213 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
12214 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
12216 2013-05-03 Joseph Myers <joseph@codesourcery.com>
12218 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
12219 test signgam value.
12221 * math/libm-test.inc (hypot_test): Do not use
12222 IGNORE_ZERO_INF_SIGN.
12224 2013-05-03 Andreas Jaeger <aj@suse.de>
12226 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
12228 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
12229 (PF_MAX): Adjust for VSOCK change.
12231 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12233 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12235 2013-05-02 Carlos O'Donell <carlos@redhat.com>
12238 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
12239 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
12240 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
12242 2013-05-02 David S. Miller <davem@davemloft.net>
12244 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12246 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
12248 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
12250 2013-05-01 Roland McGrath <roland@hack.frob.com>
12252 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
12254 2013-05-01 Richard Smith <richard@metafoo.co.uk>
12257 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
12258 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
12259 Use __attribute__ ((__gnu_inline__)).
12260 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
12261 Don't use __attribute__ ((__gnu_inline__)).
12263 2013-05-01 Joseph Myers <joseph@codesourcery.com>
12266 * math/s_catan.c (__catan): Handle small real or imaginary part of
12267 input specially to avoid spurious underflow.
12268 * math/s_catanf.c (__catanf): Likewise.
12269 * math/s_catanh.c (__catanh): Likewise.
12270 * math/s_catanhf.c (__catanhf): Likewise.
12271 * math/s_catanhl.c (__catanhl): Likewise.
12272 * math/s_catanl.c (__catanl): Likewise.
12273 * math/libm-test.inc (catan_test): Add more tests.
12274 (catanh_test): Likewise.
12275 * sysdeps/i386/fpu/libm-test-ulps: Update.
12276 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12278 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12280 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12282 2013-04-30 Joseph Myers <joseph@codesourcery.com>
12285 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
12286 accurately for denominator in atan2.
12287 * math/s_catanf.c (__catanf): Likewise.
12288 * math/s_catanh.c (__catanh): Likewise.
12289 * math/s_catanhf.c (__catanhf): Likewise.
12290 * math/s_catanhl.c (__catanhl): Likewise.
12291 * math/s_catanl.c (__catanl): Likewise.
12292 * math/libm-test.inc (catan_test): Add more tests.
12293 (catanh_test): Likewise.
12294 * sysdeps/i386/fpu/libm-test-ulps: Update.
12295 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12297 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
12299 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
12301 * benchtests/Makefile (bench): Remove slow benchmarks.
12302 * benchtests/atan-inputs: Add slow benchmark inputs.
12303 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
12304 (BENCH_FUNC): Accept variant offset.
12306 * benchtests/bench-skeleton.c (main): Run benchmark for each
12308 * benchtests/cos-inputs: Add slow benchmark inputs.
12309 * benchtests/exp-inputs: Likewise.
12310 * benchtests/pow-inputs: Likewise.
12311 * benchtests/sin-inputs: Likewise.
12312 * benchtests/slowatan-inputs: Remove.
12313 * benchtests/slowatan.c: Remove.
12314 * benchtests/slowcos-inputs: Remove.
12315 * benchtests/slowcos.c: Remove.
12316 * benchtests/slowexp-inputs: Remove.
12317 * benchtests/slowexp.c: Remove.
12318 * benchtests/slowpow-inputs: Remove.
12319 * benchtests/slowpow.c: Remove.
12320 * benchtests/slowsin-inputs: Remove.
12321 * benchtests/slowsin.c: Remove.
12322 * benchtests/slowtan-inputs: Remove.
12323 * benchtests/slowtan.c: Remove.
12324 * benchtests/tan-inputs: Add slow benchmark inputs.
12325 * scripts/bench.pl: Parse comments and directives.
12327 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
12329 ($(objpfx)bench-%.c): Remove *-ITER.
12330 * benchtests/bench-modf.c: Remove definition of ITER.
12331 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
12332 (main): Loop for DURATION seconds instead of fixed number of
12334 * scripts/bench.pl: Don't expect iterations in parameters.
12336 2013-04-29 Roland McGrath <roland@hack.frob.com>
12338 * io/fchdir.c (__fchdir): Renamed from fchdir.
12339 (fchdir): Define as weak alias.
12341 2013-04-29 Joseph Myers <joseph@codesourcery.com>
12343 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
12344 (ERRNO_EDOM): Likewise.
12345 (ERRNO_ERANGE): Likewise.
12346 (noErrnoTests): New variable.
12347 (init_max_error): Set errno to 0.
12348 (test_single_errno): New function.
12349 (test_errno): Likewise.
12350 (check_float_internal): Call test_errno. Set errno to 0.
12351 (check_complex): Refer to errno tests in comment.
12352 (check_int): Call test_errno. Set errno to 0.
12353 (check_long): Likewise.
12354 (check_bool): Likewise.
12355 (check_longlong): Likewise.
12356 (cos_test): Use ERRNO_* flags for errno tests instead of
12358 (expm1_test): Likewise.
12359 (fmod_test): Likewise.
12360 (ilogb_test): Likewise.
12361 (lgamma_test): Likewise.
12362 (pow_test): Likewise.
12363 (remainder_test): Likewise.
12364 (sin_test): Likewise.
12365 (tan_test): Likewise.
12366 (yn_test): Likewise.
12367 (initialize): Set errno to 0.
12368 (main): Print number of errno tests.
12369 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
12371 2013-04-29 Andreas Jaeger <aj@suse.de>
12374 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
12378 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
12379 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
12383 * stdlib/random.c (__initstate): Return NULL if
12387 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
12388 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
12391 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12393 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12395 2013-04-29 Joseph Myers <joseph@codesourcery.com>
12397 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
12398 of individual tests.
12399 (casin_test): Likewise.
12400 (casinh_test): Likewise.
12402 2013-04-27 Joseph Myers <joseph@codesourcery.com>
12405 * math/s_catan.c (__catan): Handle arguments with large real or
12406 imaginary part separately without squaring.
12407 * math/s_catanf.c (__catanf): Likewise.
12408 * math/s_catanh.c (__catanh): Likewise.
12409 * math/s_catanhf.c (__catanhf): Likewise.
12410 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
12412 (__catanhl): Handle arguments with large real or imaginary part
12413 separately without squaring.
12414 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
12416 (__catanl): Handle arguments with large real or imaginary part
12417 separately without squaring.
12418 * math/libm-test.inc (catan_test): Add more tests.
12419 (catanh_test): Likewise.
12420 * sysdeps/i386/fpu/libm-test-ulps: Update.
12421 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12423 2013-04-27 Andreas Jaeger <aj@suse.de>
12426 * stdlib/stdlib.h: Update guards for qecvt.
12427 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
12430 2013-04-27 Allan McRae <allan@archlinux.org>
12432 * sysdeps/i386/fpu/libm-test-ulps: Update.
12434 2013-04-26 Joseph Myers <joseph@codesourcery.com>
12437 * math/s_catan.c: Include <float.h>.
12438 (__catan): Ensure underflow exception occurs for underflowed
12440 * math/s_catanf.c: Include <float.h>.
12441 (__catanf): Ensure underflow exception occurs for underflowed
12443 * math/s_catanh.c: Include <float.h>.
12444 (__catanh): Ensure underflow exception occurs for underflowed
12446 * math/s_catanhf.c: Include <float.h>.
12447 (__catanhf): Ensure underflow exception occurs for underflowed
12449 * math/s_catanhl.c: Include <float.h>.
12450 (__catanhl): Ensure underflow exception occurs for underflowed
12452 * math/s_catanl.c: Include <float.h>.
12453 (__catanl): Ensure underflow exception occurs for underflowed
12455 * math/libm-test.inc (catan_test): Add more tests.
12456 (catanh_test): Likewise.
12459 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
12460 underflowed result.
12461 * math/s_ccoshf.c (__ccoshf): Likewise.
12462 * math/s_ccoshl.c (__ccoshl): Likewise.
12463 * math/s_csin.c (__csin): Likewise.
12464 * math/s_csinf.c (__csinf): Likewise.
12465 * math/s_csinh.c (__csinh): Likewise.
12466 * math/s_csinhf.c (__csinhf): Likewise.
12467 * math/s_csinhl.c (__csinhl): Likewise.
12468 * math/s_csinl.c (__csinl): Likewise.
12469 * math/libm-test.inc (ccos_test): Add more tests.
12470 (ccosh_test): Likewise.
12471 (csin_test): Likewise.
12472 (csinh_test): Likewise.
12474 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12476 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
12477 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
12478 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
12479 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
12480 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
12481 powerpc/power5+/fpu folders.
12482 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
12485 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
12487 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12489 2013-04-25 Joseph Myers <joseph@codesourcery.com>
12491 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
12492 additions to variable.
12493 [$(config-machine) = x86_64] (modules-names): Likewise.
12494 ($(objpfx)tst-audit3): Remove dependency.
12495 ($(objpfx)tst-audit3.out): Likewise.
12496 ($(objpfx)tst-audit4): Likewise.
12497 ($(objpfx)tst-audit4.out): Likewise.
12498 ($(objpfx)tst-audit5): Likewise.
12499 ($(objpfx)tst-audit5.out): Likewise.
12500 ($(objpfx)tst-audit6): Likewise.
12501 ($(objpfx)tst-audit6.out): Likewise.
12502 ($(objpfx)tst-audit7): Likewise.
12503 ($(objpfx)tst-audit7.out): Likewise.
12504 (tst-audit3-ENV): Remove variable.
12505 (tst-audit4-ENV): Likewise.
12506 (tst-audit5-ENV): Likewise.
12507 (tst-audit6-ENV): Likewise.
12508 (tst-audit7-ENV): Likewise.
12509 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
12510 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
12511 addition to variable.
12512 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
12513 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
12514 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
12515 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
12516 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
12517 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
12518 tst-audit3, tst-audit4 and tst-audit5.
12519 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
12520 tst-audit6 and tst-audit7.
12521 [$(subdir) = elf] (modules-names): Add audit modules for those
12523 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
12524 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
12525 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
12526 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
12527 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
12528 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
12529 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
12530 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
12531 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
12532 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
12533 [$(subdir) = elf] (tst-audit3-ENV): New variable.
12534 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
12535 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
12536 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
12537 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
12538 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
12540 [$(subdir) = elf && $(config-cflags-avx) = yes]
12541 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
12542 [$(subdir) = elf && $(config-cflags-avx) = yes]
12543 (CFLAGS-tst-auditmod4a.c): Likewise.
12544 [$(subdir) = elf && $(config-cflags-avx) = yes]
12545 (CFLAGS-tst-auditmod4b.c): Likewise.
12546 [$(subdir) = elf && $(config-cflags-avx) = yes]
12547 (CFLAGS-tst-auditmod6b.c): Likewise.
12548 [$(subdir) = elf && $(config-cflags-avx) = yes]
12549 (CFLAGS-tst-auditmod6c.c): Likewise.
12550 [$(subdir) = elf && $(config-cflags-avx) = yes]
12551 (CFLAGS-tst-auditmod7b.c): Likewise.
12552 * elf/tst-audit3.c: Move to ...
12553 * sysdeps/x86_64/tst-audit3.c: ... here.
12554 * elf/tst-audit4.c: Move to ...
12555 * sysdeps/x86_64/tst-audit4.c: ... here.
12556 * elf/tst-audit5.c: Move to ...
12557 * sysdeps/x86_64/tst-audit5.c: ... here.
12558 * elf/tst-audit6.c: Move to ...
12559 * sysdeps/x86_64/tst-audit6.c: ... here.
12560 * elf/tst-audit7.c: Move to ...
12561 * sysdeps/x86_64/tst-audit7.c: ... here.
12562 * elf/tst-auditmod3a.c: Move to ...
12563 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
12564 * elf/tst-auditmod3b.c: Move to ...
12565 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
12566 * elf/tst-auditmod4a.c: Move to ...
12567 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
12568 * elf/tst-auditmod4b.c: Move to ...
12569 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
12570 * elf/tst-auditmod5a.c: Move to ...
12571 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
12572 * elf/tst-auditmod5b.c: Move to ...
12573 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
12574 * elf/tst-auditmod6a.c: Move to ...
12575 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
12576 * elf/tst-auditmod6b.c: Move to ...
12577 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
12578 * elf/tst-auditmod6c.c: Move to ...
12579 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
12580 * elf/tst-auditmod7a.c: Move to ...
12581 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
12582 * elf/tst-auditmod7b.c: Move to ...
12583 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
12585 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
12588 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
12589 define unconditionally.
12590 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
12591 define unconditionally.
12592 (INT8_C, INT16_C, etc.): Likewise.
12594 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
12596 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
12597 __ehdr_start with hidden visibility.
12599 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
12601 2013-04-24 Carlos O'Donell <carlos@redhat.com>
12603 * math/libm-test.inc (cos_test): Use accurate hex constants.
12604 (sincost_test): Likewise.
12606 2013-04-24 Joseph Myers <joseph@codesourcery.com>
12608 * math/libm-test.inc (catan_test): Add more tests.
12609 (catanh_test): Likewise.
12611 * math/s_catanf.c (__catanf): Use suffixed floating-point
12613 * math/s_catanhf.c (__catanhf): Likewise.
12614 * math/s_catanhl.c (__catanhl): Likewise.
12615 * math/s_catanl.c (__catanl): Likewise.
12618 * math/s_catan.c (__catan): Calculate imaginary part of result
12619 with log1p not log unless computing log of number close to 0.
12620 * math/s_catanf.c (__catanf): Likewise.
12621 * math/s_catanl.c (__catanl): Likewise.
12622 * math/s_catanh.c (__catanh): Calculate real part of result with
12623 log1p not log unless computing log of number close to 0.
12624 * math/s_catanhf.c (__catanhf): Likewise.
12625 * math/s_catanhl.c (__catanhl): Likewise.
12626 * math/libm-test.inc (catan_test): Add more tests.
12627 (catanh_test): Likewise.
12628 * sysdeps/i386/fpu/libm-test-ulps: Update.
12629 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12631 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
12633 * benchtests/Makefile: Mention files in which fast and slow
12634 paths of math functions are implemented.
12636 2013-04-23 Roland McGrath <roland@hack.frob.com>
12638 * sysdeps/posix/timespec_get.c: New file.
12640 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12642 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
12644 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
12646 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
12647 powerpc/power5/fpu folders.
12648 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
12649 * benchtests/Makefile: Add modf testcase.
12650 * benchtests/bench-modf.c: New file: Benchmark test for mo
12652 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
12655 * time/Makefile (tests): Add tst-strptime-whitespace.
12656 * time/strptime_l.c (get_number): Use ISSPACE.
12657 (__strptime_internal): Likewise.
12658 * time/tst-strptime-whitespace.c: New test case.
12660 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
12662 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
12664 (_nss_files_init): Set it here.
12666 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
12668 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
12669 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
12672 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
12674 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
12676 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
12678 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
12681 2013-04-21 David S. Miller <davem@davemloft.net>
12683 * po/ru.po: Update Russion translation from translation project.
12685 2013-04-17 Adam Conrad <adconrad@0c3.net>
12687 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
12690 2013-04-17 Carlos O'Donell <carlos@redhat.com>
12692 * configure.in: Remove i386 configure warning. Remove i386 case.
12693 * configure: Regenerate.
12694 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
12695 Add example to error message.
12696 * sysdeps/i386/configure: Regenerate.
12698 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
12700 * benchtests/Makefile (bench): Add cos, tan, slowcos and
12702 * benchtests/cos-inputs: New file.
12703 * benchtests/slowcos-inputs: New file.
12704 * benchtests/slowcos.c: New file.
12705 * benchtests/slowtan-inputs: New file.
12706 * benchtests/slowtan.c: New file.
12707 * benchtests/tan-inputs: New file.
12709 2013-04-16 Roland McGrath <roland@hack.frob.com>
12711 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
12714 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
12716 * benchtests/Makefile: Include cppflags-iterator.mk to add
12717 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
12719 * Makefile.in (bench-clean): New target.
12720 * benchtests/Makefile (bench-clean): Likewise.
12722 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
12724 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
12726 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
12728 * stdio-common/tstdiomisc.c: Fix coding-style violation.
12730 2013-04-15 Andreas Schwab <schwab@suse.de>
12732 * nscd/grpcache.c (cache_addgr): Properly check for short write.
12733 * nscd/initgrcache.c (addinitgroupsX): Likewise.
12734 * nscd/pwdcache.c (cache_addpw): Likewise.
12735 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
12738 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
12740 * benchtests/Makefile (bench): Write all output to
12741 bench-out.tmp together.
12743 2013-04-15 Andreas Schwab <schwab@suse.de>
12745 * nscd/nscd.c (main): Don't fork again after closing files.
12747 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
12749 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
12751 * benchtests/Rules (bench-deps): Collect dependencies into a
12752 single variable. Add Makefile to dependencies.
12753 ($(objpfx)bench-%.c): Depend on bench-deps.
12755 2013-04-12 Roland McGrath <roland@hack.frob.com>
12756 Xavier Roche <roche+kml2@exalead.com>
12759 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
12760 just that it's a file descriptor.
12761 * manual/llio.texi (Synchronizing AIO Operations): Update description
12762 for EBADF error from aio_fsync.
12764 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
12766 * Rules (bench): Move target definition...
12767 * benchtests/Makefile: ... here.
12769 2013-04-11 Carlos O'Donell <carlos@redhat.com>
12771 * math/libm-test.inc (cos_test): Fix PI/2 test.
12772 (sincos_test): Likewise.
12773 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
12774 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
12776 2013-04-11 Andreas Schwab <schwab@suse.de>
12779 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
12780 accept exponent character only when digits were seen.
12781 * stdio-common/Makefile (tests): Add bug26.
12782 * stdio-common/bug26.c: New file.
12785 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
12788 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12790 * Makeconfig (rtld-prefix): Define built linker prefix.
12791 * Rules (run-bench): Use it.
12792 * math/Makefile (run-regen-ulps): Likewise.
12794 * Rules (bench): Remove eval.
12796 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
12797 Roland McGrath <roland@hack.frob.com>
12798 Ondrej Bilka <neleai@seznam.cz>
12801 * time/getdate.c: Include ctype.h and alloca.h.
12802 (__getdate_r): Trim leading and trailing spaces of input.
12803 * time/tst-getdate.c (tests): Add tests with leading and
12806 2013-04-08 Roland McGrath <roland@hack.frob.com>
12809 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
12810 when computing value.
12812 2013-04-06 Carlos O'Donell <carlos@redhat.com>
12814 * math/README.libm-test (How can I generate "libm-test-ulps"?):
12815 Use testrun.sh to run libm tests.
12818 * elf/dl-open.c (dl_open_worker): memset all of seen array.
12820 2013-04-06 Marko Myllynen <myllynen@redhat.com>
12823 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
12825 2013-04-06 Carlos O'Donell <carlos@redhat.com>
12827 * Makefile.in (regen-ulps): New target.
12828 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
12829 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
12830 [ifneq (no,$(PERL)] (regen-ulps): New target.
12831 [ifeq (no,$(PERL)] (regen-ulps): New target.
12832 * math/libm-test.inc (ulps_file_name): Define.
12833 (output_dir): New variable.
12834 (options): Add "output-dir" option.
12835 (parse_opt): Handle 'o' case.
12836 (main): If output_dir is non-NULL use it as a prefix
12838 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
12840 2013-04-06 Carlos O'Donell <carlos@redhat.com>
12842 [BZ #10060, #10062]
12843 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
12844 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
12845 fail configure if __sync_val_compare_and_swap is not inlined.
12846 * sysdeps/i386/configure: Regenerate.
12847 * configure.in: Build for i686 when configured for i386.
12848 * configure: Regenerate.
12849 * README: Remove i386 reference.
12851 2013-04-06 Carlos O'Donell <carlos@redhat.com>
12853 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
12854 * sysdeps/s390/s390-64/sysdep.h: Likewise.
12856 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
12858 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
12859 (lmsnanval): New variables.
12860 (F): Add conversion tests.
12861 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
12862 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
12864 * stdio-common/tstdiomisc.c (F): Properly collect individual
12867 [BZ #14686, #15336]
12868 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
12869 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
12870 Instead, use input NaN values or generate a qNaN by arithmetic
12871 operation. Also fix bugs to comply with the standard.
12872 * math/libm-test.inc (remainder_test): Add more tests.
12874 [BZ #15335, #15342]
12875 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
12876 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
12877 input NaN values or generate a qNaN by arithmetic operation.
12879 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
12882 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
12885 2013-04-03 Joseph Myers <joseph@codesourcery.com>
12888 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
12889 underflowed result.
12890 * math/s_cexpf.c (__cexpf): Likewise.
12891 * math/s_cexpl.c (__cexpl): Likewise.
12892 * math/libm-test.inc (cexp_test): Add more tests.
12894 2013-04-03 Andreas Schwab <schwab@suse.de>
12897 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
12898 order arrays from heap if bigger than alloca cutoff.
12900 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
12902 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
12903 (SNAN_TESTS_double): Refer to GCC PR56831.
12904 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
12907 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
12909 * Rules (bench): Move bench.out after the run is complete.
12911 * Rules (bench): Echo currently running benchmark.
12913 * benchtests/Makefile (bench): Add atan and slowatan.
12914 * benchtests/atan-inputs: New file.
12915 * benchtests/slowatan-inputs: New file.
12916 * benchtests/slowatan.c: New file.
12918 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
12919 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
12923 * sysdeps/unix/sysv/linux/kernel-features.h
12924 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
12925 __ASSUME_XFS_RESTRICTED_CHOWN.
12926 * sysdeps/unix/sysv/linux/pathconf.c
12927 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
12928 Save and restore errno.
12930 2013-04-02 Joseph Myers <joseph@codesourcery.com>
12933 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
12934 arguments using __kernel_casinh.
12935 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
12936 arguments using __kernel_casinhf.
12937 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
12938 arguments using __kernel_casinhl.
12939 * math/libm-test.inc (cacosh_test): Add more tests.
12940 * sysdeps/i386/fpu/libm-test-ulps: Update.
12941 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12943 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
12945 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
12946 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
12948 * bench/Makefile (bench): Add sin and slowsin.
12949 * benchtests/sin-inputs: New file.
12950 * benchtests/slowsin-inputs: New file.
12951 * benchtests/slowsin.c: New file.
12953 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
12954 (bench): Add slowexp and slowpow.
12955 (exp-ITER): Increase iterations.
12956 (pow-ITER): Likewise.
12957 * benchtests/exp-inputs: Change input.
12958 * benchtests/pow-inputs: Likewise.
12959 * benchtests/slowexp-inputs: New file.
12960 * benchtests/slowexp.c: New file.
12961 * benchtests/slowpow-inputs: New file.
12962 * benchtests/slowpow.c: New file.
12964 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12966 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
12968 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
12969 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
12970 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
12971 * benchtests/Makefile: Add rint benchtest.
12972 * benchtests/rint-inputs: Input for rint benchtest.
12974 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
12976 * Versions.def (libm): Add GLIBC_2.18.
12977 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
12978 hidden libm prototypes.
12979 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
12980 * math/Makefile (libm-calls): Add s_issignaling.
12981 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
12982 __issignalingf, __issignalingl. Adjust all libm.abilist files.
12983 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
12985 * math/math.h [__USE_GNU] (issignaling): New macro.
12986 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
12987 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
12988 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
12989 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
12990 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
12991 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
12992 * manual/arith.texi (issignaling): New section.
12993 * manual/libm-err-tab.pl (@all_functions): Update comment.
12994 * math/gen-libm-test.pl (parse_args): Apply special handling for
12996 * math/libm-test.inc (print_float, issignaling_test): New
12998 (check_float_internal): Add issignaling checks.
12999 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
13000 default definition.
13001 * sysdeps/powerpc/math-tests.h: New file.
13002 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
13004 * math/test-snan.c (TEST_FUNC): Likewise.
13006 2013-03-30 David S. Miller <davem@davemloft.net>
13008 * po/de.po: Update from translation team.
13010 2013-03-30 Joseph Myers <joseph@codesourcery.com>
13013 * math/k_casinh.c (__kernel_casinh): Handle arguments with
13014 imaginary part less than 1.0 and real part less than 0.5
13016 * math/k_casinhf.c (__kernel_casinhf): Likewise.
13017 * math/k_casinhl.c (__kernel_casinhl): Likewise.
13018 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
13019 (cacos_test): Add more tests.
13020 (casin_test): Likewise.
13021 (casinh_test): Likewise.
13022 * sysdeps/i386/fpu/libm-test-ulps: Update.
13023 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13025 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
13027 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
13028 ONE with its value.
13030 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
13031 (__pow_mp): Replace ONE and MONE with their values.
13032 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
13033 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
13034 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
13035 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
13036 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
13037 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
13039 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
13041 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
13042 (__pow_mp): Replace ZERO and MZERO with their values.
13043 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
13044 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
13045 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
13046 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
13047 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
13048 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
13051 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
13053 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
13055 2013-03-28 Roland McGrath <roland@hack.frob.com>
13057 * include/stdlib.h [!SHARED] (__call_tls_dtors):
13058 Declare with __attribute__ ((weak)).
13059 * stdlib/exit.c (__libc_atexit) [!SHARED]:
13060 Call __call_tls_dtors only if it's not NULL.
13062 2013-03-28 Roland McGrath <roland@hack.frob.com>
13064 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
13065 didn't do it already, then set _dl_phdr and _dl_phnum based on the
13066 magic __ehdr_start linker symbol if it's defined.
13067 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
13068 them up here if it was already done.
13070 * elf/dl-support.c (_dl_phdr): Make pointer to const.
13071 (_dl_aux_init): Use const in cast when setting it.
13072 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
13073 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
13074 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
13076 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
13078 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
13079 * csu/libc-tls.c: Nor here.
13080 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
13082 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
13083 (__libc_message): Never call vsyslog.
13085 2013-03-28 Alan Modra <amodra@gmail.com>
13087 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
13089 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
13092 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13095 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
13097 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13099 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13102 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
13103 Don't add gid passed as argument.
13105 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
13107 2013-03-27 Joseph Myers <joseph@codesourcery.com>
13110 * math/k_casinh.c (__kernel_casinh): Handle arguments with
13111 imaginary part between 1.0 and 1.5 and real part less than 0.5
13113 * math/k_casinhf.c (__kernel_casinhf): Likewise.
13114 * math/k_casinhl.c (__kernel_casinhl): Likewise.
13115 * math/libm-test.inc (cacos_test): Add more tests.
13116 (casin_test): Likewise.
13117 (casinh_test): Likewise.
13118 * sysdeps/i386/fpu/libm-test-ulps: Update.
13119 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13121 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
13123 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
13126 (denorm): Likewise.
13127 (__dbl_mp): Likewise.
13128 (add_magnitudes): Likewise.
13129 (sub_magnitudes): Likewise.
13137 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
13139 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
13140 (__dubcos): Likewise.
13141 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
13142 (__ieee754_acos): Likewise.
13143 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
13144 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
13145 (__exp1): Likewise.
13146 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
13147 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
13149 (my_log2): Likewise.
13150 (checkint): Likewise.
13151 * sysdeps/ieee754/dbl-64/e_remainder.c
13152 (__ieee754_remainder): Likewise.
13153 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
13154 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
13155 (bsloww): Likewise.
13156 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
13158 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
13159 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
13160 MANTISSA_STORE_T to store computations on mantissa. Use
13161 macros for rounding and division.
13162 (denorm): Likewise.
13163 (__dbl_mp): Likewise.
13164 (add_magnitudes): Likewise.
13165 (sub_magnitudes): Likewise.
13168 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
13169 powers of two in terms of TWOPOW macro.
13170 (mp_no): Make type of mantissa as MANTISSA_T.
13171 [!RADIXI]: Define RADIXI.
13172 [!TWO52]: Define TWO52.
13173 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
13175 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13177 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
13178 llroundl symbol when building for PPC32.
13180 2013-03-24 Mark H Weaver <mhw@netris.org>
13182 * manual/arith.texi (Normalization Functions): Fix prototypes for
13183 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
13185 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13188 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
13189 high value to check if expl overflow.
13190 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
13191 to check for underflow and overflow.
13192 * math/libm-test.inc: Add exp test.
13194 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
13197 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
13200 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13202 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
13205 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
13207 * math/gen-libm-test.pl (parse_args, special_functions): Properly
13208 wrap blocks consisting of several statements.
13210 * sysdeps/generic/math-tests.h: New file.
13211 * sysdeps/i386/fpu/math-tests.h: Likewise.
13212 * math/test-snan.c: Include it.
13213 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
13215 2013-03-21 Joseph Myers <joseph@codesourcery.com>
13218 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
13219 (__ieee754_j0l): Do not improve calculations using cos of twice
13220 input for inputs above LDBL_MAX / 2.0L.
13221 (__ieee754_y0l): Likewise.
13222 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
13223 (__ieee754_j1l): Do not improve calculations using cos of twice
13224 input for inputs above LDBL_MAX / 2.0L.
13225 (__ieee754_y1l): Likewise.
13226 * math/libm-test.inc (j0_test): Add another test.
13227 (j1_test): Likewise.
13228 (y0_test): Likewise.
13229 (y1_test): Likewise.
13230 * sysdeps/i386/fpu/libm-test-ulps: Update.
13232 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
13234 * Rules ($(objpfx)bench-%.c): Include code from a C source
13237 2013-03-21 Joseph Myers <joseph@codesourcery.com>
13240 * math/k_casinh.c (__kernel_casinh): Handle arguments with
13241 imaginary part 1.0 and real part less than 0.5 specially.
13242 * math/k_casinhf.c (__kernel_casinhf): Likewise.
13243 * math/k_casinhl.c (__kernel_casinhl): Likewise.
13244 * math/libm-test.inc (cacos_test): Add more tests.
13245 (casin_test): Likewise.
13246 (casinh_test): Likewise.
13247 * sysdeps/i386/fpu/libm-test-ulps: Update.
13248 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13250 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
13252 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
13253 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
13255 2013-03-20 Joseph Myers <joseph@codesourcery.com>
13257 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
13258 * config.make.in (config-cflags-sse4): Remove variable.
13259 (config-cflags-avx): Likewise.
13260 (config-cflags-sse2avx): Likewise.
13261 (config-cflags-novzeroupper): Likewise.
13262 (config-asflags-i686): Likewise.
13263 (have-mfma4): Likewise.
13264 (have-as-vis3): Likewise.
13266 * configure.in (MIG): Do not AC_SUBST.
13267 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
13268 (libc_cv_cc_sse4): Do not AC_SUBST.
13269 (libc_cv_cc_avx): Likewise.
13270 (libc_cv_cc_sse2avx): Likewise.
13271 (libc_cv_cc_novzeroupper): Likewise.
13272 (libc_cv_cc_fma4): Likewise.
13273 (libc_cv_as_i686): Likewise.
13274 (libc_cv_sparc_as_vis3): Likewise.
13275 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
13277 (config-asflags-i686): Likewise.
13278 (config-cflags-avx): Likewise.
13279 (config-cflags-sse2avx): Likewise.
13280 (have-mfma4): Likewise.
13281 (config-cflags-novzeroupper): Likewise.
13282 * sysdeps/mach/configure.in (MIG): Likewise.
13283 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
13284 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
13286 (config-cflags-avx): Likewise.
13287 (config-cflags-sse2avx): Likewise.
13288 (have-mfma4): Likewise.
13289 (config-cflags-novzeroupper): Likewise.
13290 * configure: Regenerated.
13291 * sysdeps/i386/configure: Likewise.
13292 * sysdeps/mach/configure: Likewise.
13293 * sysdeps/sparc/configure: Likewise.
13294 * sysdeps/x86_64/configure: Likewise.
13296 2013-03-20 Roland McGrath <roland@hack.frob.com>
13299 * locale/programs/localedef.c (options): Put N_ translation marker
13300 on argument names, not just descriptions.
13302 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
13304 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
13306 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
13309 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
13311 2013-03-19 Roland McGrath <roland@hack.frob.com>
13313 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
13314 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
13315 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
13316 [!BEFORE_ABORT] (before_abort): New function.
13317 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
13318 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
13319 (writev_for_fatal): New function.
13320 (WRITEV_FOR_FATAL): New macro; call that.
13321 (backtrace_and_maps): New function.
13322 (BEFORE_ABORT): New macro; call that.
13323 (struct str_list): Type removed.
13324 (__libc_message, __libc_fatal): Functions removed.
13325 Include <sysdeps/posix/libc_fatal.c> instead.
13327 2013-03-19 Joseph Myers <joseph@codesourcery.com>
13329 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
13331 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
13334 2013-03-19 Andreas Schwab <schwab@suse.de>
13336 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
13337 * sysdeps/gnu/configure: Regenerate.
13339 * configure.in: Substitute libc_cv_rtlddir.
13340 * configure: Regenerate.
13341 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
13342 * Makeconfig (rtlddir, inst_rtlddir): New variables.
13343 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
13344 * elf/Makefile (install-others, CFLAGS-interp.c)
13345 (ldso_install, common-ldd-rewrite): Likewise.
13346 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
13347 $(inst_slibdir)/$(rtld-installed-name).
13348 * scripts/rellns-sh: Add -p option.
13349 * Makerules (make-shlib-link): Use rellns-sh to get relative name
13352 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
13354 * manual/nptl.texi: Renamed to ...
13355 * manual/threads.texi: ... this.
13356 * manual/Makefile (chapters): Update.
13358 2013-03-18 Roland McGrath <roland@hack.frob.com>
13361 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
13362 on argument names, not just descriptions.
13363 * malloc/memusagestat.c (options): Likewise.
13364 * nss/getent.c (options): Likewise.
13366 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
13369 * iconv/iconv_prog.c (options): Put N_ translation marker
13370 on argument names, not just descriptions.
13371 * iconv/iconvconfig.c (options): Likewise.
13373 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
13375 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
13376 implementation which is faster on all x86_64 architectures.
13377 Tested on AMD, Intel Nehalem, SNB, IVB.
13378 * sysdeps/x86_64/strnlen.S: Likewise.
13380 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
13381 Remove all multiarch strlen and strnlen versions.
13382 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
13383 Remove strlen and strnlen related parts.
13385 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
13386 Inline strlen part.
13387 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
13389 * sysdeps/x86_64/multiarch/strlen.S: Remove.
13390 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
13391 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
13392 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
13393 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
13394 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
13396 2013-03-17 Carlos O'Donell <carlos@redhat.com>
13398 * manual/memory.texi (Malloc Tunable Parameters):
13399 Sort parameters alphabetically. Add comments for missing entries.
13401 2013-03-17 David S. Miller <davem@davemloft.net>
13403 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13405 2013-03-16 Joseph Myers <joseph@codesourcery.com>
13408 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
13409 for arguments at most half maximum finite value.
13410 * math/libm-test.inc (j0_test): Add more tests.
13411 (j1_test): Likewise.
13412 (y0_test): Likewise.
13413 (y1_test): Likewise.
13414 * sysdeps/i386/fpu/libm-test-ulps: Update.
13415 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13418 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
13419 1 / x and functions P and Q for arguments above 0x1p256L.
13420 (__ieee754_y0l): Likewise.
13421 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
13422 (__ieee754_y1l): Likewise.
13423 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
13424 (j1_test): Likewise.
13425 (y0_test): Likewise.
13426 (y1_test): Likewise.
13428 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
13430 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
13433 2013-03-15 Roland McGrath <roland@hack.frob.com>
13435 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
13436 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
13437 zero since it's initialized to EXEC_PAGESIZE.
13439 * sysdeps/unix/sysv/linux/ldsodefs.h
13440 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
13441 * sysdeps/generic/ldsodefs.h: ... here.
13443 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
13445 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
13447 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
13449 * math/test-snan.c: Renamed from
13450 sysdeps/powerpc/fpu/test-powerpc-snan.c.
13451 * math/Makefile (tests): Add test-snan.
13452 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
13455 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
13456 SUFFIX. Initialize qNaN_var with __builtin_nan family of
13458 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
13459 __builtin_nan family of functions.
13460 * math/libm-test.inc (initialize): Initialize qnan_value with
13461 __builtin_nan family of functions.
13462 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
13464 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
13466 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
13467 storage class. Initialize qNaN_var and sNaN_var with
13468 __builtin_nan and __builtin_nans families of functions,
13471 * math/libm-test.inc (acosh_test): Also test with qNaN input.
13472 (sqrt_test): Remove duplicate test with qNaN input.
13473 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
13474 (round_test, signbit_test, significand_test): Note missing +/-Inf
13475 as well as qNaN tests.
13477 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
13478 qNaN_var. Fix a few strings, too.
13479 * math/libm-test.inc (nan_value): Rename to qnan_value.
13480 * math/gen-libm-test.pl (%beautify): Adjust to that.
13481 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
13482 * math/test-misc.c (main): Likewise.
13483 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
13484 to __qnan_bytes, and __qnan_union, respectively.
13485 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
13487 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
13488 and lqnanval, respectively.
13489 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
13490 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
13491 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
13492 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
13494 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
13495 * math/test-misc.c (main) [__x86_64__]: Enable test for long
13498 * math/test-misc.c (main): Fix copy'n'pastos.
13499 * misc/tst-efgcvt.c (special): Likewise.
13501 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
13502 Remove declarations.
13504 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
13506 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
13507 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
13508 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
13509 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
13511 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13513 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
13514 macro to return vdso values correctly in IFUNC implementations.
13515 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
13516 Optimization by using IFUNC.
13518 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
13519 Richard Henderson <rth@redhat.com>
13520 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13522 * Makefile.in (bench): New target.
13523 * NEWS: Mention the benchmark framework.
13524 * Rules (bench): Likewise.
13525 (binaries-bench): Generate binaries for functions to
13527 * benchtests/Makefile: New makefile for benchmark tests.
13528 * benchtests/bench-skeleton.c: New skeleton file for benchmark
13530 * benchtests/exp-inputs: New input file for EXP function.
13531 * benchtests/pow-inputs: New input file for POW function.
13532 * scripts/bench.pl: New script to generate source files for
13533 benchmark programs.
13535 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
13537 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
13538 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
13539 computations on mantissa. Use macros for rounding and
13541 (denorm): Likewise.
13542 (__dbl_mp): Likewise.
13543 (add_magnitudes): Likewise.
13544 (sub_magnitudes): Likewise.
13547 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
13548 powers of two in terms of TWOPOW macro.
13549 (mp_no): Make type of mantissa as MANTISSA_T.
13550 [!RADIXI]: Define RADIXI.
13551 [!TWO52]: Define TWO52.
13552 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
13554 * manual/nptl.texi (cindex): Modify threads to pthreads.
13556 2013-03-15 Joseph Myers <joseph@codesourcery.com>
13558 * sysdeps/x86_64/preconfigure: Regenerated.
13560 2013-03-14 Joseph Myers <joseph@codesourcery.com>
13563 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
13565 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
13566 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
13568 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
13569 * math/libm-test.inc (j0_test): Do not allow one spurious
13570 underflow exception.
13571 (y1_test): Likewise.
13573 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
13575 * manual/Makefile (chapters): Add nptl.
13576 * manual/debug.texi (Debugging Support): Add link to Threads
13578 * manual/nptl.texi: New file.
13580 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
13582 2013-03-14 Petr Baudis <pasky@ucw.cz>
13584 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
13585 for non-NULL pointer before the memory validity test. Pointed
13586 out by Holger Brunck <holger.brunck@keymile.com>.
13588 2013-03-13 Andreas Schwab <schwab@suse.de>
13590 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
13593 2013-03-13 Joseph Myers <joseph@codesourcery.com>
13595 * timezone/zic.c: Update from tzcode 2013b.
13597 2013-03-12 Carlos O'Donell <carlos@redhat.com>
13599 * manual/install.texi (Configuring and compiling):
13600 Mention i686 and i586.
13601 * INSTALL: Regenerate.
13603 2013-03-12 Roland McGrath <roland@hack.frob.com>
13605 * sysdeps/init_array/elf-init.c: New file.
13607 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
13608 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
13610 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
13611 __gmon_start__ as global, but as static with a .preinit_array pointer.
13612 * sysdeps/init_array/gmon-start.c: New file. Use that.
13613 * sysdeps/init_array/crti.S: New file, empty except for comments.
13614 * sysdeps/init_array/crtn.S: Likewise.
13616 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
13618 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
13620 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13621 Remove Prefer_SSE_for_memop.
13622 * sysdeps/x86_64/multiarch/init-arch.h: Remove
13623 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
13624 HAS_PREFER_SSE_FOR_MEMOP.
13625 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
13627 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
13628 Remove bzero, memset ifunc support.
13629 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
13630 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
13631 * sysdeps/x86_64/multiarch/memset.S: Likewise.
13632 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
13634 2013-03-11 Andreas Schwab <schwab@suse.de>
13637 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
13639 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
13640 (GLIBC_2.16): Remove pthread_atfork.
13642 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
13644 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
13645 (ptestcases.h): Likewise.
13647 2013-03-08 Roland McGrath <roland@hack.frob.com>
13649 * Makeconfig ($(common-objpfx)config.status): Depend on
13650 sysdeps/*/preconfigure{,.in} too.
13652 2013-03-08 Joseph Myers <joseph@codesourcery.com>
13654 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
13655 (__free_hook): Use void * instead of __malloc_ptr_t.
13656 (__malloc_hook): Likewise.
13657 (__realloc_hook): Likewise.
13658 (__memalign_hook): Likewise.
13659 (__after_morecore_hook): Likewise.
13660 * malloc/arena.c (save_malloc_hook): Likewise.
13661 (save_free_hook): Likewise.
13662 * malloc/hooks.c (malloc_hook_ini): Likewise.
13663 (realloc_hook_ini): Likewise.
13664 (memalign_hook_ini): Likewise.
13665 * malloc/malloc.c (malloc_hook_ini): Likewise.
13666 (realloc_hook_ini): Likewise.
13667 (memalign_hook_ini): Likewise.
13668 (__free_hook): Likewise.
13669 (__malloc_hook): Likewise.
13670 (__realloc_hook): Likewise.
13671 (__memalign_hook): Likewise.
13672 (__libc_malloc): Likewise.
13673 (__libc_free): Likewise.
13674 (__libc_realloc): Likewise.
13675 (__libc_memalign): Likewise.
13676 (__libc_valloc): Likewise.
13677 (__libc_pvalloc): Likewise.
13678 (__libc_calloc): Likewise.
13679 (__posix_memalign): Likewise.
13680 * malloc/morecore.c (__sbrk): Likewise.
13681 (__default_morecore): Likewise.
13683 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
13685 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
13686 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
13687 __malloc_ptrdiff_t.
13689 * malloc/malloc.h (__malloc_size_t): Remove macro.
13690 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
13692 (old_memalign_hook): Likewise.
13693 (old_realloc_hook): Likewise.
13694 (struct hdr): Likewise.
13696 (mallochook): Likewise.
13697 (memalignhook): Likewise.
13698 (reallochook): Likewise.
13699 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
13700 (tr_old_realloc_hook): Likewise.
13701 (tr_old_memalign_hook): Likewise.
13702 (tr_mallochook): Likewise.
13703 (tr_reallochook): Likewise.
13704 (tr_memalignhook): Likewise.
13706 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13708 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
13709 default_ldbl_pack and using as default implementation.
13710 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
13712 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
13713 redundant definition.
13714 (ldbl_insert_mantissa): Likewise.
13715 (ldbl_canonicalize): Likewise.
13716 (ldbl_nearbyint): Likewise.
13717 (ldbl_pack): Rename to ldbl_pack_ppc.
13718 (ldbl_unpack): Rename to ldbl_unpack_ppc.
13719 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
13720 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
13722 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
13724 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
13725 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
13726 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
13727 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
13728 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
13729 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
13730 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
13731 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
13733 2013-03-07 Andreas Jaeger <aj@suse.de>
13735 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13738 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
13740 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
13741 Include mpa.h and declare __MPEXP.
13742 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
13743 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
13744 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
13745 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
13746 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
13747 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
13748 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
13750 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
13751 (__slowpow): Use long double EXPL and LOGL functions to
13753 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
13754 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
13755 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
13756 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
13757 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
13758 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
13760 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
13761 intermediate variable to calculate exponent.
13763 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
13767 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
13768 [!NO__SQR]: Define __sqr.
13769 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
13770 and NO__SQR. Remove all code except __mul and __sqr. Include
13771 sysdeps/ieee754/dbl-64/mpa.c.
13772 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
13775 * posix/Makefile (tests): Add tst-pathconf.
13776 * posix/tst-pathconf.c: New test case.
13777 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
13779 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
13781 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
13783 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
13785 2013-03-06 Andreas Jaeger <aj@suse.de>
13787 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
13788 definition via __MAP_ANONYMOUS.
13790 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
13791 it's not part of Linux headers.
13793 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
13794 (MAP_HUGE_MASK): Define.
13796 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
13798 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
13799 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
13801 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
13802 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
13804 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
13805 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
13807 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
13809 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
13810 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
13811 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
13812 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
13813 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
13814 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
13816 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
13819 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
13820 Handle f2fs and efivarfs.
13822 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
13825 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
13826 (EFIVARFS_MAGIC): Add.
13827 (F2FS_LINK_MAX): Add.
13829 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
13831 * stdio-common/vfprintf.c: Replace __builtin_expect with
13834 2013-03-06 Joseph Myers <joseph@codesourcery.com>
13837 * sysdeps/generic/bp-sym.h: Remove file.
13838 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
13839 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
13840 <bp-sym.h> and <bp-asm.h>.
13841 (__longjmp): Don't use BP_SYM.
13842 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
13844 (memcpy): Don't use BP_SYM.
13845 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
13846 <bp-sym.h> and <bp-asm.h>.
13847 (memcpy): Don't use BP_SYM.
13848 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
13850 (memcpy): Don't use BP_SYM.
13851 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
13853 (memset): Don't use BP_SYM.
13854 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
13855 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
13856 (__bzero): Don't use BP_SYM.
13857 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
13858 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
13859 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
13860 <bp-sym.h> and <bp-asm.h>.
13861 (memcmp): Don't use BP_SYM. Remove comment about bounded
13863 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
13864 <bp-sym.h> and <bp-asm.h>.
13865 (memcpy): Don't use BP_SYM.
13866 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
13867 <bp-sym.h> and <bp-asm.h>.
13868 (memset): Don't use BP_SYM.
13869 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
13870 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
13871 (__bzero): Don't use BP_SYM.
13872 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
13873 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
13874 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
13875 <bp-sym.h> and <bp-asm.h>.
13876 (strncmp): Don't use BP_SYM. Remove comment about bounded
13878 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
13879 <bp-sym.h> and <bp-asm.h>.
13880 (memcpy): Don't use BP_SYM.
13881 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
13882 <bp-sym.h> and <bp-asm.h>.
13883 (memset): Don't use BP_SYM.
13884 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
13885 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
13886 (__bzero): Don't use BP_SYM.
13887 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
13888 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
13889 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
13890 <bp-sym.h> and <bp-asm.h>.
13891 (__memchr): Don't use BP_SYM.
13892 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
13893 <bp-sym.h> and <bp-asm.h>.
13894 (memcmp): Don't use BP_SYM. Remove comment about bounded
13896 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
13897 <bp-sym.h> and <bp-asm.h>.
13898 (memcpy): Don't use BP_SYM.
13899 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
13900 <bp-sym.h> and <bp-asm.h>.
13901 (__mempcpy): Don't use BP_SYM.
13902 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
13903 <bp-sym.h> and <bp-asm.h>.
13904 (__memrchr): Don't use BP_SYM.
13905 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
13906 <bp-sym.h> and <bp-asm.h>.
13907 (memset): Don't use BP_SYM.
13908 (__bzero): Likewise.
13909 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
13910 <bp-sym.h> and <bp-asm.h>.
13911 (__rawmemchr): Don't use BP_SYM.
13912 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
13913 <bp-sym.h> and <bp-asm.h>.
13914 (__STRCMP): Don't use BP_SYM.
13915 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
13916 <bp-sym.h> and <bp-asm.h>.
13917 (strchr): Don't use BP_SYM.
13918 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
13919 <bp-sym.h> and <bp-asm.h>.
13920 (__strchrnul): Don't use BP_SYM.
13921 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
13922 <bp-sym.h> and <bp-asm.h>.
13923 (strlen): Don't use BP_SYM.
13924 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
13925 <bp-sym.h> and <bp-asm.h>.
13926 (strncmp): Don't use BP_SYM. Remove comment about bounded
13928 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
13929 <bp-sym.h> and <bp-asm.h>.
13930 (__strnlen): Don't use BP_SYM.
13931 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
13932 <bp-sym.h> and <bp-asm.h>.
13933 (__GI__setjmp): Don't use BP_SYM.
13934 (_setjmp): Likewise.
13935 (__sigsetjmp): Likewise.
13936 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
13937 (L(start_addresses)): Don't use BP_SYM.
13938 (_start): Likewise.
13939 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
13941 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
13942 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
13943 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
13944 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
13945 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
13947 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
13948 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
13949 about bounded pointers.
13950 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
13951 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
13952 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
13954 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
13955 about bounded pointers. Remove GKM FIXME comments.
13956 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
13957 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
13959 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
13960 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
13961 Remove GKM FIXME comments.
13962 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
13963 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
13964 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
13966 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
13967 about bounded pointers. Remove GKM FIXME comment.
13968 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
13970 (strncmp): Don't use BP_SYM. Remove comment about bounded
13972 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
13973 <bp-sym.h> and <bp-asm.h>.
13974 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
13975 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
13976 <bp-sym.h> and <bp-asm.h>.
13977 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
13980 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
13982 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
13985 2013-03-05 David S. Miller <davem@davemloft.net>
13987 * po/es.po: Update from translation team.
13989 2013-03-05 Andreas Jaeger <aj@suse.de>
13991 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
13992 <bits/mman-linux.h>.
13993 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
13995 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
13996 <bits/mman-linux.h> to end of file.
13997 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
13999 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
14000 <bits/mman-linux.h> to end of file.
14001 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
14003 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
14004 <bits/mman-linux.h> to end of file.
14006 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
14007 (MCL_CURRENT, MCL_FUTURE): Define here.
14009 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14012 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
14014 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
14016 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14018 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
14019 fourth parameter needed for rt_sigprocmask syscall.
14020 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
14021 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
14022 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
14023 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
14024 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
14025 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
14027 2013-03-04 Joseph Myers <joseph@codesourcery.com>
14030 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
14031 comment about bounded pointers.
14032 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
14033 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
14035 2013-03-04 Andreas Jaeger <aj@suse.de>
14037 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
14038 common definitions.
14040 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
14041 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
14042 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
14043 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
14044 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
14045 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
14047 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14050 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
14051 __ieee754_sqrl instead of __sqrl.
14053 2013-03-01 Joseph Myers <joseph@codesourcery.com>
14055 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
14056 * sysdeps/powerpc/fpu_control.h: ... here.
14057 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
14058 * sysdeps/powerpc/bits/fenvinline.h: ... here.
14059 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
14060 * sysdeps/powerpc/bits/mathinline.h: ... here.
14062 2013-03-01 Roland McGrath <roland@hack.frob.com>
14064 * elf/dl-hwcaps.c (_dl_important_hwcaps):
14065 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
14066 to just [NEED_DL_SYSINFO_DSO].
14067 * elf/dl-support.c: Likewise.
14068 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
14069 * elf/rtld.c (dl_main): Likewise.
14070 * elf/setup-vdso.h (setup_vdso): Likewise.
14071 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
14072 * sysdeps/unix/sysv/linux/dl-sysdep.c
14073 (_dl_discover_osversion): Likewise.
14075 2013-03-01 Carlos O'Donell <carlos@redhat.com>
14077 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
14078 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
14080 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
14082 * NEWS: Mention libm performance improvements and non-x86 PI
14085 * csu/libc-start.c (__pthread_initialize_minimal): Change
14086 function arguments.
14087 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
14089 2013-02-28 Joseph Myers <joseph@codesourcery.com>
14092 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
14093 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
14094 <bp-sym.h> and <bp-asm.h>.
14095 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
14096 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
14098 (memcpy): Don't use BP_SYM.
14099 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
14101 (__mpn_add_n): Don't use BP_SYM.
14102 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
14103 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
14105 (__mpn_addmul_1): Don't use BP_SYM.
14106 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
14107 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
14109 (_setjmp): Don't use BP_SYM.
14110 (__novmx_setjmp): Likewise.
14111 (__GI__setjmp): Likewise.
14112 (__vmx_setjmp): Likewise.
14113 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
14115 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
14116 (__bzero): Don't use BP_SYM.
14117 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
14118 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
14119 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
14120 <bp-sym.h> and <bp-asm.h>.
14121 (memcpy): Don't use BP_SYM.
14122 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
14123 <bp-sym.h> and <bp-asm.h>.
14124 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
14125 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
14126 <bp-sym.h> and <bp-asm.h>.
14127 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
14128 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
14130 (__mpn_lshift): Don't use BP_SYM.
14131 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
14132 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
14134 (memset): Don't use BP_SYM.
14135 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
14136 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
14137 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
14139 (__mpn_mul_1): Don't use BP_SYM.
14140 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
14141 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
14142 <bp-sym.h> and <bp-asm.h>.
14143 (memcmp): Don't use BP_SYM.
14144 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
14145 <bp-sym.h> and <bp-asm.h>.
14146 (memcpy): Don't use BP_SYM.
14147 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
14148 <bp-sym.h> and <bp-asm.h>.
14149 (memset): Don't use BP_SYM.
14150 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
14151 <bp-sym.h> and <bp-asm.h>.
14152 (strncmp): Don't use BP_SYM.
14153 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
14154 <bp-sym.h> and <bp-asm.h>.
14155 (memcpy): Don't use BP_SYM.
14156 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
14157 <bp-sym.h> and <bp-asm.h>.
14158 (memset): Don't use BP_SYM.
14159 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
14160 <bp-sym.h> and <bp-asm.h>.
14161 (__memchr): Don't use BP_SYM.
14162 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
14163 <bp-sym.h> and <bp-asm.h>.
14164 (memcmp): Don't use BP_SYM.
14165 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
14166 <bp-sym.h> and <bp-asm.h>.
14167 (memcpy): Don't use BP_SYM.
14168 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
14169 <bp-sym.h> and <bp-asm.h>.
14170 (__mempcpy): Don't use BP_SYM.
14171 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
14172 <bp-sym.h> and <bp-asm.h>.
14173 (__memrchr): Don't use BP_SYM.
14174 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
14175 <bp-sym.h> and <bp-asm.h>.
14176 (memset): Don't use BP_SYM.
14177 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
14178 <bp-sym.h> and <bp-asm.h>.
14179 (__rawmemchr): Don't use BP_SYM.
14180 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
14181 <bp-sym.h> and <bp-asm.h>.
14182 (__STRCMP): Don't use BP_SYM.
14183 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
14184 <bp-sym.h> and <bp-asm.h>.
14185 (strchr): Don't use BP_SYM.
14186 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
14187 <bp-sym.h> and <bp-asm.h>.
14188 (__strchrnul): Don't use BP_SYM.
14189 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
14190 <bp-sym.h> and <bp-asm.h>.
14191 (strlen): Don't use BP_SYM.
14192 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
14193 <bp-sym.h> and <bp-asm.h>.
14194 (strncmp): Don't use BP_SYM.
14195 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
14196 <bp-sym.h> and <bp-asm.h>.
14197 (__strnlen): Don't use BP_SYM.
14198 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
14200 (__mpn_rshift): Don't use BP_SYM.
14201 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
14202 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
14203 <bp-sym.h> and <bp-asm.h>.
14204 (__sigsetjmp): Don't use BP_SYM.
14205 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
14206 (L(start_addresses)): Don't use BP_SYM.
14207 (_start): Likewise.
14208 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
14210 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
14211 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
14212 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
14213 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
14215 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
14216 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
14217 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
14218 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
14220 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
14222 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
14223 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
14225 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
14227 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
14228 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
14229 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
14231 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
14233 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
14235 (strncmp): Don't use BP_SYM,
14236 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
14238 (__mpn_sub_n): Don't use BP_SYM.
14239 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
14240 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
14242 (__mpn_submul_1): Don't use BP_SYM.
14243 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
14244 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
14245 <bp-sym.h> and <bp-asm.h>.
14246 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
14247 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
14248 <bp-sym.h> and <bp-asm.h>.
14249 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
14252 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14254 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
14255 Use ZK to minimize writes to Z.
14256 (sub_magnitudes): Simplify code a bit.
14257 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
14258 Use ZK to minimize writes to Z.
14259 (sub_magnitudes): Simplify code a bit.
14261 2013-02-27 Roland McGrath <roland@hack.frob.com>
14263 * csu/gmon-start.c: Add special exception to license text.
14265 2013-02-27 Richard Henderson <rth@redhat.com>
14267 * scripts/config.guess: Update from config.git.
14268 * scripts/config.sub: Likewise.
14270 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
14272 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
14274 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
14276 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
14278 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
14280 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
14282 2013-02-26 Roland McGrath <roland@hack.frob.com>
14284 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
14285 [$(build-shared = yes].
14287 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
14289 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
14290 (__mul): Reduce iterations for calculating mantissa.
14292 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
14294 (__mpranred): Likewise.
14297 * malloc/memusagestat.c (main): Draw graphs for heap and stack
14298 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
14300 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
14302 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
14303 Define __attribute__.
14305 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
14307 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
14309 * posix/regex_internal.h (__attribute): Remove.
14310 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
14311 (re_string_context_at): Likewise.
14312 (bitset_not): Use __attribute__ and mark function as possibly
14314 (bitset_merge): Likewise.
14315 (bitset_mask): Likewise.
14316 (re_string_char_size_at): Likewise.
14317 (re_string_wchar_at): Likewise.
14318 (re_string_elem_size_at): Likewise.
14320 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
14322 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
14326 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
14330 (denorm): Likewise.
14331 (__dbl_mp): Likewise.
14332 (add_magnitudes): Likewise.
14333 (sub_magnitudes): Likewise.
14337 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
14340 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
14343 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
14346 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
14347 up changes with default code.
14348 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
14351 2013-02-24 Allan McRae <allan@archlinux.org>
14353 * manual/socket.texi (The Internet Namespace): Order menu items
14354 to match that in the file.
14356 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
14357 node listing of the info page menu.
14359 2013-02-21 Joseph Myers <joseph@codesourcery.com>
14362 * sysdeps/i386/bp-asm.h: Remove file.
14363 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
14364 (PARMS): Do not use macros from bp-asm.h.
14368 (__mpn_add_n): Do not use BP_SYM
14369 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
14371 (PARMS): Do not use macros from bp-asm.h.
14374 (__mpn_addmul_1): Do not use BP_SYM
14375 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
14377 (PARMS): Do not use macros from bp-asm.h.
14378 (SIGMSK): Likewise.
14379 (_setjmp): Likewise. Do not use BP_SYM.
14380 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
14382 (PARMS): Do not use macros from bp-asm.h.
14383 (SIGMSK): Likewise.
14384 (setjmp): Likewise. Do not use BP_SYM.
14385 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
14387 (PARMS): Do not use macros from bp-asm.h.
14388 (__frexp): Do not use BP_SYM.
14390 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
14392 (PARMS): Do not use macros from bp-asm.h.
14393 (__frexpf): Do not use BP_SYM.
14394 (frexpf): Likewise.
14395 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
14397 (PARMS): Do not use macros from bp-asm.h.
14398 (__frexpl): Do not use BP_SYM.
14399 (frexpl): Likewise.
14400 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
14402 (PARMS): Do not use macros from bp-asm.h.
14403 (__remquo): Do not use BP_SYM.
14404 (remquo): Likewise.
14405 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
14407 (PARMS): Do not use macros from bp-asm.h.
14408 (__remquof): Do not use BP_SYM.
14409 (remquof): Likewise.
14410 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
14412 (PARMS): Do not use macros from bp-asm.h.
14413 (__remquol): Do not use BP_SYM.
14414 (remquol): Likewise.
14415 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
14417 (PARMS): Do not use macros from bp-asm.h.
14420 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
14421 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
14423 (PARMS): Do not use macros from bp-asm.h.
14424 (strlen): Do not use BP_SYM.
14425 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
14427 (PARMS): Do not use macros from bp-asm.h.
14431 (__mpn_add_n): Do not use BP_SYM.
14432 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
14434 (PARMS): Do not use macros from bp-asm.h.
14437 (__mpn_addmul_1): Do not use BP_SYM.
14438 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
14441 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
14443 (PARMS): Do not use macros from bp-asm.h.
14446 (__mpn_lshift): Do not use BP_SYM.
14447 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
14449 (PARMS): Do not use macros from bp-asm.h.
14453 (memcpy): Likewise. Do not use BP_SYM.
14454 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
14455 libc_hidden_def and weak_alias.
14456 (mempcpy): Do not use BP_SYM in weak_alias.
14457 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
14459 (PARMS): Do not use macros from bp-asm.h.
14462 [!BZERO_P] (CHR): Likewise.
14463 (memset): Likewise. Do not use BP_SYM.
14464 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
14466 (PARMS): Do not use macros from bp-asm.h.
14469 (__mpn_mul_1): Do not use BP_SYM.
14470 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
14472 (PARMS): Do not use macros from bp-asm.h.
14475 (__mpn_rshift): Do not use BP_SYM.
14476 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
14478 (PARMS): Do not use macros from bp-asm.h.
14481 (strchr): Likewise. Do not use BP_SYM.
14482 (index): Do not use BP_SYM in weak_alias.
14483 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
14485 (PARMS): Do not use macros from bp-asm.h.
14488 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
14489 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
14491 (PARMS): Do not use macros from bp-asm.h.
14492 (strlen): Do not use BP_SYM.
14493 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
14495 (PARMS): Do not use macros from bp-asm.h.
14499 (__mpn_sub_n): Do not use BP_SYM.
14500 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
14502 (PARMS): Do not use macros from bp-asm.h.
14505 (__mpn_submul_1): Do not use BP_SYM.
14506 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
14508 (PARMS): Do not use macros from bp-asm.h.
14512 (__mpn_add_n): Do not use BP_SYM.
14513 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
14516 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
14518 (PARMS): Do not use macros from bp-asm.h.
14521 (memcmp): Do not use BP_SYM.
14522 (bcmp): Do not use BP_SYM in weak_alias.
14523 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
14525 (PARMS): Do not use macros from bp-asm.h.
14529 (memcpy): Likewise. Do not use BP_SYM.
14530 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
14532 (PARMS): Do not use macros from bp-asm.h.
14536 (memmove): Likewise. Do not use BP_SYM.
14537 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
14539 (PARMS): Do not use macros from bp-asm.h.
14543 (__mempcpy): Likewise. Do not use BP_SYM.
14544 (mempcpy): Do not use BP_SYM in weak_alias.
14545 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
14547 (PARMS): Do not use macros from bp-asm.h.
14550 [!BZERO_P] (CHR): Likewise.
14551 (memset): Likewise. Do not use BP_SYM.
14552 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
14554 (PARMS): Do not use macros from bp-asm.h.
14556 (strcmp): Do not use BP_SYM.
14557 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
14559 (PARMS): Do not use macros from bp-asm.h.
14562 [USE_AS_STRTOK_R] (SAVE): Likewise.
14563 (FUNCTION): Likewise. Do not use BP_SYM.
14564 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
14566 (strtok_r): Likewise.
14567 (__GI___strtok_r): Likewise.
14568 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
14569 (PARMS): Do not use macros from bp-asm.h.
14572 (__mpn_lshift): Do not use BP_SYM.
14573 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
14574 (PARMS): Do not use macros from bp-asm.h.
14577 (__memchr): Do not use BP_SYM.
14578 (memchr): Do not use BP_SYM in weak_alias.
14579 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
14580 (PARMS): Do not use macros from bp-asm.h.
14583 (memcmp): Do not use BP_SYM.
14584 (bcmp): Do not use BP_SYM in weak_alias.
14585 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
14586 (PARMS): Do not use macros from bp-asm.h.
14589 (__mpn_mul_1): Do not use BP_SYM.
14590 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
14592 (PARMS): Do not use macros from bp-asm.h.
14595 (__rawmemchr): Do not use BP_SYM.
14596 (rawmemchr): Do not use BP_SYM in weak_alias.
14597 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
14598 (PARMS): Do not use macros from bp-asm.h.
14601 (__mpn_rshift): Do not use BP_SYM.
14602 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
14603 (PARMS): Do not use macros from bp-asm.h.
14604 (SIGMSK): Likewise.
14605 (__sigsetjmp): Likewise. Do not use BP_SYM.
14606 * sysdeps/i386/start.S: Do not include "bp-sym.h".
14607 (_start): Do not use BP_SYM.
14608 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
14609 (PARMS): Do not use macros from bp-asm.h.
14612 (__stpcpy): Likewise. Do not use BP_SYM.
14613 (stpcpy): Do not use BP_SYM in weak_alias.
14614 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
14616 (PARMS): Do not use macros from bp-asm.h.
14620 (__stpncpy): Likewise. Do not use BP_SYM.
14621 (stpncpy): Do not use BP_SYM in weak_alias.
14622 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
14623 (PARMS): Do not use macros from bp-asm.h.
14626 (strchr): Likewise. Do not use BP_SYM.
14627 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
14629 (PARMS): Do not use macros from bp-asm.h.
14632 (__strchrnul): Likewise. Do not use BP_SYM.
14633 (strchrnul): Do not use BP_SYM in weak_alias.
14634 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
14636 (PARMS): Do not use macros from bp-asm.h.
14638 (strcspn): Do not use BP_SYM.
14639 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
14641 (PARMS): Do not use macros from bp-asm.h.
14644 (strpbrk): Likewise. Do not use BP_SYM.
14645 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
14647 (PARMS): Do not use macros from bp-asm.h.
14650 (strrchr): Likewise. Do not use BP_SYM.
14651 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
14652 (PARMS): Do not use macros from bp-asm.h.
14654 (strspn): Do not use BP_SYM.
14655 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
14656 (PARMS): Do not use macros from bp-asm.h.
14660 (FUNCTION): Likewise. Do not use BP_SYM.
14661 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
14663 (strtok_r): Likewise.
14664 (__GI___strtok_r): Likewise.
14665 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
14666 (PARMS): Do not use macros from bp-asm.h.
14670 (__mpn_sub_n): Do not use BP_SYM.
14671 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
14673 (PARMS): Do not use macros from bp-asm.h.
14676 (__mpn_submul_1): Do not use BP_SYM.
14677 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
14679 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
14681 (PARMS): Do not use macros from bp-asm.h.
14686 (__clone): Do not use BP_SYM.
14687 (clone): Do not use BP_SYM in weak_alias.
14688 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
14690 (PARMS): Do not use macros from bp-asm.h.
14692 (__mmap64): Do not use BP_SYM.
14693 (mmap64): Do not use BP_SYM in weak_alias.
14694 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
14695 <bp-sym.h> and <bp-asm.h>.
14696 (PARMS): Do not use macros from bp-asm.h.
14697 (__posix_fadvise64_l64): Do not use BP_SYM.
14698 * sysdeps/unix/sysv/linux/i386/semtimedop.S
14699 (PARMS): Do not use macros from bp-asm.h.
14701 (semtimedop): Do not use BP_SYM.
14702 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
14705 2013-02-21 Allan McRae <allan@archlinux.org>
14707 * manual/message.texi (Charset conversion in gettext):
14708 Move @end statement to beginning of line.
14710 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
14712 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
14714 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
14717 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
14718 (denorm): Likewise.
14719 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
14720 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
14722 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14724 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
14725 tail-call to the resolved function if pltexit isn't needed.
14727 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
14729 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
14730 or Y being zero as being unlikely.
14731 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
14734 2013-02-20 Carlos O'Donell <carlos@redhat.com>
14736 * manual/nss.texi (System Databases and Name Service Switch):
14737 Remove frobnicate @pxref.
14739 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
14741 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
14742 __attribute__ ((unused)) to __attribute__ ((__unused__)).
14744 2013-02-20 Petr Machata <pmachata@redhat.com>
14746 * elf/elf.h (R_ARM_TARGET1): New macro.
14747 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
14748 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
14749 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
14750 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
14751 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
14752 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
14753 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
14754 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
14755 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
14756 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
14757 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
14758 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
14759 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
14760 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
14761 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
14762 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
14763 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
14764 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
14765 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
14766 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
14767 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
14768 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
14769 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
14770 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
14771 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
14772 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
14773 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
14774 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
14775 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
14776 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
14777 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
14778 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
14779 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
14780 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
14781 (R_ARM_THM_GOT_BREL12): Likewise.
14782 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
14783 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
14784 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
14785 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
14786 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
14787 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
14788 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
14789 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
14790 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
14792 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
14794 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
14795 __attribute_used__ to __attribute__ ((unused)).
14797 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
14799 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
14801 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
14802 comment formatting.
14803 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
14805 2013-02-19 Joseph Myers <joseph@codesourcery.com>
14808 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
14810 (ENTER): Remove both macro definitions.
14812 (CHECK_BOUNDS_LOW): Likewise.
14813 (CHECK_BOUNDS_HIGH): Likewise.
14814 (CHECK_BOUNDS_BOTH): Likewise.
14815 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
14816 (RETURN_BOUNDED_POINTER): Likewise.
14817 (RETURN_NULL_BOUNDED_POINTER): Likewise.
14818 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
14819 (POP_ERRNO_LOCATION_RETURN): Likewise.
14820 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
14821 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
14822 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
14824 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
14825 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
14826 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
14827 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
14828 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
14829 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
14830 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
14831 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
14832 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
14833 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
14834 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
14835 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
14836 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
14837 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
14839 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
14840 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
14842 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
14843 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
14844 * sysdeps/i386/i586/memset.S (memset): Likewise.
14845 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
14846 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
14847 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
14849 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
14850 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
14851 Change uses of L(2) to L(out).
14852 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
14853 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
14854 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
14855 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
14856 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
14858 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
14859 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
14861 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
14862 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
14863 (RETURN): Do not use macro LEAVE.
14864 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
14865 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
14866 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
14867 * sysdeps/i386/i686/memset.S (memset): Likewise.
14868 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
14869 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
14870 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
14871 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
14873 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
14874 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
14875 L(1_2) and L(1_3) into L(1).
14876 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
14877 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
14878 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
14879 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
14880 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
14881 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
14882 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
14883 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
14884 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
14886 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
14887 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
14888 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
14889 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
14890 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
14891 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
14892 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
14893 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
14894 * sysdeps/i386/strcspn.S (strcspn): Likewise.
14895 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
14896 * sysdeps/i386/strrchr.S (strrchr): Likewise.
14897 * sysdeps/i386/strspn.S (strspn): Likewise.
14898 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
14900 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
14901 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
14902 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
14903 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
14904 L(1_3) into L(1_1).
14905 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
14906 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
14907 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
14909 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
14911 2013-02-19 Jakub Jelinek <jakub@redhat.com>
14913 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
14916 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
14918 * math/atest-exp.c (exp_mpn): Remove ROUND.
14919 * math/atest-exp2.c (exp_mpn): Likewise.
14920 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
14922 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
14923 * stdlib/tst-tls-atexit-lib.c: Likewise.
14924 * stdlib/tst-tls-atexit.c: Likewise.
14926 2013-02-18 Mike Frysinger <vapier@gentoo.org>
14928 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
14929 and __attribute_alloc_size__.
14931 2013-02-18 Mike Frysinger <vapier@gentoo.org>
14933 * include/programs/xmalloc.h: Change __attribute_alloc_size to
14934 __attribute_alloc_size__.
14935 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
14936 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
14938 2013-02-18 Mike Frysinger <vapier@gentoo.org>
14940 * include/programs/xmalloc.h: New file.
14941 * catgets/gencat.c: Include it.
14942 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
14943 * elf/pldd.c: Likewise.
14944 * iconv/iconv_charmap.c: Likewise.
14945 * iconv/iconvconfig.c: Likewise.
14946 * iconv/strtab.c: Likewise.
14947 * locale/programs/locale.c: Likewise.
14948 * locale/programs/localedef.h: Likewise.
14949 * locale/programs/simple-hash.c: Likewise.
14950 * nscd/nscd.h: Likewise.
14951 * nss/makedb.c: Likewise.
14952 * sysdeps/generic/ldconfig.h: Likewise.
14954 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
14956 * Versions.def: Add GLIBC_2.18.
14957 * include/link.h (struct link_map): New member l_tls_dtor_count.
14958 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
14959 (__call_tls_dtors): Likewise.
14960 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
14961 __cxa_thread_atexit_impl.
14962 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14964 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
14966 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
14968 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
14970 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
14971 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
14973 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
14975 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
14976 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
14978 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
14979 (tests): Add test case tst-tls-atexit.
14980 (modules-names): Add shared library for tst-tls-atexit.
14981 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
14982 (GLIBC_PRIVATE): Add __call_tls_dtors.
14983 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
14985 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
14986 * stdlib/tst-tls-atexit.c: New test case.
14987 * stdlib/tst-tls-atexit-lib.c: New test case.
14989 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
14991 * elf/Versions (ld): Add _dl_find_dso_for_object.
14992 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
14993 * elf/dl-open.c (_dl_find_dso_for_object): New function.
14994 (dl_open_worker): Use _dl_find_dso_for_object.
14995 * elf/dl-sym.c (do_sym): Likewise.
14996 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
14998 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15000 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
15001 Syntactic changes only.
15002 (_dl_runtime_profile): Do a tail-call to the resolved function.
15004 2013-02-17 Joseph Myers <joseph@codesourcery.com>
15007 * sysdeps/x86_64/bp-asm.h: Remove file.
15008 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
15009 <bp-sym.h> and <bp-asm.h>.
15010 (__clone): Do not use BP_SYM.
15011 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
15012 <bp-sym.h> and <bp-asm.h>.
15013 * sysdeps/unix/x86_64/sysdep.S: Likewise.
15014 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
15016 (_setjmp): Do not use BP_SYM.
15017 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
15019 (setjmp): Do not use BP_SYM.
15020 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
15022 (mempcpy): Do not use BP_SYM in weak_alias.
15023 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
15025 (strchr): Do not use BP_SYM.
15026 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
15028 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
15029 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
15030 (_start): Do not use BP_SYM.
15031 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
15033 (strcat): Do not use BP_SYM.
15034 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
15036 (STRCMP): Do not use BP_SYM.
15037 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
15039 (STRCPY): Do not use BP_SYM.
15040 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
15042 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
15044 (FUNCTION): Do not use BP_SYM.
15045 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
15047 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
15049 2013-02-17 Andreas Jaeger <aj@suse.de>
15051 * time/Versions: Sort entries.
15052 * string/Versions: Likewise.
15053 * resolv/Versions: Likewise.
15054 * posix/Versions: Likewise.
15055 * iconv/Versions: Likewise.
15056 * elf/Versions: Likewise.
15057 * wcsmbs/Versions: Likewise.
15059 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15061 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
15062 loop termination condition.
15064 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
15065 variable to calculate EZ.
15068 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
15069 the lower precision input.
15071 2013-02-15 Joseph Myers <joseph@codesourcery.com>
15074 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
15075 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
15076 (run-via-rtld-prefix): Do not handle %-bp tests.
15077 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
15078 (all-object-suffixes): Remove .ob.
15079 (bppfx): Remove variable.
15080 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
15081 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
15082 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
15083 [$(build-bounded) = yes] (libtype.ob): Likewise.
15084 * Makerules (elide-routines.ob): Remove variable.
15085 (do-tests-clean): Do not handle *-bp.out.
15086 (common-mostlyclean): Do not handle *-bp and *-bp.out.
15087 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
15088 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
15089 (tests): Do not include $(tests-bp.out).
15090 (xtests): Do not include $(xtests-bp.out).
15091 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
15092 [$(build-bounded) = yes] ($(addprefix
15093 $(objpfx),$(binaries-bounded))): Remove rule.
15094 ($(objpfx)%-bp.out): Remove rule.
15095 * config.make.in (build-bounded): Remove variable.
15096 * crypt/Makefile [$(build-bounded) = yes]
15097 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
15098 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
15099 append to variable.
15100 [$(build-bounded) = yes] (install-lib): Likewise.
15101 [$(build-bounded) = yes] (generated): Likewise.
15102 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
15104 * intl/Makefile [$(build-bounded) = yes]
15105 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
15106 * math/Makefile [$(build-bounded) = yes]
15107 ($(tests:%=$(objpfx)%-bp): Likewise.
15108 * misc/Makefile [$(build-bounded) = yes]
15109 ($(objpfx)tst-tsearch-bp): Likewise.
15110 * nptl/Makeconfig (bounded-thread-library): Remove variable.
15111 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
15113 * string/Makefile (o-objects.ob): Remove variable.
15114 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
15115 (CFLAGS-.ob): Remove variable.
15116 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
15117 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
15118 both definitions of variable.
15119 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
15120 (ASFLAGS-.ob): Remove variable.
15122 2013-02-14 Joseph Myers <joseph@codesourcery.com>
15125 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
15126 Remove __BOUNDED_POINTERS__ from condition.
15127 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
15128 * string/bits/string2.h [!__NO_STRING_INLINES &&
15129 !__BOUNDED_POINTERS__]: Likewise.
15130 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
15132 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
15133 Remove conditional code.
15134 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
15135 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
15136 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
15140 * csu/libc-start.c: Do not include <bp-sym.h>.
15141 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
15142 * elf/dl-open.c: Do not include <bp-sym.h>.
15143 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
15144 * math/fegetenv.c: Do not include <bp-sym.h>.
15145 (fegetenv): Do not use BP_SYM in versioned symbols.
15146 * nptl/sysdeps/pthread/bits/libc-lockP.h
15147 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
15149 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15150 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
15151 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15152 (__pthread_mutex_destroy): Likewise.
15153 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15154 (__pthread_mutex_lock): Likewise.
15155 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15156 (__pthread_mutex_trylock): Likewise.
15157 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15158 (__pthread_mutex_unlock): Likewise.
15159 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15160 (__pthread_mutexattr_init): Likewise.
15161 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15162 (__pthread_mutexattr_destroy): Likewise.
15163 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15164 (__pthread_mutexattr_settype): Likewise.
15165 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15166 (__pthread_rwlock_init): Likewise.
15167 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15168 (__pthread_rwlock_destroy): Likewise.
15169 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15170 (__pthread_rwlock_rdlock): Likewise.
15171 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15172 (__pthread_rwlock_tryrdlock): Likewise.
15173 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15174 (__pthread_rwlock_wrlock): Likewise.
15175 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15176 (__pthread_rwlock_trywrlock): Likewise.
15177 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15178 (__pthread_rwlock_unlock): Likewise.
15179 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15180 (__pthread_key_create): Likewise.
15181 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15182 (__pthread_setspecific): Likewise.
15183 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15184 (__pthread_getspecific): Likewise.
15185 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
15187 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15188 (_pthread_cleanup_push_defer): Likewise.
15189 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15190 (_pthread_cleanup_pop_restore): Likewise.
15191 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15192 (pthread_setcancelstate): Likewise.
15193 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
15195 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
15196 (memchr): Do not use BP_SYM in weak_alias.
15197 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
15198 (fegetenv): Do not use BP_SYM in versioned symbols.
15199 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
15200 (fesetenv): Do not use BP_SYM in versioned symbols.
15201 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
15202 (feupdateenv): Do not use BP_SYM in versioned symbols.
15203 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
15204 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
15205 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
15206 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
15207 (open64): Do not use BP_SYM in weak_alias.
15208 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
15209 (fegetenv): Do not use BP_SYM in versioned symbols.
15210 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
15211 (fesetenv): Do not use BP_SYM in versioned symbols.
15212 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
15213 (feupdateenv): Do not use BP_SYM in versioned symbols.
15214 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
15215 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
15216 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
15217 (feraiseexcept): Do not use BP_SYM in versioned symbols.
15218 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
15219 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
15220 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
15222 (__libc_start_main): Do not use BP_SYM.
15224 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
15226 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
15227 redundant return line.
15229 (denorm): Likewise.
15230 (dbl_mp): Likewise.
15231 (sub_magnitudes): Likewise.
15237 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
15239 (denorm): Likewise.
15240 (dbl_mp): Likewise.
15241 (sub_magnitudes): Likewise.
15248 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
15250 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
15251 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
15254 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
15255 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
15256 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
15257 of __mul for squares.
15258 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
15260 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
15262 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
15263 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
15265 2013-02-13 Joseph Myers <joseph@codesourcery.com>
15268 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
15270 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
15271 prototype or function definition. Rename ubp_* variables and
15272 parameters. Remove argv definitions conditional on
15273 [__BOUNDED_POINTERS__].
15274 * debug/backtrace.c (__backtrace): Do not use __unbounded.
15275 * elf/dl-runtime.c (_dl_fixup): Likewise.
15276 * include/set-hooks.h (RUN_HOOK): Likewise.
15277 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
15279 * string/strcpy.c (strcpy): Do not use __unbounded.
15280 * sysdeps/generic/frame.h (struct layout): Likewise.
15281 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
15282 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
15283 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
15284 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
15285 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
15286 (__backtrace): Likewise.
15287 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
15289 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
15290 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
15291 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
15293 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
15294 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
15295 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
15296 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
15297 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
15298 Do not use __unbounded.
15299 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
15300 Rename __unboundedrlimits parameter to rlimits in prototype.
15301 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
15302 Do not use __unbounded.
15303 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
15304 not use __ptrvalue.
15305 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
15306 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
15307 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
15308 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
15309 __ptrvalue or __unbounded.
15310 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
15311 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
15313 (__new_msgctl): Do not use __ptrvalue.
15314 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
15316 (__libc_msgrcv): Do not use __ptrvalue.
15317 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
15318 startup_info): Do not use __unbounded.
15319 (__libc_start_main): Likewise. Rename ubp_* variables and
15320 parameters. Remove argv definitions conditional on
15321 [__BOUNDED_POINTERS__].
15322 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
15324 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
15326 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
15328 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
15330 (__new_shmctl): Do not use __ptrvalue.
15331 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
15332 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
15334 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
15335 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
15336 (__libc_sigaction): Likewise.
15337 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
15338 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
15340 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
15342 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
15344 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
15346 * string/mempcpy.c: Implement by calling memcpy.
15348 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
15350 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
15352 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
15355 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
15356 values in the mantissa.
15358 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
15359 minimize writes to Z.
15360 (sub_magnitudes): Simplify code a bit.
15362 2013-02-12 Roland McGrath <roland@hack.frob.com>
15364 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
15365 from the message. The linker prefixes all warnings with that already.
15367 2013-02-12 Andreas Schwab <schwab@suse.de>
15370 * posix/regexec.c (extend_buffers): Add parameter min_len.
15371 (check_matching): Pass minimum needed length.
15372 (clean_state_log_if_needed): Likewise.
15373 (get_subexp): Likewise.
15374 * posix/Makefile (tests): Add bug-regex34.
15375 (bug-regex34-ENV): Define.
15376 * posix/bug-regex34.c: New file.
15379 * posix/regcomp.c (parse_bracket_exp): When looking up collating
15380 elements compare against the byte sequence of it, not its name.
15381 * posix/Makefile (tests): Add bug-regex35.
15382 (bug-regex35-ENV): Define.
15383 * posix/bug-regex35.c: New file.
15385 2013-02-11 Tom de Vries <tom@codesourcery.com>
15387 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
15389 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
15390 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
15391 (CHECK_EOL): Add undef.
15393 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
15395 * bits/stdlib-bsearch.h: New file.
15396 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
15397 * stdlib/stdlib.h: Likewise.
15399 2013-02-11 Roland McGrath <roland@hack.frob.com>
15401 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
15402 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
15404 * manual/search.texi (Array Search Function): Add missing const in
15406 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
15407 declaration to use rlim_t.
15408 (Basic Scheduling Functions): Remove erroneous const from
15409 sched_getparam prototype. Remove erroneous * from
15410 sched_get_priority_max and sched_get_priority_min prototypes.
15411 (Resource Usage): Fix summary @comment on vtimes to refer to
15412 sys/vtimes.h rather than vtimes.h.
15413 Add missing *s in vtimes prototype.
15414 (Limits on Resources): Fix ulimit prototype to return long int.
15415 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
15416 prototypes to use long int rather than double.
15417 (BSD Random): Fix initstate and setstate to use char *, not void *.
15418 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
15419 prototype to make second argument 'struct aiocb64 *const[]'.
15420 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
15421 (Status of AIO Operations): Remove erroneous const in aio_return and
15422 aio_return64 prototypes.
15423 (Synchronizing I/O): Fix sync prototype to return void.
15424 * manual/startup.texi (Suboptions): Remove an erroneous const in
15425 getsubopt prototype.
15426 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
15427 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
15428 use size_t rather than int.
15429 (Scanning All Users): Likewise for getpwent_r.
15430 (Setting Groups): Add missing const to setgroups prototype.
15431 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
15432 * manual/socket.texi (Host Names): Fix gethostbyaddr and
15433 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
15434 'const void *' rather than 'const char *'.
15435 (Host Address Functions): Likewise for inet_ntop.
15436 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
15437 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
15438 ssize_t for return value.
15439 (Sending Data): Likewise for send, sendto, sendmsg.
15440 (Socket Option Functions): Add a missing const in setsockopt prototype.
15441 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
15442 use wchar_t for the argument.
15443 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
15444 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
15446 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
15447 double/float/long double for second argument.
15448 Fix return types of significand, significandf, significandl.
15449 * manual/filesys.texi (Setting Permissions): Use mode_t for second
15450 argument in fchmod prototype.
15451 (File Owner): Use uid_t and gid_t in fchown prototype.
15452 (File Times): Add const to utimes, futimes, and lutimes prototypes.
15453 (Making Special Files): Use mode_t and dev_t in mknod prototype.
15454 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
15455 use 'const struct dirent **' as argument types to CMP function pointer
15457 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
15458 (File Times): Fix summary magic @comment for struct utimbuf and utime
15459 to refer to utime.h, not time.h.
15460 * manual/string.texi (Argz Functions): Add missing const in
15461 argz_extract and argz_next prototypes.
15462 (Finding Tokens in a String): Likewise for basename.
15463 (String/Array Comparison): Fix typo in wcscasecmp prototype.
15464 (Copying and Concatenation): Fix typo in wmemmove prototype.
15465 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
15466 (Signal Stack): Remove erroneous const in sigstack prototype.
15467 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
15469 (Simple Calendar Time): Likewise for stime.
15470 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
15472 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
15473 say sys/sysctl.h instead.
15474 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
15475 and vsyslog prototypes.
15477 2013-02-11 Tom de Vries <tom@codesourcery.com>
15479 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
15482 2013-02-11 Roland McGrath <roland@hack.frob.com>
15484 * misc/sys/mman.h: Fix typo in mremap comment.
15486 2013-02-08 Roland McGrath <roland@hack.frob.com>
15488 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
15489 the '\0' terminator.
15491 2013-02-08 Joseph Myers <joseph@codesourcery.com>
15494 * debug/segfault.c: Don't include <bp-checks.h>.
15495 * sysdeps/generic/bp-checks.h: Remove file.
15496 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
15497 (__GETDENTS): Don't use CHECK_N.
15498 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
15499 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
15500 (__getgroups): Don't use CHECK_N.
15501 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
15502 (setgroups): Don't use CHECK_N.
15503 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
15504 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
15505 (__libc_msgrcv): Don't use CHECK_N.
15506 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
15507 (__libc_msgsnd): Don't use CHECK_N.
15508 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
15510 (__libc_pread): Don't use CHECK_N.
15511 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
15512 include <bp-checks.h>.
15513 (__libc_pread64): Don't use CHECK_N.
15514 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
15515 include <bp-checks.h>.
15516 (__libc_pwrite): Don't use CHECK_N.
15517 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
15518 include <bp-checks.h>.
15519 (__libc_pwrite64): Don't use CHECK_N.
15520 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
15522 (__libc_pread): Don't use CHECK_N.
15523 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
15524 include <bp-checks.h>.
15525 (__libc_pread64): Don't use CHECK_N.
15526 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
15527 include <bp-checks.h>.
15528 (__libc_pwrite): Don't use CHECK_N.
15529 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
15530 include <bp-checks.h>.
15531 (__libc_pwrite64): Don't use CHECK_N.
15532 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
15533 (do_pread): Don't use CHECK_N.
15534 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
15535 (do_pread64): Don't use CHECK_N.
15536 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
15537 (do_pwrite): Don't use CHECK_N.
15538 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
15539 (do_pwrite64): Don't use CHECK_N.
15540 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
15541 (__libc_readv): Don't use CHECK_N.
15542 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
15543 (semop): Don't use CHECK_N.
15544 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
15546 (semtimedop): Don't use CHECK_N.
15547 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
15548 (__libc_pread): Don't use CHECK_N.
15549 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
15551 (__libc_pread64): Don't use CHECK_N.
15552 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
15554 (__libc_pwrite): Don't use CHECK_N.
15555 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
15557 (__libc_pwrite64): Don't use CHECK_N.
15558 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
15560 (__libc_msgrcv): Don't use CHECK_N.
15561 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
15562 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
15563 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
15564 (__libc_writev): Don't use CHECK_N.
15566 2013-02-08 Roland McGrath <roland@hack.frob.com>
15568 * string/strcpy.c: Removed unused variable.
15570 * Makeconfig (+sysdep-includes): Define with := rather than =.
15571 Use an existing include/ subdir of each sysdeps dir before it.
15573 2013-02-08 Carlos O'Donell <carlos@redhat.com>
15575 * nscd/connection.c (register_traced_file): Comment function.
15576 [HAVE_INOTIFY] (union __inev): Define.
15577 [HAVE_INOTIFY] (inotify_check_files): New function.
15578 [HAVE_INOTIFY] (clear_db_cache): Likewise.
15579 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
15581 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
15583 2013-02-08 Carlos O'Donell <carlos@redhat.com>
15585 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
15586 loaded if not already and that a failure is permanent.
15588 2013-02-08 Carlos O'Donell <carlos@redhat.com>
15591 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
15592 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
15594 2013-02-08 Joseph Myers <joseph@codesourcery.com>
15597 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
15598 (CHECK_1_NULL_OK): Likewise.
15599 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
15600 (__fxstat): Do not use CHECK_1.
15601 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
15603 (___fxstat64): Do not use CHECK_1.
15604 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
15606 (__fxstatat): Do not use CHECK_1.
15607 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
15609 (__fxstatat64): Do not use CHECK_1.
15610 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
15612 (__fxstat): Do not use CHECK_1.
15613 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
15615 (__fxstatat): Do not use CHECK_1.
15616 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
15618 (__getresgid): Do not use CHECK_1.
15619 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
15621 (__getresuid): Do not use CHECK_1.
15622 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
15624 (__lxstat): Do not use CHECK_1.
15625 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
15627 (__old_msgctl): Do not use CHECK_1.
15628 (__new_msgctl): Likewise.
15629 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
15631 (__new_setrlimit): Do not use CHECK_1.
15632 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
15634 (__old_shmctl): Do not use CHECK_1.
15635 (__new_shmctl): Likewise.
15636 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
15638 (__xstat): Do not use CHECK_1.
15639 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
15640 (__lxstat): Do not use CHECK_1.
15641 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
15643 (___lxstat64): Do not use CHECK_1.
15644 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
15645 (__old_msgctl): Do not use CHECK_1.
15646 (__new_msgctl): Likewise.
15647 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
15649 (__gettimeofday): Do not use CHECK_1.
15650 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
15651 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
15652 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
15654 (__gettimeofday): Do not use CHECK_1.
15655 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
15656 (__old_shmctl): Do not use CHECK_1_NULL_OK.
15657 (__new_shmctl): Do not use CHECK_1.
15658 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
15660 (do_sigtimedwait): Do not use CHECK_1.
15661 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
15663 (do_sigwaitinfo): Do not use CHECK_1.
15664 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
15666 (msgctl): Do not use CHECK_1.
15667 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
15669 (shmctl): Do not use CHECK_1.
15670 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
15671 (ustat): Do not use CHECK_1.
15672 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
15674 (__fxstat): Do not use CHECK_1.
15675 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
15677 (__fxstatat): Do not use CHECK_1.
15678 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
15680 (__lxstat): Do not use CHECK_1.
15681 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
15683 (__xstat): Do not use CHECK_1.
15684 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
15685 (__xstat): Do not use CHECK_1.
15686 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
15687 (___xstat64): Do not use CHECK_1.
15690 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
15692 (CHECK_BOUNDS_HIGH): Likewise.
15693 * string/strcpy.c: Do not include <bp-checks.h>.
15694 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
15696 2013-02-07 Roland McGrath <roland@hack.frob.com>
15698 * nscd/nscd-client.h (__nscd_drop_map_ref):
15699 Add __attribute__ ((unused)).
15700 * nis/nss-nisplus.h (niserr2nss): Likewise.
15702 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
15703 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
15705 * csu/libc-tls.c (init_static_tls, init_slotinfo):
15706 Remove inline keyword.
15707 * include/rounding-mode.h (round_away): Likewise.
15708 * libio/wfileops.c (adjust_wide_data): Likewise.
15709 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
15710 (__m128i_strloadu_tolower): Likewise.
15711 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
15712 (__m128i_strloadu_tolower): Likewise.
15713 * time/mktime.c (ydhms_diff): Likewise.
15714 * locale/elem-hash.h (elem_hash): Likewise.
15715 * locale/setlocale.c (setdata): Likewise.
15716 * posix/regex_internal.h (re_string_char_size_at): Likewise.
15717 (re_string_wchar_at): Likewise.
15718 (bitset_not, bitset_merge, bitset_mask): Likewise.
15719 [!(__GNUC__ > 3)] (inline): Remove macro.
15720 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
15721 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
15722 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
15723 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
15724 * string/memcmp.c (memcmp_bytes): Likewise.
15725 * locale/programs/locarchive.c (compute_hashval): Likewise.
15726 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
15727 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
15728 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
15729 * nss/getent.c (print_rpc, print_protocols): Likewise.
15730 (print_passwd, print_group, print_aliases): Likewise.
15731 * nis/nss-nisplus.h (niserr2nss): Likewise.
15732 * nscd/connections.c (restart_p): Likewise.
15733 Change return type to bool.
15735 2013-02-05 Roland McGrath <roland@hack.frob.com>
15737 * Makeconfig (all-Depend-files): Add existing
15738 $(sorted-subdirs:=/Depend) files.
15739 (all-subdirs): Remove nss.
15740 * sysdeps/unix/inet/Subdirs: Add it here instead.
15741 * hesiod/Depend: New file.
15743 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
15744 instead of calling alloca.
15746 * io/lseek.c (__lseek): Rename to __libc_lseek.
15747 Define __lseek as an alias.
15749 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
15751 2013-02-04 Carlos O'Donell <carlos@redhat.com>
15753 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
15754 else clause and remove check for non-standard endianness.
15756 2013-02-04 David S. Miller <davem@davemloft.net>
15758 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15760 2013-02-04 Joseph Myers <joseph@codesourcery.com>
15763 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
15764 (__ubp_memchr): Remove prototype.
15765 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
15766 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
15767 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
15768 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
15769 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
15771 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
15772 (__ubp_memchr): Likewise.
15773 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
15774 (__ubp_memchr): Likewise.
15775 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
15776 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
15777 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
15778 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
15780 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
15781 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
15782 (__getcwd): Do not use CHECK_STRING.
15783 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
15785 (__real_chown): Do not use CHECK_STRING.
15786 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
15788 (fchownat): Do not use CHECK_STRING.
15789 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
15791 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
15793 (__lchown): Do not use CHECK_STRING.
15794 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
15795 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
15796 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
15797 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
15798 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
15799 include <bp-checks.h>.
15800 (truncate64): Do not use CHECK_STRING.
15801 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
15803 (__real_chown): Do not use CHECK_STRING.
15804 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
15806 (__lchown): Do not use CHECK_STRING.
15807 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
15809 (__chown): Do not use CHECK_STRING.
15810 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
15812 (truncate64): Do not use CHECK_STRING.
15813 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
15815 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
15816 (__xmknod): Do not use CHECK_STRING.
15817 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
15819 (__xmknodat): Do not use CHECK_STRING.
15820 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
15821 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
15823 2013-02-04 Andreas Schwab <schwab@suse.de>
15826 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
15827 * include/netdb.h: Likewise for h_errno.
15828 * elf/tst-stackguard1.c: Include <tls.h>.
15830 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
15832 * elf/link.h (struct link_map): Extend the l_addr comment.
15833 * include/link.h (struct link_map): Likewise.
15835 2013-02-01 Joseph Myers <joseph@codesourcery.com>
15838 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
15839 (BOUNDED_1): Remove macro.
15840 * debug/backtrace.c: Don't include <bp-checks.h>.
15841 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
15842 (__backtrace): Likewise.
15843 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
15845 (__backtrace): Don't use BOUNDED_1.
15846 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
15848 (__backtrace): Don't use BOUNDED_1.
15849 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
15850 (__backtrace): Don't use BOUNDED_1.
15851 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
15852 (shmat): Don't use BOUNDED_N.
15854 2013-01-31 Joseph Myers <joseph@codesourcery.com>
15857 * sysdeps/generic/bp-start.h: Remove file.
15858 * csu/libc-start.c: Don't include <bp-start.h>.
15859 (LIBC_START_MAIN): Set up __environ directly instead of using
15860 INIT_ARGV_and_ENVIRON.
15861 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
15865 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
15867 (CHECK_FCNTL): Likewise.
15868 (CHECK_N_PAGES): Likewise.
15871 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
15873 (CHECK_SIGSET_NULL_OK): Likewise.
15874 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
15876 (sigpending): Don't use CHECK_SIGSET.
15877 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
15879 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
15880 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
15882 (do_sigsuspend): Don't use CHECK_SIGSET.
15883 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
15885 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
15886 (do_sigwait): Don't use CHECK_SIGSET.
15887 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
15889 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
15890 include <bp-checks.h>.
15891 (sigpending): Don't use CHECK_SIGSET.
15892 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
15893 include <bp-checks.h>.
15894 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
15895 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
15897 (sigpending): Don't use CHECK_SIGSET.
15898 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
15900 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
15903 * sysdeps/generic/bp-semctl.h: Remove file.
15904 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
15905 <bp-checks.h> and <bp-semctl.h>.
15906 (__old_semctl): Don't use CHECK_SEMCTL.
15907 (__new_semctl): Likewise.
15908 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
15910 (__old_semctl): Don't use CHECK_SEMCTL.
15911 (__new_semctl): Likewise.
15912 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
15913 <bp-checks.h> and <bp-semctl.h>.
15914 (__old_semctl): Don't use CHECK_SEMCTL.
15915 (__new_semctl): Likewise.
15916 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
15917 <bp-checks.h> and <bp-semctl.h>.
15918 (semctl): Don't use CHECK_SEMCTL.
15921 * Makerules (elide-bp-thunks): Remove variable.
15922 (elide-routines.oS): Don't use $(elide-bp-thunks).
15923 (elide-routines.os): Likewise.
15924 (elide-routines.o): Likewise.
15925 (elide-routines.op): Likewise.
15926 (elide-routines.og): Likewise.
15927 (objects): Don't use $(bp-thunks).
15928 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
15930 (common-generated): Do not add s-proto-bp.d.
15931 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
15934 Do not generate makefile rules for bounded-pointer thunks.
15935 * sysdeps/generic/bp-thunks.h: Remove file.
15936 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
15937 * sysdeps/unix/s-proto-bp.S: Likewise.
15940 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
15941 parts of result separately when argument is not close to line from
15942 -i to i and one part of argument is small.
15943 * math/k_casinhf.c (__kernel_casinhf): Likewise.
15944 * math/k_casinhl.c (__kernel_casinhl): Likewise.
15945 * math/libm-test.inc (cacos_test): Add more tests.
15946 (casin_test): Likewise.
15947 (casinh_test): Likewise.
15948 * sysdeps/i386/fpu/libm-test-ulps: Update.
15949 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15951 2013-01-31 David S. Miller <davem@davemloft.net>
15953 * po/de.po: Update from translation team.
15955 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
15957 * time/tzfile.c: Include stdint.h for SIZE_MAX.
15959 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
15961 * configure.in (_AC_PROG_CC_C89): New definition.
15962 * configure: Regenerate.
15964 * configure.in (AC_PROG_CPP): New definition.
15965 * configure: Regenerate.
15967 2013-01-23 Joseph Myers <joseph@codesourcery.com>
15969 * debug/tst-backtrace.h: New file.
15970 * debug/tst-backtrace2.c: Include tst-backtrace.h.
15971 (ret): Remove variable.
15973 (FAIL): Remove macro.
15974 (NO_INLINE): Likewise.
15975 (fn1): Use match function instead of strstr.
15976 * debug/tst-backtrace3.c: Include tst-backtrace.h.
15977 (ret): Remove variable.
15979 (FAIL): Remove macro.
15980 (NO_INLINE): Likewise.
15981 (fn): Use match function instead of strstr.
15982 * debug/tst-backtrace4.c: Include tst-backtrace.h.
15983 (ret): Remove variable.
15985 (FAIL): Remove macro.
15986 (NO_INLINE): Likewise.
15987 (handle_signal): Use match function instead of strstr.
15988 * debug/tst-backtrace5.c: Include tst-backtrace.h.
15989 (ret): Remove variable.
15991 (FAIL): Remove macro.
15992 (NO_INLINE): Likewise.
15993 (handle_signal): Use match function instead of strstr.
15995 2013-01-23 Roland McGrath <roland@hack.frob.com>
15997 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
15999 2013-01-23 David S. Miller <davem@davemloft.net>
16001 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
16002 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
16003 argument of CAS if possible.
16004 * sysdeps/sparc/sparc64/bits/atomic.h
16005 (__arch_compare_and_exchange_val_32_acq): Likewise.
16006 (__arch_compare_and_exchange_val_64_acq): Likewise.
16008 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
16010 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
16011 * sysdeps/posix/ulimit.c: ... this.
16012 Include <limits.h>.
16013 * sysdeps/unix/bsd/ulimit.c: Remove file.
16015 2013-01-23 Adam Conrad <adconrad@0c3.net>
16017 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
16018 (LDFLAGS-tst-array5): Likewise.
16020 2013-01-23 Joseph Myers <joseph@codesourcery.com>
16023 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
16024 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
16025 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
16026 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
16028 2013-01-21 David S. Miller <davem@davemloft.net>
16030 * sysdeps/sparc/backtrace.c: New file.
16031 * sysdeps/sparc/sparc32/backtrace.h: New file.
16032 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
16033 * sysdeps/sparc/sparc64/backtrace.h: New file.
16034 * sysdeps/sparc/sparc64/backtrace.c: Delete.
16035 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
16038 2013-01-21 Andreas Schwab <schwab@suse.de>
16041 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
16044 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
16046 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
16048 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
16050 2013-01-18 Joseph Myers <joseph@codesourcery.com>
16051 Mark Mitchell <mark@codesourcery.com>
16052 Tom de Vries <tom@codesourcery.com>
16053 Paul Pluzhnikov <ppluzhnikov@google.com>
16055 * debug/tst-backtrace2.c: New file.
16056 * debug/tst-backtrace3.c: Likewise.
16057 * debug/tst-backtrace4.c: Likewise.
16058 * debug/tst-backtrace5.c: Likewise.
16059 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
16060 (CFLAGS-tst-backtrace3.c): Likewise.
16061 (CFLAGS-tst-backtrace4.c): Likewise.
16062 (CFLAGS-tst-backtrace5.c): Likewise.
16063 (LDFLAGS-tst-backtrace2): Likewise.
16064 (LDFLAGS-tst-backtrace3): Likewise.
16065 (LDFLAGS-tst-backtrace4): Likewise.
16066 (LDFLAGS-tst-backtrace5): Likewise.
16067 (tests): Add new tests tst-backtrace2, tst-backtrace3,
16068 tst-backtrace4 and tst-backtrace5.
16070 2013-01-18 Anton Blanchard <anton@samba.org>
16071 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16073 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
16074 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
16075 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
16076 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
16077 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
16078 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
16079 "+r" and remove output regs list as redundant. Add explicit inline
16080 asm to specify register of return val to work around compiler codegen
16081 bug. Remove (int) cast on return value. Add return type parameter to
16082 use in macro so that this macro does not truncate return value for
16084 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
16085 pass to INTERNAL_VSYSCALL_NCS.
16086 (INLINE_VSYSCALL): Add 'long int' as return type to
16087 INTERNAL_VSYSCALL_NCS macro invocation.
16088 (INTERNAL_VSYSCALL): Add 'long int' as return type to
16089 INTERNAL_VSYSCALL_NCS macro invocation.
16090 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
16092 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
16095 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
16096 Fix application of SIMD FP exception mask.
16098 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
16099 mp_no from a power of two.
16100 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
16101 __mpexp_twomm1. Use __pow_mp.
16103 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
16106 2013-01-17 David S. Miller <davem@davemloft.net>
16108 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16110 2013-01-17 Joseph Myers <joseph@codesourcery.com>
16113 * include/complex.h: Condition contents on [!_COMPLEX_H].
16114 (__kernel_casinhf): New prototype.
16115 (__kernel_casinh): Likewise.
16116 (__kernel_casinhl): Likewise.
16117 * math/Makefile (libm_calls): Add k_casinh.
16118 * math/k_casinh.c: New file.
16119 * math/k_casinhf.c: Likewise.
16120 * math/k_casinhl.c: Likewise.
16121 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
16122 finite nonzero arguments.
16123 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
16124 finite nonzero arguments.
16125 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
16126 finite nonzero arguments.
16127 * math/s_casinh.c: Do not include <float.h>.
16128 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
16129 * math/s_casinhf.c: Do not include <float.h>.
16130 (__casinhf): Move code for finite nonzero arguments to
16132 * math/s_casinhl.c: Do not include <float.h>.
16133 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
16135 (__casinhl): Move code for finite nonzero arguments to
16137 * math/libm-test.inc (cacos_test): Add more tests.
16138 * sysdeps/i386/fpu/libm-test-ulps: Update.
16139 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16141 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
16143 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
16144 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
16145 [!HAVE_MREMAP]: Remove [defined linux] case.
16146 * malloc/arena.c: Do not include <malloc-sysdep.h>.
16148 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
16150 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
16152 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
16154 * elf/elf.h (R_386_SIZE32): New relocation.
16155 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
16157 (elf_machine_rela): Likewise.
16158 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
16159 R_X86_64_SIZE64 and R_X86_64_SIZE32.
16161 2013-01-17 Joseph Myers <joseph@codesourcery.com>
16163 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
16164 (FP_FAST_FMA): Do not define.
16165 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
16166 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
16167 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
16168 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
16169 !_SOFT_FLOAT]: Likewise.
16170 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
16171 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
16173 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
16174 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
16175 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
16176 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
16177 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
16178 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
16181 2013-01-16 Andreas Schwab <schwab@suse.de>
16184 * include/stdlib.h (__mktemp): Add declaration.
16185 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
16186 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
16188 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
16190 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
16192 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
16193 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
16194 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
16196 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
16197 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
16199 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
16201 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
16202 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
16203 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
16205 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
16206 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
16208 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
16210 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
16212 2013-01-15 David S. Miller <davem@davemloft.net>
16214 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
16215 trunc{,f} to libm-sysdep_routes.
16216 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
16217 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
16219 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
16220 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
16222 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
16224 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
16225 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
16226 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
16227 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
16228 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
16229 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
16230 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
16231 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
16233 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
16234 nearbyint{,f} to libm-sysdep_routes.
16235 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
16236 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
16238 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
16240 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
16242 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
16244 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
16245 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
16246 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
16248 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
16249 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
16251 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
16252 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
16253 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
16255 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
16256 libc_feholdexcept and libc_fesetenv.
16258 2013-01-15 Mike Frysinger <vapier@gentoo.org>
16260 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
16262 2013-01-14 David S. Miller <davem@davemloft.net>
16264 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
16265 (SPARC_ASM_VIS2_IFUNC): Likewise.
16266 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
16267 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
16268 use of 'siam' instruction.
16269 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
16271 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
16273 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
16275 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
16276 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
16277 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
16278 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
16279 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
16281 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
16283 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
16285 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
16287 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
16288 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
16289 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
16290 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
16291 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
16293 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
16294 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
16295 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
16297 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
16298 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
16299 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
16300 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
16301 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
16302 routines to libm-sysdep_routines.
16303 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
16305 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
16306 fdim/fdimf to libm-sysdep_routines.
16307 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
16309 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
16310 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
16312 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
16313 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
16314 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
16315 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
16316 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
16317 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
16318 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
16320 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
16322 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
16323 to optimize copies.
16325 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
16326 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
16327 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
16329 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
16330 local variable MPTWO.
16331 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
16334 2013-01-13 Mike Frysinger <vapier@gentoo.org>
16336 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
16339 2013-01-13 Mike Frysinger <vapier@gentoo.org>
16341 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
16343 2013-01-13 Mike Frysinger <vapier@gentoo.org>
16345 * manual/pattern.texi (glob_t): Document gl_flags.
16346 (glob64_t): Likewise.
16348 2013-01-11 David S. Miller <davem@davemloft.net>
16350 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
16351 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
16352 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
16353 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
16354 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
16355 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
16356 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
16357 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
16358 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
16359 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
16360 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
16361 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
16362 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
16364 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
16365 sparc V9 rather than using V8 code.
16366 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
16367 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
16369 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
16371 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
16374 2013-01-11 Roland McGrath <roland@hack.frob.com>
16376 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
16377 not in the main loop.
16378 * configure: Regenerated.
16380 2013-01-11 Joseph Myers <joseph@codesourcery.com>
16382 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
16383 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
16385 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
16386 [!__GLIBC_HAVE_LONG_LONG] case.
16387 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
16388 condition to just #else.
16389 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
16390 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
16391 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
16392 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
16394 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
16395 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
16396 #elif condition to just #else.
16397 * sysdeps/unix/sysv/linux/sys/sysmacros.h
16398 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
16399 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
16400 #elif condition to just #else.
16402 2013-01-11 Steve Ellcey <sellcey@mips.com>
16404 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
16405 (EF_MIPS_ARCH_64): Fix value.
16406 (EF_MIPS_ARCH_32R2): New.
16407 (EF_MIPS_ARCH_64R2): New.
16409 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
16411 * Makeconfig (+link-pie-before-libc): New.
16412 (+link-pie-after-libc): Likewise.
16413 (+link-pie-tests): Likewise.
16414 (+link-pie): Rewritten.
16415 (link-before-libc): Remove $(config-LDFLAGS).
16416 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
16417 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
16418 (config-LDFLAGS): Renamed to ...
16419 (rtld-LDFLAGS): This.
16420 (rtld-tests-LDFLAGS): New macro.
16421 (link-libc-rpath-link): Likewise.
16422 (link-libc-tests-rpath-link): Likewise.
16423 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
16424 (link-libc): Prepand $(link-libc-rpath-link).
16425 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
16426 (test-program-prefix): New macro.
16427 (test-via-rtld-prefix): Likewise.
16428 (test-program-cmd): Likewise.
16429 (host-test-program-cmd): Likewise.
16430 * Makefile ($(common-objpfx)testrun.sh): Replace
16431 $(run-program-prefix) with $(test-program-prefix).
16432 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
16434 ($(common-objpfx)shlib.lds): Likewise.
16435 (build-module-helper): Likewise.
16436 ($(common-objpfx)format.lds): Likewise.
16437 * Rules (binaries-pie-tests): New.
16438 (binaries-pie-notests): Likewise.
16439 (binaries-pie): Rewritten.
16440 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
16441 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
16442 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
16443 (make-test-out): Replace $(host-built-program-cmd) with
16444 $(host-test-program-cmd).
16445 * config.make.in (build-hardcoded-path-in-tests): New variable.
16446 * configure.in (--enable-hardcoded-path-in-tests): New configure
16448 (hardcoded_path_in_tests): New AC_SUBST.
16449 * configure: Regenerated.
16450 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
16451 $(built-program-cmd) with $(test-program-cmd).
16452 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
16453 (test_program_cmd): This.
16454 * elf/Makefile ($(objpfx)order.out): Run test with
16455 $(test-program-prefix).
16456 ($(objpfx)order2.out): Likewise.
16457 ($(objpfx)tst-initorder.out): Likewise.
16458 ($(objpfx)tst-initorder2.out): Likewise.
16459 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
16460 $(test-program-cmd).
16461 ($(objpfx)tst-array1-static.out): Likewise.
16462 ($(objpfx)tst-array2.out): Likewise.
16463 ($(objpfx)tst-array3.out): Likewise.
16464 ($(objpfx)tst-array4.out): Likewise.
16465 ($(objpfx)tst-array5.out): Likewise.
16466 ($(objpfx)tst-array5-static.out): Likewise.
16467 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
16468 $(test-program-cmd).
16469 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
16470 $(run-program-prefix) with $(test-program-prefix).
16471 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
16472 (test_program_prefix): This.
16473 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
16474 $(run-program-prefix) with $(test-program-prefix).
16475 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
16476 (test_program_prefix): This.
16477 * iconvdata/tst-tables.sh: Likewise.
16478 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
16479 $(run-program-prefix) with $(test-program-prefix).
16480 ($(objpfx)tst-translit.out): Likewise.
16481 ($(objpfx)tst-gettext2.out): Likewise.
16482 ($(objpfx)tst-gettext4.out): Likewise.
16483 ($(objpfx)tst-gettext6.out): Likewise.
16484 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
16485 (test_program_prefix): This.
16486 * intl/tst-gettext2.sh: Likewise.
16487 * intl/tst-gettext4.sh Likewise.
16488 * intl/tst-gettext6.sh: Likewise.
16489 * intl/tst-translit.sh: Likewise.
16490 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
16491 with $(test-program-cmd).
16492 * libio/Makefile ($(objpfx)test-freopen.out): Replace
16493 $(run-program-prefix) with $(test-program-prefix).
16494 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
16495 (test_program_prefix): This.
16496 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
16497 $(run-program-prefix) with $(test-program-prefix).
16498 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
16499 (test_program_prefix): This.
16500 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
16501 * posix/Makefile ($(objpfx)globtest.out): Replace
16502 $(run-via-rtld-prefix) and $(test-wrapper) with
16503 $(test-program-prefix) and $(test-via-rtld-prefix).
16504 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
16505 $(test-program-prefix).
16506 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
16507 $(host-test-program-cmd).
16508 (tst-spawn-ARGS): Likewise.
16509 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
16510 $(test-program-prefix).
16511 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
16512 (test_via_rtld_prefix): This.
16513 (test_wrapper): Renamed to ...
16514 (test_program_prefix): This.
16515 (run_program_prefix): Replaced by test_program_prefix.
16516 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
16517 (test_program_prefix): This.
16518 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
16519 with $(host-test-program-cmd).
16520 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
16521 $(run-program-prefix) with $(test-program-prefix).
16522 ($(objpfx)tst-printf.out): Likewise.
16523 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
16524 $(test-program-cmd).
16525 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
16526 (test_program_prefix): This.
16527 * stdio-common/tst-unbputc.sh: Likewise.
16528 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
16529 $(run-program-prefix) with $(test-program-prefix).
16530 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
16531 (test_program_prefix): This.
16532 * string/Makefile ($(objpfx)tst-svc.out): Replace
16533 $(built-program-cmd) with $(test-program-cmd).
16535 2013-01-11 Andreas Jaeger <aj@suse.de>
16538 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
16539 value. Sync with Linux 3.7.
16541 2013-01-10 David S. Miller <davem@davemloft.net>
16543 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
16544 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
16545 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
16547 2013-01-10 Roland McGrath <roland@hack.frob.com>
16549 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
16551 * configure: Regenerated.
16553 2013-01-10 David S. Miller <davem@davemloft.net>
16555 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
16556 sparc V9 rather than using V8 code.
16557 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
16558 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
16560 2013-01-10 Roland McGrath <roland@hack.frob.com>
16562 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
16563 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
16564 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
16565 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
16566 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
16567 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
16568 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
16569 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
16570 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
16571 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
16572 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
16573 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
16574 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
16575 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
16576 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
16577 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
16578 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
16579 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
16580 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
16581 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
16582 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
16583 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
16584 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
16585 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
16586 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
16587 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
16588 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
16590 2013-01-10 David S. Miller <davem@davemloft.net>
16592 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16594 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
16596 * posix/Makefile (tests-static): New variable.
16597 (tests): Add $(tests-static).
16598 (tst-exec-static-ARGS): New variable.
16599 (tst-spawn-static-ARGS): Likewise.
16600 * posix/tst-exec-static.c: New file.
16601 * posix/tst-spawn-static.c: Likewise.
16602 * posix/tst-exec.c: Support run directly.
16603 * posix/tst-spawn.c: Likewise.
16605 2013-01-10 Joseph Myers <joseph@codesourcery.com>
16607 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
16609 * math/bits/mathcalls.h (llrint): Likewise.
16610 (llround): Likewise.
16611 * stdlib/stdlib.h (struct drand48_data): Likewise.
16612 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
16613 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
16614 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
16616 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
16618 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
16619 (elf_greg_t): Likewise.
16620 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
16621 (__jmp_buf): Likewise.
16622 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
16624 (llrint): Likewise, for all definitions.
16625 (llrintl): Likewise.
16627 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
16628 Remove [__GNUC__] condition.
16629 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
16630 condition to just [__USE_ISOC99].
16631 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
16633 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
16636 * sysdeps/unix/sysv/linux/x86/bits/environments.h
16637 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
16639 (_POSIX_V6_ILP32_OFF32): Likewise.
16640 (_XBS5_ILP32_OFF32): Likewise.
16641 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
16642 (__ILP32_OFFBIG_LDFLAGS): Likewise.
16644 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
16646 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
16648 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
16649 doubles __mpexp_twomm1. Adjust usage.
16650 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
16653 2013-01-10 Andreas Schwab <schwab@suse.de>
16656 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
16657 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
16659 2013-01-09 David S. Miller <davem@davemloft.net>
16662 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
16663 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
16664 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
16665 TCP_FASTOPEN): Define.
16666 (tcp_repair_opt): New structure.
16667 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
16669 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
16670 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
16671 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
16672 (tcp_cookie_transactions): New structure.
16674 2013-01-09 Anton Blanchard <anton@samba.org>
16676 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
16677 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
16678 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
16679 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
16681 2013-01-09 Joseph Myers <joseph@codesourcery.com>
16683 * include/features.h (__USE_ANSI): Remove.
16685 2013-01-09 Roland McGrath <roland@hack.frob.com>
16687 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
16689 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
16691 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
16693 * sysdeps/s390/fpu/libm-test-ulps: Update.
16695 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16697 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
16701 (denorm): Likewise.
16702 (__mp_dbl): Likewise.
16703 (__dbl_mp): Likewise.
16704 (add_magnitudes): Likewise.
16705 (sub_magnitudes): Likewise.
16711 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
16715 (denorm): Likewise.
16716 (__mp_dbl): Likewise.
16717 (__dbl_mp): Likewise.
16718 (add_magnitudes): Likewise.
16719 (sub_magnitudes): Likewise.
16725 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
16729 (denorm): Likewise.
16730 (__mp_dbl): Likewise.
16731 (__dbl_mp): Likewise.
16732 (add_magnitudes): Likewise.
16733 (sub_magnitudes): Likewise.
16740 2013-01-08 Joseph Myers <joseph@codesourcery.com>
16742 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
16743 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
16744 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
16745 2 && __USE_EXTERN_INLINES]: Likewise.
16747 2013-01-08 Andreas Jaeger <aj@suse.de>
16750 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
16752 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
16753 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
16755 2013-01-07 Anton Blanchard <anton@samba.org>
16757 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
16758 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
16759 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
16760 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
16761 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
16762 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
16763 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
16764 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
16765 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
16766 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
16767 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
16768 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
16769 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
16770 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
16771 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
16772 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
16773 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
16774 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
16775 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
16776 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
16777 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
16778 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
16779 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
16780 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
16781 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
16782 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
16783 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
16784 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
16785 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
16786 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
16787 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
16788 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
16789 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
16790 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
16791 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
16792 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
16793 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
16794 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
16795 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
16796 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
16797 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
16798 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
16799 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
16801 2013-01-07 Joseph Myers <joseph@codesourcery.com>
16803 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
16804 (__MALLOC_PMT): Likewise.
16805 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
16806 [__GNUC__], only on [_LIBC].
16807 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
16808 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
16809 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
16810 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
16811 forward declaration.
16812 (realloc_hook_ini): Likewise.
16813 (memalign_hook_ini): Likewise.
16814 (__libc_memalign): Do not use __MALLOC_PMT in variable
16816 (__libc_valloc): Likewise.
16817 (__libc_pvalloc): Likewise.
16818 (__libc_calloc): Likewise.
16819 (__posix_memalign): Likewise.
16822 * math/s_casinh.c: Include <float.h>.
16823 (__casinh): Do not do computation with squaring and square root
16824 for large arguments.
16825 * math/s_casinhf.c: Include <float.h>.
16826 (__casinhf): Do not do computation with squaring and square root
16827 for large arguments.
16828 * math/s_casinhl.c: Include <float.h>.
16829 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
16830 (__casinhl): Do not do computation with squaring and square root
16831 for large arguments.
16832 * math/libm-test.inc (casin_test): Add more tests.
16833 (casinh_test): Likewise.
16834 * sysdeps/i386/fpu/libm-test-ulps: Update.
16835 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16837 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
16839 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
16840 (__x86_64_raw_data_cache_size): Likewise.
16841 (__x86_64_data_cache_size_half): Likewise.
16842 (__x86_64_raw_data_cache_size_half): Likewise.
16843 (__x86_64_shared_cache_size): Likewise.
16844 (__x86_64_raw_shared_cache_size): Likewise.
16845 (__x86_64_shared_cache_size_half): Likewise.
16846 (__x86_64_raw_shared_cache_size_half): Likewise.
16847 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
16849 (__x86_data_cache_size): This.
16850 (__x86_64_raw_data_cache_size): Renamed to ...
16851 (__x86_raw_data_cache_size): This.
16852 (__x86_64_data_cache_size_half): Renamed to ...
16853 (__x86_data_cache_size_half): This.
16854 (__x86_64_raw_data_cache_size_half): Renamed to ...
16855 (__x86_raw_data_cache_size_half): This.
16856 (__x86_64_shared_cache_size): Renamed to ...
16857 (__x86_shared_cache_size): This.
16858 (__x86_64_raw_shared_cache_size): Renamed to ...
16859 (__x86_raw_shared_cache_size): This.
16860 (__x86_64_shared_cache_size_half): Renamed to ...
16861 (__x86_shared_cache_size_half): This.
16862 (__x86_64_raw_shared_cache_size_half): Renamed to ...
16863 (__x86_raw_shared_cache_size_half): This.
16864 * sysdeps/x86_64/memcpy.S: Updated.
16865 * sysdeps/x86_64/memset.S: Likewise.
16866 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
16867 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
16868 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
16870 2013-01-04 David S. Miller <davem@davemloft.net>
16872 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16874 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
16876 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
16877 1 to avoid redefinition warning.
16878 (__USE_GNU): Don't define.
16879 (init_signaling_nan): Protoize.
16881 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16883 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
16885 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
16886 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
16887 (__cpymn): Likewise.
16888 (norm): Remove commented code.
16889 (denorm): Likewise.
16890 (__mp_dbl): Likewise.
16892 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
16893 (__cpymn): Likewise.
16894 (norm): Remove commented code.
16895 (denorm): Likewise.
16896 (__mp_dbl): Likewise.
16899 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
16900 mp_no value for 1.0 and 2.0.
16901 (norm): Use RADIXI instead of radixi.d.
16902 (denorm): Likewise.
16903 (__mul): Use 0.0 instead of zero.d.
16904 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
16905 mp_no value for 1.0 and 2.0.
16906 (norm): Use RADIXI instead of radixi.d.
16907 (denorm): Likewise.
16908 (__mul): Use 0.0 instead of zero.d.
16910 2013-01-04 Joseph Myers <joseph@codesourcery.com>
16913 * math/s_casinh.c (__casinh): Reduce finite argument to first
16914 quadrant then set signs of results at the end.
16915 * math/s_casinhf.c (__casinhf): Likewise.
16916 * math/s_casinhl.c (__casinhl): Likewise.
16917 * math/libm-test.inc (casin_test): Add more tests.
16918 (casinh_test): Likewise.
16919 * sysdeps/i386/fpu/libm-test-ulps: Update.
16920 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16922 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
16924 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
16926 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
16928 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
16930 (denorm): Likewise.
16931 (__mp_dbl): Likewise.
16934 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
16935 and adjust the header comment.
16937 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
16938 variable name from declaration.
16940 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
16942 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16943 Initialize COMMON_CPUID_INDEX_7 element.
16944 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
16945 (CPUID_RTM): Likewise.
16946 (HAS_RTM): Likewise.
16947 (COMMON_CPUID_INDEX_7): New enum.
16949 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
16952 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
16953 size is zero, record memory as freed.
16955 2013-01-03 Andreas Jaeger <aj@suse.de>
16957 * po/ia.po: Add new Interlingua translation.
16959 2012-01-03 Allan McRae <allan@archlinux.org>
16961 * locale/programs/localedef.c: Fix description of '--posix' flag.
16963 2013-01-02 Joseph Myers <joseph@codesourcery.com>
16965 * NEWS: Update dates in second copyright notice.
16966 * README: Update copyright dates in example.
16967 * manual/libc.texinfo: Update copyright dates.
16968 * scripts/test-installation.pl: Update copyright date in --version
16971 * hurd/ctty-input.c: Fix copyright notice formatting.
16972 * hurd/ctty-output.c: Likewise.
16973 * hurd/dtable.c: Likewise.
16974 * hurd/hurd-raise.c: Likewise.
16975 * hurd/hurdprio.c: Likewise.
16976 * hurd/msgportdemux.c: Likewise.
16977 * misc/sys/file.h: Likewise.
16978 * misc/sys/ioctl.h: Likewise.
16979 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
16980 * sysdeps/mach/hurd/chdir.c: Likewise.
16981 * sysdeps/mach/hurd/fchdir.c: Likewise.
16982 * sysdeps/mach/hurd/rename.c: Likewise.
16983 * sysdeps/mach/hurd/rmdir.c: Likewise.
16984 * sysdeps/mach/hurd/seekdir.c: Likewise.
16985 * sysdeps/mach/hurd/setsid.c: Likewise.
16986 * sysdeps/posix/wait3.c: Likewise.
16988 * All files with FSF copyright notices: Update copyright dates
16989 using scripts/update-copyrights.
16990 * intl/plural.c: Regenerated.
16991 * locale/programs/charmap-kw.h: Likewise.
16992 * locale/programs/locfile-kw.h: Likewise.
16994 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
16996 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
16999 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
17000 calculation loop and add branch prediction.
17002 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
17003 check access beyond bounds of m1np.
17005 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
17007 (__inv): Remove local variable MPTWO to use the global
17009 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
17010 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
17012 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
17013 MP3HALFS static const.
17015 2013-01-01 David S. Miller <davem@davemloft.net>
17017 * po/ca.po: Update from translation team.
17019 2013-01-01 Joseph Myers <joseph@codesourcery.com>
17021 * scripts/update-copyrights: New file.
17022 * Makeconfig: Reformat copyright notice.
17023 * ctype/ctype.h: Likewise.
17024 * debug/swprintf_chk.c: Likewise.
17025 * elf/dl-cache.c: Likewise.
17026 * elf/dl-debug.c: Likewise.
17027 * elf/dl-object.c: Likewise.
17028 * grp/initgroups.c: Likewise.
17029 * hurd/Makefile: Likewise.
17030 * hurd/hurd/signal.h: Likewise.
17031 * hurd/hurdfault.c: Likewise.
17032 * hurd/hurdioctl.c: Likewise.
17033 * hurd/hurdlookup.c: Likewise.
17034 * hurd/intr-msg.c: Likewise.
17035 * iconv/gconv_open.c: Likewise.
17036 * libio/swprintf.c: Likewise.
17037 * locale/lc-ctype.c: Likewise.
17038 * locale/nl_langinfo.c: Likewise.
17039 * mach/Machrules: Likewise.
17040 * mach/Makefile: Likewise.
17041 * malloc/obstack.h: Likewise.
17042 * manual/Makefile: Likewise.
17043 * manual/tsort.awk: Likewise.
17044 * misc/bits/stab.def: Likewise.
17045 * nis/nis_print_group_entry.c: Likewise.
17046 * nis/nis_table.c: Likewise.
17047 * nis/nss_compat/compat-pwd.c: Likewise.
17048 * nis/nss_compat/compat-spwd.c: Likewise.
17049 * po/Makefile: Likewise.
17050 * posix/fnmatch.c: Likewise.
17051 * posix/regex.h: Likewise.
17052 * resolv/Makefile: Likewise.
17053 * resolv/nss_dns/dns-network.c: Likewise.
17054 * resolv/res_hconf.c: Likewise.
17055 * scripts/gen-sorted.awk: Likewise.
17056 * soft-fp/soft-fp.h: Likewise.
17057 * stdio-common/printf.h: Likewise.
17058 * stdlib/monetary.h: Likewise.
17059 * stdlib/random.c: Likewise.
17060 * stdlib/random_r.c: Likewise.
17061 * sysdeps/generic/Makefile: Likewise.
17062 * sysdeps/gnu/Makefile: Likewise.
17063 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
17064 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17065 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
17066 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17067 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
17068 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17069 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17070 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
17071 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
17072 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17073 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
17074 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
17075 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
17076 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
17077 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
17078 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
17079 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
17080 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
17081 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
17082 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17083 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
17084 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
17085 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
17086 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
17087 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
17088 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
17089 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
17090 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
17091 * sysdeps/mach/hurd/errnos.awk: Likewise.
17092 * sysdeps/mach/hurd/fork.c: Likewise.
17093 * sysdeps/mach/hurd/getcwd.c: Likewise.
17094 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
17095 * sysdeps/mach/hurd/mmap.c: Likewise.
17096 * sysdeps/mach/hurd/utimes.c: Likewise.
17097 * sysdeps/mach/hurd/xmknod.c: Likewise.
17098 * sysdeps/posix/profil.c: Likewise.
17099 * sysdeps/posix/readdir_r.c: Likewise.
17100 * sysdeps/powerpc/bits/mathdef.h: Likewise.
17101 * sysdeps/powerpc/bits/setjmp.h: Likewise.
17102 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
17103 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
17104 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
17105 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
17106 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
17107 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
17108 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
17109 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
17110 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
17111 * sysdeps/pthread/lio_listio.c: Likewise.
17112 * sysdeps/sparc/dl-procinfo.h: Likewise.
17113 * sysdeps/unix/i386/sysdep.S: Likewise.
17114 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
17115 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
17116 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
17117 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
17118 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
17119 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
17120 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
17121 * sysdeps/unix/sysv/linux/speed.c: Likewise.
17122 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
17123 * sysdeps/wordsize-32/divdi3.c: Likewise.
17124 * time/sys/time.h: Likewise.
17125 * wcsmbs/Makefile: Likewise.
17127 2013-01-01 David S. Miller <davem@davemloft.net>
17129 * po/fr.po: Update from translation team.
17131 * catgets/gencat.c: Update copyright year.
17132 * csu/version.c: Likewise.
17133 * debug/catchsegv.sh: Likewise.
17134 * debug/pcprofiledump.c: Likewise.
17135 * debug/xtrace.sh: Likewise.
17136 * elf/ldconfig.c: Likewise.
17137 * elf/ldd.bash.in: Likewise.
17138 * elf/pldd.c: Likewise.
17139 * elf/sotruss.ksh: Likewise.
17140 * elf/sprof.c: Likewise.
17141 * iconv/iconv_prog.c: Likewise.
17142 * iconv/iconvconfig.c: Likewise.
17143 * locale/programs/locale.c: Likewise.
17144 * locale/programs/localedef.c: Likewise.
17145 * login/programs/pt_chown.c: Likewise.
17146 * malloc/memusage.sh: Likewise.
17147 * malloc/memusagestat.c: Likewise.
17148 * malloc/mtrace.pl: Likewise.
17149 * nscd/nscd.c: Likewise.
17150 * nss/getent.c: Likewise.
17151 * nss/makedb.c: Likewise.
17152 * posix/getconf.c: Likewise.
17154 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
17156 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
17159 2012-12-30 Mike Frysinger <vapier@gentoo.org>
17161 * math/bits/mathcalls.h (modf): Use __nonnull.
17163 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
17165 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
17166 (split): Use macro CN instead of the bare value.
17167 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
17169 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
17170 instead of the bare value.
17171 (power1): Likewise.
17173 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17175 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
17177 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
17179 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
17181 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
17182 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
17183 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
17184 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
17186 2012-12-28 Andreas Jaeger <aj@suse.de>
17188 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
17189 values are from Linux 3.7.
17191 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
17192 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
17194 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17196 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
17199 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
17201 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
17202 variables with preprocessor constants.
17203 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
17204 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
17205 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
17207 2012-12-27 Bruno Haible <bruno@clisp.org>
17210 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
17213 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
17215 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
17216 and use variable directly.
17217 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
17219 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
17221 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
17222 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
17224 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
17225 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
17226 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
17227 include directive. Remove local variable MPONE.
17228 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
17229 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
17230 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
17232 2012-12-25 David S. Miller <davem@davemloft.net>
17234 * version.h (RELEASE): Set to "development".
17235 (VERSION): Set to "2.17.90".
17236 * NEWS: Add 2.18 section.
17238 2012-12-21 David S. Miller <davem@davemloft.net>
17240 * po/hr.po: Update from translation team.
17242 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17244 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
17246 2012-12-19 Steve Ellcey <sellcey@mips.com>
17248 * NEWS: Mention new memcpy for MIPS.
17250 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
17252 * manual/contrib.texi (Contributors): Spelling correction.
17254 2012-12-15 David S. Miller <davem@davemloft.net>
17256 * po/ru.po: Update from translation team.
17258 2012-12-13 David S. Miller <davem@davemloft.net>
17260 * NEWS: Mention IFUNC testsuite enhancements.
17262 * po/pl.po: Update from translation team.
17263 * po/bg.po: Likewise.
17265 * manual/contrib.texi (Contributors): Update entries for Hongjiu
17266 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
17268 2012-12-11 David S. Miller <davem@davemloft.net>
17270 * po/sv.po: Update from translation team.
17272 * po/vi.po: Update from translation team.
17274 * po/cs.po: Update from translation team.
17276 * po/de.po: Update from translation team.
17277 * po/eo.po: Likewise.
17278 * po/nl.po: Likewise.
17280 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
17283 * manual/argp.texi (Argp Helper Functions): Move node to follow
17284 Argp Parsing State.
17287 * manual/conf.texi (Limits on File System Capacity): Mention if
17288 terminating null is included in the max size.
17290 2012-12-10 Andreas Jaeger <aj@suse.de>
17292 * po/cs.po: Update from translation team.
17294 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
17296 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
17297 void pointer and cast to uintptr_t.
17298 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
17300 * sysdeps/s390/s390-64/memcpy.S: Likewise.
17301 * sysdeps/s390/s390-64/memset.S: Likewise.
17303 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
17306 * menual/message.texi (Message Translation): Fix typos.
17307 (Helper programs for gettext): Likewise.
17309 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
17312 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
17315 2012-12-07 David S. Miller <davem@davemloft.net>
17317 * po/libc.pot: Update.
17319 2012-12-07 Richard Henderson <rth@redhat.com>
17322 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
17323 normal/normal case to before the switch.
17324 (_FP_DIV): Likewise.
17326 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
17327 Mike Frysinger <vapier@gentoo.org>
17329 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
17330 check for __NR_fadvise64_64.
17332 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
17334 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
17335 0, not just to plain "0" as a statement.
17336 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
17339 2012-12-06 Joseph Myers <joseph@codesourcery.com>
17341 * NEWS: Use sourceware.org in Bugzilla URL.
17343 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
17345 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
17346 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
17348 * stdio-common/tst-put-error.c (do_test): Add newline to the
17349 padded test to ensure flush.
17351 2012-12-05 Jeff Law <law@redhat.com>
17353 * sunrpc/etc.rpc (fedfs_admin): Add entry.
17355 2012-12-05 Joseph Myers <joseph@codesourcery.com>
17357 * README: Don't refer to ports add-on as distributed separately.
17358 Mention AArch64 in list of systems supported in the ports add-on.
17360 * LICENSES: Add more non-FSF copyright and license notices.
17362 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
17365 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
17367 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
17368 10000 as width of padded output.
17370 2012-12-04 Joseph Myers <joseph@codesourcery.com>
17372 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
17374 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
17375 variable LX with __attribute__ ((unused)).
17376 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
17378 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
17379 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
17380 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
17381 with __attribute__ ((unused)).
17383 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
17385 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
17387 2012-12-04 Joseph Myers <joseph@codesourcery.com>
17389 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
17390 (CFLAGS-nldbl-acos.c): New variable.
17391 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
17392 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
17393 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
17394 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
17395 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
17396 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
17397 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
17398 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
17399 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
17400 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
17401 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
17402 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
17403 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
17404 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
17405 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
17406 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
17407 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
17408 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
17409 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
17410 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
17411 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
17412 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
17413 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
17414 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
17415 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
17416 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
17417 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
17418 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
17419 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
17420 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
17421 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
17422 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
17423 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
17424 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
17425 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
17426 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
17427 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
17428 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
17429 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
17430 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
17431 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
17432 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
17433 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
17434 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
17435 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
17436 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
17437 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
17438 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
17439 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
17440 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
17441 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
17442 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
17443 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
17444 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
17445 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
17446 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
17447 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
17448 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
17449 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
17450 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
17451 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
17452 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
17453 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
17454 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
17455 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
17456 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
17457 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
17458 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
17459 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
17460 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
17461 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
17462 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
17463 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
17464 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
17465 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
17466 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
17467 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
17468 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
17469 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
17470 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
17471 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
17472 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
17473 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
17474 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
17475 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
17476 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
17477 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
17478 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
17479 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
17480 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
17481 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
17482 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
17483 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
17484 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
17485 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
17486 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
17487 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
17489 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
17490 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
17493 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
17494 whole low double instead of just low 47 bits when splitting values
17497 2012-12-03 Allan McRae <allan@archlinux.org>
17499 * manual/stdio.texi (Predefined Printf Handlers): Remove
17500 @hsep and @vsep usage.
17502 2012-12-03 Mike Frysinger <vapier@gentoo.org>
17504 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
17505 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
17507 2012-12-03 Jeff Law <law@redhat.com>
17509 * time/sys/time.h (settimeofday): Do not mark TV argument
17512 2012-12-01 Mike Frysinger <vapier@gentoo.org>
17514 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
17515 when currently writing and seek to current position when not.
17516 * libio/Makefile (tests): Remove bug-fclose1.
17517 * libio/bug-fclose1.c: Delete.
17519 2012-12-01 Joseph Myers <joseph@codesourcery.com>
17521 * manual/arith.texi (feenableexcept): Fix typo.
17522 (fedisableexcept): Likewise.
17524 2012-11-30 Roland McGrath <roland@hack.frob.com>
17526 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
17527 second, differently-typed declaration, rather than a cast.
17529 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
17531 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
17532 * include/rpc/svc.h: ... here.
17534 2012-11-30 Aurelien Jarno <aurel32@debian.org>
17537 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
17538 depending n and resplen2 to catch cases where answer
17541 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
17543 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
17544 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
17546 2012-11-29 Mike Frysinger <vapier@gentoo.org>
17548 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
17550 2012-11-29 Roland McGrath <roland@hack.frob.com>
17552 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
17554 2012-11-28 Jeff Law <law@redhat.com>
17557 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
17558 dataset_temporary. Track alloca usage into alloca_used.
17559 If dataset is large allocate and release it via malloc/free.
17561 2012-06-04 Florian Weimer <fweimer@redhat.com>
17564 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
17566 2012-11-28 David S. Miller <davem@davemloft.net>
17568 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17570 2012-11-28 Joseph Myers <joseph@codesourcery.com>
17573 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
17574 of pi/2 rounded to nearest to 64 bits.
17575 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
17576 nearest to 64 bits.
17577 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
17580 2012-11-28 Jeff Law <law@redhat.com>
17581 Martin Osvald <mosvald@redhat.com>
17584 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
17585 * sunrpc/svc.c: Include time.h.
17586 (__svc_accept_failed): New function.
17587 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
17588 any reason other than EINTR, call __svc_accept_failed.
17589 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
17590 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
17592 2012-11-28 Andreas Schwab <schwab@suse.de>
17594 * scripts/abilist.awk: Also handle indirect functions in .opd
17597 2012-11-28 Joseph Myers <joseph@codesourcery.com>
17600 * sysdeps/x86/fpu/powl_helper.c: New file.
17601 * sysdeps/x86/fpu/Makefile: Likewise.
17602 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
17604 (__ieee754_powl): Use __powl_helper for finite arguments except
17605 integer exponents below 8.
17606 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
17608 (__ieee754_powl): Use __powl_helper for finite arguments except
17609 integer exponents below 8.
17610 * math/libm-test.inc (pow_test): Add more tests and enable some
17611 previously disabled tests.
17612 * sysdeps/i386/fpu/libm-test-ulps: Update.
17613 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17615 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17616 Carlos O'Donell <carlos_odonell@mentor.com>
17618 * nss/makedb.c (is_prime): Assert that input is odd and greater
17619 than 4. Note that fact in a comment too.
17620 (next_prime): Add 4 to input.
17622 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
17625 * libio/Makefile (tests): Add test case tst-fwrite-error.
17626 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
17627 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
17628 * libio/tst-fwrite-error.c: New test case.
17630 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
17632 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
17633 before casting to void *.
17634 * include/libc-internal.h (__pointer_type): New macro.
17635 (__integer_if_pointer_type_sub): Likewise.
17636 (__integer_if_pointer_type): Likewise.
17637 (cast_to_integer): Likewise.
17638 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
17639 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
17640 before casting to atomic64_t.
17641 (atomic_exchange_acq): Likewise.
17642 (__arch_exchange_and_add_body): Likewise.
17643 (__arch_add_body): Likewise.
17644 (atomic_add_negative): Likewise.
17645 (atomic_add_zero): Likewise.
17647 2012-11-26 Joseph Myers <joseph@codesourcery.com>
17649 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
17650 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
17651 (add_fdes): Likewise.
17652 (linear_search_fdes): Likewise.
17653 (binary_search_unencoded_fdes): Likewise.
17655 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
17657 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
17659 2012-11-24 Adam Conrad <adconrad@0c3.net>
17661 * configure.in: Autodetect C++ header directories.
17662 * configure: Regenerated.
17664 2012-11-23 Mike Frysinger <vapier@gentoo.org>
17666 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
17668 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
17670 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17672 2012-11-22 Joseph Myers <joseph@codesourcery.com>
17674 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
17675 LDBL_MANT_DIG == 106]: Disable some tests.
17676 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
17678 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
17682 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
17683 input for small inputs. Return +/- pi/2 for large inputs.
17684 * math/libm-test.inc (atan_test): Add more tests.
17686 * sysdeps/generic/unwind-dw2-fde-glibc.c
17687 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
17688 __attribute__ ((unused)).
17691 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
17692 x * y if x and y are nonzero and z is zero.
17695 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
17696 nonzero exponents with absolute value below 0x1p-117 to +/-
17700 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
17701 up arguments below 2**-450, not just those below 2**-500.
17702 * math/libm-test.inc (hypot_test): Add another test.
17705 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
17706 Return a+b for ratio over 2**120, not 2**60.
17707 * math/libm-test.inc (hypot_test): Add another test.
17709 * math/libm-test.inc (clog_test): Use
17710 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
17711 (clog10_test): Likewise.
17714 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
17716 2012-11-22 Andreas Schwab <schwab@suse.de>
17718 * sysdeps/i386/fpu/libm-test-ulps: Update.
17720 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
17722 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
17723 printf output with newline.
17725 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
17728 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
17729 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
17730 -z nodlopen, -z initfirst and -z execstack support.
17731 * configure: Regenerated.
17733 * elf/elf.h (DF_1_NODIRECT): New macro.
17734 (DF_1_IGNMULDEF): Likewise.
17735 (DF_1_NOKSYMS): Likewise.
17736 (DF_1_NOHDR): Likewise.
17737 (DF_1_EDITED): Likewise.
17738 (DF_1_NORELOC): Likewise.
17739 (DF_1_SYMINTPOSE): Likewise.
17740 (DF_1_GLOBAUDIT): Likewise.
17741 (DF_1_SINGLETON): Likewise.
17742 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
17743 DT_1_SUPPORTED_MASK bits.
17744 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
17746 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
17748 * sysdeps/unix/make-syscalls.sh: Document prefixes.
17750 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
17752 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
17755 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
17756 (sendmmsg): Move declarations...
17757 * socket/sys/socket.h: ... here.
17758 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
17759 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
17761 * socket/recvmmsg.c: ... this new file.
17762 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
17763 (sendmmsg): Rename to __sendmmsg, create weak alias and make
17764 definition of __sendmmsg hidden.
17765 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
17766 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
17767 Move ENOSYS stub into and include it from...
17768 * socket/sendmmsg.c: ... this new file.
17769 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
17770 (sysdep_routines): Move recvmmsg and sendmmsg...
17771 * socket/Makefile (routines): ... here.
17772 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
17773 (GLIBC_PRIVATE): Add __sendmmsg.
17774 * include/sys/socket.h (__sendmmsg): Add declarations.
17775 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
17778 2012-11-20 Joseph Myers <joseph@codesourcery.com>
17780 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
17781 variable I1 with __attribute__ ((unused)).
17782 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
17784 2012-11-19 Joseph Myers <joseph@codesourcery.com>
17786 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
17787 DUMMY variables with __attribute__ ((unused)).
17789 * bits/byteswap.h: Include <bits/types.h>.
17790 (__bswap_64): Use __uint64_t instead of unsigned long long int.
17792 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
17794 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
17795 string_t. Do not manually set errno.
17796 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
17797 length with __strnlen. Make sure to both set errno and return it on
17800 2012-11-19 David S. Miller <davem@davemloft.net>
17802 With help from Joseph Myers.
17803 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
17804 very large arguments properly.
17805 * math/libm-test.inc (atan_test): New tests.
17806 (atan2_test): New tests.
17807 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17808 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17810 2012-11-19 Joseph Myers <joseph@codesourcery.com>
17813 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
17816 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
17817 [POSIX] (EADDRNOTAVAIL): Likewise.
17818 [POSIX] (EAFNOSUPPORT): Likewise.
17819 [POSIX] (EALREADY): Likewise.
17820 [POSIX] (ECONNABORTED): Likewise.
17821 [POSIX] (ECONNREFUSED): Likewise.
17822 [POSIX] (ECONNRESET): Likewise.
17823 [POSIX] (EDESTADDRREQ): Likewise.
17824 [POSIX] (EDQUOT): Likewise.
17825 [POSIX] (EHOSTUNREACH): Likewise.
17826 [POSIX] (EIDRM): Likewise.
17827 [POSIX] (EISCONN): Likewise.
17828 [POSIX] (ELOOP): Likewise.
17829 [POSIX] (EMULTIHOP): Likewise.
17830 [POSIX] (ENETDOWN): Likewise.
17831 [POSIX] (ENETUNREACH): Likewise.
17832 [POSIX] (ENOBUFS): Likewise.
17833 [POSIX] (ENODATA): Likewise.
17834 [POSIX] (ENOLINK): Likewise.
17835 [POSIX] (ENOMSG): Likewise.
17836 [POSIX] (ENOPROTOOPT): Likewise.
17837 [POSIX] (ENOSR): Likewise.
17838 [POSIX] (ENOSTR): Likewise.
17839 [POSIX] (ENOTCONN): Likewise.
17840 [POSIX] (ENOTSOCK): Likewise.
17841 [POSIX] (EOPNOTSUPP): Likewise.
17842 [POSIX] (EOVERFLOW): Likewise.
17843 [POSIX] (EPROTO): Likewise.
17844 [POSIX] (EPROTONOSUPPORT): Likewise.
17845 [POSIX] (EPROTOTYPE): Likewise.
17846 [POSIX] (ESTALE): Likewise.
17847 [POSIX] (ETIME): Likewise.
17848 [POSIX] (ETXTBSY): Likewise.
17849 [POSIX] (EWOULDBLOCK): Likewise.
17850 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
17851 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
17852 [POSIX] (SEEK_CUR): Likewise.
17853 [POSIX] (SEEK_END): Likewise.
17854 [POSIX || UNIX98] (mode_t): Do not require.
17855 [POSIX] (off_t): Likewise.
17856 [POSIX] (pid_t): Likewise.
17857 [POSIX] (sys/stat.h): Do not allow header.
17858 [POSIX] (unistd.h): Likewise.
17859 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
17860 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
17861 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
17862 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
17864 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
17865 sigevent): Specify elements.
17866 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
17868 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
17869 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
17871 * conform/data/cpio.h-data [POSIX]: Disable whole file.
17872 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
17873 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
17874 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
17875 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
17876 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
17877 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
17878 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
17879 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
17880 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
17881 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
17882 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
17883 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
17884 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
17886 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
17888 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
17890 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
17892 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
17893 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
17894 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
17895 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
17896 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
17897 Specify lower bound on value.
17898 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
17899 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
17900 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
17901 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
17902 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
17903 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
17904 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
17905 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
17907 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
17909 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
17910 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
17911 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
17912 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
17913 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
17914 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
17915 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
17916 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
17917 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
17918 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
17919 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
17920 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
17921 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
17922 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
17923 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
17924 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
17926 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
17928 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
17929 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
17930 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
17931 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
17932 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
17933 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
17935 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
17936 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
17937 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
17938 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
17939 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
17940 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
17941 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
17943 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
17944 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
17945 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
17946 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
17947 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
17948 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
17949 specify as optional.
17950 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
17951 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
17952 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
17953 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
17954 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
17955 [XPG3] (NL_LANGMAX): Likewise.
17956 [POSIX || XPG3] (NL_MSGMAX): Likewise.
17957 [POSIX || XPG3] (NL_NMAX): Likewise.
17958 [POSIX || XPG3] (NL_SETMAX): Likewise.
17959 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
17960 [XPG3] (NZERO): Likewise.
17961 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
17962 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
17963 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
17964 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
17965 (REG_ERANGE): Expect.
17966 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
17968 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
17969 Use (void) in prototype.
17970 [POSIX] (*_t): Allow.
17971 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
17972 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
17973 (WRDE_BADVAL): Expect.
17975 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
17977 [XPG3 || XPG4] (O_RSYNC): Likewise.
17978 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
17980 [XPG3 || XPG4] (pthread_sigmask): Likewise.
17981 [XPG3 || XPG4] (sigqueue): Likewise.
17982 [XPG3 || XPG4] (sigtimedwait): Likewise.
17983 [XPG3 || XPG4] (sigwaitinfo): Likewise.
17984 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
17985 [XPG3 || XPG4] (vsnprintf): Likewise.
17986 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
17988 [XPG3 || XPG4] (blksize_t): Likewise.
17989 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
17991 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
17992 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
17993 [XPG3 || XPG4] (struct itimerspec): Likewise.
17994 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
17995 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
17996 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
17997 [XPG3 || XPG4] (clockid_t): Likewise.
17998 [XPG3 || XPG4] (timer_t): Likewise.
17999 [XPG3 || XPG4] (clock_getres): Likewise.
18000 [XPG3 || XPG4] (clock_gettime): Likewise.
18001 [XPG3 || XPG4] (clock_settime): Likewise.
18002 [XPG3 || XPG4] (nanosleep): Likewise.
18003 [XPG3 || XPG4] (timer_create): Likewise.
18004 [XPG3 || XPG4] (timer_delete): Likewise.
18005 [XPG3 || XPG4] (timer_gettime): Likewise.
18006 [XPG3 || XPG4] (timer_getoverrun): Likewise.
18007 [XPG3 || XPG4] (timer_settime): Likewise.
18008 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
18009 [XPG3 || XPG4] (getlogin_r): Likewise.
18010 [XPG3 || XPG4] (pread): Likewise.
18011 [XPG3 || XPG4] (pthread_atfork): Likewise.
18012 [XPG3 || XPG4] (pwrite): Likewise.
18015 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
18018 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
18020 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
18021 finalizing MALLSTREAM.
18023 * sysdeps/mach/hurd/syncfs.c: New file.
18025 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
18028 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
18029 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
18030 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
18031 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
18032 (_nss_dns_gethostbyname4_r): Likewise.
18033 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
18034 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
18036 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
18039 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
18041 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
18043 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
18044 * elf/cache.c (print_entry): Print ",AArch64" for
18047 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
18048 * elf/cache.c (print_entry): Print ",hard-float" for
18051 2012-11-18 David S. Miller <davem@davemloft.net>
18053 With help from Joseph Myers.
18054 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
18056 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
18058 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
18059 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
18061 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
18062 * math/libm-test.inc (y0_test): New tests.
18063 (y1_test): New tests.
18064 * sysdeps/i386/fpu/libm-test-ulps: Update.
18065 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18066 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18068 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
18070 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
18072 * configure: Regenerated.
18074 2012-11-17 David S. Miller <davem@davemloft.net>
18077 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
18078 nonzero exponents with absolute value below 0x1p-128 to +/-
18081 2012-11-17 Joseph Myers <joseph@codesourcery.com>
18083 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
18085 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
18087 * posix/getconf-speclist.c: New file.
18088 * posix/posix-envs.def: Likewise.
18089 * posix/confstr.c (START_ENV_GROUP): New macro.
18090 (END_ENV_GROUP): Likewise.
18091 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
18092 (KNOWN_PRESENT_ENV_STRING): Likewise.
18093 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
18094 (UNKNOWN_ENVIRONMENT): Likewise.
18095 (confstr): Include posix-envs.def instead of handling
18096 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
18097 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
18098 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
18099 (END_ENV_GROUP): Likewise.
18100 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
18101 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
18102 (UNKNOWN_ENVIRONMENT): Likewise.
18103 (__sysconf): Include posix-envs.def instead of handling associated
18104 cases directly here.
18105 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
18106 preprocessing getconf-speclist.c rather than running getconf or
18107 generating empty file.
18109 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
18111 * scripts/check-local-headers.sh: Ignore 'mach' headers.
18113 2012-11-16 Andrej Lajovic <natrij@gmail.com>
18116 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
18118 2012-11-16 David S. Miller <davem@davemloft.net>
18120 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
18121 smaller than LDBL_EPSILON/2.0L, just return xm1.
18123 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
18125 * elf/tst-array1.c (init): Set constructor priority to 1000.
18126 (fini): Set destructor priority to 1000.
18127 * elf/tst-array2dep.c: Likewise.
18129 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
18132 * libio/fileops.c (_IO_new_file_write): Correctly return error.
18133 (_IO_new_file_xsputn): Also return EOF if none of the input
18134 data was written when overflow failed.
18135 * libio/iopadn.c (_IO_padn): Likewise.
18136 * libio/iowpadn.c (_IO_wpadn): Likewise.
18137 * stdio-common/tst-put-error.c: Add copyright notice.
18138 (do_test): Add case for printing padded string.
18139 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
18140 _IO_padn returned error.
18141 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
18142 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
18145 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
18147 * libio/libioP.h: Add comment note that the references to C++
18148 bits are now obsolete.
18150 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
18152 * math/libm-test.inc (check_complex): Use asprintf.
18154 2012-11-14 Joseph Myers <joseph@codesourcery.com>
18156 * debug/pcprofiledump.c (print_version): Update copyright year.
18157 * malloc/memusagestat.c (print_version): Likewise.
18159 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
18162 * elf/Makefile (tests): Add tst-audit8.
18163 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
18164 ($(objpfx)tst-audit8.out): New target.
18165 (tst-audit8-ENV): New variable.
18166 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
18167 audit if l_reloc_result is NULL.
18168 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
18169 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
18170 * elf/tst-audit8.c: New file.
18172 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
18174 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
18175 * misc/Makefile (CFLAGS-select.c): Define.
18176 * posix/Makefile (CFLAGS-pause.c): Define.
18178 2012-11-13 David S. Miller <davem@davemloft.net>
18180 * crypt/Makefile: Move test targets after toplevel Rules
18181 inclusion. Grab any necessary sysdep routines when linking.
18182 * crypt/md5.c (md5_process_block): Remove define, we will always
18183 name it __md5_process_block.
18184 (md5_finish_ctx): Update md5_process_block call.
18185 (md5_stream): Likewise.
18186 (md5_process_bytes): Likewise.
18187 (md5_process_block): Rename to __md5_process_block and move to ...
18188 * crypt/md5-block.c: ... here.
18189 * crypt/sha256.c (sha256_process_block): Move to ...
18190 * crypt/sha256-block.c: ... here.
18191 * crypt/sha512.c (sha512_process_block): Move to ...
18192 * crypt/sha512-block.c: ... here.
18193 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
18195 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
18196 * sysdeps/sparc/sparc64/multiarch/Makefile
18197 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
18199 (localedef-aux): Add md5 crypto assembler when in locale subdir.
18200 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
18202 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
18203 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
18204 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
18205 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
18206 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
18207 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
18208 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
18209 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
18210 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
18212 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
18213 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
18215 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
18217 2012-11-13 Joseph Myers <joseph@codesourcery.com>
18219 * timezone/tzselect.ksh: Update from tzcode git revision
18220 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
18221 * timezone/zdump.c: Likewise.
18222 * timezone/zic.c: Likewise.
18223 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
18224 in TZVERSION setting, not $(PKGVERSION).
18225 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
18226 REPORT_BUGS_TO settings.
18229 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
18232 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
18234 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
18235 detection to immediately after _FP_ROUND().
18236 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
18239 2012-11-11 David S. Miller <davem@davemloft.net>
18241 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
18243 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
18244 __close rather than their public counterparts.
18246 2012-11-10 Joseph Myers <joseph@codesourcery.com>
18248 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
18250 [UNIX98] (sem_timedwait): Do not expect.
18251 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
18252 [XPG4 || UNIX98] (sockatmark): Do not expect.
18253 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
18254 (clock_getcpuclockid): Do not expect.
18255 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
18256 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
18258 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
18259 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
18260 [UNIX98] (vwscanf): Likewise.
18261 [UNIX98] (vswscanf): Likewise.
18263 2012-11-09 Joseph Myers <joseph@codesourcery.com>
18265 * timezone/version.h: Remove file.
18266 * timezone/README: Do not refer to version.h.
18267 * timezone/Makefile ($(objpfx)zic.o): New dependency on
18268 $(objpfx)version.h.
18269 ($(objpfx)zdump.o): Likewise.
18270 ($(objpfx)version.h): New target.
18272 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
18274 * timezone/README: Don't mention modification to tzselect.ksh.
18275 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
18276 work on unmodified tzselect.ksh. Substitute version numbers in
18279 * Makefile (format-me): Remove.
18280 (INSTALL): Adjust indentation. Use commands directly instead of
18281 using $(format-me).
18283 * aclocal.m4 (ACX_PKGVERSION): New macro.
18284 (ACX_BUGURL): Likewise.
18285 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
18286 (PKGVERSION): New AC_DEFINE_UNQUOTED.
18287 (REPORT_BUGS_TO): Likewise.
18288 * configure: Regenerated.
18289 * config.h.in (PKGVERSION): New macro.
18290 (REPORT_BUGS_TO): Likewise.
18291 * config.make.in (PKGVERSION): New variable.
18292 (PKGVERSION_TEXI): Likewise.
18293 (REPORT_BUGS_TO): Likewise.
18294 (REPORT_BUGS_TEXI): Likewise.
18295 * Makefile (format-me): Use -I$(common-objpfx)manual.
18296 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
18297 ($(common-objpfx)manual/%): New target.
18298 (manual/%): Remove target.
18299 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
18300 (print_version): Use PKGVERSION.
18301 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
18302 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
18303 and REPORT_BUGS_TO.
18304 ($(objpfx)xtrace): Likewise.
18305 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
18306 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
18307 (print_version): Use PKGVERSION.
18308 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
18309 (do_version): Use PKGVERSION.
18310 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
18312 (common-ldd-rewrite): Likewise.
18313 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
18314 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
18315 (print_version): Use PKGVERSION.
18316 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
18317 * elf/pldd.c (argp_program_bug_address): Remove variable.
18318 (more_help): New function.
18319 (argp): Use more_help.
18320 (print_version): Use PKGVERSION.
18321 * elf/sln.c (main): Use PKGVERSION.
18322 (usage): Use REPORT_BUGS_TO.
18323 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
18324 (top level): Use PKGVERSION.
18325 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
18326 (print_version): Use PKGVERSION.
18327 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
18328 (print_version): Use PKGVERSION.
18329 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
18330 (print_version): Use PKGVERSION.
18331 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
18332 (print_version): Use PKGVERSION.
18333 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
18334 (print_version): Use PKGVERSION.
18335 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
18336 (print_version): Use PKGVERSION.
18337 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
18339 ($(objpfx)memusage): Likewise.
18340 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
18341 (do_version): Use PKGVERSION.
18342 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
18343 (print_version): Use PKGVERSION.
18344 * malloc/mtrace.pl ($PACKAGE): Remove variable.
18345 ($PKGVERSION): New variable.
18346 ($REPORT_BUGS_TO): Likewise.
18347 (usage): Use $REPORT_BUGS_TO.
18348 (top level): Use $PKGVERSION.
18349 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
18350 ($(objpfx)pkgvers.texi): New rule.
18351 ($(objpfx)stamp-pkgvers): Likewise.
18352 * manual/install.texi: Include pkgvers.texi.
18353 (--with-pkgversion): Document new configure option.
18354 (--with-bugurl): Likewise.
18355 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
18356 than necessarily for this particular distribution. Use
18357 REPORT_BUGS_TO for where to report bugs.
18358 * INSTALL: Regenerated.
18359 * manual/libc.texinfo: Include pkgvers.texi.
18360 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
18361 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
18362 (print_version): Use PKGVERSION.
18363 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
18364 (print_version): Use PKGVERSION.
18365 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
18366 (print_version): Use PKGVERSION.
18367 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
18368 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
18370 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
18371 (print_version): Use PKGVERSION.
18372 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
18373 (print_version): Use PKGVERSION.
18374 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
18377 * timezone/checktab.awk: Update from tzcode 2012i.
18378 * timezone/ialloc.c: Likewise.
18379 * timezone/private.h: Likewise.
18380 * timezone/scheck.c: Likewise.
18381 * timezone/tzfile.h: Likewise.
18382 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
18383 (TZVERSION): Hardcode tzcode version number.
18384 * timezone/zdump.c: Update from tzcode 2012i.
18385 * timezone/zic.c: Likewise.
18386 * timezone/version.h: New file.
18387 * timezone/README: Describe version.h. Update upstream location.
18390 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
18391 (mktemp): Enable declaration.
18392 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
18393 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
18394 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
18395 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
18397 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
18399 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
18401 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
18403 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
18405 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
18409 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
18410 offset in buffer as u_int32_t not u_long. Consistently use memcpy
18411 for copies of such integer values.
18412 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
18413 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
18415 2012-11-09 Andreas Jaeger <aj@suse.de>
18417 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
18418 definitions and declarations that are provided by
18419 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
18421 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18423 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
18424 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
18425 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
18428 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
18430 * elf/elf.h: Update comment before AArch64 relocations.
18432 2012-11-07 David S. Miller <davem@davemloft.net>
18434 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
18435 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
18436 (__start_context): Declare.
18437 (__makecontext_ret): Delete.
18438 (__makecontext): Hook up __start_context instead of
18440 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
18441 (sysdep_routines): Add __start_context when in stdlib.
18443 2012-11-07 Joseph Myers <joseph@codesourcery.com>
18445 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
18446 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
18447 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
18449 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
18450 (READELF): New variable. Use it instead of hardcoded "readelf".
18452 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
18454 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
18455 * sysdeps/x86/Makefile: Here.
18456 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
18457 * sysdeps/x86/tst-xmmymm.sh: This.
18459 2012-11-07 Joseph Myers <joseph@codesourcery.com>
18461 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
18463 [UNIX98] (pthread_barrier_t): Do not expect.
18464 [UNIX98] (pthread_barrierattr_t): Likewise.
18465 [UNIX98] (pthread_spinlock_t): Likewise.
18466 [UNIX98] (pthread_barrier_destroy): Likewise.
18467 [UNIX98] (pthread_barrier_init): Likewise.
18468 [UNIX98] (pthread_barrier_wait): Likewise.
18469 [UNIX98] (pthread_barrierattr_destroy): Likewise.
18470 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
18471 [UNIX98] (pthread_barrierattr_init): Likewise.
18472 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
18473 [UNIX98] (pthread_getcpuclockid): Likewise.
18474 [UNIX98] (pthread_mutex_timedlock): Likewise.
18475 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
18476 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
18477 [UNIX98] (pthread_sigmask): Likewise.
18478 [UNIX98] (pthread_spin_destroy): Likewise.
18479 [UNIX98] (pthread_spin_init): Likewise.
18480 [UNIX98] (pthread_spin_lock): Likewise.
18481 [UNIX98] (pthread_spin_trylock): Likewise.
18482 [UNIX98] (pthread_spin_unlock): Likewise.
18483 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
18485 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
18486 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
18487 [XPG3 || XPG4] (pthread_cond_t): Likewise.
18488 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
18489 [XPG3 || XPG4] (pthread_key_t): Likewise.
18490 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
18491 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
18492 [XPG3 || XPG4] (pthread_once_t): Likewise.
18493 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
18494 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
18495 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
18496 [XPG3 || XPG4] (pthread_t): Likewise.
18498 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
18500 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
18502 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
18503 Change function return type to int.
18505 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
18506 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
18507 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
18508 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
18509 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
18510 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
18511 [!POSIX] (posix_madvise): Likewise.
18512 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
18514 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
18515 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
18516 (mode_t): Likewise.
18517 (posix_mem_offset): Likewise.
18518 (posix_typed_mem_get_info): Likewise.
18519 (posix_typed_mem_open): Likewise.
18521 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
18522 Change condition to [XOPEN2K8].
18524 * conform/conformtest.pl: Preprocess allow-header data with -x c
18525 instead of from stdin.
18526 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
18527 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
18528 [C99-based standards] (cerfc): Likewise.
18529 [C99-based standards] (cexp2): Likewise.
18530 [C99-based standards] (cexpm1): Likewise.
18531 [C99-based standards] (clog10): Likewise.
18532 [C99-based standards] (clog1p): Likewise.
18533 [C99-based standards] (clog2): Likewise.
18534 [C99-based standards] (clgamma): Likewise.
18535 [C99-based standards] (ctgamma): Likewise.
18536 [C99-based standards] (cerff): Likewise.
18537 [C99-based standards] (cerfcf): Likewise.
18538 [C99-based standards] (cexp2f): Likewise.
18539 [C99-based standards] (cexpm1f): Likewise.
18540 [C99-based standards] (clog10f): Likewise.
18541 [C99-based standards] (clog1pf): Likewise.
18542 [C99-based standards] (clog2f): Likewise.
18543 [C99-based standards] (clgammaf): Likewise.
18544 [C99-based standards] (ctgammaf): Likewise.
18545 [C99-based standards] (cerfl): Likewise.
18546 [C99-based standards] (cerfcl): Likewise.
18547 [C99-based standards] (cexp2l): Likewise.
18548 [C99-based standards] (cexpm1l): Likewise.
18549 [C99-based standards] (clog10l): Likewise.
18550 [C99-based standards] (clog1pl): Likewise.
18551 [C99-based standards] (clog2l): Likewise.
18552 [C99-based standards] (clgammal): Likewise.
18553 [C99-based standards] (ctgammal): Likewise.
18554 * conform/data/inttypes.h-data [C99-based standards]: Include
18555 stdint.h-data. Remove all expectations for stdint.h contents.
18556 [C99-based standards] (PRI*): Do not allow.
18557 [C99-based standards] (SCN*): Likewise.
18558 [C99-based standards] (*_t): Likewise.
18559 [C99-based-standards] (PRId8): Expect macro.
18560 [C99-based-standards] (PRIi8): Likewise.
18561 [C99-based-standards] (PRIo8): Likewise.
18562 [C99-based-standards] (PRIu8): Likewise.
18563 [C99-based-standards] (PRIx8): Likewise.
18564 [C99-based-standards] (PRIX8): Likewise.
18565 [C99-based-standards] (SCNd8): Likewise.
18566 [C99-based-standards] (SCNi8): Likewise.
18567 [C99-based-standards] (SCNo8): Likewise.
18568 [C99-based-standards] (SCNu8): Likewise.
18569 [C99-based-standards] (SCNx8): Likewise.
18570 [C99-based-standards] (PRIdLEAST8): Likewise.
18571 [C99-based-standards] (PRIiLEAST8): Likewise.
18572 [C99-based-standards] (PRIoLEAST8): Likewise.
18573 [C99-based-standards] (PRIuLEAST8): Likewise.
18574 [C99-based-standards] (PRIxLEAST8): Likewise.
18575 [C99-based-standards] (PRIXLEAST8): Likewise.
18576 [C99-based-standards] (SCNdLEAST8): Likewise.
18577 [C99-based-standards] (SCNiLEAST8): Likewise.
18578 [C99-based-standards] (SCNoLEAST8): Likewise.
18579 [C99-based-standards] (SCNuLEAST8): Likewise.
18580 [C99-based-standards] (SCNxLEAST8): Likewise.
18581 [C99-based-standards] (PRIdFAST8): Likewise.
18582 [C99-based-standards] (PRIiFAST8): Likewise.
18583 [C99-based-standards] (PRIoFAST8): Likewise.
18584 [C99-based-standards] (PRIuFAST8): Likewise.
18585 [C99-based-standards] (PRIxFAST8): Likewise.
18586 [C99-based-standards] (PRIXFAST8): Likewise.
18587 [C99-based-standards] (SCNdFAST8): Likewise.
18588 [C99-based-standards] (SCNiFAST8): Likewise.
18589 [C99-based-standards] (SCNoFAST8): Likewise.
18590 [C99-based-standards] (SCNuFAST8): Likewise.
18591 [C99-based-standards] (SCNxFAST8): Likewise.
18592 [C99-based-standards] (PRId16): Likewise.
18593 [C99-based-standards] (PRIi16): Likewise.
18594 [C99-based-standards] (PRIo16): Likewise.
18595 [C99-based-standards] (PRIu16): Likewise.
18596 [C99-based-standards] (PRIx16): Likewise.
18597 [C99-based-standards] (PRIX16): Likewise.
18598 [C99-based-standards] (SCNd16): Likewise.
18599 [C99-based-standards] (SCNi16): Likewise.
18600 [C99-based-standards] (SCNo16): Likewise.
18601 [C99-based-standards] (SCNu16): Likewise.
18602 [C99-based-standards] (SCNx16): Likewise.
18603 [C99-based-standards] (PRIdLEAST16): Likewise.
18604 [C99-based-standards] (PRIiLEAST16): Likewise.
18605 [C99-based-standards] (PRIoLEAST16): Likewise.
18606 [C99-based-standards] (PRIuLEAST16): Likewise.
18607 [C99-based-standards] (PRIxLEAST16): Likewise.
18608 [C99-based-standards] (PRIXLEAST16): Likewise.
18609 [C99-based-standards] (SCNdLEAST16): Likewise.
18610 [C99-based-standards] (SCNiLEAST16): Likewise.
18611 [C99-based-standards] (SCNoLEAST16): Likewise.
18612 [C99-based-standards] (SCNuLEAST16): Likewise.
18613 [C99-based-standards] (SCNxLEAST16): Likewise.
18614 [C99-based-standards] (PRIdFAST16): Likewise.
18615 [C99-based-standards] (PRIiFAST16): Likewise.
18616 [C99-based-standards] (PRIoFAST16): Likewise.
18617 [C99-based-standards] (PRIuFAST16): Likewise.
18618 [C99-based-standards] (PRIxFAST16): Likewise.
18619 [C99-based-standards] (PRIXFAST16): Likewise.
18620 [C99-based-standards] (SCNdFAST16): Likewise.
18621 [C99-based-standards] (SCNiFAST16): Likewise.
18622 [C99-based-standards] (SCNoFAST16): Likewise.
18623 [C99-based-standards] (SCNuFAST16): Likewise.
18624 [C99-based-standards] (SCNxFAST16): Likewise.
18625 [C99-based-standards] (PRId32): Likewise.
18626 [C99-based-standards] (PRIi32): Likewise.
18627 [C99-based-standards] (PRIo32): Likewise.
18628 [C99-based-standards] (PRIu32): Likewise.
18629 [C99-based-standards] (PRIx32): Likewise.
18630 [C99-based-standards] (PRIX32): Likewise.
18631 [C99-based-standards] (SCNd32): Likewise.
18632 [C99-based-standards] (SCNi32): Likewise.
18633 [C99-based-standards] (SCNo32): Likewise.
18634 [C99-based-standards] (SCNu32): Likewise.
18635 [C99-based-standards] (SCNx32): Likewise.
18636 [C99-based-standards] (PRIdLEAST32): Likewise.
18637 [C99-based-standards] (PRIiLEAST32): Likewise.
18638 [C99-based-standards] (PRIoLEAST32): Likewise.
18639 [C99-based-standards] (PRIuLEAST32): Likewise.
18640 [C99-based-standards] (PRIxLEAST32): Likewise.
18641 [C99-based-standards] (PRIXLEAST32): Likewise.
18642 [C99-based-standards] (SCNdLEAST32): Likewise.
18643 [C99-based-standards] (SCNiLEAST32): Likewise.
18644 [C99-based-standards] (SCNoLEAST32): Likewise.
18645 [C99-based-standards] (SCNuLEAST32): Likewise.
18646 [C99-based-standards] (SCNxLEAST32): Likewise.
18647 [C99-based-standards] (PRIdFAST32): Likewise.
18648 [C99-based-standards] (PRIiFAST32): Likewise.
18649 [C99-based-standards] (PRIoFAST32): Likewise.
18650 [C99-based-standards] (PRIuFAST32): Likewise.
18651 [C99-based-standards] (PRIxFAST32): Likewise.
18652 [C99-based-standards] (PRIXFAST32): Likewise.
18653 [C99-based-standards] (SCNdFAST32): Likewise.
18654 [C99-based-standards] (SCNiFAST32): Likewise.
18655 [C99-based-standards] (SCNoFAST32): Likewise.
18656 [C99-based-standards] (SCNuFAST32): Likewise.
18657 [C99-based-standards] (SCNxFAST32): Likewise.
18658 [C99-based-standards] (PRId64): Likewise.
18659 [C99-based-standards] (PRIi64): Likewise.
18660 [C99-based-standards] (PRIo64): Likewise.
18661 [C99-based-standards] (PRIu64): Likewise.
18662 [C99-based-standards] (PRIx64): Likewise.
18663 [C99-based-standards] (PRIX64): Likewise.
18664 [C99-based-standards] (SCNd64): Likewise.
18665 [C99-based-standards] (SCNi64): Likewise.
18666 [C99-based-standards] (SCNo64): Likewise.
18667 [C99-based-standards] (SCNu64): Likewise.
18668 [C99-based-standards] (SCNx64): Likewise.
18669 [C99-based-standards] (PRIdLEAST64): Likewise.
18670 [C99-based-standards] (PRIiLEAST64): Likewise.
18671 [C99-based-standards] (PRIoLEAST64): Likewise.
18672 [C99-based-standards] (PRIuLEAST64): Likewise.
18673 [C99-based-standards] (PRIxLEAST64): Likewise.
18674 [C99-based-standards] (PRIXLEAST64): Likewise.
18675 [C99-based-standards] (SCNdLEAST64): Likewise.
18676 [C99-based-standards] (SCNiLEAST64): Likewise.
18677 [C99-based-standards] (SCNoLEAST64): Likewise.
18678 [C99-based-standards] (SCNuLEAST64): Likewise.
18679 [C99-based-standards] (SCNxLEAST64): Likewise.
18680 [C99-based-standards] (PRIdFAST64): Likewise.
18681 [C99-based-standards] (PRIiFAST64): Likewise.
18682 [C99-based-standards] (PRIoFAST64): Likewise.
18683 [C99-based-standards] (PRIuFAST64): Likewise.
18684 [C99-based-standards] (PRIxFAST64): Likewise.
18685 [C99-based-standards] (PRIXFAST64): Likewise.
18686 [C99-based-standards] (SCNdFAST64): Likewise.
18687 [C99-based-standards] (SCNiFAST64): Likewise.
18688 [C99-based-standards] (SCNoFAST64): Likewise.
18689 [C99-based-standards] (SCNuFAST64): Likewise.
18690 [C99-based-standards] (SCNxFAST64): Likewise.
18691 [C99-based-standards] (PRIdMAX): Likewise.
18692 [C99-based-standards] (PRIiMAX): Likewise.
18693 [C99-based-standards] (PRIoMAX): Likewise.
18694 [C99-based-standards] (PRIuMAX): Likewise.
18695 [C99-based-standards] (PRIxMAX): Likewise.
18696 [C99-based-standards] (PRIXMAX): Likewise.
18697 [C99-based-standards] (SCNdMAX): Likewise.
18698 [C99-based-standards] (SCNiMAX): Likewise.
18699 [C99-based-standards] (SCNoMAX): Likewise.
18700 [C99-based-standards] (SCNuMAX): Likewise.
18701 [C99-based-standards] (SCNxMAX): Likewise.
18702 [C99-based-standards] (PRIdPTR): Likewise.
18703 [C99-based-standards] (PRIiPTR): Likewise.
18704 [C99-based-standards] (PRIoPTR): Likewise.
18705 [C99-based-standards] (PRIuPTR): Likewise.
18706 [C99-based-standards] (PRIxPTR): Likewise.
18707 [C99-based-standards] (PRIXPTR): Likewise.
18708 [C99-based-standards] (SCNdPTR): Likewise.
18709 [C99-based-standards] (SCNiPTR): Likewise.
18710 [C99-based-standards] (SCNoPTR): Likewise.
18711 [C99-based-standards] (SCNuPTR): Likewise.
18712 [C99-based-standards] (SCNxPTR): Likewise.
18713 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
18715 * conform/data/stdint.h-data: Update comments to clarify
18717 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
18719 [C99-based standards] (INT8_MAX): Likewise.
18720 [C99-based standards] (INT16_MIN): Likewise.
18721 [C99-based standards] (INT16_MAX): Likewise.
18722 [C99-based standards] (INT32_MIN): Likewise.
18723 [C99-based standards] (INT32_MAX): Likewise.
18724 [C99-based standards] (INT64_MIN): Likewise.
18725 [C99-based standards] (INT64_MAX): Likewise.
18726 [C99-based standards] (UINT8_MAX): Likewise.
18727 [C99-based standards] (UINT16_MAX): Likewise.
18728 [C99-based standards] (UINT32_MAX): Likewise.
18729 [C99-based standards] (UINT64_MAX): Likewise.
18730 [C99-based standards] (INT_LEAST8_MIN): Likewise.
18731 [C99-based standards] (INT_LEAST8_MAX): Likewise.
18732 [C99-based standards] (INT_LEAST16_MIN): Likewise.
18733 [C99-based standards] (INT_LEAST16_MAX): Likewise.
18734 [C99-based standards] (INT_LEAST32_MIN): Likewise.
18735 [C99-based standards] (INT_LEAST32_MAX): Likewise.
18736 [C99-based standards] (INT_LEAST64_MIN): Likewise.
18737 [C99-based standards] (INT_LEAST64_MAX): Likewise.
18738 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
18739 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
18740 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
18741 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
18742 [C99-based standards] (INT_FAST8_MIN): Likewise.
18743 [C99-based standards] (INT_FAST8_MAX): Likewise.
18744 [C99-based standards] (INT_FAST16_MIN): Likewise.
18745 [C99-based standards] (INT_FAST16_MAX): Likewise.
18746 [C99-based standards] (INT_FAST32_MIN): Likewise.
18747 [C99-based standards] (INT_FAST32_MAX): Likewise.
18748 [C99-based standards] (INT_FAST64_MIN): Likewise.
18749 [C99-based standards] (INT_FAST64_MAX): Likewise.
18750 [C99-based standards] (UINT_FAST8_MAX): Likewise.
18751 [C99-based standards] (UINT_FAST16_MAX): Likewise.
18752 [C99-based standards] (UINT_FAST32_MAX): Likewise.
18753 [C99-based standards] (UINT_FAST64_MAX): Likewise.
18754 [C99-based standards] (INTPTR_MIN): Likewise.
18755 [C99-based standards] (INTPTR_MAX): Likewise.
18756 [C99-based standards] (UINTPTR_MAX): Likewise.
18757 [C99-based standards] (INTMAX_MIN): Likewise.
18758 [C99-based standards] (INTMAX_MAX): Likewise.
18759 [C99-based standards] (UINTMAX_MAX): Likewise.
18760 [C99-based standards] (PTRDIFF_MIN): Likewise.
18761 [C99-based standards] (PTRDIFF_MAX): Likewise.
18762 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
18763 [C99-based standards] (SIZE_MAX): Likewise.
18764 [C99-based standards] (WCHAR_MAX): Likewise.
18765 [C99-based standards] (WINT_MAX): Likewise.
18766 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
18767 constraint on value.
18768 [C99-based standards] (WCHAR_MIN): Likewise.
18769 [C99-based standards] (WINT_MIN): Likewise.
18770 [C99-based standards] (*_t): Allow.
18771 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
18772 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
18773 Include math.h-data and complex.h-data. Remove all expectations
18774 of math.h and complex.h contents.
18775 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
18777 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
18778 (struct tm): Expect tag.
18779 [C99-based-standards] (wcstof): Expect function.
18780 [C99-based-standards] (wcstold): Likewise.
18781 [C99-based-standards] (wcstoll): Likewise.
18782 [C99-based-standards] (wcstoull): Likewise.
18783 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
18784 macro-int-constant. Specify type.
18785 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
18786 constraint on value.
18787 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
18789 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
18791 [ISO C standards]: Do not allow headers.
18792 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
18793 wcs[abcdefghijklmnopqrstuvwxyz]*.
18794 [ISO C standards] (*_t): Do not allow.
18795 * conform/data/wctype.h-data [C99-based standards] (iswblank):
18797 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
18798 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
18800 [ISO C standards]: Do not allow headers.
18801 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
18802 is[abcdefghijklmnopqrstuvwxyz]*.
18803 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
18804 to[abcdefghijklmnopqrstuvwxyz]*.
18805 [ISO C standards] (*_t): Do not allow.
18806 * conform/data/stdalign.h-data: New file.
18807 * conform/data/stdbool.h-data: Likewise.
18808 * conform/data/stdnoreturn.h-data: Likewise.
18810 2012-11-07 Roland McGrath <roland@hack.frob.com>
18813 * manual/filesys.texi (Directory Entries): Typo fix.
18814 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
18816 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
18818 * elf/elf.h (EM_AARCH64): New macro.
18819 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
18820 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
18821 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
18822 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
18823 (R_AARCH64_TLSDESC): Likewise.
18824 (NT_ARM_TLS): Likewise.
18825 (NT_ARM_HW_BREAK): Likewise.
18826 (NT_ARM_HW_WATCH): Likewise.
18828 2012-11-07 Joseph Myers <joseph@codesourcery.com>
18831 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
18832 (__ieee754_powl): Saturate nonzero exponents with absolute value
18833 below 0x1p-79 to +/- 0x1p-79.
18834 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
18835 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
18836 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
18837 nonzero exponents with absolute value below 0x1p-32 to +/-
18839 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
18840 (__ieee754_powl): Saturate nonzero exponents with absolute value
18841 below 0x1p-79 to +/- 0x1p-79.
18842 * math/libm-test.inc (pow_test): Add more tests.
18844 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18846 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
18847 _dl_s390_cap_flags with kernel. Increase string length.
18848 (_dl_s390_platforms): Add z196 and zEC12.
18850 2012-11-07 Joseph Myers <joseph@codesourcery.com>
18852 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
18853 Change XOPEN21K to XOPEN2K.
18855 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
18857 * string/memmove.c: Use memcpy when possible.
18859 2012-11-06 Andreas Jaeger <aj@suse.de>
18861 * po/eo.po: Update from translation team.
18863 2012-11-06 Joseph Myers <joseph@codesourcery.com>
18866 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
18867 exponent and small x and y exponents, scale x or y up. Increase
18868 by 2 the exponent used in scaling up.
18869 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
18870 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18871 * math/libm-test.inc (fma_test): Add more tests.
18872 (fma_test_towardzero): Likewise.
18873 (fma_test_downward): Likewise.
18874 (fma_test_upward): Likewise.
18876 2012-11-05 Joseph Myers <joseph@codesourcery.com>
18879 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
18883 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
18884 namespace for names of struct fields.
18885 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
18887 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
18888 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
18890 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
18893 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
18895 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
18897 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
18901 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
18904 2012-11-04 Joseph Myers <joseph@codesourcery.com>
18907 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
18908 definitely overflow as x * y not x * y + z.
18909 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
18910 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18911 * math/libm-test.inc (fma_test): Add more tests.
18912 (fma_test_towardzero): Likewise.
18913 (fma_test_downward): Likewise.
18914 (fma_test_upward): Likewise.
18916 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
18920 * include/stub-tag.h: Remove file.
18921 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
18923 * manual/maint.texi (Porting): Don't reference it.
18924 * Makerules ($(objpfx)stubs): Likewise.
18925 * dirent/closedir.c: Don't include <stub-tag.h>.
18926 * dirent/dirfd.c: Likewise.
18927 * dirent/fdopendir.c: Likewise.
18928 * dirent/getdents.c: Likewise.
18929 * dirent/getdents64.c: Likewise.
18930 * dirent/opendir.c: Likewise.
18931 * dirent/readdir.c: Likewise.
18932 * dirent/readdir64.c: Likewise.
18933 * dirent/readdir64_r.c: Likewise.
18934 * dirent/readdir_r.c: Likewise.
18935 * dirent/rewinddir.c: Likewise.
18936 * dirent/seekdir.c: Likewise.
18937 * dirent/telldir.c: Likewise.
18938 * gmon/profil.c: Likewise.
18939 * grp/setgroups.c: Likewise.
18940 * inet/if_index.c: Likewise.
18941 * io/access.c: Likewise.
18942 * io/chdir.c: Likewise.
18943 * io/chmod.c: Likewise.
18944 * io/chown.c: Likewise.
18945 * io/close.c: Likewise.
18946 * io/dup.c: Likewise.
18947 * io/dup2.c: Likewise.
18948 * io/dup3.c: Likewise.
18949 * io/euidaccess.c: Likewise.
18950 * io/faccessat.c: Likewise.
18951 * io/fchdir.c: Likewise.
18952 * io/fchmod.c: Likewise.
18953 * io/fchmodat.c: Likewise.
18954 * io/fchown.c: Likewise.
18955 * io/fchownat.c: Likewise.
18956 * io/fcntl.c: Likewise.
18957 * io/flock.c: Likewise.
18958 * io/fstatfs.c: Likewise.
18959 * io/fstatfs64.c: Likewise.
18960 * io/fstatvfs.c: Likewise.
18961 * io/fstatvfs64.c: Likewise.
18962 * io/futimens.c: Likewise.
18963 * io/fxstat.c: Likewise.
18964 * io/fxstat64.c: Likewise.
18965 * io/fxstatat.c: Likewise.
18966 * io/fxstatat64.c: Likewise.
18967 * io/getcwd.c: Likewise.
18968 * io/isatty.c: Likewise.
18969 * io/lchmod.c: Likewise.
18970 * io/lchown.c: Likewise.
18971 * io/link.c: Likewise.
18972 * io/linkat.c: Likewise.
18973 * io/lseek.c: Likewise.
18974 * io/lseek64.c: Likewise.
18975 * io/lxstat64.c: Likewise.
18976 * io/mkdir.c: Likewise.
18977 * io/mkdirat.c: Likewise.
18978 * io/mkfifo.c: Likewise.
18979 * io/mkfifoat.c: Likewise.
18980 * io/open.c: Likewise.
18981 * io/open64.c: Likewise.
18982 * io/openat.c: Likewise.
18983 * io/openat64.c: Likewise.
18984 * io/pipe.c: Likewise.
18985 * io/pipe2.c: Likewise.
18986 * io/poll.c: Likewise.
18987 * io/posix_fadvise.c: Likewise.
18988 * io/posix_fadvise64.c: Likewise.
18989 * io/posix_fallocate.c: Likewise.
18990 * io/posix_fallocate64.c: Likewise.
18991 * io/read.c: Likewise.
18992 * io/readlink.c: Likewise.
18993 * io/readlinkat.c: Likewise.
18994 * io/rmdir.c: Likewise.
18995 * io/sendfile.c: Likewise.
18996 * io/sendfile64.c: Likewise.
18997 * io/statfs.c: Likewise.
18998 * io/statfs64.c: Likewise.
18999 * io/statvfs.c: Likewise.
19000 * io/statvfs64.c: Likewise.
19001 * io/symlink.c: Likewise.
19002 * io/symlinkat.c: Likewise.
19003 * io/ttyname.c: Likewise.
19004 * io/ttyname_r.c: Likewise.
19005 * io/umask.c: Likewise.
19006 * io/unlink.c: Likewise.
19007 * io/unlinkat.c: Likewise.
19008 * io/utime.c: Likewise.
19009 * io/utimensat.c: Likewise.
19010 * io/write.c: Likewise.
19011 * io/xmknod.c: Likewise.
19012 * io/xmknodat.c: Likewise.
19013 * io/xstat.c: Likewise.
19014 * io/xstat64.c: Likewise.
19015 * login/getpt.c: Likewise.
19016 * login/grantpt.c: Likewise.
19017 * login/unlockpt.c: Likewise.
19018 * math/e_acoshl.c: Likewise.
19019 * math/e_acosl.c: Likewise.
19020 * math/e_asinl.c: Likewise.
19021 * math/e_atan2l.c: Likewise.
19022 * math/e_atanhl.c: Likewise.
19023 * math/e_coshl.c: Likewise.
19024 * math/e_expl.c: Likewise.
19025 * math/e_fmodl.c: Likewise.
19026 * math/e_gammal_r.c: Likewise.
19027 * math/e_hypotl.c: Likewise.
19028 * math/e_j0l.c: Likewise.
19029 * math/e_j1l.c: Likewise.
19030 * math/e_jnl.c: Likewise.
19031 * math/e_lgammal_r.c: Likewise.
19032 * math/e_log10l.c: Likewise.
19033 * math/e_log2l.c: Likewise.
19034 * math/e_logl.c: Likewise.
19035 * math/e_powl.c: Likewise.
19036 * math/e_rem_pio2l.c: Likewise.
19037 * math/e_sinhl.c: Likewise.
19038 * math/e_sqrtl.c: Likewise.
19039 * math/fclrexcpt.c: Likewise.
19040 * math/fedisblxcpt.c: Likewise.
19041 * math/feenablxcpt.c: Likewise.
19042 * math/fegetenv.c: Likewise.
19043 * math/fegetexcept.c: Likewise.
19044 * math/fegetround.c: Likewise.
19045 * math/feholdexcpt.c: Likewise.
19046 * math/fesetenv.c: Likewise.
19047 * math/fesetround.c: Likewise.
19048 * math/feupdateenv.c: Likewise.
19049 * math/fgetexcptflg.c: Likewise.
19050 * math/fraiseexcpt.c: Likewise.
19051 * math/fsetexcptflg.c: Likewise.
19052 * math/ftestexcept.c: Likewise.
19053 * math/k_cosl.c: Likewise.
19054 * math/k_rem_pio2l.c: Likewise.
19055 * math/k_sinl.c: Likewise.
19056 * math/k_tanl.c: Likewise.
19057 * math/s_asinhl.c: Likewise.
19058 * math/s_atanl.c: Likewise.
19059 * math/s_cbrtl.c: Likewise.
19060 * math/s_erfl.c: Likewise.
19061 * math/s_expm1l.c: Likewise.
19062 * math/s_log1pl.c: Likewise.
19063 * math/s_tanhl.c: Likewise.
19064 * misc/acct.c: Likewise.
19065 * misc/brk.c: Likewise.
19066 * misc/chflags.c: Likewise.
19067 * misc/chroot.c: Likewise.
19068 * misc/fchflags.c: Likewise.
19069 * misc/fgetxattr.c: Likewise.
19070 * misc/flistxattr.c: Likewise.
19071 * misc/fremovexattr.c: Likewise.
19072 * misc/fsetxattr.c: Likewise.
19073 * misc/fsync.c: Likewise.
19074 * misc/ftruncate.c: Likewise.
19075 * misc/futimes.c: Likewise.
19076 * misc/futimesat.c: Likewise.
19077 * misc/getdomain.c: Likewise.
19078 * misc/getdtsz.c: Likewise.
19079 * misc/gethostid.c: Likewise.
19080 * misc/gethostname.c: Likewise.
19081 * misc/getloadavg.c: Likewise.
19082 * misc/getpagesize.c: Likewise.
19083 * misc/getsysstats.c: Likewise.
19084 * misc/getxattr.c: Likewise.
19085 * misc/gtty.c: Likewise.
19086 * misc/ioctl.c: Likewise.
19087 * misc/lgetxattr.c: Likewise.
19088 * misc/listxattr.c: Likewise.
19089 * misc/llistxattr.c: Likewise.
19090 * misc/lremovexattr.c: Likewise.
19091 * misc/lsetxattr.c: Likewise.
19092 * misc/lutimes.c: Likewise.
19093 * misc/madvise.c: Likewise.
19094 * misc/mincore.c: Likewise.
19095 * misc/mlock.c: Likewise.
19096 * misc/mlockall.c: Likewise.
19097 * misc/mmap.c: Likewise.
19098 * misc/mprotect.c: Likewise.
19099 * misc/msync.c: Likewise.
19100 * misc/munlock.c: Likewise.
19101 * misc/munlockall.c: Likewise.
19102 * misc/munmap.c: Likewise.
19103 * misc/preadv.c: Likewise.
19104 * misc/preadv64.c: Likewise.
19105 * misc/ptrace.c: Likewise.
19106 * misc/pwritev.c: Likewise.
19107 * misc/pwritev64.c: Likewise.
19108 * misc/readv.c: Likewise.
19109 * misc/reboot.c: Likewise.
19110 * misc/remap_file_pages.c: Likewise.
19111 * misc/removexattr.c: Likewise.
19112 * misc/revoke.c: Likewise.
19113 * misc/select.c: Likewise.
19114 * misc/setdomain.c: Likewise.
19115 * misc/setegid.c: Likewise.
19116 * misc/seteuid.c: Likewise.
19117 * misc/sethostid.c: Likewise.
19118 * misc/sethostname.c: Likewise.
19119 * misc/setregid.c: Likewise.
19120 * misc/setreuid.c: Likewise.
19121 * misc/setxattr.c: Likewise.
19122 * misc/sstk.c: Likewise.
19123 * misc/stty.c: Likewise.
19124 * misc/swapoff.c: Likewise.
19125 * misc/swapon.c: Likewise.
19126 * misc/sync.c: Likewise.
19127 * misc/syncfs.c: Likewise.
19128 * misc/syscall.c: Likewise.
19129 * misc/truncate.c: Likewise.
19130 * misc/ualarm.c: Likewise.
19131 * misc/usleep.c: Likewise.
19132 * misc/ustat.c: Likewise.
19133 * misc/utimes.c: Likewise.
19134 * misc/vhangup.c: Likewise.
19135 * misc/writev.c: Likewise.
19136 * posix/_exit.c: Likewise.
19137 * posix/alarm.c: Likewise.
19138 * posix/execve.c: Likewise.
19139 * posix/fexecve.c: Likewise.
19140 * posix/fork.c: Likewise.
19141 * posix/fpathconf.c: Likewise.
19142 * posix/getaddrinfo.c: Likewise.
19143 * posix/getegid.c: Likewise.
19144 * posix/geteuid.c: Likewise.
19145 * posix/getgid.c: Likewise.
19146 * posix/getgroups.c: Likewise.
19147 * posix/getlogin.c: Likewise.
19148 * posix/getlogin_r.c: Likewise.
19149 * posix/getpgid.c: Likewise.
19150 * posix/getpid.c: Likewise.
19151 * posix/getppid.c: Likewise.
19152 * posix/getresgid.c: Likewise.
19153 * posix/getresuid.c: Likewise.
19154 * posix/getsid.c: Likewise.
19155 * posix/getuid.c: Likewise.
19156 * posix/glob64.c: Likewise.
19157 * posix/nanosleep.c: Likewise.
19158 * posix/pathconf.c: Likewise.
19159 * posix/pause.c: Likewise.
19160 * posix/posix_madvise.c: Likewise.
19161 * posix/pread.c: Likewise.
19162 * posix/pread64.c: Likewise.
19163 * posix/pwrite.c: Likewise.
19164 * posix/pwrite64.c: Likewise.
19165 * posix/sched_getaffinity.c: Likewise.
19166 * posix/sched_getp.c: Likewise.
19167 * posix/sched_gets.c: Likewise.
19168 * posix/sched_primax.c: Likewise.
19169 * posix/sched_primin.c: Likewise.
19170 * posix/sched_rr_gi.c: Likewise.
19171 * posix/sched_setaffinity.c: Likewise.
19172 * posix/sched_setp.c: Likewise.
19173 * posix/sched_sets.c: Likewise.
19174 * posix/sched_yield.c: Likewise.
19175 * posix/setgid.c: Likewise.
19176 * posix/setlogin.c: Likewise.
19177 * posix/setpgid.c: Likewise.
19178 * posix/setresgid.c: Likewise.
19179 * posix/setresuid.c: Likewise.
19180 * posix/setsid.c: Likewise.
19181 * posix/setuid.c: Likewise.
19182 * posix/sleep.c: Likewise.
19183 * posix/spawni.c: Likewise.
19184 * posix/sysconf.c: Likewise.
19185 * posix/times.c: Likewise.
19186 * posix/wait.c: Likewise.
19187 * posix/wait3.c: Likewise.
19188 * posix/wait4.c: Likewise.
19189 * posix/waitpid.c: Likewise.
19190 * resolv/gai_sigqueue.c: Likewise.
19191 * resource/getpriority.c: Likewise.
19192 * resource/getrlimit.c: Likewise.
19193 * resource/getrusage.c: Likewise.
19194 * resource/nice.c: Likewise.
19195 * resource/setpriority.c: Likewise.
19196 * resource/setrlimit.c: Likewise.
19197 * resource/ulimit.c: Likewise.
19198 * rt/aio_cancel.c: Likewise.
19199 * rt/aio_fsync.c: Likewise.
19200 * rt/aio_read.c: Likewise.
19201 * rt/aio_sigqueue.c: Likewise.
19202 * rt/aio_suspend.c: Likewise.
19203 * rt/aio_write.c: Likewise.
19204 * rt/clock_getres.c: Likewise.
19205 * rt/clock_gettime.c: Likewise.
19206 * rt/clock_nanosleep.c: Likewise.
19207 * rt/clock_settime.c: Likewise.
19208 * rt/lio_listio.c: Likewise.
19209 * rt/mq_close.c: Likewise.
19210 * rt/mq_getattr.c: Likewise.
19211 * rt/mq_notify.c: Likewise.
19212 * rt/mq_open.c: Likewise.
19213 * rt/mq_receive.c: Likewise.
19214 * rt/mq_send.c: Likewise.
19215 * rt/mq_setattr.c: Likewise.
19216 * rt/mq_timedreceive.c: Likewise.
19217 * rt/mq_timedsend.c: Likewise.
19218 * rt/mq_unlink.c: Likewise.
19219 * rt/shm_open.c: Likewise.
19220 * rt/shm_unlink.c: Likewise.
19221 * rt/timer_create.c: Likewise.
19222 * rt/timer_delete.c: Likewise.
19223 * rt/timer_getoverr.c: Likewise.
19224 * rt/timer_gettime.c: Likewise.
19225 * rt/timer_settime.c: Likewise.
19226 * setjmp/__longjmp.c: Likewise.
19227 * setjmp/setjmp.c: Likewise.
19228 * signal/kill.c: Likewise.
19229 * signal/killpg.c: Likewise.
19230 * signal/raise.c: Likewise.
19231 * signal/sigaction.c: Likewise.
19232 * signal/sigaltstack.c: Likewise.
19233 * signal/sigblock.c: Likewise.
19234 * signal/sigignore.c: Likewise.
19235 * signal/sigintr.c: Likewise.
19236 * signal/signal.c: Likewise.
19237 * signal/sigpause.c: Likewise.
19238 * signal/sigpending.c: Likewise.
19239 * signal/sigqueue.c: Likewise.
19240 * signal/sigreturn.c: Likewise.
19241 * signal/sigset.c: Likewise.
19242 * signal/sigsetmask.c: Likewise.
19243 * signal/sigstack.c: Likewise.
19244 * signal/sigsuspend.c: Likewise.
19245 * signal/sigtimedwait.c: Likewise.
19246 * signal/sigvec.c: Likewise.
19247 * signal/sigwait.c: Likewise.
19248 * signal/sigwaitinfo.c: Likewise.
19249 * signal/sysv_signal.c: Likewise.
19250 * socket/accept.c: Likewise.
19251 * socket/accept4.c: Likewise.
19252 * socket/bind.c: Likewise.
19253 * socket/connect.c: Likewise.
19254 * socket/getpeername.c: Likewise.
19255 * socket/getsockname.c: Likewise.
19256 * socket/getsockopt.c: Likewise.
19257 * socket/isfdtype.c: Likewise.
19258 * socket/listen.c: Likewise.
19259 * socket/recv.c: Likewise.
19260 * socket/recvfrom.c: Likewise.
19261 * socket/recvmsg.c: Likewise.
19262 * socket/send.c: Likewise.
19263 * socket/sendmsg.c: Likewise.
19264 * socket/sendto.c: Likewise.
19265 * socket/setsockopt.c: Likewise.
19266 * socket/shutdown.c: Likewise.
19267 * socket/sockatmark.c: Likewise.
19268 * socket/socket.c: Likewise.
19269 * socket/socketpair.c: Likewise.
19270 * stdio-common/ctermid.c: Likewise.
19271 * stdio-common/cuserid.c: Likewise.
19272 * stdio-common/remove.c: Likewise.
19273 * stdio-common/rename.c: Likewise.
19274 * stdio-common/renameat.c: Likewise.
19275 * stdio-common/tempname.c: Likewise.
19276 * stdlib/getcontext.c: Likewise.
19277 * stdlib/makecontext.c: Likewise.
19278 * stdlib/setcontext.c: Likewise.
19279 * stdlib/swapcontext.c: Likewise.
19280 * stdlib/system.c: Likewise.
19281 * streams/fattach.c: Likewise.
19282 * streams/fdetach.c: Likewise.
19283 * streams/getmsg.c: Likewise.
19284 * streams/getpmsg.c: Likewise.
19285 * streams/putmsg.c: Likewise.
19286 * streams/putpmsg.c: Likewise.
19287 * sysdeps/unix/bsd/getpt.c: Likewise.
19288 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
19289 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
19290 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
19291 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
19293 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
19294 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
19295 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
19296 * sysvipc/msgctl.c: Likewise.
19297 * sysvipc/msgget.c: Likewise.
19298 * sysvipc/msgrcv.c: Likewise.
19299 * sysvipc/msgsnd.c: Likewise.
19300 * sysvipc/semctl.c: Likewise.
19301 * sysvipc/semget.c: Likewise.
19302 * sysvipc/semop.c: Likewise.
19303 * sysvipc/semtimedop.c: Likewise.
19304 * sysvipc/shmat.c: Likewise.
19305 * sysvipc/shmctl.c: Likewise.
19306 * sysvipc/shmdt.c: Likewise.
19307 * sysvipc/shmget.c: Likewise.
19308 * termios/tcdrain.c: Likewise.
19309 * termios/tcflow.c: Likewise.
19310 * termios/tcflush.c: Likewise.
19311 * termios/tcgetattr.c: Likewise.
19312 * termios/tcgetpgrp.c: Likewise.
19313 * termios/tcsendbrk.c: Likewise.
19314 * termios/tcsetattr.c: Likewise.
19315 * termios/tcsetpgrp.c: Likewise.
19316 * time/adjtime.c: Likewise.
19317 * time/clock.c: Likewise.
19318 * time/getitimer.c: Likewise.
19319 * time/gettimeofday.c: Likewise.
19320 * time/setitimer.c: Likewise.
19321 * time/settimeofday.c: Likewise.
19322 * time/stime.c: Likewise.
19323 * time/time.c: Likewise.
19325 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
19327 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
19330 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
19332 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
19334 2012-11-03 Joseph Myers <joseph@codesourcery.com>
19337 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
19338 FE_TONEAREST before applying Dekker multiplication and Knuth
19339 addition. Clear inexact exceptions and check for exact zero
19340 results afterwards.
19341 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
19342 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
19343 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
19344 * math/libm-test.inc (fma_test): Add more tests.
19345 (fma_test_towardzero): Likewise.
19346 (fma_test_downward): Likewise.
19347 (fma_test_upward): Likewise.
19348 * sysdeps/generic/math_private.h (default_libc_fesetround): New
19350 (libc_fesetround): New macro.
19351 (libc_fesetroundf): Likewise.
19352 (libc_fesetroundl): Likewise.
19353 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
19355 (libc_fesetround_387): Likewise.
19356 (libc_fesetroundf): New macro.
19357 (libc_fesetround): Likewise.
19358 (libc_fesetroundl): Likewise.
19359 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
19361 (libc_fesetroundf): New macro.
19362 (libc_fesetround): Likewise.
19363 (libc_fesetroundl): Likewise.
19364 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
19365 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
19366 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
19368 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
19369 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
19371 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
19372 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
19374 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
19378 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
19379 integer constant usable in #if and use that to give value to enum
19381 (FE_DIVBYZERO): Likewise.
19382 (FE_UNDERFLOW): Likewise.
19383 (FE_OVERFLOW): Likewise.
19384 (FE_INVALID): Likewise.
19385 (FE_INVALID_SNAN): Likewise.
19386 (FE_INVALID_ISI): Likewise.
19387 (FE_INVALID_IDI): Likewise.
19388 (FE_INVALID_ZDZ): Likewise.
19389 (FE_INVALID_IMZ): Likewise.
19390 (FE_INVALID_COMPARE): Likewise.
19391 (FE_INVALID_SOFTWARE): Likewise.
19392 (FE_INVALID_SQRT): Likewise.
19393 (FE_INVALID_INTEGER_CONVERSION): Likewise.
19394 (FE_TONEAREST): Likewise.
19395 (FE_TOWARDZERO): Likewise.
19396 (FE_UPWARD): Likewise.
19397 (FE_DOWNWARD): Likewise.
19398 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
19399 (FE_DIVBYZERO): Likewise.
19400 (FE_OVERFLOW): Likewise.
19401 (FE_UNDERFLOW): Likewise.
19402 (FE_INEXACT): Likewise.
19403 (FE_TONEAREST): Likewise.
19404 (FE_DOWNWARD): Likewise.
19405 (FE_UPWARD): Likewise.
19406 (FE_TOWARDZERO): Likewise.
19407 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
19408 (FE_UNDERFLOW): Likewise.
19409 (FE_OVERFLOW): Likewise.
19410 (FE_DIVBYZERO): Likewise.
19411 (FE_INVALID): Likewise.
19412 (FE_TONEAREST): Likewise.
19413 (FE_TOWARDZERO): Likewise.
19414 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
19415 (FE_OVERFLOW): Likewise.
19416 (FE_UNDERFLOW): Likewise.
19417 (FE_DIVBYZERO): Likewise.
19418 (FE_INEXACT): Likewise.
19419 (FE_TONEAREST): Likewise.
19420 (FE_TOWARDZERO): Likewise.
19421 (FE_UPWARD): Likewise.
19422 (FE_DOWNWARD): Likewise.
19423 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
19424 (FE_DIVBYZERO): Likewise.
19425 (FE_OVERFLOW): Likewise.
19426 (FE_UNDERFLOW): Likewise.
19427 (FE_INEXACT): Likewise.
19428 (FE_TONEAREST): Likewise.
19429 (FE_DOWNWARD): Likewise.
19430 (FE_UPWARD): Likewise.
19431 (FE_TOWARDZERO): Likewise.
19433 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
19435 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
19437 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
19439 * scripts/cross-test-ssh.sh (command): Use newlines to separate
19440 commands. Quote $PWD.
19441 (blacklist_exports): Don't use remove_newlines. Replace "declare
19443 (remove_newlines): Remove.
19445 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
19447 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
19448 * stdlib/stdlib.h (atof): Moved to ...
19449 * include/bits/stdlib-float.h: Here. New file.
19450 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
19451 * stdlib/bits/stdlib-float.h: New file.
19452 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
19454 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
19457 2012-11-02 Joseph Myers <joseph@codesourcery.com>
19459 * conform/conformtest.pl (@headers): Add fenv.h.
19460 * conform/data/fenv.h-data: New file.
19461 * include/fenv.h [_ISOMAC]: Disable all contents of file except
19462 include of <math/fenv.h>.
19464 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
19465 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
19466 && !UNIX98]. Enables tests for XOPEN2K8.
19467 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
19468 POSIX2008]: Likewise.
19470 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
19471 (struct rusage): Do not expect type or its members.
19474 * math/math.h (FP_NAN): Define macro to integer constant usable in
19475 #if and use that to give value to enum constant.
19476 (FP_INFINITE): Likewise.
19477 (FP_ZERO): Likewise.
19478 (FP_SUBNORMAL): Likewise.
19479 (FP_NORMAL): Likewise.
19481 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
19483 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
19484 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
19487 2012-11-02 Roland McGrath <roland@hack.frob.com>
19489 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
19490 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
19491 autoconf-time if not.
19492 * configure.in: Remove AC_PREREQ.
19494 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19496 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
19497 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
19498 of the internal implementation.
19500 2012-11-02 Joseph Myers <joseph@codesourcery.com>
19502 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
19503 except include of <misc/sys/syslog.h>.
19505 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
19507 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
19508 function returns with a NULL context exit with zero.
19510 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19512 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
19514 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
19516 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
19517 (run_program_cmd): This.
19518 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
19519 (tst_langinfo): New variable. Use it.
19521 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
19523 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
19524 floating point opcodes.
19526 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
19528 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
19531 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
19533 * sysdeps/mach/hurd/powerpc: Remove directory.
19534 * sysdeps/mach/powerpc: Likewise.
19536 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
19538 * scripts/check-local-headers.sh: Ignore c++ headers.
19540 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
19542 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
19543 __libc_cleanup_region_start argument.
19545 2012-11-01 Joseph Myers <joseph@codesourcery.com>
19549 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
19550 x * y using scaling, not as x * y + z.
19551 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
19552 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
19553 * math/libm-test.inc (fma_test): Add more tests.
19554 (fma_test_towardzero): Likewise.
19555 (fma_test_downward): Likewise.
19556 (fma_test_upward): Likewise.
19558 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
19560 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
19562 2012-10-31 Joseph Myers <joseph@codesourcery.com>
19564 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
19567 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
19569 * rt/tst-shm.c (worker): Correct checking for mmap failure.
19571 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
19573 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19575 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
19578 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19580 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19581 Fix the order of the list for glibc 2.17.
19582 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
19585 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
19587 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19589 2012-10-31 Joseph Myers <joseph@codesourcery.com>
19592 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
19593 for low part of x being zero before using __atanl (y).
19594 * math/libm-test.inc (atan2_test): Add another test.
19596 * manual/install.texi (Configuring and compiling): Document
19597 general use of test-wrapper and test-wrapper-env.
19598 * INSTALL: Regenerated.
19600 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
19601 (__fma): Do not extract and scale down low bits on after-rounding
19602 systems when result rounded to normal precision would have normal
19604 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
19605 (__fmal): Do not extract and scale down low bits on after-rounding
19606 systems when result rounded to normal precision would have normal
19608 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
19609 (__fmal): Do not extract and scale down low bits on after-rounding
19610 systems when result rounded to normal precision would have normal
19612 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
19614 (fma_test): Add more tests.
19615 (fma_test_towardzero): Likewise.
19616 (fma_test_downward): Likewise.
19617 (fma_test_upward): Likewise.
19619 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
19621 * sysdeps/i386/tininess.h: Renamed to ...
19622 * sysdeps/x86/tininess.h: This.
19623 * sysdeps/x86_64/tininess.h: Removed.
19625 2012-10-30 Joseph Myers <joseph@codesourcery.com>
19627 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
19628 input. Use $(build-program-cmd).
19629 ($(objpfx)tst-array1-static.out): Likewise.
19630 ($(objpfx)tst-array2.out): Likewise.
19631 ($(objpfx)tst-array3.out): Likewise.
19632 ($(objpfx)tst-array4.out): Likewise.
19633 ($(objpfx)tst-array5.out): Likewise.
19634 ($(objpfx)tst-array5-static.out): Likewise.
19636 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
19638 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
19641 * nss/nsswitch.h (nss_interface_function): Provide new
19642 macro for use with NSS functions.
19643 * grp/initgroups.c: Use new macro.
19644 * nss/getXXbyYY.c: Likewise.
19645 * nss/getXXbyYY_r.c: Likewise.
19646 * nss/getXXent.c: Likewise.
19647 * nss/getXXent_r.c: Likewise.
19648 * sysdeps/posix/getaddrinfo.c: Likewise.
19650 2012-10-30 Andreas Jaeger <aj@suse.de>
19652 * po/ru.po: Update Russion translation from translation project.
19654 2012-10-30 Joseph Myers <joseph@codesourcery.com>
19658 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
19659 result and shift together with sticky bit instead of replicating
19660 round-to-nearest rounding.
19661 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
19662 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
19663 * math/libm-test.inc (fma_test): Add more tests. Do not permit
19664 missing underflow exceptions.
19665 (fma_test_towardzero): Add more tests.
19666 (fma_test_downward): Likewise.
19667 (fma_test_upward): Likewise.
19670 * sysdeps/generic/tininess.h: New file.
19671 * sysdeps/i386/tininess.h: Likewise.
19672 * sysdeps/sh/tininess.h: Likewise.
19673 * sysdeps/x86_64/tininess.h: Likewise.
19674 * stdlib/tst-strtod-underflow.c: Likewise.
19675 * stdlib/tst-tininess.c: Likewise.
19676 * stdlib/strtod_l.c: Include <tininess.h>.
19677 (round_and_return): Do not set errno for exact underflow cases.
19678 Force an underflow exception when setting errno for underflow.
19679 Determine underflow based on rounding to normal precision if
19680 TININESS_AFTER_ROUNDING.
19681 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
19682 ERANGE for exact underflow cases.
19683 * stdlib/Makefile (tests): Add tst-tininess and
19684 tst-strtod-underflow.
19685 ($(objpfx)tst-tininess): Use $(link-libm).
19686 ($(objpfx)tst-strtod-underflow): Likewise.
19688 2012-10-30 Andreas Jaeger <aj@suse.de>
19691 * elf/Makefile (tests): Remove conditional for have-initfini-array
19692 since this is now always required and the variable does not exist
19694 (tests-static): Likewise.
19695 (modules-names): Likewise.
19697 * po/eo.po: Add Esperanto translation from translation project.
19699 * elf/tst-array1.c (fini_array): Make writeable so that it can be
19700 merged with constructor/destructor.
19701 (init_array): Likewise.
19702 * elf/tst-array2dep.c (fini_array): Likewise.
19703 (init_array): Likewise.
19705 2012-10-29 Mike Frysinger <vapier@gentoo.org>
19707 * manual/message.texi: Delete @cartouche tags.
19709 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
19711 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
19713 * sysdeps/mach/hurd/fsync.c: Likewise.
19715 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
19716 [_POSIX_REALTIME_SIGNALS]: Change condition to
19717 [_POSIX_REALTIME_SIGNALS > 0].
19719 2012-10-27 Andreas Jaeger <aj@suse.de>
19721 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
19722 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
19723 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
19724 [__WORDSIZE != 64]: Likewise.
19726 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
19728 * iconvdata/tst-table.sh: Remove ${SHELL}.
19729 * iconvdata/tst-tables.sh: Likewise.
19731 2012-10-25 David S. Miller <davem@davemloft.net>
19733 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
19734 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
19737 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
19739 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
19740 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
19741 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
19744 2012-10-25 Roland McGrath <roland@hack.frob.com>
19746 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
19747 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
19750 2012-10-25 Joseph Myers <joseph@codesourcery.com>
19751 Jim Blandy <jimb@codesourcery.com>
19753 * scripts/cross-test-ssh.sh: New file.
19754 * manual/install.texi (Configuring and compiling): Document use of
19756 * INSTALL: Regenerated.
19758 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
19760 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
19763 2012-10-25 Joseph Myers <joseph@codesourcery.com>
19765 * Makeconfig (run-program-prefix): Fix comment.
19767 2012-10-24 Joseph Myers <joseph@codesourcery.com>
19768 Jim Blandy <jimb@codesourcery.com>
19770 * Makeconfig (test-wrapper): New variable,
19771 (test-wrapper-env): Likewise.
19772 [$(cross-compiling) = yes && $(test-wrapper) != ""]
19773 (run-built-tests): Define to yes.
19774 (run-program-prefix): Use $(test-wrapper).
19775 (built-program-cmd): Likewise.
19776 * Rules (make-test-out): Use $(test-wrapper-env) and
19777 $(host-built-program-cmd).
19778 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
19779 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
19781 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
19782 $(test-wrapper-env) to tst-rtld-load-self.sh.
19783 ($(objpfx)order2.out): Use $(test-wrapper).
19784 ($(objpfx)tst-initorder.out): Likewise.
19785 ($(objpfx)tst-initorder2.out): Likewise.
19786 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
19787 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
19788 (test_wrapper_env): New variable. Use it to run ld.so.
19789 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
19790 Use it to run ld.so.
19791 (test_wrapper_env): Likewise.
19792 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
19793 $(test-wrapper) to run-iconv-test.sh.
19794 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
19795 (ICONV): Use $test_wrapper.
19796 * posix/Makefile ($(objpfx)globtest.out): Pass
19797 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
19798 globtest.sh, not $(run-program-prefix).
19799 * posix/globtest.sh (run_via_rtld_prefix): New variable.
19800 (test_wrapper): Likewise.
19801 (test_wrapper_env): Likewise. Use it to run globtest with HOME
19802 set together with run_via_rtld_prefix.
19803 (run_program_prefix): Define in terms of test_wrapper and
19804 run_via_rtld_prefix.
19806 2012-10-24 Roland McGrath <roland@hack.frob.com>
19808 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
19809 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
19813 * include/time.h: Remove librt_hidden_proto (clock_gettime).
19814 Declare __clock_getres, __clock_gettime, __clock_settime,
19815 __clock_nanosleep, and __clock_getcpuclockid.
19816 * rt/clock_gettime.c: Define __clock_gettime as an alias.
19817 Remove librt_hidden_def (clock_gettime).
19818 * sysdeps/unix/clock_gettime.c: Likewise.
19819 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
19820 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
19821 * rt/clock_getres.c: Define __clock_getres as an alias.
19822 * sysdeps/posix/clock_getres.c: Likewise.
19823 * rt/clock_settime.c: Define __clock_settime as an alias.
19824 * sysdeps/unix/clock_settime.c: Likewise.
19825 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
19826 * sysdeps/unix/clock_nanosleep.c: Likewise.
19827 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
19828 * rt/clock-compat.c: New file.
19829 * rt/Makefile (librt-routines): Add clock-compat and move
19830 $(clock-routines) to ...
19831 (routines): ... here, new variable.
19832 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
19833 Don't add get_clockfreq here.
19834 * rt/Versions (libc: GLIBC_2.17): New version set.
19835 Add clock_* symbols here.
19836 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
19837 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
19838 (GLIBC_2.17): Add clock_* symbols.
19839 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
19840 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
19841 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
19842 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
19844 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19846 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
19847 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
19848 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
19849 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
19850 * NEWS: Mention the move.
19852 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
19853 Use __open, __read, __close rather than their public counterparts.
19854 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
19855 (__get_clockfreq_via_cpuinfo): Likewise.
19856 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
19857 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
19859 * config.h.in (HAVE_IFUNC): New #undef.
19860 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
19862 * configure: Regenerated.
19864 2012-10-24 Mike Frysinger <vapier@gentoo.org>
19866 * configure.in: Move READELF check to start of file.
19867 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
19868 libc_cv_asm_gnu_indirect_function in the process.
19869 * configure: Regenerated.
19871 2012-10-24 Mike Frysinger <vapier@gentoo.org>
19873 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
19874 send the output to /dev/null.
19875 (libc_cv_cc_with_libunwind): Likewise.
19876 (libc_cv_as_noexecstack): Likewise.
19877 * configure: Regenerate.
19879 2012-10-24 Joseph Myers <joseph@codesourcery.com>
19881 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
19883 * posix/globtest.sh (TMPDIR): Do not set.
19884 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
19885 (testout): Likewise.
19887 2012-10-24 Andreas Jaeger <aj@suse.de>
19889 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
19890 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
19891 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
19892 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
19893 posix_fadvise64, posix_fallocate64.
19895 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
19896 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
19897 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
19899 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
19901 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
19903 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
19904 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
19905 <bits/fcntl-linux.h>.
19906 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
19908 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
19909 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
19910 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
19911 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
19912 [__WORDSIZE != 64]: Likewise.
19914 2012-10-23 Joseph Myers <joseph@codesourcery.com>
19916 * Makeconfig (run-built-tests): New variable.
19917 * Rules [$(cross-compiling) = yes]: Change condition to
19918 [$(run-built-tests) = no].
19919 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
19920 to [$(run-built-tests) = yes].
19921 * elf/Makefile [$(cross-compiling) = no]: Likewise
19922 * grp/Makefile [$(cross-compiling) = no]: Likewise.
19923 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
19924 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
19925 * intl/Makefile [$(cross-compiling) = no]: Likewise.
19926 * io/Makefile [$(cross-compiling) = no]: Likewise.
19927 * libio/Makefile [$(cross-compiling) = no]: Likewise.
19928 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
19929 * misc/Makefile [$(cross-compiling) = no]: Likewise.
19930 * posix/Makefile [$(cross-compiling) = no]: Likewise.
19931 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
19932 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
19933 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
19934 * string/Makefile [$(cross-compiling) = no]: Likewise.
19936 * posix/Makefile ($(objpfx)globtest.out): Pass
19937 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
19938 $(rtld-installed-name).
19939 * posix/globtest.sh (elf_objpfx): Remove variable.
19940 (rtld_installed_name): Likewise.
19941 (library_path): Likewise.
19942 (run_program_prefix): New variable. Use for running globtest
19945 2012-10-23 Jim Blandy <jimb@codesourcery.com>
19946 Joseph Myers <joseph@codesourcery.com>
19948 * Makeconfig (host-built-program-cmd): New variable.
19949 * elf/Makefile (tst-stackguard1-ARGS): Use
19950 $(host-built-program-cmd).
19951 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
19952 (tst-spawn-ARGS): Likewise.
19953 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
19955 2012-10-23 Joseph Myers <joseph@codesourcery.com>
19956 Jim Blandy <jimb@codesourcery.com>
19958 * Makeconfig (run-via-rtld-prefix): New variable.
19959 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
19960 (built-program-cmd): Likewise.
19962 2012-10-22 Andreas Jaeger <aj@suse.de>
19964 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
19965 __O_RSYNC if it exists, otherwise to O_SYNC.
19967 2012-10-22 Jim Blandy <jimb@codesourcery.com>
19968 Joseph Myers <joseph@codesourcery.com>
19970 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
19972 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
19974 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
19977 2012-10-22 Andreas Jaeger <aj@suse.de>
19979 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
19981 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
19983 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19984 bits/fcntl-linux.h.
19986 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
19987 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
19989 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
19991 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
19994 2012-10-21 Jim Blandy <jimb@codesourcery.com>
19995 Joseph Myers <joseph@codesourcery.com>
19997 * config.make.in (NM): New variable.
19999 2012-10-21 Andreas Jaeger <aj@suse.de>
20001 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
20002 definitions and declarations that are provided by
20003 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
20005 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
20008 * elf/Makefile (tests-static): Add tst-leaks1-static.
20009 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
20010 ($(objpfx)tst-leaks1-static): New rule.
20011 ($(objpfx)tst-leaks1-static-mem): Likewise.
20012 (tst-leaks1-static-ENV): New macro.
20013 * elf/dl-open.c (dl_open_worker): Check the main application
20014 only if SHARED is defined.
20015 * elf/tst-leaks1-static.c: New file.
20017 2012-10-20 Andreas Jaeger <aj@suse.de>
20019 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
20020 generic values for Linux.
20021 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
20022 and declarations that are provided by <bits/fcntl-linux.h> and
20023 include <bits/fcntl-linux.h>.
20024 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
20025 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
20027 2012-10-20 Roland McGrath <roland@hack.frob.com>
20029 * io/fcntl.h: Move include of <bits/types.h> to the top and
20030 include it unconditionally.
20032 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
20034 * wcsmbs/Makefile (tests-ifunc): New variable.
20035 (tests): Add $(tests-ifunc).
20036 * wcsmbs/test-wcschr-ifunc.c: New file.
20037 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
20038 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
20039 * wcsmbs/test-wcslen-ifunc.c: Likewise.
20040 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
20041 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
20043 * string/Makefile (tests-ifunc): New variable.
20044 (tests): Add $(tests-ifunc).
20045 * string/test-memccpy.c (TEST_NAME): New macro.
20046 * string/test-memchr.c (TEST_NAME): Likewise.
20047 * string/test-memcmp.c (TEST_NAME): Likewise.
20048 * string/test-memcpy.c (TEST_NAME): Likewise.
20049 * string/test-memmem.c (TEST_NAME): Likewise.
20050 * string/test-memmove.c (TEST_NAME): Likewise.
20051 * string/test-memset.c (TEST_NAME): Likewise.
20052 * string/test-rawmemchr.c (TEST_NAME): Likewise.
20053 * string/test-stpcpy.c (TEST_NAME): Likewise.
20054 * string/test-stpncpy.c (TEST_NAME): Likewise.
20055 * string/test-strcasecmp.c (TEST_NAME): Likewise.
20056 * string/test-strcasestr.c (TEST_NAME): Likewise.
20057 * string/test-strcat.c (TEST_NAME): Likewise.
20058 * string/test-strchr.c (TEST_NAME): Likewise.
20059 * string/test-strcmp.c(TEST_NAME): Likewise.
20060 * string/test-strcpy.c (TEST_NAME): Likewise.
20061 * string/test-strcspn.c (TEST_NAME): Likewise.
20062 * string/test-strlen.c (TEST_NAME): Likewise.
20063 * string/test-strncasecmp.c (TEST_NAME): Likewise.
20064 * string/test-strncmp.c (TEST_NAME): Likewise.
20065 * string/test-strncpy.c (TEST_NAME): Likewise.
20066 * string/test-strnlen.c (TEST_NAME): Likewise.
20067 * string/test-strpbrk.c (TEST_NAME): Likewise.
20068 * string/test-strrchr.c (TEST_NAME): Likewise.
20069 * string/test-strspn.c (TEST_NAME): Likewise.
20070 * string/test-strstr.c (TEST_NAME): Likewise.
20071 * string/test-bcopy-ifunc.c: New file.
20072 * string/test-bzero-ifunc.c: Likewise.
20073 * string/test-memccpy-ifunc.c: Likewise.
20074 * string/test-memchr-ifunc.c: Likewise.
20075 * string/test-memcmp-ifunc.c: Likewise.
20076 * string/test-memcpy-ifunc.c: Likewise.
20077 * string/test-memmem-ifunc.c: Likewise.
20078 * string/test-memmove-ifunc.c: Likewise.
20079 * string/test-mempcpy-ifunc.c: Likewise.
20080 * string/test-memset-ifunc.c: Likewise.
20081 * string/test-rawmemchr-ifunc.c: Likewise.
20082 * string/test-stpcpy-ifunc.c: Likewise.
20083 * string/test-stpncpy-ifunc.c: Likewise.
20084 * string/test-strcasecmp-ifunc.c: Likewise.
20085 * string/test-strcasestr-ifunc.c: Likewise.
20086 * string/test-strcat-ifunc.c: Likewise.
20087 * string/test-strchr-ifunc.c: Likewise.
20088 * string/test-strchrnul-ifunc.c: Likewise.
20089 * string/test-strcmp-ifunc.c: Likewise.
20090 * string/test-strcpy-ifunc.c: Likewise.
20091 * string/test-strcspn-ifunc.c: Likewise.
20092 * string/test-strlen-ifunc.c: Likewise.
20093 * string/test-strncasecmp-ifunc.c: Likewise.
20094 * string/test-strncat-ifunc.c: Likewise.
20095 * string/test-strncmp-ifunc.c: Likewise.
20096 * string/test-strncpy-ifunc.c: Likewise.
20097 * string/test-strnlen-ifunc.c: Likewise.
20098 * string/test-strpbrk-ifunc.c: Likewise.
20099 * string/test-strrchr-ifunc.c: Likewise.
20100 * string/test-strspn-ifunc.c: Likewise.
20101 * string/test-strstr-ifunc.c: Likewise.
20103 * debug/Makefile (tests-ifunc): New variable.
20104 (tests): Add $(tests-ifunc).
20105 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
20106 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
20107 * debug/test-stpcpy_chk-ifunc.c: New file.
20108 * debug/test-strcpy_chk-ifunc.c: Likewise.
20110 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
20113 * elf/dl-load.c (open_verify): Retry read if the entire ELF
20114 header is not read in.
20116 2012-10-19 Joseph Myers <joseph@codesourcery.com>
20118 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
20119 script to $(SHELL) as $<. Pass $(common-objpfx) to script
20120 directly. Pass built executable to script as
20121 $(built-program-cmd).
20122 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
20123 $testprogram without using LD_LIBRARY_PATH and $ldso.
20125 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
20126 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
20127 $(rtld-installed-name).
20128 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
20129 (rtld_installed_name): Likewise.
20130 (library_path): Likewise.
20131 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
20132 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
20133 $(run-program-prefix) to tst-tables.sh.
20134 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
20135 it to run tst-table-from and tst-table-to.
20136 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
20137 Pass it to tst-table.sh.
20138 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
20139 $(run-program-prefix) to tst-gettext.sh.
20140 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
20142 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
20144 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
20145 to run tst-gettext.
20146 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
20147 to run tst-gettext2.
20148 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
20149 to run tst-translit.
20150 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
20151 $(run-program-prefix) to tst-mtrace.sh.
20152 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
20154 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
20155 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
20156 $(rtld-installed-name).
20157 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
20158 (rtld_installed_name): Likewise.
20159 (run_program_prefix): New variable. Use it to run wordexp-test.
20161 * Makeconfig (ARCH): Remove all definitions.
20162 (machine): Likewise.
20163 [ARCH]: Remove conditional code.
20164 [!objdir]: Give error.
20165 [!objdir] (objpfx): Remove.
20166 [!objdir] (common-objpfx): Likewise.
20167 [!objdir] (common-objdir): Likewise.
20168 * configure.in (config_makefile): Remove. Hardcode Makefile in
20169 AC_CONFIG_FILES call.
20170 * configure: Regenerated.
20173 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
20175 (testout): Likewise.
20177 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
20178 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
20179 $(rtld-installed-name).
20180 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
20181 (rtld_installed_name): Likwise.
20182 (runit): Remove function.
20183 (run_getconf): New variable, Use it for running getconf binary.
20185 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
20188 * string/test-memmem.c (check_result): New function.
20189 (do_one_test): Use it.
20190 (check1): New function.
20191 (test_main): Use it.
20193 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
20195 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
20197 2012-10-18 Joseph Myers <joseph@codesourcery.com>
20199 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
20200 (_G_LSEEK64): Likewise.
20201 (_G_MMAP64): Likewise.
20202 (_G_FSTAT64): Likewise.
20203 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
20204 (_G_LSEEK64): Likewise.
20205 (_G_MMAP64): Likewise.
20206 (_G_FSTAT64): Likewise.
20207 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
20208 unconditional. Call __mmap64 directly.
20209 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
20210 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
20211 __lseek64 directly.
20212 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
20213 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
20215 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
20216 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
20217 __lseek64 directly.
20218 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
20219 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
20220 __lseek64 directly.
20221 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
20222 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
20223 __lseek64 directly.
20224 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
20225 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
20226 __fxstat64 directly.
20227 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
20228 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
20230 (freopen64) [!_G_OPEN64]: Remove conditional code.
20231 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
20233 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
20234 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
20236 (ftello64) [!_G_LSEEK64]: Remove conditional code.
20237 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
20239 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
20240 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
20242 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
20243 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
20245 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
20246 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
20248 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
20249 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
20251 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
20253 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
20256 * manual/memory.texi (Malloc Tunable Parameters): Add note
20257 about free list pointers overwriting some perturb bytes.
20258 Wording suggested by Roland McGrath.
20260 2012-10-17 Joseph Myers <joseph@codesourcery.com>
20262 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
20263 (lgamma_test): Likewise.
20264 (tgamma_test): Likewise.
20266 2012-10-16 Florian Weimer <fweimer@redhat.com>
20269 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
20270 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
20272 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
20274 * NEWS: Mention BZ #14716.
20275 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
20276 when removing AVAILABLE1_USES_J macro.
20278 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
20280 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
20281 (__bswap_64): __uint64_t for unsigned 64-bit int.
20283 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
20285 * include/string.h (memmem): Declare libc hidden alias.
20286 * string/memmem.c (memmem): Define libc hidden alias.
20287 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
20288 __read, __close instead of open, read, close.
20290 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
20292 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
20293 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
20295 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
20296 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
20297 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
20299 (__rawmemchr_sse2): Likewise.
20300 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
20301 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
20302 (__strchr_sse2): Likewise.
20303 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
20304 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
20305 (__strcasecmp_sse2): Likewise.
20306 (__strncasecmp_sse2): Likewise.
20307 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
20308 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
20309 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
20310 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
20311 (__strrchr_sse2): Likewise.
20312 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
20314 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
20315 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
20316 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
20317 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
20318 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
20319 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
20320 * sysdeps/x86_64/multiarch/memset.S: Likewise.
20321 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
20322 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
20323 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
20324 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
20325 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
20326 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
20327 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
20328 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
20329 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
20330 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
20331 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
20332 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
20333 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
20334 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
20335 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
20336 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
20337 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
20338 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
20339 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
20340 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
20341 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
20342 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
20343 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
20345 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
20347 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
20348 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
20349 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
20350 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
20352 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
20354 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
20355 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
20356 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
20357 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
20359 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
20360 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
20361 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
20362 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
20363 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
20364 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
20365 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
20366 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
20367 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
20368 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
20369 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
20370 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
20371 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
20372 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
20373 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
20374 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
20375 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
20376 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
20377 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
20378 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
20379 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
20380 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
20381 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
20382 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
20383 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
20384 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
20385 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
20386 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
20387 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
20388 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
20389 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
20390 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
20391 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
20392 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
20393 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
20394 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
20395 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
20396 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
20397 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
20398 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
20399 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
20401 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
20402 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
20403 * include/ifunc-impl-list.h: New file.
20404 * misc/ifunc-impl-list.c: Likewise.
20405 * misc/Makefile (routines): Add ifunc-impl-list.
20406 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
20407 * string/test-string.h: Include <ifunc-impl-list.h>.
20408 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
20409 impl_array): New variables.
20410 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
20412 (test_init): Call __libc_ifunc_impl_list to initialize
20413 func_list if TEST_IFUNC and TEST_NAME are defined.
20415 * string/Makefile (strop-tests): Add bcopy and bzero.
20416 * string/test-bcopy.c: New file.
20417 * string/test-bzero.c: Likewise.
20418 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
20420 * string/test-memset.c: Support bzero test if TEST_BZERO is
20422 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
20424 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
20426 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
20429 2012-10-10 Joseph Myers <joseph@codesourcery.com>
20431 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
20432 * configure: Regenerated.
20434 * Makeconfig (+link-static-before-libc): Don't include
20435 $(link-static-libc).
20437 * libio/libio.h (_IO_pos_t): Remove.
20439 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
20441 * NEWS: Add note about FIPS mode. Wording suggested by Roland
20444 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
20446 * crypt/crypt-entry.c: Include fips-private.h.
20447 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
20448 * crypt/md5c-test.c (main): Tolerate disabled MD5.
20449 * sysdeps/unix/sysv/linux/fips-private.h: New file.
20450 * sysdeps/generic/fips-private.h: New file, dummy fallback.
20452 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
20454 * crypt/crypt-private.h: Include stdbool.h.
20455 (_ufc_setup_salt_r): Return bool.
20456 * crypt/crypt-entry.c: Include errno.h.
20457 (__crypt_r): Return NULL with EINVAL for bad salt.
20458 * crypt/crypt_util.c (bad_for_salt): New.
20459 (_ufc_setup_salt_r): Check that salt is long enough and within
20460 the specified alphabet.
20461 * crypt/badsalttest.c: New file.
20462 * crypt/Makefile (tests): Add it.
20463 ($(objpfx)badsalttest): New.
20465 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
20467 * NEWS: Add entry for BZ #14602.
20469 2012-10-09 Joseph Myers <joseph@codesourcery.com>
20471 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
20473 * math/libm-test.inc: Update comment listing what functions and
20475 (isgreater_test): New function.
20476 (isgreaterequal_test): Likewise.
20477 (isless_test): Likewise.
20478 (islessequal_test): Likewise.
20479 (islessgreater_test): Likewise.
20480 (isunordered_test): Likewise.
20481 (main): Call the new functions.
20483 2012-10-09 Roland McGrath <roland@hack.frob.com>
20485 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
20486 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
20487 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
20488 * sysdeps/i386/configure: Regenerated.
20489 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
20490 * sysdeps/mach/configure: Regenerated.
20491 * sysdeps/mach/hurd/configure: Regenerated.
20492 * sysdeps/powerpc/configure: Regenerated.
20493 * sysdeps/powerpc/powerpc32/configure: Regenerated.
20494 * sysdeps/powerpc/powerpc64/configure: Regenerated.
20495 * sysdeps/s390/s390-32/configure: Regenerated.
20496 * sysdeps/s390/s390-64/configure: Regenerated.
20497 * sysdeps/sh/configure: Regenerated.
20498 * sysdeps/sparc/configure: Regenerated.
20499 * sysdeps/unix/sysv/linux/configure: Regenerated.
20500 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
20501 * sysdeps/x86_64/configure: Regenerated.
20503 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
20504 defined. Don't check if MAP is NULL.
20506 2012-10-09 Joseph Myers <joseph@codesourcery.com>
20508 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
20509 (_G_stat64): Likewise.
20510 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
20511 (_G_stat64): Likewise.
20512 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
20513 instead of struct _G_stat64.
20514 * libio/fileops.c (mmap_remap_check): Likewise.
20515 (decide_maybe_mmap): Likewise.
20516 (_IO_new_file_seekoff): Likewise.
20517 (_IO_file_stat): Likewise.
20518 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
20520 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
20521 instead of struct _G_stat64.
20522 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
20524 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
20527 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
20529 (CHECK_EOL): New macro.
20530 (two_way_short_needle): Check beginning of haystack for EOL. Use
20532 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
20533 Replace with CHECK_EOL.
20534 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
20535 Replace with CHECK_EOL.
20537 2012-10-08 Joseph Myers <joseph@codesourcery.com>
20539 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
20541 * math/libm-test.inc: Update comment listing what functions and
20543 (finite_test): New function.
20544 (isinf_test): Likewise.
20545 (isnan_test): Likewise.
20546 (fpclassify_test): Test subnormal input.
20547 (isfinite_test): Likewise.
20548 (isnormal_test): Likewise.
20549 (main): Call the new functions.
20551 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
20554 * Makerules (%.dynsym): Force C locale when running
20555 $(OBJDUMP) --dynamic-syms.
20557 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
20559 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
20562 2012-10-06 David S. Miller <davem@davemloft.net>
20564 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
20565 upper 32-bits of the length value in %o2 since we use branch-on-register
20566 tests which consider the entire 64-bit register.
20568 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
20570 * string/test-strstr.c (check2): Add a test for page boundary.
20572 2012-10-05 David S. Miller <davem@davemloft.net>
20574 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
20575 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
20577 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
20579 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
20580 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
20581 and bzero when HWCAP_SPARC_CRYPTO is present.
20583 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
20586 * string/test-strstr.c (check2): New function.
20587 (test_main): Call check2.
20589 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
20591 * string/bug-strcasestr1.c (do_test): Moved to ...
20592 * string/test-strcasestr.c (check1): Here. New function.
20593 (do_one_test): Break out result checking code into ...
20594 (check_result): This. New function.
20595 (do_one_test): Call check_result.
20596 (test_main): Call check1.
20597 * string/bug-strchr1.c (do_test): Moved to ...
20598 * string/test-strchr.c (check1): Here. New function.
20599 (do_one_test): Break out result checking code into ...
20600 (check_result): This. New function.
20601 (do_one_test): Call check_result.
20602 (test_main): Call check1.
20603 * string/bug-strstr1.c (main): Moved to ...
20604 * string/test-strstr.c (check1): Here. New function.
20605 (do_one_test): Break out result checking code into ...
20606 (check_result): This. New function.
20607 (do_one_test): Call check_result.
20608 (test_main): Call check1.
20609 * string/bug-strcasestr1.c: Removed.
20610 * string/bug-strchr1.c: Likewise.
20611 * string/bug-strstr1.c: Likewise.
20613 * elf/Makefile (dl-routines): Add hwcaps.
20614 * elf/dl-support.c (_dl_important_hwcaps): Removed.
20615 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
20616 (_dl_important_hwcaps): Moved to ...
20617 * elf/dl-hwcaps.c: Here. New file.
20618 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
20621 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
20622 if IS_IN_rtld isn't defined.
20624 * elf/dl-support.c (_dl_sysinfo_map): New.
20625 Include "get-dynamic-info.h" and "setup-vdso.h".
20626 (_dl_non_dynamic_init): Call setup_vdso.
20627 * elf/dynamic-link.h: Don't include <assert.h>.
20628 (elf_get_dynamic_info): Moved to ...
20629 * elf/get-dynamic-info.h: Here. New file.
20630 * elf/dynamic-link.h: Include "get-dynamic-info.h".
20631 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
20632 * elf/setup-vdso.h: Here. New file.
20633 * elf/rtld.c: Include "setup-vdso.h".
20634 (dl_main): Call setup_vdso.
20636 2012-10-05 Joseph Myers <joseph@codesourcery.com>
20638 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
20639 creal in comment listing functions tested. List finite, isinf,
20640 isnan, isless, islessequal, isgreater, isgreaterequal,
20641 islessgreater, isunordered, lgamma_r and pow10 as functions and
20642 macros not tested. Mention which functions not tested are aliases
20643 for other functions. Fix typo. Note that signs of NaNs are not
20646 * scripts/config.guess: Update from config.git.
20647 * scripts/config.sub: Likewise.
20649 2012-10-04 Roland McGrath <roland@hack.frob.com>
20651 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
20652 * misc/madvise.c (madvise): Renamed to __madvise.
20653 Make madvise a weak alias.
20654 * include/sys/mman.h: Declare __madvise.
20655 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
20656 * sysdeps/unix/syscalls.list
20657 (madvise): Make __madvise the strong name, and madvise a weak alias.
20658 * sysdeps/unix/sysv/linux/syscalls.list
20659 (madvise, mmap): Remove redundant entries.
20660 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
20661 * malloc/malloc.c (mtrim): Likewise.
20662 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
20664 2012-10-03 Roland McGrath <roland@hack.frob.com>
20666 * sysdeps/mach/hurd/dl-cache.c: File removed.
20667 * config.h.in (USE_LDCONFIG): New #undef.
20668 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
20669 * configure: Regenerated.
20670 * elf/Makefile (dl-routines): Add dl-cache only under
20671 [$(use-ldconfig) = yes].
20672 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
20673 cache on [USE_LDCONFIG].
20674 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
20676 * elf/rtld.c (dl_main): Likewise.
20678 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
20680 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
20681 _SC_LEVEL4_CACHE_LINESIZE.
20683 2012-10-03 Roland McGrath <roland@hack.frob.com>
20685 * sysdeps/unix/bsd/confstr.h: File removed.
20687 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
20689 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
20692 2012-10-02 Roland McGrath <roland@hack.frob.com>
20694 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
20695 Make 'mapoff' field ElfW(Off) rather than off_t.
20697 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
20699 * nscd/Makefile: Remove nscd-cflags and all its users.
20700 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
20701 (CFLAGS-nonlib): Add compiler flags for nscd modules.
20704 * malloc.c (malloc_printerr): Clarify error message.
20706 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
20709 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20710 Set bit_FMA_Usable if FMA is supported.
20711 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
20713 (bit_FMA4_Usable): Updated.
20714 (index_FMA_Usable): New macro.
20715 (CPUID_FMA): Likewise
20716 (HAS_FMA): Defined with bit_FMA_Usable.
20718 2012-10-01 Roland McGrath <roland@hack.frob.com>
20720 * bits/types.h (__swblk_t): Type removed.
20721 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
20722 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
20723 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20724 (__SWBLK_T_TYPE): Likewise.
20725 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
20726 (__SWBLK_T_TYPE): Likewise.
20727 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20728 (__SWBLK_T_TYPE): Likewise.
20729 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
20730 (__SWBLK_T_TYPE): Likewise.
20732 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
20733 Honza Horak <hhorak@redhat.com>
20735 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
20736 (xdr_mapname): Use YPMAXMAP as maxsize.
20737 (xdr_peername): Use YPMAXPEER as maxsize.
20738 (xdr_keydat): Use YPAXRECORD as maxsize.
20739 (xdr_valdat): Use YPMAXRECORD as maxsize.
20741 2012-10-01 Roland McGrath <roland@hack.frob.com>
20743 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
20745 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
20746 * csu/init-first.c: ... here.
20747 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
20748 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
20749 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
20750 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
20751 * sysdeps/i386/init-first.c: File removed.
20752 * sysdeps/sh/init-first.c: File removed.
20754 2012-10-01 Joseph Myers <joseph@codesourcery.com>
20757 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
20758 if x * y might underflow to zero and z is zero.
20759 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
20760 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
20761 * math/libm-test.inc (min_subnorm_value): New variable.
20762 (fma_test): Add more tests.
20763 (fma_test_towardzero): Likewise.
20764 (fma_test_downward): Likewise
20765 (fma_test_upward): Likewise.
20766 (initialize): Set min_subnorm_value.
20768 2012-09-29 Joseph Myers <joseph@codesourcery.com>
20771 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
20773 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
20774 mode for addition resulting in exact zero.
20775 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
20776 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
20778 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
20779 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
20780 * math/libm-test.inc (fma_test): Add more tests.
20781 (fma_test_towardzero): New function.
20782 (fma_test_downward): Likewise.
20783 (fma_test_upward): Likewise.
20784 (main): Call the new functions.
20786 2012-09-28 David S. Miller <davem@davemloft.net>
20788 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
20790 2012-09-28 Roland McGrath <roland@hack.frob.com>
20792 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
20793 instead of SIGALRM.
20795 * sysdeps/gnu/_G_config.h: Moved to ...
20796 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
20797 * sysdeps/mach/hurd/_G_config.h: Moved to ...
20798 * sysdeps/generic/_G_config.h: ... here.
20800 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
20802 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
20804 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
20805 Conditionalize target on [libnss_test1.so-version].
20807 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
20809 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
20810 (elfobjdir): Move out of conditionals.
20812 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
20813 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
20814 (__nss_lookup_function): Conditionalize label remove_from_tree on
20815 [!DO_STATIC_NSS || SHARED], matching its only use.
20817 2012-09-28 David S. Miller <davem@davemloft.net>
20819 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
20820 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
20822 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
20824 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
20825 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
20826 when HWCAP_SPARC_CRYPTO is present.
20828 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
20830 * io/tst-mknodat.c: Create a FIFO instead of a socket.
20832 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
20835 * stdio-common/vfprintf.c (process_string_arg): Revert
20838 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
20840 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
20842 * stdio-common/tst-sprintf.c: Include <locale.h>
20843 (main): Test sprintf's handling of incomplete multibyte
20846 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
20848 * elf/dl-runtime.c (VERSYMIDX): Removed.
20849 * elf/dl-version.c (VERSYMIDX): Likewise.
20850 * elf/do-rel.h (VERSYMIDX): Likewise.
20851 (VALIDX): Likewise.
20852 * elf/dynamic-link.h (VERSYMIDX): Likewise.
20853 * elf/rtld.c (VALIDX): Likewise.
20854 (ADDRIDX): Likewise.
20855 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
20856 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
20857 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
20858 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
20859 (VALIDX): Likewise.
20860 (ADDRIDX): Likewise.
20862 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
20864 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
20866 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
20869 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
20871 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
20872 addresses are in the same scope as 192.0.2/24.
20873 * posix/gai.conf: Document new scope table defaults.
20875 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20878 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
20879 for ftell. Compute offsets from write pointers instead.
20880 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
20882 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20885 * libio/Makefile (tests): New test case tst-fseek.
20886 * libio/tst-fseek.c: New test case to verify that fseek/ftell
20887 combination works in wide mode.
20888 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
20889 state when the external buffer state changes.
20891 2012-09-27 David S. Miller <davem@davemloft.net>
20894 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
20895 pass reloc->r_addend in as the 'high' argument to
20896 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
20898 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20900 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
20902 * rt/tst-aio2.c: Include <pthread.h>.
20903 * rt/tst-aio3.c: Likewise.
20905 2012-09-27 Steve Ellcey <sellcey@mips.com>
20907 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
20909 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
20911 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
20912 contents on [SHARED].
20914 2012-09-26 Marek Polacek <polacek@redhat.com>
20918 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
20919 for C++ and GCC <4.3 as well as for non GCC compilers.
20921 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
20923 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20925 2012-09-25 Roland McGrath <roland@hack.frob.com>
20927 * Makefile.in (all, install): Declare with .PHONY.
20928 Reported by Michael Hope <michael.hope@linaro.org>.
20930 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20932 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
20933 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
20935 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
20937 (sydep_routines): Add the new and the internal functions.
20938 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
20939 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
20940 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
20941 (GLIBC_2.17): Add the new function.
20942 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
20943 (GLIBC_2.17): Likewise.
20944 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
20945 (GLIBC_2.17): Likewise.
20946 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
20947 (GLIBC_2.17): Likewise.
20948 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
20950 2012-09-25 Alan Modra <amodra@gmail.com>
20952 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
20953 Add release barrier before setting once_control to say
20954 initialisation is done. Add hints on lwarx. Use macro in
20956 (clear_once_control): Add release barrier.
20958 2012-09-25 Joseph Myers <joseph@codesourcery.com>
20961 * math/s_clog.c (__clog): Handle more values close to |z| = 1
20963 * math/s_clog10.c (__clog10): Likewise.
20964 * math/s_clog10f.c (__clog10f): Likewise.
20965 * math/s_clog10l.c (__clog10l): Likewise.
20966 * math/s_clogf.c (__clogf): Likewise.
20967 * math/s_clogl.c (__clogl): Likewise.
20968 * math/Makefile (libm-calls): Add x2y2m1.
20969 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
20970 (__x2y2m1): Likewise.
20971 (__x2y2m1l): Likewise.
20972 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
20973 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
20974 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
20975 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
20976 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
20977 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
20978 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
20979 * sysdeps/i386/fpu/libm-test-ulps: Update.
20980 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20983 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
20984 int as type of variable DEPTH.
20985 (glob): Use size_t instead of int as type of variables NEWCOUNT
20988 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20990 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
20991 Add s_sincosf-sse2.
20992 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
20993 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
20994 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
20995 macros for using routine as __sincosf_ia32.
20996 Use macro for function declaration and weak_alias.
20997 * sysdeps/i386/fpu/libm-test-ulps: Update.
20999 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
21000 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21002 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
21003 subnormal argument.
21004 * math/s_cexpf.c (__cexpf): Likewise.
21005 * math/s_csinf.c (__csinf): Likewise.
21006 * math/s_csinhf.c (__csinhf): Likewise.
21007 * math/s_ctanf.c (__ctanf): Likewise.
21008 * math/s_ctanhf.c (__ctanhf): Likewise.
21009 * math/s_ccosh.c (__ccoshf): Likewise.
21010 * math/s_cexp.c (__cexpl): Likewise.
21011 * math/s_csin.c (__csin): Likewise.
21012 * math/s_csinh.c (__csinh): Likewise.
21013 * math/s_ctan.c (__ctan): Likewise.
21014 * math/s_ctanh.c (ctanh): Likewise.
21015 * math/s_ccoshl.c (__ccoshl): Likewise.
21016 * math/s_cexpl.c (__cexpl): Likewise.
21017 * math/s_csinl.c (__csinl): Likewise.
21018 * math/s_csinhl.c (__csinhl): Likewise.
21019 * math/s_ctanl.c (__ctanl): Likewise.
21020 * math/s_ctanhl.c (__ctanhl): Likewise.
21022 2012-09-25 Joseph Myers <joseph@codesourcery.com>
21024 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
21025 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
21026 (_IO_off_t): Define to __off_t, not _G_off_t.
21027 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
21028 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
21029 (_IO_wint_t): Define to wint_t, not _G_wint_t.
21030 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
21031 type of __dummy and __dummy2 fields.
21032 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
21033 (_G_ssize_t): Likewise.
21034 (_G_off_t): Likewise.
21035 (_G_pid_t): Likewise.
21036 (_G_uid_t): Likewise.
21037 (_G_wchar_t): Likewise.
21038 (_G_wint_t): Likewise.
21039 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
21040 (_G_ssize_t): Likewise.
21041 (_G_off_t): Likewise.
21042 (_G_pid_t): Likewise.
21043 (_G_uid_t): Likewise.
21044 (_G_wchar_t): Likewise.
21045 (_G_wint_t): Likewise.
21046 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
21047 (_G_ssize_t): Likewise.
21048 (_G_off_t): Likewise.
21049 (_G_pid_t): Likewise.
21050 (_G_uid_t): Likewise.
21051 (_G_wchar_t): Likewise.
21052 (_G_wint_t): Likewise.
21054 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
21056 * malloc/arena.c: Include malloc-sysdep.h.
21057 (shrink_heap): Use check_may_shrink_heap to decide if madvise
21058 is sufficient to shrink the heap or an unmap is needed.
21059 * sysdeps/generic/malloc-sysdep.h: New file. Define
21060 new function check_may_shrink_heap.
21061 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
21062 new function check_may_shrink_heap.
21064 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
21066 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
21069 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
21071 * catgets/test-gencat.sh: Add "set -e".
21072 * elf/tst-pathopt.sh: Likewise.
21073 * grp/tst_fgetgrent.sh: Likewise.
21074 * iconvdata/run-iconv-test.sh: Likewise.
21075 * intl/tst-gettext.sh: Likewise.
21076 * intl/tst-gettext2.sh: Likewise.
21077 * intl/tst-gettext4.sh: Likewise.
21078 * intl/tst-gettext6.sh: Likewise.
21079 * intl/tst-translit.sh: Likewise.
21080 * io/ftwtest-sh: Likewise.
21081 * libio/test-freopen.sh: Likewise.
21082 * malloc/tst-mtrace.sh: Likewise.
21083 * posix/globtest.sh: Likewise.
21084 * posix/tst-getconf.sh: Likewise.
21085 * posix/wordexp-tst.sh: Likewise.
21086 * stdio-common/tst-printf.sh: Likewise.
21087 * stdio-common/tst-unbputc.sh: Likewise.
21088 * stdlib/tst-fmtmsg.sh: Likewise.
21089 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
21090 * catgets/Makefile: Do not specify -e option when running
21091 testsuite shell scripts.
21092 * elf/Makefile: Likewise.
21093 * grp/Makefile: Likewise.
21094 * iconvdata/Makefile: Likewise.
21095 * intl/Makefile: Likewise.
21096 * io/Makefile: Likewise.
21097 * libio/Makefile: Likewise.
21098 * malloc/Makefile: Likewise.
21099 * posix/Makefile: Likewise.
21100 * stdio-common/Makefile: Likewise.
21101 * stdlib/Makefile: Likewise.
21102 * sysdeps/x86_64/Makefile: Likewise.
21104 * io/ftwtest-sh: Add copyright header.
21105 * posix/globtest.sh: Likewise.
21106 * posix/tst-getconf.sh: Likewise.
21107 * posix/wordexp-tst.sh: Likewise.
21108 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
21110 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
21113 * Makeconfig (+link): Defined as $(+link-static) if
21114 $(build-shared) isn't yes.
21115 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
21117 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
21119 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
21122 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
21123 new chunk size with MALLOC_ALIGN_MASK.
21125 2012-09-24 Joseph Myers <joseph@codesourcery.com>
21128 * stdio-common/printf_fphex.c: Include <stdbool.h> and
21130 (__printf_fphex): Determine rounding using get_rounding_mode and
21132 * stdio-common/tst-printf-round.c (struct hex_test): New
21134 (hex_tests): New variable.
21135 (test_hex_in_one_mode): New function.
21136 (do_test): Also run tests for hex float output.
21138 2012-09-21 Joseph Myers <joseph@codesourcery.com>
21140 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
21141 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
21142 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
21143 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
21144 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
21145 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
21146 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
21147 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
21149 2012-09-20 Joseph Myers <joseph@codesourcery.com>
21151 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
21152 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
21153 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
21154 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
21156 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
21159 * elf/rtld.c (dl_main): Limit the check for self loading to normal
21161 * elf/tst-rtld-load-self.sh: New test.
21162 * elf/Makefile: Run it.
21164 2012-09-18 Joseph Myers <joseph@codesourcery.com>
21166 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
21167 (tst-writev-ENV): Remove.
21168 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
21170 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
21172 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
21174 2012-09-17 Joseph Myers <joseph@codesourcery.com>
21176 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
21178 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
21180 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
21181 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
21182 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
21185 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
21188 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
21189 * config.make.in (have-cpp-asm-debuginfo): Removed.
21190 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
21191 * configure: Regenerated.
21193 2012-09-14 Joseph Myers <joseph@codesourcery.com>
21196 * stdio-common/printf_fp.c: Include <stdbool.h> and
21198 (___printf_fp): Determine rounding using get_rounding_mode and
21200 * stdio-common/tst-printf-round.c: New file.
21201 * stdio-common/Makefile (tests): Add tst-printf-round.
21202 (link-libm): New variable.
21203 ($(objpfx)tst-printf-round): Depend in $(link-libm).
21205 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
21208 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
21209 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
21211 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
21214 2012-09-13 Joseph Myers <joseph@codesourcery.com>
21216 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
21217 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
21218 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
21219 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
21221 2012-09-12 Joseph Myers <joseph@codesourcery.com>
21224 * include/rounding-mode.h: New file.
21225 * sysdeps/generic/get-rounding-mode.h: Likewise.
21226 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
21227 * stdlib/strtod_l.c: Include <rounding-mode.h>.
21228 (MAX_VALUE): New macro.
21229 (MIN_VALUE): Likewise.
21230 (overflow_value): New function.
21231 (underflow_value): Likewise.
21232 (round_and_return): Use overflow_value and underflow_value to
21233 determine return values in overflow and underflow cases. Use
21234 round_away to determine rounding depending on rounding mode.
21235 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
21236 determine return values in overflow and underflow cases.
21237 * stdlib/tst-strtod-round.c: Include <fenv.h>.
21238 (struct test_results): New structure.
21239 (struct test): Use struct test_results to store expected results
21240 for all rounding modes.
21241 (TEST): Include expected results for all rounding modes.
21242 (test_in_one_mode): New function.
21243 (do_test): Use test_in_one_mode to compute and check results.
21244 Check results for all rounding modes.
21245 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
21248 2012-12-09 Allan McRae <allan@archlinux.org>
21250 * sysdeps/i386/fpu/libm-test-ulps: Update
21252 2012-09-11 Joseph Myers <joseph@codesourcery.com>
21254 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
21255 (_G_int32_t): Likewise.
21256 (_G_uint16_t): Likewise.
21257 (_G_uint32_t): Likewise.
21258 (_G_HAVE_BOOL): Likewise.
21259 (_G_HAVE_ATEXIT): Likewise.
21260 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
21261 (_G_HAVE_IO_FILE_OPEN): Likewise.
21262 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
21263 (_G_int32_t): Likewise.
21264 (_G_uint16_t): Likewise.
21265 (_G_uint32_t): Likewise.
21266 (_G_HAVE_BOOL): Likewise.
21267 (_G_HAVE_ATEXIT): Likewise.
21268 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
21269 (_G_HAVE_IO_FILE_OPEN): Likewise.
21270 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
21271 (_G_int32_t): Likewise.
21272 (_G_uint16_t): Likewise.
21273 (_G_uint32_t): Likewise.
21274 (_G_HAVE_BOOL): Likewise.
21275 (_G_HAVE_ATEXIT): Likewise.
21276 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
21277 (_G_HAVE_IO_FILE_OPEN): Likewise.
21279 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
21281 * csu/libc-tls.c: Update copyright years.
21283 2012-09-10 Joseph Myers <joseph@codesourcery.com>
21285 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
21286 [!_G_USING_THUNKS]: Remove conditional code.
21287 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
21288 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
21290 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
21291 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
21292 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
21293 (_G_VTABLE_LABEL_PREFIX): Likewise.
21294 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
21295 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
21296 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
21297 (_G_VTABLE_LABEL_PREFIX): Likewise.
21298 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
21299 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
21300 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
21301 (_G_VTABLE_LABEL_PREFIX): Likewise.
21302 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
21304 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
21306 * libio/Makefile: Include ../Makeconfig before tests.
21307 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
21308 only if $(build-shared) is yes.
21310 * iconv/gconv_db.c: Update copyright years.
21312 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21314 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
21315 unwind info if defined PIC. Fix special cases description.
21316 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
21318 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
21320 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
21322 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
21324 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
21326 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
21329 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
21330 (LDLIBS-tst-chk4): This.
21331 (LDFLAGS-tst-chk5): Renamed to ...
21332 (LDLIBS-tst-chk5): This.
21333 (LDFLAGS-tst-chk6): Renamed to ...
21334 (LDLIBS-tst-chk6): This.
21335 (LDFLAGS-tst-lfschk4): Renamed to ...
21336 (LDLIBS-tst-lfschk4): This.
21337 (LDFLAGS-tst-lfschk5): Renamed to ...
21338 (LDLIBS-tst-lfschk5): This.
21339 (LDFLAGS-tst-lfschk6): Renamed to ...
21340 (LDLIBS-tst-lfschk6): This.
21342 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
21343 on $(common-objpfx)soversions.mk.
21345 2012-09-07 Joseph Myers <joseph@codesourcery.com>
21348 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
21351 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
21353 * malloc/arena.c (arena_get_retry): New function that gets
21354 another arena for the caller to try its request on.
21355 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
21356 current arena cannot fulfill the request.
21357 (__libc_memalign): Likewise.
21358 (__libc_memalign): Likewise.
21359 (__libc_pvalloc): Likewise.
21360 (__libc_calloc): Likewise.
21362 2012-09-05 John Tobey <john.tobey@gmail.com>
21365 * manual/arith.texi (Operations on Complex): Fix description
21366 of carg branch cut.
21368 2012-09-06 Joseph Myers <joseph@codesourcery.com>
21371 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
21375 * manual/memory.texi (Memory): Make order of menu items match
21378 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
21380 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
21381 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
21382 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
21384 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
21386 * csu/libc-tls.c (static_dtv): Renamed to ...
21387 (_dl_static_dtv): This. Make it global.
21388 (_dl_initial_dtv): Removed.
21389 (__libc_setup_tls): Updated.
21390 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
21391 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
21394 2012-09-06 Petr Machata <pmachata@redhat.com>
21396 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
21397 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
21398 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
21399 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
21401 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
21404 * csu/libc-tls.c (_dl_initial_dtv): New variable.
21405 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
21408 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
21411 * Makeconfig (link-static-before-libc): Replace $(+prector)
21413 (link-static-after-libc): Replace $(+postctor) with
21415 (link-bounded): Replace $(+prector)/$(+postctor) with
21416 $(+prectorT)/$(+postctorT).
21417 (+prectorT): New macro.
21418 (+postctorT): Likewise.
21420 2012-09-06 Joseph Myers <joseph@codesourcery.com>
21422 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
21423 (round_str): Handle values above the maximum for IBM long double
21425 * stdlib/tst-strtod-round.c (tests): Regenerated.
21427 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21429 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
21431 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
21432 zarch_nohighgprs around the zarch optimized routines.
21433 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
21434 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
21435 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
21438 2012-09-05 David S. Miller <davem@davemloft.net>
21440 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21442 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
21443 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
21444 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
21445 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
21448 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
21450 * malloc/arena.c: Fold copyright years.
21451 * malloc/mcheck.c, malloc/memusage.c: Likewise.
21453 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
21455 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
21457 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
21459 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
21461 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
21463 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
21464 change internal state upon failure.
21466 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
21468 * malloc/mcheck.c (mcheck_check_all): Fix typo.
21469 * malloc/memusage.c (mmap): Likewise.
21470 (mmap64, mremap): Likewise. Adjust name in comment.
21472 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
21474 * libio/fileops.c: Fix typos in comments.
21475 * libio/oldfileops.c: Likewise.
21476 * libio/wfileops.c: Likewise.
21478 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
21481 * malloc/Makefile (tests): Add tst-malloc-usable test case.
21482 (tst-malloc-usable-ENV): Set environment for test case.
21483 * malloc/hooks.c (malloc_check_get_size): New function to get
21485 * malloc/malloc.c (musable): Use malloc_check_get_size.
21486 * malloc/tst-malloc-usable.c: New test case.
21488 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
21490 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
21492 2012-09-05 Allan McRae <allan@archlinux.org>
21495 * configure.in (CXX_SYSINCLUDES): Use compiler output to
21496 determine header location.
21497 * configure: Regenerated.
21499 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
21501 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
21503 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
21504 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
21506 (test): Regenerate.
21508 2012-09-04 David S. Miller <davem@davemloft.net>
21510 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
21511 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
21512 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
21514 2012-09-04 Florian Weimer <fweimer@redhat.com>
21516 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
21519 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
21521 2012-09-04 Joseph Myers <joseph@codesourcery.com>
21524 * libio/iogetdelim.c: Include <limits.h>.
21525 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
21526 + len + 1 would overflow.
21528 2012-09-03 Andreas Jaeger <aj@suse.de>
21530 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21531 * sysdeps/i386/fpu/libm-test-ulps: Update.
21533 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21535 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
21536 Add s_sinf-sse2, s_conf-sse2.
21538 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
21539 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
21540 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
21541 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
21543 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
21544 for using routine as __sinf_ia32.
21545 Use macro for function declaration and weak_alias.
21546 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
21547 for using routine as __cosf_ia32.
21548 Use macro for function declaration and weak_alias.
21550 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
21551 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
21553 * sysdeps/x86_64/fpu/s_sinf.S: New file.
21554 * sysdeps/x86_64/fpu/s_cosf.S: New file.
21555 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21557 * math/libm-test.inc (cos_test): Add more test cases.
21558 (sin_test): Likewise.
21559 (sincos_test): Likewise.
21561 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21563 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
21564 (IFUNC_RESOLVE): Make pointers to the specialized implementations
21566 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
21568 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
21571 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
21572 first element of the GOT.
21573 (elf_machine_load_address): Return the difference between
21574 the runtime address of _DYNAMIC and elf_machine_dynamic ().
21576 2012-09-01 Allan McRae <allan@archlinux.org>
21579 * configure.in (AWK): Require gawk version 3.0 or later.
21580 * configure: Regenerated.
21582 2012-09-01 Joseph Myers <joseph@codesourcery.com>
21584 * sysdeps/unix/sysv/linux/kernel-features.h
21585 (__ASSUME_POSIX_CPU_TIMERS): Remove.
21586 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
21587 [__NR_clock_getres]: Make code unconditional.
21588 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
21589 (clock_getcpuclockid): Remove code left unreachable by removal of
21591 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
21592 code unconditional.
21593 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
21594 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
21595 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
21596 Make code unconditional.
21597 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
21598 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
21599 * sysdeps/unix/sysv/linux/clock_settime.c
21600 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
21602 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
21603 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
21605 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
21608 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
21609 scripts/test-installation.pl.
21611 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
21612 and $ld_so_version if it is set.
21614 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
21617 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
21618 failure if reading from procfs failed.
21619 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
21621 2012-08-27 Joseph Myers <joseph@codesourcery.com>
21623 * sysdeps/unix/sysv/linux/kernel-features.h
21624 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
21625 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
21626 Remove conditional code.
21627 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
21628 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
21629 Remove conditional code.
21630 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
21631 * sysdeps/unix/sysv/linux/i386/fxstat.c
21632 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
21633 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
21634 * sysdeps/unix/sysv/linux/i386/fxstatat.c
21635 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
21636 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
21637 * sysdeps/unix/sysv/linux/i386/lxstat.c
21638 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
21639 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
21640 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
21641 Remove conditional code.
21642 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
21643 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
21644 Remove conditional code.
21645 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
21646 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
21647 <kernel-features.h>.
21648 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
21650 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
21651 Remove conditional code.
21652 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
21653 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
21654 Remove conditional.
21656 2012-08-27 Mike Frysinger <vapier@gentoo.org>
21659 * NEWS: Add fixed bug number.
21661 2012-08-27 Joseph Myers <joseph@codesourcery.com>
21664 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
21665 underflowing exponent in case of negative sign.
21666 * stdlib/tst-strtod-round-data: Add more tests.
21667 * stdlib/tst-strtod-round.c (tests): Regenerated.
21670 * stdlib/strtod_l.c (NDIG): Remove.
21671 (HEXNDIG): Likewise.
21672 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
21673 smallest representable value.
21674 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
21675 lie within an exact representation of 1/2 ulp of the result.
21676 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
21678 (TENS_P9_IDX): Define unconditionally.
21679 (TENS_P9_SIZE): Likewise.
21680 (TENS_P10_IDX): Likewise.
21681 (TENS_P10_SIZE): Likewise.
21682 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
21683 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
21684 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
21685 entries for 10^2^13 and 10^2^14.
21686 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
21687 (TENS_P13_IDX): Define.
21688 (TENS_P13_SIZE): Likewise.
21689 (TENS_P14_IDX): Likewise.
21690 (TENS_P14_SIZE): Likewise.
21691 (_fpioconst_pow10): Change array size to
21692 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
21694 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
21695 1024]: Add entries for 10^2^13 and 10^2^14.
21696 [LAST_POW10 > _LAST_POW10]: Remove #error.
21697 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
21698 (_fpioconst_pow10): Change array size to
21699 FPIOCONST_POW10_ARRAY_SIZE.
21700 * stdlib/gen-fpioconst.c: New file.
21701 * stdlib/gen-tst-strtod-round.c: Likewise.
21702 * stdlib/tst-strtod-round-data: Likewise.
21703 * stdlib/tst-strtod-round.c: Likewise.
21704 * stdlib/Makefile (tests): Add tst-strtod-round.
21707 * stdlib/strtod_l.c: Include <stdint.h>.
21708 (NDEBUG): Do not define.
21709 (round_and_return): Change EXPONENT parameter to type intmax_t.
21710 Rearrange calculations to avoid internal overflow possibilities.
21711 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
21712 Rearrange calculations to avoid internal overflow possibilities.
21713 Assert that number fits inside MPNSIZE limbs.
21714 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
21715 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
21716 calculations and add assertions to avoid internal overflow
21717 possibilities. Add casts to avoid signed/unsigned operations.
21718 * stdlib/tst-strtod-overflow.c: New file.
21719 * stdlib/Makefile (tests): Add tst-strtod-overflow.
21721 2012-08-25 Marek Polacek <polacek@redhat.com>
21723 * time/time.h: Fix some typos in comments.
21725 2012-08-23 Roland McGrath <roland@hack.frob.com>
21727 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
21728 * posix/tst-rfc3484-2.c: Likewise.
21729 * posix/tst-rfc3484-3.c: Likewise.
21731 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
21733 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
21734 (EF_ARM_ABI_FLOAT_HARD): Likewise.
21736 2012-08-23 Joseph Myers <joseph@codesourcery.com>
21738 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
21739 #include of fxstatat64.c.
21741 2012-08-22 Roland McGrath <roland@hack.frob.com>
21743 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
21744 * shadow/getspent_r.c: Likewise.
21745 * shadow/getspnam.c: Likewise.
21746 * shadow/getspnam_r.c: Likewise.
21747 * gshadow/getsgent.c: Likewise.
21748 * gshadow/getsgent_r.c: Likewise.
21749 * gshadow/getsgnam.c: Likewise.
21750 * gshadow/getsgnam_r.c: Likewise.
21751 * inet/getnetbyad.c: Likewise.
21752 * inet/getnetbyad_r.c: Likewise.
21753 * inet/getnetbynm.c: Likewise.
21754 * inet/getnetbynm_r.c: Likewise.
21755 * inet/getnetent.c: Likewise.
21756 * inet/getnetent_r.c: Likewise.
21757 * inet/getproto.c: Likewise.
21758 * inet/getproto_r.c: Likewise.
21759 * inet/getprtent.c: Likewise.
21760 * inet/getprtent_r.c: Likewise.
21761 * inet/getprtname.c: Likewise.
21762 * inet/getprtname_r.c: Likewise.
21763 * inet/getrpcbyname.c: Likewise.
21764 * inet/getrpcbyname_r.c: Likewise.
21765 * inet/getrpcbynumber.c: Likewise.
21766 * inet/getrpcbynumber_r.c: Likewise.
21767 * inet/getrpcent.c: Likewise.
21768 * inet/getrpcent_r.c: Likewise.
21769 * inet/getaliasent.c: Likewise.
21770 * inet/getaliasent_r.c: Likewise.
21771 * inet/getaliasname.c: Likewise.
21772 * inet/getaliasname_r.c: Likewise.
21773 * nscd/getgrgid_r.c: Likewise.
21774 * nscd/getgrnam_r.c: Likewise.
21775 * nscd/gethstbyad_r.c: Likewise.
21776 * nscd/gethstbynm3_r.c: Likewise.
21777 * nscd/getpwnam_r.c: Likewise.
21778 * nscd/getpwuid_r.c: Likewise.
21779 * nscd/getsrvbynm_r.c: Likewise.
21780 * nscd/getsrvbypt_r.c: Likewise.
21781 * nscd/gai.c: Likewise.
21783 * configure.in (build_nscd): New substituted variable, set
21784 by --disable-build-nscd and defaults to $use_nscd.
21785 * configure: Regenerated.
21786 * config.make.in (build-nscd): New substituted variable.
21787 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
21788 Change conditional to require [$(build-nscd) = yes] as well.
21789 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
21792 * configure.in (use_nscd): New substituted variable, set by
21793 --disable-nscd. If enabled, define USE_NSCD.
21794 * configure: Regenerated.
21795 * config.h.in: Add USE_NSCD.
21796 * config.make.in (use-nscd): New substituted variable.
21797 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
21798 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
21799 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
21800 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
21801 (CFLAGS-getgrnam_r.c): Likewise.
21802 (CFLAGS-initgroups.c): Likewise.
21803 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
21804 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
21806 * inet/getnetgrent_r.c
21807 (nscd_setnetgrent): New function, broken out of ...
21808 (setnetgrent): ... here. Call it.
21809 (innetgr): Conditionalize nscd bits on [USE_NSCD].
21810 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
21811 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
21812 * nscd/Makefile (routines, aux): Move definitions after include of
21813 Makeconfig. Conditionalize on [$(use-nscd) != no].
21814 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
21815 Conditionalize on [USE_NSCD].
21816 (is_nscd, nscd_init_cb): Likewise.
21817 (nss_load_library): Conditionalize init callback on [USE_NSCD].
21818 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
21819 * nss/nss_db/db-init.c: Likewise.
21820 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
21822 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
21823 (make_request): Use it.
21824 (cache_valid_p): New function.
21825 (__check_pf): Use it.
21826 * NEWS: Add item for --disable-nscd.
21828 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
21830 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
21831 to support sed >= 4.2.1-20-ga9bf076.
21832 * configure: Regenerated.
21834 2012-08-22 Roland McGrath <roland@hack.frob.com>
21836 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
21837 Conditionalize whole body on [IREL].
21839 2012-08-22 Jeff Law <law@redhat.com>
21842 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
21843 if the family is PF_UNSPEC.
21845 2012-08-22 Mike Frysinger <vapier@gentoo.org>
21847 * Makerules (lib-version): Rename from V.
21848 (install-lib-nosubdir): Change V to lib-version.
21850 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
21853 * powerpc32/power6/wcschr.c: New file.
21854 * powerpc32/power6/wcscpy.c: New file.
21855 * powerpc32/power6/wcsrchr.c: New file.
21856 * powerpc64/power6/wcschr.c: New file.
21857 * powerpc64/power6/wcscpy.c: New file.
21858 * powerpc64/power6/wcsrchr.c: New file.
21860 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
21862 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
21863 (two_way_short_needle): Use it.
21864 * string/strstr.c (AVAILABLE1_USES_J): Define.
21865 * string/strcasestr.c: Likewise.
21867 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
21869 * string/strcasestr.c (TOLOWER): Make side-effect safe.
21872 * NEWS: Add an entry.
21873 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
21874 define their defaults.
21875 (two_way_short_needle): Detect end-of-string on-the-fly.
21876 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
21877 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
21878 * string/bug-strcasestr1.c: New test.
21879 * string/Makefile: Run it.
21881 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
21884 * string/str-two-way.h (two_way_short_needle): Optimize matching of
21885 the first character.
21887 2012-08-21 Roland McGrath <roland@hack.frob.com>
21889 * csu/elf-init.c (__libc_csu_irel): Function removed.
21890 * csu/libc-start.c (apply_irel): New function.
21891 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
21893 2012-08-21 Joseph Myers <joseph@codesourcery.com>
21895 * sysdeps/unix/sysv/linux/kernel-features.h
21896 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
21897 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
21898 <kernel-features.h>.
21899 [__NR_fadvise64_64]: Make code unconditional.
21900 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
21901 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
21902 !__NR_fadvise64_64)]: Likewise.
21903 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
21904 !__NR_fadvise64_64))]: Likewise.
21905 [__NR_fadvise64]: Make code unconditional.
21906 [!__NR_fadvise64]: Remove conditional code.
21907 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
21908 <kernel-features.h>.
21909 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
21911 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
21913 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
21914 not include <kernel-features.h>.
21915 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
21917 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
21919 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
21920 include <kernel-features.h>.
21921 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
21923 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
21926 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
21928 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
21929 slight instruction rearrangements per scrollpipe analysis.
21930 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
21932 2012-08-20 Roland McGrath <roland@hack.frob.com>
21934 * manual/syslog.texi (syslog; vsyslog, closelog):
21935 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
21936 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
21938 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
21939 DSOCAPS to match condition on defining it.
21941 2012-08-20 Joseph Myers <joseph@codesourcery.com>
21943 * sysdeps/unix/sysv/linux/kernel-features.h
21944 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
21945 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
21946 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
21947 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
21948 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
21949 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
21950 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
21951 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
21952 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
21953 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
21955 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
21956 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
21958 * sysdeps/unix/sysv/linux/kernel-features.h
21959 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
21960 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
21962 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
21963 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
21964 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
21965 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
21966 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
21967 Make code unconditional.
21968 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
21969 (__mmap64) [!__NR_mmap2]: Likewise.
21970 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
21971 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
21972 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
21973 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
21974 [__NR_mmap2]: Make code unconditional.
21975 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
21976 (__mmap64) [!__NR_mmap2]: Likewise.
21978 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21980 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
21982 2012-08-18 Andreas Jaeger <aj@suse.de>
21984 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
21986 2012-08-18 Mike Frysinger <vapier@gentoo.org>
21988 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
21989 * include/unistd.h (__have_sock_cloexec): Likewise.
21990 (__have_pipe2): Likewise.
21991 (__have_dup3): Likewise.
21993 2012-08-18 Mike Frysinger <vapier@gentoo.org>
21996 * include/unistd.h (__have_pipe2): Change define into an extern int.
21997 (__have_dup3): Likewise.
21998 * socket/have_sock_cloexec.c: Include fcntl.h.
21999 (__have_pipe2): New variable.
22000 (__have_dup3): Likewise.
22002 2012-08-17 Mike Frysinger <vapier@gentoo.org>
22004 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
22006 2012-08-17 Marek Polacek <polacek@redhat.com>
22008 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
22009 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
22011 2012-08-17 Roland McGrath <roland@hack.frob.com>
22013 * configure.in: Add AC_SUBST for sysheaders.
22014 * configure: Regenerated.
22015 * config.make.in (sysheaders): New substituted variable.
22017 * sysdeps/unix/mkfifo.c: Moved ...
22018 * sysdeps/posix/mkfifo.c: ... here.
22019 * sysdeps/unix/mkfifoat.c: Moved ...
22020 * sysdeps/posix/mkfifoat.c: ... here.
22022 * sysdeps/unix/utime.c: Moved ...
22023 * sysdeps/posix/utime.c: ... here.
22025 * sysdeps/unix/time.c: Moved ...
22026 * sysdeps/posix/time.c: ... here.
22027 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
22028 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
22030 * sysdeps/unix/nice.c: Moved ...
22031 * sysdeps/posix/nice.c: ... here.
22033 * sysdeps/unix/alarm.c: Moved ...
22034 * sysdeps/posix/alarm.c: ... here.
22036 * intl/Makefile ($(codeset_mo)): Depend on the input file.
22038 2012-08-17 Jeff Law <law@redhat.com>
22040 * intl/Makefile (codeset_mo): New variable.
22041 ($(codeset_mo)): New target.
22042 (tst-codeset.out): Depend on that. Remove explicit rule.
22043 (tst-gettext3.out, tst-gettext5.out): Likewise.
22044 (LOCPATH-ENV, tst-codeset-ENV): New variables.
22045 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
22046 * intl/tst-codeset.sh: Remove.
22047 * intl/tst-gettext3.sh: Likewise.
22048 * intl/tst-gettext5.sh: Likewise.
22050 2012-08-17 Roland McGrath <roland@hack.frob.com>
22052 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
22053 * sysdeps/unix/syscalls.list: ... here.
22055 * sysdeps/posix/getaddrinfo.c
22056 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
22057 (gaiconf_init, gaiconf_reload): Use them.
22058 [!_STATBUF_ST_NSEC]
22059 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
22060 Define using time_t rather than struct timespec.
22062 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
22063 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
22065 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
22067 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
22068 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
22071 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
22072 __libc_cleanup_push argument.
22074 * bits/param.h: New file.
22075 * misc/sys/param.h: New file.
22076 * include/sys/param.h: New file.
22077 * misc/Makefile (headers): Add bits/param.h.
22078 * sysdeps/generic/sys/param.h: File removed.
22079 * sysdeps/unix/sysv/linux/bits/param.h: New file.
22080 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
22081 * sysdeps/mach/hurd/bits/param.h: New file.
22082 * sysdeps/mach/hurd/sys/param.h: File removed.
22084 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
22087 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
22089 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
22090 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
22093 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
22094 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
22095 rather than -D_IO_MTSAFE_IO conditionally.
22096 * stdio-common/Makefile (CPPFLAGS): Likewise.
22097 * wcsmbs/Makefile (CPPFLAGS): Likewise.
22098 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
22099 Use $(libio-mtsafe).
22100 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
22101 of -D_IO_MTSAFE_IO.
22102 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
22103 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
22104 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
22105 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
22106 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
22107 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
22108 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
22109 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
22110 (CFLAGS-fread_u_chk.c): Likewise.
22111 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
22112 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
22113 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
22114 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
22115 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
22116 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
22117 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
22118 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
22119 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
22121 * libio/Makefile: Test [$(libc-reentrant) = yes]
22122 instead of [$(filter %REENTRANT, $(defines)) nonempty].
22125 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
22126 * sysdeps/pthread/configure: File removed.
22127 * sysdeps/pthread/Makeconfig: New file.
22128 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
22129 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
22131 2012-08-16 Gary Benson <gbenson@redhat.com>
22133 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
22134 unmapping the first object in a namespace.
22136 2012-08-16 Roland McGrath <roland@hack.frob.com>
22138 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
22139 (__internal_setnetgrent): ... this. Add internal_function to
22140 definition. Add libc_hidden_def.
22141 (setnetgrent): Update caller.
22142 (internal_endnetgrent): Renamed to ...
22143 (__internal_endnetgrent): ... this. Add internal_function to
22144 definition. Add libc_hidden_def.
22145 (endnetgrent): Update caller.
22146 (internal_getnetgrent_r): Renamed to ...
22147 (__internal_getnetgrent_r): ... this. Add internal_function to
22148 definition. Add libc_hidden_def.
22149 (__getnetgrent_r): Update caller.
22150 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
22152 2012-08-16 Joseph Myers <joseph@codesourcery.com>
22154 * stdlib/longlong.h: Update from GCC.
22156 2012-08-16 Roland McGrath <roland@hack.frob.com>
22158 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
22159 on _QL, which is set by umul_ppmm but never used.
22160 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
22161 variables, which are set by GMP macros but never used.
22162 * stdio-common/_itowa.c (_itowa): Likewise.
22163 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
22164 * stdlib/mod_1.c (mpn_mod_1): Likewise.
22166 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
22168 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
22169 struct La_sh_regs is not constant.
22170 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
22171 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
22172 and struct La_sparc64_regs are not constant.
22174 2012-08-16 Joseph Myers <joseph@codesourcery.com>
22176 * sysdeps/unix/sysv/linux/kernel-features.h
22177 (__ASSUME_POSIX_TIMERS): Remove.
22178 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
22179 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
22180 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
22181 Make code unconditional.
22182 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
22183 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
22184 Make code unconditional.
22185 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
22186 * sysdeps/unix/sysv/linux/clock_nanosleep.c
22187 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
22188 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
22189 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
22190 Make code unconditional.
22191 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
22192 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
22193 (__libc_missing_posix_timers): Remove.
22195 2012-08-15 Roland McGrath <roland@hack.frob.com>
22197 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
22198 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
22200 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
22202 * elf/dl-sym.c: Include <stdlib.h>.
22204 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
22205 constants, which avoids warnings in 32-bit builds.
22207 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
22208 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
22210 * misc/lseek.c: File moved to ...
22211 * io/lseek.c: ... here.
22213 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
22215 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
22216 shifting LEN more than 31 bits at once.
22218 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22221 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
22222 segmentation fault for a case of two empty input strings.
22223 * string/test-strncasecmp.c (check1): Renamed to...
22224 (bz12205): ...this.
22225 (bz14195): Add new testcase for two empty input strings and N > 0.
22226 (test_main): Call new testcase, adapt for renamed function.
22228 2012-08-15 Andreas Jaeger <aj@suse.de>
22231 * crypt/md5test2.c: New test, based on test supplied by Serge
22232 Belyshev <belyshev@depni.sinp.msu.ru>.
22233 * crypt/Makefile (xtests): Add md5test-giant..
22234 * crypt/Makefile ($(objpfx)md5test-giant): Add.
22236 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
22239 * crypt/md5.c (md5_process_block): Don't assume the buffer
22240 length is less than 2**32.
22241 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
22242 length is less than 2**64.
22244 2012-08-15 Roland McGrath <roland@hack.frob.com>
22246 * string/str-two-way.h: Include <sys/param.h>.
22247 (MAX): Macro removed.
22249 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
22250 Move #define and #undef of memmove to just before and after
22251 including <string.h>.
22253 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
22254 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
22255 and after including <string.h>. Move declarations of
22256 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
22257 to before #include "string/memmove.c".
22259 * include/dirent.h: Declare __getdirentries.
22261 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
22262 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
22264 2012-08-14 Mike Frysinger <vapier@gentoo.org>
22266 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
22267 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
22268 * sysdeps/i386/configure: Regenerated.
22269 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
22270 STABS_CURRENT_FILE, and STABS_FUN.
22271 (END): Remove call to STABS_FUN_END.
22272 (STABS_CURRENT_FILE1): Delete.
22273 (STABS_CURRENT_FILE): Likewise.
22274 (STABS_FUN): Likewise.
22275 (STABS_FUN_END): Likewise.
22276 (STABS_FUN2): Likewise.
22277 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
22278 * sysdeps/x86_64/configure: Regenerated.
22280 2012-08-14 Roland McGrath <roland@hack.frob.com>
22282 * elf/dl-open.c: Include <atomic.h>.
22283 * elf/dl-lookup.c: Likewise.
22285 2012-08-14 Joseph Myers <joseph@codesourcery.com>
22287 * sysdeps/unix/sysv/linux/kernel-features.h
22288 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
22289 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
22291 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
22293 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
22294 condition on __ASSUME_CLONE_THREAD_FLAGS.
22296 2012-08-14 Andreas Jaeger <aj@suse.de>
22298 * sysdeps/i386/fpu/libm-test-ulps: Update.
22300 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
22302 * include/atomic.h (atomic_exchange_and_add): Split into ...
22303 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
22306 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
22308 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22310 2012-08-13 Jeff Law <law@redhat.com>
22312 * manual/stdio.texi (snprintf): Clarify handling of the trailing
22313 null byte in the output string.
22315 2012-08-10 Joseph Myers <joseph@codesourcery.com>
22317 * sysdeps/unix/sysv/linux/kernel-features.h
22318 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
22319 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
22320 (__ASSUME_ARG_MAX_STACK_BASED): Define.
22321 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
22322 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
22323 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
22324 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
22326 2012-08-09 Jeff Law <law@redhat.com>
22329 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
22330 When avoid_arena is set, don't retry in the that arena. Pick the
22331 next one, whatever it might be.
22332 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
22333 (arena_lock): Pass in new parameter to arena_get2.
22334 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
22336 (__libc_malloc): Unify retrying after main arena failure with
22337 __libc_memalign version.
22338 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
22340 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
22343 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
22344 to __redirect_strstr.
22345 (__strstr_sse42): Use typeof __redirect_strstr.
22346 (__strstr_ia32): Likewise.
22347 (__libc_strstr): New prototype.
22348 (strstr): Renamed to ...
22349 (__libc_strstr): This.
22350 (strstr): New strong alias of __libc_strstr.
22351 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
22352 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
22355 (__libc_time): New prototype.
22356 (time_ifunc): Replace time with __libc_time.
22357 (time): New strong alias and hidden definition of __libc_time.
22358 (__GI_time): Remove strong alias.
22359 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
22360 Include <stddef.h>.
22361 (memmove): Redefined to __redirect_memmove.
22362 (__memmove_sse2): Use typeof __redirect_memmove.
22363 (__memmove_ssse3): Likewise.
22364 (__memmove_ssse3_back): Likewise.
22365 (__libc_memmove): New prototype.
22366 (memmove): Renamed to ...
22367 (__libc_memmove): This.
22368 (memmove): New strong alias of __libc_memmove.
22370 2012-08-08 Mark Salter <msalter@redhat.com>
22373 (R_MN10300_TLS_GD): Define.
22374 (R_MN10300_TLS_LD): Likewise.
22375 (R_MN10300_TLS_LDO): Likewise.
22376 (R_MN10300_TLS_GOTIE): Likewise.
22377 (R_MN10300_TLS_IE): Likewise.
22378 (R_MN10300_TLS_LE): Likewise.
22379 (R_MN10300_TLS_DTPMOD): Likewise.
22380 (R_MN10300_TLS_DTPOFF): Likewise.
22381 (R_MN10300_TLS_TPOFF): Likewise.
22382 (R_MN10300_SYM_DIFF): Likewise.
22383 (R_MN10300_ALIGN): Likewise.
22384 (R_MN10300_NUM): Update.
22386 2012-08-08 Joseph Myers <joseph@codesourcery.com>
22388 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
22391 2012-08-08 Roland McGrath <roland@hack.frob.com>
22393 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
22395 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
22396 sysdeps/unix -> sysdeps/posix move.
22397 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
22399 2012-08-07 Allan McRae <allan@archlinux.org>
22402 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
22403 (SUNOS_CPP): Likewise.
22404 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
22406 (open_input): Call CPP using execvp.
22408 2012-08-07 Joseph Myers <joseph@codesourcery.com>
22410 * sysdeps/unix/sysv/linux/kernel-features.h
22411 (__ASSUME_PROT_GROWSUPDOWN): Remove.
22412 (__ASSUME_NO_CLONE_DETACHED): Likewise.
22413 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
22414 (__ASSUME_WAITID_SYSCALL): Likewise.
22415 * sysdeps/unix/sysv/linux/dl-execstack.c
22416 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
22417 code unconditional.
22418 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
22420 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
22421 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
22422 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
22424 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
22426 [__ASSUME_WAITID_SYSCALL]: Likewise.
22427 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
22429 2012-08-07 Roland McGrath <roland@hack.frob.com>
22431 * sysdeps/unix/closedir.c: Renamed to ...
22432 * sysdeps/posix/closedir.c: ... here.
22433 * sysdeps/unix/dirfd.c: Renamed to ...
22434 * sysdeps/posix/dirfd.c: ... here.
22435 * sysdeps/unix/dirstream.h: Renamed to ...
22436 * sysdeps/posix/dirstream.h: ... here.
22437 * sysdeps/unix/fdopendir.c: Renamed to ...
22438 * sysdeps/posix/fdopendir.c: ... here.
22439 * sysdeps/unix/opendir.c: Renamed to ...
22440 * sysdeps/posix/opendir.c: ... here.
22441 * sysdeps/unix/readdir.c: Renamed to ...
22442 * sysdeps/posix/readdir.c: ... here.
22443 * sysdeps/unix/readdir_r.c: Renamed to ...
22444 * sysdeps/posix/readdir_r.c: ... here.
22445 * sysdeps/unix/rewinddir.c: Renamed to ...
22446 * sysdeps/posix/rewinddir.c: ... here.
22447 * sysdeps/unix/seekdir.c: Renamed to ...
22448 * sysdeps/posix/seekdir.c: ... here.
22449 * sysdeps/unix/telldir.c: Renamed to ...
22450 * sysdeps/posix/telldir.c: ... here.
22451 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
22452 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
22453 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
22454 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
22456 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
22457 * bits/fcntl.h: ... here.
22459 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
22461 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
22462 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
22463 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
22464 (struct flock): Move l_start, l_len to the beginning.
22465 Use __pid_t for l_pid.
22466 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
22467 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
22468 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
22469 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
22470 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
22471 [__USE_LARGEFILE64] (struct flock64): New type.
22472 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
22474 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
22475 * bits/dirent.h: ... here.
22477 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
22478 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
22480 2012-08-07 Joseph Myers <joseph@codesourcery.com>
22482 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
22483 Change from 2.6.0 to 2.6.16.
22484 * sysdeps/unix/sysv/linux/configure: Regenerated.
22485 * sysdeps/unix/sysv/linux/kernel-features.h
22486 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
22487 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
22489 (__ASSUME_UTIMES): Likewise.
22490 (__ASSUME_CLONE_STOPPED): Remove.
22491 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
22492 architectures, not kernel version.
22493 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
22494 (__ASSUME_NO_CLONE_DETACHED): Likewise.
22495 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
22496 (__ASSUME_WAITID_SYSCALL): Likewise.
22497 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
22498 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
22499 * README: State 2.6.16 as minimum Linux kernel version. Do not
22500 refer to older versions.
22502 2012-08-06 Roland McGrath <roland@hack.frob.com>
22504 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
22505 Define alphasort64 as an alias.
22506 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
22507 Define versionsort64 as an alias.
22508 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
22509 Define scandir64 as an alias.
22510 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
22511 Define scandirat64 as an alias.
22512 * dirent/alphasort64.c (alphasort64):
22513 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
22514 * dirent/versionsort64.c: Likewise.
22515 * dirent/scandir64.c: Likewise.
22516 * dirent/scandirat64.c: Likewise.
22517 * sysdeps/wordsize-64/alphasort.c: File removed.
22518 * sysdeps/wordsize-64/alphasort64.c: File removed.
22519 * sysdeps/wordsize-64/scandir.c: File removed.
22520 * sysdeps/wordsize-64/scandir64.c: File removed.
22521 * sysdeps/wordsize-64/scandirat.c: File removed.
22522 * sysdeps/wordsize-64/scandirat64.c: File removed.
22523 * sysdeps/wordsize-64/versionsort.c: File removed.
22524 * sysdeps/wordsize-64/versionsort64.c: File removed.
22525 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
22526 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
22527 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
22528 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
22529 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
22530 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
22531 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
22532 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
22534 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
22535 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
22536 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
22537 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
22538 [defined __arch64__ || defined __sparcv9]
22539 (__INO_T_MATCHES_INO64_T): New macro.
22540 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
22541 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
22542 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
22543 * sysdeps/unix/sysv/linux/bits/dirent.h
22544 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
22545 (_DIRENT_MATCHES_DIRENT64): New macro.
22547 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
22548 Define lockf64 as an alias.
22549 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
22550 Define fseeko64 as an alias.
22551 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
22552 Define ftello64 as an alias.
22553 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
22554 Define _IO_fgetpos64 and fgetpos64 as aliases.
22555 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
22556 Define _IO_fsetpos64 and fsetpos64 as aliases.
22557 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
22558 Conditionalize body on this.
22559 * libio/fseeko64.c: Likewise.
22560 * libio/ftello64.c: Likewise.
22561 * libio/iofgetpos64.c: Likewise.
22562 * libio/iofsetpos64.c: Likewise.
22563 * sysdeps/wordsize-64/lockf.c: File removed.
22564 * sysdeps/wordsize-64/lockf64.c: File removed.
22565 * sysdeps/wordsize-64/fseeko.c: File removed.
22566 * sysdeps/wordsize-64/fseeko64.c: File removed.
22567 * sysdeps/wordsize-64/ftello.c: File removed.
22568 * sysdeps/wordsize-64/ftello64.c: File removed.
22569 * sysdeps/wordsize-64/iofgetpos.c: File removed.
22570 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
22571 * sysdeps/wordsize-64/iofsetpos.c: File removed.
22572 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
22573 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
22574 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
22575 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
22576 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
22577 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
22578 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
22579 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
22580 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
22581 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
22582 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
22584 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
22585 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
22586 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
22587 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
22588 [defined __arch64__ || defined __sparcv9]
22589 (__OFF_T_MATCHES_OFF64_T): New macro.
22590 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
22591 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
22592 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
22593 (__OFF_T_MATCHES_OFF64_T): New macro.
22595 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
22597 * stdlib/secure-getenv.c (__secure_getenv): Replace
22598 GLIBC_2_16 with GLIBC_2_17.
22600 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
22602 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
22603 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
22605 2012-08-03 David S. Miller <davem@davemloft.net>
22607 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22609 2012-08-03 Joseph Myers <joseph@codesourcery.com>
22611 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
22613 (__ASSUME_CORRECT_SI_PID): Likewise.
22614 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
22615 (__ASSUME_TMPFS_NAME): Likewise.
22616 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
22617 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
22618 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
22619 (HAVE_AUX_SECURE): Make definition unconditional.
22620 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
22621 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
22623 2012-08-03 Roland McGrath <roland@hack.frob.com>
22625 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
22626 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
22627 * sysdeps/mach/hurd/eloop-threshold.h: New file.
22628 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
22629 __eloop_threshold instead of SYMLOOP_MAX.
22631 * sysdeps/generic/eloop-threshold.h: New file.
22632 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
22634 * elf/chroot_canon.c (chroot_canon): Likewise.
22636 2012-08-03 Joseph Myers <joseph@codesourcery.com>
22639 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
22640 Change to 2.6.0 everywhere.
22641 * sysdeps/unix/sysv/linux/configure: Regenerated.
22642 * sysdeps/unix/sysv/linux/kernel-features.h
22643 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
22644 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
22646 (__ASSUME_POSIX_TIMERS): Define unconditionally.
22647 (__ASSUME_FUTEX_REQUEUE): Remove.
22648 (__ASSUME_STATFS64): Define unconditionally.
22649 (__ASSUME_AT_SECURE): Likewise.
22650 (__ASSUME_CORRECT_SI_PID): Likewise.
22651 (__ASSUME_TGKILL): Define without depending on kernel version for
22653 (__ASSUME_UTIMES): Likewise.
22654 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
22656 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
22657 (__ASSUME_TMPFS_NAME): Likewise.
22658 * README: Update reference to Linux kernel versions.
22660 2012-08-02 Marek Polacek <polacek@redhat.com>
22663 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
22664 libc_cv_asm_type_prefix with %.
22665 * configure: Regenerated.
22666 * include/libc-symbols.h: Remove comment about
22667 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
22668 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
22669 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
22670 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
22671 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
22672 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
22673 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
22674 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
22675 * elf/tst-unique2mod1.c: Likewise.
22676 * elf/tst-unique1mod2.c: Likewise.
22677 * elf/tst-unique1mod1.c: Likewise.
22678 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
22679 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
22680 Replace ASM_TYPE_DIRECTIVE with .type.
22681 * sysdeps/s390/s390-64/sysdep.h: Likewise.
22682 * sysdeps/i386/sysdep.h: Likewise.
22683 * sysdeps/x86_64/sysdep.h: Likewise.
22684 * sysdeps/sh/sysdep.h: Likewise.
22685 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
22686 Do not define ASM_TYPE_DIRECTIVE.
22687 * sysdeps/powerpc/sysdep.h: Likewise.
22688 * sysdeps/powerpc/powerpc32/sysdep.h:
22689 Replace ASM_TYPE_DIRECTIVE with .type.
22690 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
22691 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
22692 * sysdeps/i386/fpu/e_powf.S: Likewise.
22693 * sysdeps/i386/fpu/e_expl.S: Likewise.
22694 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
22695 * sysdeps/i386/fpu/e_acosh.S: Likewise.
22696 * sysdeps/i386/fpu/e_pow.S: Likewise.
22697 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
22698 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
22699 * sysdeps/i386/fpu/s_expm1.S: Likewise.
22700 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
22701 * sysdeps/i386/fpu/e_log2.S: Likewise.
22702 * sysdeps/i386/fpu/e_log2l.S: Likewise.
22703 * sysdeps/i386/fpu/e_scalb.S: Likewise.
22704 * sysdeps/i386/fpu/e_powl.S: Likewise.
22705 * sysdeps/i386/fpu/e_log10f.S: Likewise.
22706 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
22707 * sysdeps/i386/fpu/e_logl.S: Likewise.
22708 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
22709 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
22710 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
22711 * sysdeps/i386/fpu/e_log2f.S: Likewise.
22712 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
22713 * sysdeps/i386/fpu/e_log.S: Likewise.
22714 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
22715 * sysdeps/i386/fpu/e_logf.S: Likewise.
22716 * sysdeps/i386/fpu/e_log10l.S: Likewise.
22717 * sysdeps/i386/fpu/e_atanh.S: Likewise.
22718 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
22719 * sysdeps/i386/fpu/e_log10.S: Likewise.
22720 * sysdeps/i386/fpu/s_frexp.S: Likewise.
22721 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
22722 * sysdeps/i386/fpu/s_asinh.S: Likewise.
22723 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
22724 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
22725 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
22726 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
22727 * sysdeps/i386/i686/strtok.S: Likewise.
22728 * sysdeps/i386/i386-mcount.S: Likewise.
22729 * sysdeps/i386/strtok.S: Likewise.
22730 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
22731 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
22732 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
22733 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
22734 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
22735 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
22736 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
22737 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
22738 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
22739 * sysdeps/x86_64/_mcount.S: Likewise.
22740 * sysdeps/x86_64/strtok.S: Likewise.
22741 * sysdeps/sh/_mcount.S: Likewise.
22743 2012-08-01 Roland McGrath <roland@hack.frob.com>
22745 * libio/iofopen.c: Include <fcntl.h>.
22746 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
22747 (_IO_fopen64, fopen64): Define as aliases.
22748 * libio/iofopen64.c: Include <fcntl.h>.
22749 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
22750 Conditionalize body on this.
22751 * sysdeps/wordsize-64/iofopen.c: File removed.
22752 * sysdeps/wordsize-64/iofopen64.c: File removed.
22754 2012-08-01 Marek Polacek <polacek@redhat.com>
22756 * libc/Makeconfig: Use elf in place of binfmt-subdir.
22757 Use dlfcn directly instead of a variable.
22758 (binfmt-subdir): Do not define.
22761 2012-08-01 Joseph Myers <joseph@codesourcery.com>
22763 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
22764 Remove all definitions.
22765 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
22766 <kernel-features.h>.
22767 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
22768 (miss_F_GETOWN_EX): Remove all definitions.
22769 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
22771 [!__ASSUME_FCNTL64]: Remove conditional code.
22772 [__ASSUME_FCNTL64]: Make code unconditional.
22773 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
22774 <kernel-features.h>.
22775 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
22776 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
22777 (lockf64) [__NR_fcntl64]: Make code unconditional.
22778 (lockf64) [__ASSUME_FCNTL64]: Likewise.
22780 * sysdeps/unix/sysv/linux/kernel-features.h
22781 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
22782 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
22783 Make code unconditional.
22784 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
22785 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
22786 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
22787 [__NR_vfork]: Make code unconditional.
22788 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
22789 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
22790 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
22791 [__NR_vfork]: Make code unconditional.
22792 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
22793 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
22795 2012-08-01 Roland McGrath <roland@hack.frob.com>
22797 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
22798 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
22800 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
22801 Define mkstemp64 as an alias.
22802 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
22803 Define mkstemps64 as an alias.
22804 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
22805 Define mkostemp64 as an alias.
22806 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
22807 Define mkostemps64 as an alias.
22808 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
22809 Conditionalize body on this.
22810 * misc/mkostemp64.c: Likewise.
22811 * misc/mkostemps64.c: Likewise.
22812 * misc/mkstemps64.c: Likewise.
22813 * sysdeps/wordsize-64/mkstemp64.c: File removed.
22814 * sysdeps/wordsize-64/mkostemp64.c: File removed.
22815 * sysdeps/wordsize-64/mkostemp.c: File removed.
22816 * sysdeps/wordsize-64/mkstemp.c: File removed.
22817 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
22818 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
22819 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
22820 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
22823 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
22824 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
22825 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
22826 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
22828 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
22829 compat_symbol macros from <shlib-compat.h> rather than the underlying
22830 default_symbol_version and symbol_version macros, so that DEFAULT
22831 lines in shlib-versions are respected.
22832 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
22834 2012-08-01 Florian Weimer <fweimer@redhat.com>
22836 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
22837 Declare with warn_unused_result.
22838 (setgid, setregid, setegid, setresgid): Likewise.
22839 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
22841 * WUR-REPORT: Remove set*id functions.
22843 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
22845 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
22847 2012-07-31 Roland McGrath <roland@hack.frob.com>
22850 * include/sys/socket.h (__libc_accept, __libc_accept4):
22851 Add attribute_hidden.
22852 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
22854 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
22856 * inet/getnetgrent_r.c (setup): Likewise.
22858 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
22860 2012-07-31 David S. Miller <davem@davemloft.net>
22862 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22864 2012-07-31 Joseph Myers <joseph@codesourcery.com>
22867 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
22868 value between 1.0 and 2.0 and smaller part has absolute value less
22870 * math/s_clog10.c (__clog10): Likewise.
22871 * math/s_clog10f.c (__clog10f): Likewise.
22872 * math/s_clog10l.c (__clog10l): Likewise.
22873 * math/s_clogf.c (__clogf): Likewise.
22874 * math/s_clogl.c (__clogl): Likewise.
22875 * math/libm-test.inc (clog_test): Add more tests.
22876 (clog10_test): Likewise.
22877 * sysdeps/i386/fpu/libm-test-ulps: Update.
22878 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22880 2012-07-31 Florian Weimer <fweimer@redhat.com>
22882 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
22883 Exit with zero in case no suitable GID is found, and write a
22884 message to standard error.
22886 2012-07-30 Roland McGrath <roland@hack.frob.com>
22888 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
22890 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
22891 (MAXPATHLEN): Removed.
22892 (NOGROUP, NODEV): New macros.
22893 (setbit, clrbit, isset, isclr): New macros.
22894 (howmany, roundup, powerof2): New macros.
22895 (DEV_BSIZE): New macro.
22897 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
22898 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
22900 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
22901 definition on [!__NO_LONG_DOUBLE_MATH].
22903 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
22904 PTR_MANGLE and PTR_DEMANGLE.
22906 * socket/accept4.c (accept4): Rename to __libc_accept4.
22907 Define accept4 as a weak alias.
22909 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
22910 on [_DIRENT_HAVE_D_TYPE].
22911 * io/ftw.c (ftw_dir): Likewise.
22913 * io/xmknod.c (__xmknod): Don't check PATH for being null.
22915 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
22917 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
22918 Use the BSD numbers rather than the arbitrary ones we had.
22919 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
22920 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
22921 (SIGXCPU, SIGXFSZ): New macros.
22924 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
22925 initializer on [_LIBC_REENTRANT].
22927 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
22928 definitions inside [_POSIX_MAPPED_FILES].
22930 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
22932 * dirent/opendir.c: Include <fcntl.h>.
22934 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
22935 (__libc_getspecific): Likewise.
22936 (__libc_key_create): Likewise.
22938 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
22939 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
22940 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
22941 (tmpfile64): Define as alias.
22942 * sysdeps/wordsize-64/tmpfile.c: File removed.
22943 * sysdeps/wordsize-64/tmpfile64.c: File removed.
22944 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
22945 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
22947 * stdio-common/vfscanf.c: Include <stdbool.h>.
22948 * nss/makedb.c: Likewise.
22949 * stdio-common/_i18n_number.h: Likewise.
22950 * argp/argp-help.c: Likewise.
22951 * posix/wordexp.c: Likewise.
22952 * sysdeps/posix/spawni.c: Likewise.
22953 * nss/nss_files/files-initgroups.c: Likewise.
22954 * stdio-common/reg-modifier.c: Include <stdlib.h>.
22955 * nss/nss_files/files-initgroups.c: Likewise.
22956 * nss/nss_db/db-netgrp.c: Likewise.
22957 * nss/nss_db/db-initgroups.c: Likewise.
22958 * io/fchmodat.c: Include <sys/stat.h>.
22960 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
22961 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
22963 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
22966 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
22967 Add multiple inclusion protection.
22969 2012-07-27 David S. Miller <davem@davemloft.net>
22971 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22973 2012-07-27 Gary Benson <gbenson@redhat.com>
22976 * elf/rtld.c: Include <stap-probe.h>.
22977 (dl_main): Added static probes "init_start" and "init_complete".
22978 * elf/dl-load.c: Include <stap-probe.h>.
22979 (lose): Take new parameter "nsid".
22980 Added static probe "map_failed".
22981 (_dl_map_object_from_fd): Pass namespace id to lose.
22982 Added static probe "map_start".
22983 (open_verify): Pass namespace id to lose.
22984 * elf/dl-open.c: Include <stap-probe.h>.
22985 (dl_open_worker) Added static probes "map_complete", "reloc_start"
22986 and "reloc_complete".
22987 * elf/dl-close.c: Include <stap-probe.h>.
22988 (_dl_close_worker): Added static probes "unmap_start" and
22990 * elf/rtld-debugger-interface.txt: New file documenting the above.
22992 2012-07-26 Roland McGrath <roland@hack.frob.com>
22994 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
22995 rather than a string variable.
22996 * sunrpc/rpc_main.c (h_output): Likewise.
22997 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
22999 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
23001 * inet/check_native.c: New file.
23003 2012-07-26 Joseph Myers <joseph@codesourcery.com>
23006 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
23007 if larger part has absolute value 1.0.
23008 * math/s_clog10.c (__clog10): Likewise.
23009 * math/s_clog10f.c (__clog10f): Likewise.
23010 * math/s_clog10l.c (__clog10l): Likewise.
23011 * math/s_clogf.c (__clogf): Likewise.
23012 * math/s_clogl.c (__clogl): Likewise.
23013 * math/libm-test.inc (clog_test): Add more tests.
23014 (clog10_test): Likewise.
23015 * sysdeps/i386/fpu/libm-test-ulps: Update.
23016 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23018 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
23019 (pltexit): Likewise.
23020 (La_regs): Likewise.
23021 (La_retval): Likewise.
23022 (int_retval): Likewise.
23023 Update #error for removed macros to refer only to definitions in
23025 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
23027 (pltexit): Likewise.
23028 (La_regs): Likewise.
23029 (La_retval): Likewise.
23030 (int_retval): Likewise.
23031 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
23033 (pltexit): Likewise.
23034 (La_regs): Likewise.
23035 (La_retval): Likewise.
23036 (int_retval): Likewise.
23037 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
23039 (pltexit): Likewise.
23040 (La_regs): Likewise.
23041 (La_retval): Likewise.
23042 (int_retval): Likewise.
23043 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
23045 (pltexit): Likewise.
23046 (La_regs): Likewise.
23047 (La_retval): Likewise.
23048 (int_retval): Likewise.
23049 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
23051 (pltexit): Likewise.
23052 (La_regs): Likewise.
23053 (La_retval): Likewise.
23054 (int_retval): Likewise.
23055 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
23057 (pltexit): Likewise.
23058 (La_regs): Likewise.
23059 (La_retval): Likewise.
23060 (int_retval): Likewise.
23061 * sysdeps/generic/tst-audit.h: Update comment to refer only to
23062 macro definitions in tst-audit.h.
23063 * sysdeps/i386/tst-audit.h: New file.
23064 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
23065 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
23066 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
23067 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
23068 * sysdeps/sh/tst-audit.h: Likewise.
23069 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
23070 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
23071 * sysdeps/x86_64/tst-audit.h: Likewise.
23073 2012-07-26 Andreas Jaeger <aj@suse.de>
23075 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
23078 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
23079 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
23080 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
23082 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
23083 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
23084 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
23086 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
23089 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
23091 (si_call_addr, si_syscall, si_arch): Define new macro.
23092 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
23094 (si_call_addr, si_syscall, si_arch): Define new marcro.
23095 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
23097 (si_call_addr, si_syscall, si_arch): Define new macro.
23098 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
23100 (si_call_addr, si_syscall, si_arch): Define new macro.
23102 2012-07-25 Joseph Myers <joseph@codesourcery.com>
23105 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
23106 Change to 2.4.21 where previously 2.4.1.
23107 * sysdeps/unix/sysv/linux/configure: Regenerated.
23108 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
23109 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
23110 Linux kernel version.
23111 (__ASSUME_STD_AUXV): Remove.
23112 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
23114 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
23115 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
23116 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
23117 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
23118 (__ASSUME_NETLINK_SUPPORT): Likewise.
23119 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
23120 (__no_netlink_support): Remove conditional definition.
23121 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
23123 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
23124 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
23125 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
23126 (if_nameindex_ioctl): Remove.
23127 (if_nameindex_netlink): Do not handle __no_netlink_support.
23128 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
23130 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
23131 Remove conditional code.
23132 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
23134 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
23136 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
23137 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
23138 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
23140 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
23141 [!__ASSUME_STD_AUXV]: Remove conditional code.
23142 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
23143 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
23144 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
23145 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
23146 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
23147 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
23149 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
23150 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
23151 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
23152 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
23154 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
23155 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
23156 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
23158 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
23159 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
23161 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
23162 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
23163 code unconditional.
23164 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
23166 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
23168 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
23170 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
23171 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
23173 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
23175 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
23176 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
23177 code unconditional.
23178 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
23180 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
23182 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
23184 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
23185 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
23186 code unconditional.
23187 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
23189 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
23191 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
23194 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
23196 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
23197 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
23198 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
23199 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
23200 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
23201 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
23202 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
23203 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
23204 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
23205 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
23206 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
23207 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
23208 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
23209 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
23210 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
23211 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
23212 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
23213 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
23214 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
23215 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
23216 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
23217 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
23218 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
23220 2012-07-25 Florian Weimer <fweimer@redhat.com>
23222 * Versions.def: Add GLIBC_2.17.
23223 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
23224 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
23225 Introduce __libc_secure_getenv.
23226 * stdlib/Versions (2.17): Add secure_getenv
23227 (GLIBC_PRIVATE): Add __libc_secure_getenv.
23228 * stdlib/secure-getenv.c: Rename __secure_getenv to
23229 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
23230 symbol __secure_getenv for GLIBC_2.0.
23231 * stdlib/tst-secure-getenv.c: New.
23232 * stdlib/Makefile (tests): Add testcase.
23233 * manual/startup.texi (Environment Access): Document
23235 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
23236 __libc_secure_getenv.
23237 * inet/ruserpass.c (ruserpass): Likewise.
23238 * malloc/mtrace.c (mtrace): Likewise.
23239 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
23240 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
23241 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
23242 * sysdeps/posix/tempname.c: Likewise. Evaluate
23243 HAVE_SECURE_GETENV.
23244 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
23245 __secure_getenv to __libc_secure_getenv.
23246 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
23247 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23249 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
23251 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
23252 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
23253 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
23254 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
23255 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
23256 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
23257 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
23259 2012-07-25 Joseph Myers <joseph@codesourcery.com>
23261 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
23262 (struct La_i86_retval): Likewise.
23263 (struct La_x86_64_regs): Likewise.
23264 (struct La_x86_64_retval): Likewise.
23265 (struct La_x32_regs): Likewise.
23266 (struct La_x32_retval): Likewise.
23267 (struct La_ppc32_regs): Likewise.
23268 (struct La_ppc32_retval): Likewise.
23269 (struct La_ppc64_regs): Likewise.
23270 (struct La_ppc64_retval): Likewise.
23271 (struct La_sh_regs): Likewise.
23272 (struct La_sh_retval): Likewise.
23273 (struct La_s390_32_regs): Likewise.
23274 (struct La_s390_32_retval): Likewise.
23275 (struct La_s390_64_regs): Likewise.
23276 (struct La_s390_64_retval): Likewise.
23277 (struct La_sparc32_regs): Likewise.
23278 (struct La_sparc32_retval): Likewise.
23279 (struct La_sparc64_regs): Likewise.
23280 (struct La_sparc64_retval): Likewise.
23281 (struct audit_ifaces): Remove architecture-specific pltenter and
23283 * sysdeps/i386/ldsodefs.h: New file.
23284 * sysdeps/powerpc/ldsodefs.h: Likewise.
23285 * sysdeps/s390/ldsodefs.h: Likewise.
23286 * sysdeps/sh/ldsodefs.h: Likewise.
23287 * sysdeps/sparc/ldsodefs.h: Likewise.
23288 * sysdeps/x86_64/ldsodefs.h: Likewise.
23290 2012-07-25 Marek Polacek <polacek@redhat.com>
23293 * math/libm-test.inc (yn_test): Add another test.
23294 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
23295 to ERANGE when the result is +-Inf.
23296 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
23297 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
23298 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
23299 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
23301 2012-07-24 Joseph Myers <joseph@codesourcery.com>
23303 * conform/data/time.h-data (NULL): Use macro-constant. Require
23305 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
23307 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
23309 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
23311 * configure.in <sysdeps resolving>: Correct printing
23313 * configure: Regenerate.
23315 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
23317 * math/w_ilogb.c: Include <limits.h>.
23318 * math/w_ilogbl.c: Likewise.
23320 2012-07-20 Joseph Myers <joseph@codesourcery.com>
23322 * manual/lang.texi (__va_copy): Document primarily as ISO C99
23323 va_copy. Document allowing for unavailable va_copy only as
23324 pre-C99 compatibility.
23325 * manual/string.texi (Copying and Concatenation): Use va_copy
23326 instead of __va_copy in concat example.
23328 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
23330 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
23331 (__sendto): Use create_address_port. Initialize APORT and deallocate
23334 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
23335 with O_NOLINK passed to __file_name_lookup.
23337 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
23338 with O_NOLINK passed to __file_name_lookup.
23340 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
23341 negative N or less than NGIDS.
23343 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
23344 type to string_t. Set ERANGE as errno and return it if NAME is not big
23345 enough. Use memcpy instead of strncpy.
23347 2012-07-20 Joseph Myers <joseph@codesourcery.com>
23349 * elf/Makefile (check-data): Remove.
23350 (localplt.data): New vpath directive.
23351 ($(objpfx)check-localplt.out): Use localplt.data from vpath
23352 instead of $(check-data).
23353 * scripts/data/localplt-generic.data: Move to ...
23354 * sysdeps/generic/localplt.data: ... here.
23355 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
23356 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
23357 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
23358 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
23360 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
23361 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
23363 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
23364 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
23366 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
23367 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
23369 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
23370 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
23372 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
23373 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
23376 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23378 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
23379 PPC32 and PPC64 files.
23380 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
23381 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
23383 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23385 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
23386 __makecontext_ret to ...
23387 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
23388 ... here and call exit if uc_link is NULL. New file.
23389 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
23390 __makecontext_ret.S.
23391 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
23392 __makecontext_ret to ...
23393 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
23394 ... here and call exit if uc_link is NULL. New file.
23395 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
23396 __makecontext_ret.S.
23398 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23400 * elf/elf.h (R_390_IRELATIVE): New definition.
23401 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
23402 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
23403 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
23404 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
23405 (elf_machine_lazy_rel): Likewise.
23406 * sysdeps/s390/dl-irel.h: New file.
23407 * sysdeps/s390/s390-64/memcpy.S: New asm code.
23408 * sysdeps/s390/s390-64/memset.S: New asm code.
23409 * sysdeps/s390/s390-64/memcmp.S: New asm code.
23410 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
23411 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
23412 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
23413 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
23414 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
23415 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
23416 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
23417 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
23418 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
23419 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
23420 * sysdeps/s390/s390-32/memcpy.S: New asm code.
23421 * sysdeps/s390/s390-32/memset.S: New asm code.
23422 * sysdeps/s390/s390-32/memcmp.S: New asm code.
23424 2012-07-17 Marek Polacek <polacek@redhat.com>
23427 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
23428 * sysdeps/s390/s390-64/configure.in: Likewise.
23429 * sysdeps/sparc/configure.in: Likewise.
23430 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
23431 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
23432 * sysdeps/i386/configure.in: Likewise.
23433 * sysdeps/x86_64/configure.in: Likewise.
23434 * sysdeps/sh/configure.in: Likewise.
23435 * sysdeps/s390/s390-32/configure: Regenerated.
23436 * sysdeps/s390/s390-64/configure: Likewise.
23437 * sysdeps/x86_64/configure: Likewise.
23438 * sysdeps/sh/configure: Likewise.
23439 * sysdeps/powerpc/powerpc64/configure: Likewise.
23440 * sysdeps/powerpc/powerpc32/configure: Likewise.
23441 * sysdeps/sparc/configure: Likwise.
23442 * sysdeps/i386/configure: Likewise.
23444 * elf/dl-open.c: Comment fixes.
23446 2012-07-17 Joseph Myers <joseph@codesourcery.com>
23448 * Makefile [CXX] (check-data): Remove.
23449 [CXX] (c++-types.data): New vpath directive.
23450 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
23451 vpath. Do not allow for C++ type data being missing.
23452 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
23453 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
23454 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
23455 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
23456 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
23457 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
23458 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
23459 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
23461 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
23462 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
23464 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
23465 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
23467 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
23468 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
23470 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
23471 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
23473 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
23474 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
23476 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
23477 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
23479 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
23480 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
23482 * elf/tls-macros.h (TLS_LE): Move architecture-specific
23483 definitions to architecture-specific files.
23484 (TLS_IE): Likewise.
23485 (TLS_LD): Likewise.
23486 (TLS_GD): Likewise.
23487 * sysdeps/i386/tls-macros.h: New file.
23488 * sysdeps/powerpc/tls-macros.h: Likewise.
23489 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
23490 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
23491 * sysdeps/sh/tls-macros.h: Likewise.
23492 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
23493 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
23494 * sysdeps/x86_64/tls-macros.h: Likewise.
23496 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
23498 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
23499 zero value for regular exit case.
23501 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
23502 (__start_context): Preserve zero value for regular exit case.
23504 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
23505 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23507 * manual/setjmp.texi (setcontext): Clarify normal process
23508 termination when uc_link is the null pointer.
23509 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
23512 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
23514 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
23515 preprocessor. Test for each exception mask separately.
23517 2012-07-16 Andreas Jaeger <aj@suse.de>
23519 * po/ru.po: Update from translation team.
23521 2012-07-15 Joseph Myers <joseph@codesourcery.com>
23523 * conform/data/string.h-data (NULL): Use macro-constant. Require
23525 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
23526 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
23527 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
23528 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
23529 [ISO || ISO99 || ISO11] (*_t): Do not allow.
23531 2012-07-13 Andreas Jaeger <aj@suse.de>
23533 * po/fr.po: Update from translation team.
23535 2012-07-12 Marek Polacek <polacek@redhat.com>
23538 * math/libm-test.inc (yn_test): Add test for BZ #14173.
23539 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
23542 2012-07-12 Joseph Myers <joseph@codesourcery.com>
23545 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
23546 Change to 2.4.1 where previously 2.4.0.
23547 * sysdeps/unix/sysv/linux/configure: Regenerated.
23548 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
23549 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
23551 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
23552 (__ASSUME_AT_CLKTCK): Remove.
23553 (__ASSUME_AT_PAGESIZE): Likewise.
23554 (__ASSUME_AT_XID): Likewise.
23555 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
23556 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
23557 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
23559 (HAVE_AUX_PAGESIZE): Likewise.
23560 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
23561 [__ASSUME_AT_CLKTCK]: Make code unconditional.
23562 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
23564 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
23567 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
23568 the temporary buffer used to invoke __gethostbyname2_r,
23569 __gethostbyaddr_r and gethostbyname4_r to make room for struct
23570 host_data / struct gaih_addrtuple.
23571 * resolv/nss_dns/dns-host.c (global scope): Move definition of
23572 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
23573 header file nss/nsswitch.h.
23574 * nss/nsswitch.h (global scope): Add definition of implementation
23575 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
23576 resolv/nss_dns/dns-host.c).
23578 2012-07-11 Andreas Jaeger <aj@suse.de>
23580 * po/fr.po: Update from translation team.
23582 * po/sv.po: Update from translation team
23583 * po/fr.po: Another update from translation team.
23585 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23587 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
23588 for subnormals or multiply small sinh result by itself.
23589 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
23590 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23592 2012-07-11 David S. Miller <davem@davemloft.net>
23594 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23596 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
23599 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
23600 (INTERNAL_MARK): Shift it here.
23602 2012-07-10 Marek Polacek <polacek@redhat.com>
23605 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
23606 libc_cv_asm_global_directive with .globl.
23607 * configure: Regenerated.
23608 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
23610 * sysdeps/i386/configure: Regenerated.
23611 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
23613 * sysdeps/x86_64/configure: Regenerated.
23614 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
23615 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
23616 * elf/tst-unique2mod2.c: Likewise.
23617 * elf/tst-unique2mod1.c: Likewise.
23618 * elf/tst-unique1mod2.c: Likewise.
23619 * elf/tst-unique1mod1.c: Likewise.
23620 * sysdeps/s390/s390-32/sysdep.h: Likewise.
23621 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
23622 * sysdeps/s390/s390-64/sysdep.h: Likewise.
23623 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
23624 * sysdeps/mach/sysdep.h: Likewise.
23625 * sysdeps/i386/sysdep.h: Likewise.
23626 * sysdeps/i386/i386-mcount.S: Likewise.
23627 * sysdeps/x86_64/_mcount.S: Likewise.
23628 * sysdeps/x86_64/sysdep.h: Likewise.
23629 * sysdeps/sh/_mcount.S: Likewise.
23630 * sysdeps/sh/sysdep.h: Likewise.
23631 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
23632 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
23633 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
23634 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
23635 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
23636 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
23637 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
23638 * locale/localeinfo.h: Likewise.
23639 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
23640 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
23642 2012-07-09 Roland McGrath <roland@hack.frob.com>
23645 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
23647 * manual/message.texi (The Uniforum approach): Likewise.
23648 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
23649 (glibc iconv Implementation): Likewise.
23651 2012-07-09 Joseph Myers <joseph@codesourcery.com>
23654 * math/s_clog.c (__clog): Avoid scaling a value down where that
23655 could result in underflow.
23656 * math/s_clog10.c (__clog10): Likewise.
23657 * math/s_clog10f.c (__clog10f): Likewise.
23658 * math/s_clog10l.c (__clog10l): Likewise.
23659 * math/s_clogf.c (__clogf): Likewise.
23660 * math/s_clogl.c (__clogl): Likewise.
23661 * math/libm-test.inc (clog_test): Add more tests.
23662 (clog10_test): Likewise.
23663 * sysdeps/i386/fpu/libm-test-ulps: Update.
23664 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23666 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
23669 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
23670 by 7 not 8 to examine high bit of fractional part.
23673 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
23674 for call to __mcount_internal.
23675 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
23676 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
23677 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
23679 2012-07-06 Joseph Myers <joseph@codesourcery.com>
23682 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
23683 approximation for values within 0x1p-13f of an odd multiple of
23685 * math/libm-test.inc (tan_test): Do not allow spurious underflow
23686 exception. Add more tests.
23687 * sysdeps/i386/fpu/libm-test-ulps: Update.
23690 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
23691 inputs and return -1 for them. Do not check for +Inf in case not
23692 reachable for +Inf.
23693 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
23694 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
23695 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
23696 and return -1 for them. Do not check for +Inf in case not
23697 reachable for +Inf.
23698 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
23700 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
23701 and return -1 for them. Do not check for +Inf in case not
23702 reachable for +Inf.
23703 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
23704 spurious underflow.
23705 * sysdeps/i386/fpu/libm-test-ulps: Update.
23706 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23708 2012-07-06 Mike Frysinger <vapier@gentoo.org>
23710 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
23712 2012-07-05 Joseph Myers <joseph@codesourcery.com>
23716 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
23717 could result in spurious underflow. Scale down values above
23718 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
23719 * math/s_csqrtf.c (__csqrtf): Likewise.
23720 * math/s_csqrtl.c (__csqrtl): Likewise.
23721 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
23722 spurious underflow.
23723 * sysdeps/i386/fpu/libm-test-ulps: Update.
23724 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23726 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
23728 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
23730 * catgets/xopen-msg.awk: New file.
23731 * catgets/xopen-msg.sed: Removed.
23733 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
23735 * intl/po2test.awk: New file.
23736 * intl/po2test.sed: Removed.
23738 2012-07-04 Joseph Myers <joseph@codesourcery.com>
23741 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
23742 or multiply small sinh result by itself.
23743 * math/s_ctanf.c (__ctanf): Likewise.
23744 * math/s_ctanh.c (__ctanh): Likewise.
23745 * math/s_ctanhf.c (__ctanhf): Likewise.
23746 * math/s_ctanhl.c (__ctanhl): Likewise.
23747 * math/s_ctanl.c (__ctanl): Likewise.
23748 * math/libm-test.inc (ctan_test_tonearest): New function.
23749 (ctan_test_towardzero): Likewise.
23750 (ctan_test_downward): Likewise.
23751 (ctan_test_upward): Likewise.
23752 (ctanh_test_tonearest): Likewise.
23753 (ctanh_test_towardzero): Likewise.
23754 (ctanh_test_downward): Likewise.
23755 (ctanh_test_upward): Likewise.
23756 (main): Call these new functions.
23757 * sysdeps/i386/fpu/libm-test-ulps: Update.
23758 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23760 2012-07-03 Mike Frysinger <vapier@gentoo.org>
23762 * .gitignore: Delete /ports entry.
23764 2012-07-03 Andreas Jaeger <aj@suse.de>
23766 * po/bg.po: Update from translation team.
23767 * po/cs.po: Likewise.
23768 * po/de.po: Likewise.
23769 * po/hr.po: Likewise.
23770 * po/nl.pl: Likewise.
23771 * po/pl.po: Likewise.
23772 * po/vi.po: Likewise.
23774 2012-07-03 Joseph Myers <joseph@codesourcery.com>
23776 * Makeconfig [!+link] (+link-before-libc): New variable.
23777 [!+link] (+link-after-libc): Likewise.
23778 [!+link] (+link-tests): Likewise.
23779 [!+link] (+link): Define in terms of $(+link-before-libc) and
23780 $(+link-after-libc).
23781 [!+link-static] (+link-static-before-libc): New variable.
23782 [!+link-static] (+link-static-after-libc): Likewise.
23783 [!+link-static] (+link-static-tests): Likewise.
23784 [!+link-static] (+link-static): Define in terms of
23785 $(+link-static-before-libc) and $(+link-static-after-libc).
23786 [build-shared] (link-libc-before-gnulib): New variable.
23787 [build-shared] (link-libc-tests): Likewise.
23788 [build-shared] (link-libc): Define in terms of
23789 $(link-libc-before-gnulib).
23790 [!build-shared] (link-libc-tests): New variable.
23791 (link-libc-static-tests): New variable.
23792 [!gnulib] (gnulib-arch): New variable.
23793 [!gnulib] (gnulib-tests): Likewise.
23794 [!gnulib] (static-gnulib-arch): Likewise.
23795 [!gnulib] (static-gnulib-tests): Likewise.
23796 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
23797 Define with "=" instead of ":=".
23798 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
23799 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
23800 * Rules (binaries-all-notests): New variable.
23801 (binaries-all-tests): Likewise.
23802 (binaries-static-notests): Likewise.
23803 (binaries-static-tests): Likewise.
23804 (binaries-all): Define using $(binaries-all-notests) and
23805 $(binaries-all-tests).
23806 (binaries-static): Define using $(binaries-static-notests) and
23807 $(binaries-static-tests).
23808 (binaries-shared-tests): New variable.
23809 (binaries-shared-notests): Likewise.
23810 (binaries-shared): Remove variable.
23811 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
23812 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
23813 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
23814 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
23815 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
23816 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
23817 * elf/Makefile (sln-modules): New variable.
23818 (extra-objs): Add $(sln-modules:=.o).
23819 (ldconfig-modules): Add static-stubs.
23820 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
23821 * elf/static-stubs.c: New file.
23824 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
23825 by 7 not 8 to examine high bit of fractional part. Use volatile
23826 variables when splitting into final array of floats if
23827 __FLT_EVAL_METHOD__ != 0.
23828 * math/libm-test.inc (cos_test): Add another test.
23829 (sin_test): Likewise.
23830 * sysdeps/i386/fpu/libm-test-ulps: Update.
23833 * math/libm-test.inc (cosh_test): Add more tests.
23835 * version.h (RELEASE): Set to "development".
23836 (VERSION): Set to "2.16.90".
23838 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
23840 * NEWS: Update copyright. Remove last-updated date.
23841 Mention math library bug fixes and timezone data changes.
23842 * README: Mention GNU/Hurd, x32, and HPPA support status.
23844 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
23846 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
23848 2012-06-27 Andreas Jaeger <aj@suse.de>
23850 * manual/contrib.texi (Contributors): Add Samuel Thibault.
23852 2012-06-25 Andreas Jaeger <aj@suse.de>
23854 * sysdeps/s390/fpu/libm-test-ulps: Update.
23856 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
23857 Thomas Schwinge <thomas@codesourcery.com>
23859 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
23860 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
23861 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
23864 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
23866 * sysdeps/mach/start.c: Remove file.
23867 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
23868 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
23869 * sysdeps/sh/init-first.c: Likewise.
23871 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
23872 registers for frame unwinding purposes, add CFI directives.
23873 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
23874 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
23875 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
23878 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
23879 __fortify_fail returning.
23880 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
23882 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
23883 sysdeps/sh/____longjmp_chk.S.
23884 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
23885 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
23886 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
23887 (gen-as-const-headers): Append sigaltstack-offsets.sym.
23889 * sysdeps/sh/abort-instr.h: New file.
23890 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
23891 process in case exit returns.
23893 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
23894 initialize the GOT register before use.
23896 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
23897 calculation of ARGC > 4.
23899 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
23900 meaningful names to some local labels.
23902 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
23903 Kaz Kojima <kkojima@rr.iij4u.or.jp>
23905 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
23906 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
23907 (__arch_compare_and_exchange_val_16_acq): Likewise.
23908 (__arch_compare_and_exchange_val_32_acq): Likewise.
23909 (atomic_exchange_and_add): Fix gUSA sequence.
23910 (atomic_add): Likewise.
23911 (atomic_add_negative): Likewise.
23912 (atomic_add_zero): Likewise.
23913 (atomic_bit_test_set): Likewise.
23915 2012-06-22 Andreas Schwab <schwab@redhat.com>
23918 * include/link.h (struct link_map): Add l_free_initfini.
23919 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
23921 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
23922 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
23923 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
23926 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
23928 * configure.in: Use AC_LANG_SOURCE.
23929 * configure: Regenerate.
23931 2012-06-22 Roland McGrath <roland@hack.frob.com>
23933 * configure.in (libc_cv_localstatedir): New substituted variable.
23934 * configure: Regenerated.
23935 * config.make.in (localstatedir): New variable, substituted from
23936 libc_cv_localstatedir.
23937 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
23938 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
23939 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
23940 * sysdeps/gnu/configure: Regenerated.
23942 2012-06-21 Jeff Law <law@redhat.com>
23945 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
23946 free. Simplify list management for _LIBC case.
23948 2012-06-21 Joseph Myers <joseph@codesourcery.com>
23951 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
23952 Clear sign bit of 64-bit integer value before comparing against
23955 * sysdeps/mach/configure: Regenerated.
23957 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
23960 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
23962 2012-06-21 Jeff Law <law@redhat.com>
23965 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
23966 uint16_t for elements in the "seen" array to avoid char overflows.
23967 * elf/dl-fini.c (_dl_sort_fini): Likewise.
23968 * elf/dl-open.c (dl_open_worker): Likewise.
23970 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
23972 * scripts/list-sources.sh: Scan PORTS for translations.
23973 * po/libc.pot: Regenerated.
23975 2012-06-21 Andreas Jaeger <aj@suse.de>
23978 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
23980 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
23981 * bits/byteswap-16.h (__bswap_16): Likewise.
23982 * bits/byteswap.h (__bswap_constant_16): Likewise.
23984 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
23987 * sysdeps/i386/fpu_control.h: Removed.
23988 * sysdeps/x86_64/fpu_control.h: Moved to ...
23989 * sysdeps/x86/fpu_control.h: Here.
23991 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
23992 (_FPU_SETCW): Likewise.
23994 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
23997 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
23998 * sysdeps/x86/fpu/bits/mathinline.h: This.
23999 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
24003 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
24004 functions if __x86_64__ is defined.
24006 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
24008 * string/endian.h: Add !__ASSEMBLER__ condition for including
24009 conversion interfaces.
24011 2012-06-15 Joseph Myers <joseph@codesourcery.com>
24014 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
24015 of ABS(x) in calculating zero to negative powers other than odd
24017 * math/libm-test.inc (pow_test): Add more tests.
24019 2012-06-15 Andreas Jaeger <aj@suse.de>
24021 * manual/contrib.texi (Contributors): Update entry of Liubov
24022 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
24025 2012-06-15 Cyril Hrubis <metan@ucw.cz>
24027 * string/string.h: Add __wur to GNU version of strerror_r.
24029 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
24032 * string/Makefile (tests): Add tst-strtok_r.
24033 * string/tst-strtok_r.c: New file.
24034 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
24035 RAX_LP/RDX_LP on SAVE_PTR.
24037 2012-06-14 Roland McGrath <roland@hack.frob.com>
24039 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
24041 2012-06-14 Joseph Myers <joseph@codesourcery.com>
24043 * libm_test.inc (csqrt_test): Allow more spurious underflow
24045 (j0_test): Likewise.
24046 (j1_test): Likewise.
24047 (y0_test): Likewise.
24048 (y1_test): Likewise.
24050 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
24052 * po/Makefile (libc.pot): Use UTF-8 charset.
24054 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
24057 Suppress sign-conversion warning from FD_SET.
24058 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
24059 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
24060 not unsigned long int.
24061 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
24063 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
24067 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
24068 __extern_always_inline instead of __extern_inline.
24069 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
24070 (__signbit): Likewise.
24071 (__signbitl): Support C++ namespace.
24072 (lrintf): New inline function.
24074 (llrintf): Likewise.
24075 (llrint): Likewise.
24085 (floorf): Likewise.
24086 (nearbyint): Likewise.
24087 (nearbyintf): Likewise.
24089 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
24091 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
24092 non-default versions.
24094 2012-06-11 Roland McGrath <roland@hack.frob.com>
24097 * manual/argp.texi (Argp): Reword argp_parse description slightly.
24099 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
24101 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
24102 (FE_UPWARD, FE_DOWNWARD): Don't define.
24103 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
24104 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
24106 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
24108 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
24109 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
24111 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
24113 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
24114 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
24115 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
24116 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
24118 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
24121 * sysdeps/i386/fpu/bits/fenv.h: Removed.
24122 * sysdeps/i386/fpu/Implies: New file.
24123 * sysdeps/x86_64/fpu/Implies: Likewise.
24124 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
24125 * sysdeps/x86/fpu/bits/fenv.h: This.
24127 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
24130 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
24133 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
24134 character 0xffff that matches the last element of the
24137 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24139 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
24142 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24144 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
24145 values higher than 25.6283.
24147 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24149 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
24150 subnormal exponent extraction and add some __builtin_expect.
24151 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
24152 Fix for subnormal mantissa calculation.
24154 2012-06-04 Mike Frysinger <vapier@gentoo.org>
24156 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
24157 cpu2 is -1 and errno is not ENOSYS.
24159 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
24162 * sysdeps/i386/i486/bits/string.h: Renamed to ...
24163 * sysdeps/x86/bits/string.h: This.
24164 * sysdeps/x86_64/bits/string.h: Removed.
24166 * sysdeps/i386/i486/bits/string.h: Define inline functions only
24167 if not compiling for x86-64, but compiling for >= i486.
24169 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
24170 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
24172 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
24173 New macro from Linux kernel 3.4.0.
24174 (FP_XSTATE_MAGIC2): Likewise.
24175 (FP_XSTATE_MAGIC2_SIZE): Likewise.
24176 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
24177 (struct _fpx_sw_bytes): New struct.
24178 (struct _xsave_hdr): Likewise.
24179 (struct _ymmh_state): Likewise.
24180 (struct _xstate): Likewise.
24182 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
24183 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
24184 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
24185 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
24186 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
24187 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
24189 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
24190 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
24191 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
24192 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
24193 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
24194 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
24196 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24199 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
24200 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
24201 (sysdep_headers): Include sys/platform/ppc.h.
24202 * sysdeps/powerpc/test-gettimebase.c: Test for
24203 __ppc_get_timebase() to catch future ISA opcode/insn changes.
24204 * manual/Makefile (appendices): Include platform.texi.
24205 * manual/contrib.texi (Contributors): Update @node pointers.
24206 * manual/maint.texi (Maintenance): Likewise.
24207 (Platform): New node.
24208 * manual/platform.texi: New file. Document the new features.
24210 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
24211 Jakub Jelinek <jakub@redhat.com>
24214 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
24215 where __builtin_expect is unavailable.
24217 2012-06-03 David S. Miller <davem@davemloft.net>
24219 * stdlib/longlong.h: Updated from GCC.
24221 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
24224 * sysdeps/powerpc/powerpc32/mcount.c: New file.
24225 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
24227 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
24228 (GLIBC_2.16): Likewise.
24230 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
24232 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
24234 2012-06-01 Joseph Myers <joseph@codesourcery.com>
24236 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
24237 (default-abi): New variable.
24238 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
24239 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
24241 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
24243 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
24245 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
24248 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
24249 definition. Document in comment.
24251 2012-06-01 David S. Miller <davem@davemloft.net>
24253 * stdlib/longlong.h: Updated from GCC.
24255 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
24258 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
24259 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
24260 sys/debugreg.h sys/io.h here.
24261 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
24262 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
24264 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
24265 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
24266 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
24267 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
24268 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
24269 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
24271 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
24272 Define only if __x86_64__ is defined.
24274 2012-06-01 Joseph Myers <joseph@codesourcery.com>
24277 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
24278 Use int64_t for variable i.
24279 * math/libm-test.inc (fmod_test): Add more tests.
24281 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
24282 z computation is not scheduled after fetestexcept.
24283 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
24284 Use math_force_eval instead of asm to ensure calculation scheduled
24285 before exception test.
24286 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
24287 Ensure a1 + u.d computation is not scheduled after fetestexcept.
24289 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
24291 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
24292 computation is not scheduled after fetestexcept.
24294 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
24297 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
24298 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
24300 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24302 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
24303 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
24305 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
24308 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
24310 (__WCHAR_MIN): Support __WORDSIZE == 64.
24311 (__WCHAR_MAX): Likewise.
24313 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
24314 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
24317 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
24318 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
24321 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
24322 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
24324 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
24325 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
24327 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
24328 Defined to 1 if __x86_64__ isn't defined.
24329 (_STAT_VER_LINUX_OLD): New.
24330 (st_atime): Remove duplicate.
24331 (st_mtime): Likewise.
24332 (st_ctime): Likewise.
24334 2012-05-31 David S. Miller <davem@davemloft.net>
24336 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
24339 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
24341 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
24345 * elf/dl-reloc.c: Include <_itoa.h>.
24346 (_dl_reloc_bad_type): Remove use of INTUSE.
24347 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
24348 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
24349 * stdio-common/psiginfo.c (psiginfo): Likewise.
24350 * stdio-common/psignal.c (psignal): Likewise.
24351 * string/strsignal.c (strsignal): Likewise.
24352 * include/signal.h (_sys_siglist): Declare hidden proto.
24353 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
24354 INTVARDEF with libc_hidden_data_def.
24355 * stdio-common/itoa-udigits.c: Likewise.
24356 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
24357 (_itoa_lower_digits_internal): Remove declaration.
24358 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
24359 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
24360 (_sys_sigabbrev_internal): Remove aliases.
24361 (_sys_siglist): Define hidden alias.
24363 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
24365 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24368 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
24371 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
24372 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
24374 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
24375 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
24376 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
24377 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
24378 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
24379 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
24381 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
24382 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
24383 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
24385 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
24393 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
24394 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
24395 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
24397 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
24398 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
24399 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
24400 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
24401 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
24402 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
24404 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
24405 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
24407 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
24408 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
24410 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
24411 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
24412 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
24414 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
24415 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
24417 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
24419 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
24420 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
24421 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
24423 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
24425 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
24427 2012-05-31 Joseph Myers <joseph@codesourcery.com>
24429 * math/math.h (M_El): Use two more decimal places.
24430 (M_LOG2El): Likewise.
24431 (M_LOG10El): Likewise.
24432 (M_LN2l): Likewise.
24433 (M_LN10l): Likewise.
24435 (M_PI_2l): Likewise.
24436 (M_PI_4l): Likewise.
24437 (M_1_PIl): Likewise.
24438 (M_2_PIl): Likewise.
24439 (M_2_SQRTPIl): Likewise.
24440 (M_SQRT2l): Likewise.
24441 (M_SQRT1_2l): Likewise.
24443 2012-05-31 David S. Miller <davem@davemloft.net>
24445 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
24446 values between float registers.
24447 * sysdeps/sparc/sparc64/memset.S: Likewise.
24448 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
24450 2012-05-31 Mike Frysinger <vapier@gentoo.org>
24452 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
24453 -D_FORTIFY_SOURCE=1.
24454 (CPPFLAGS-tst-longjmp_chk.c): Define.
24455 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
24456 (CPPFLAGS-tst-longjmp_chk2.c): Define.
24457 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
24458 CFLAGS-tst-wchar-h.c.
24460 2012-05-31 Marek Polacek <polacek@redhat.com>
24463 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
24464 __endmntent_internal): Remove declaration.
24465 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
24466 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
24467 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
24469 2012-05-30 David S. Miller <davem@davemloft.net>
24471 * sysdeps/sparc/sparc32/soft-fp/q_util.c
24472 (___Q_simulate_exceptions): Use real FP ops rather than writing
24474 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
24477 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
24480 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
24481 * sysdeps/x86/bits/xtitypes.h: This.
24483 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
24484 * sysdeps/x86/bits/wordsize.h: This.
24486 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
24487 * sysdeps/x86/bits/huge_vall.h: This.
24489 * sysdeps/i386/bits/select.h: Removed.
24490 * sysdeps/x86_64/bits/select.h: Renamed to ...
24491 * sysdeps/x86/bits/select.h: This.
24493 * sysdeps/i386/bits/setjmp.h: Removed.
24494 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
24495 * sysdeps/x86/bits/setjmp.h: This.
24497 * sysdeps/i386/bits/mathdef.h: Removed.
24498 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
24499 * sysdeps/x86/bits/mathdef.h: This.
24501 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
24504 * include/sys/socket.h (__connect_internal)
24505 (__libc_sa_len_internal): Remove declaration.
24506 (__connect, __libc_sa_len): Declare hidden_proto.
24507 (SA_LEN): Remove use of INTUSE.
24508 * socket/connect.c: Add libc_hidden_def.
24509 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
24510 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
24511 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
24513 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
24514 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
24515 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
24516 of adding _internal alias.
24518 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
24521 * sysdeps/i386/bits/link.h: Removed.
24522 * sysdeps/i386/bits/linkmap.h: Likewise.
24523 * sysdeps/x86_64/bits/link.h: Renamed to ...
24524 * sysdeps/x86/bits/link.h: This.
24525 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
24526 * sysdeps/x86/bits/linkmap.h: This.
24528 * sysdeps/i386/bits/endian.h: Removed.
24529 * sysdeps/x86_64/bits/endian.h: Renamed to ...
24530 * sysdeps/x86/bits/endian.h: This.
24532 * sysdeps/i386/bits/byteswap.h: Removed.
24533 * sysdeps/i386/bits/byteswap-16.h: Likewise.
24534 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
24535 * sysdeps/x86/bits/byteswap.h: This.
24536 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
24537 * sysdeps/x86/bits/byteswap-16.h: This.
24538 * sysdeps/i386/Implies: Add x86.
24539 * sysdeps/x86_64/Implies: Likewise.
24541 2012-05-30 David S. Miller <davem@davemloft.net>
24543 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
24544 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
24545 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
24546 (FP_TRAPPING_EXCEPTIONS): Define.
24547 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
24548 (FP_TRAPPING_EXCEPTIONS): Define.
24549 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
24550 subnormals only when inexact has been signalled or underflow
24551 exceptions are enabled.
24552 (_FP_PACK_CANONICAL): Likewise.
24554 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
24557 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
24558 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
24560 2012-05-30 Richard Henderson <rth@twiddle.net>
24562 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
24563 with #ifndef NOT_IN_libc.
24565 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
24566 marked to avoid plt entry.
24568 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
24571 * Makeconfig (default-abi): New macro.
24572 (abi-includes): Likewise.
24573 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
24574 $(abi-$(default-abi)-lib-soname) for soname if defined.
24575 ($(common-objpfx)gnu/lib-names.stmp): Generate from
24577 * Makefile (installed-stubs): Likewise.
24578 * include/stubs-biarch.h: Removed.
24579 * scripts/lib-names.awk: Only handle one library at a time.
24580 * scripts/soversions.awk: Remove WORDSIZE support.
24581 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
24583 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
24585 (syscall-list-default-condition): Likewise.
24586 (syscall-list-default-condition): Likewise.
24587 (syscall-list-includes): Likewise.
24588 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
24589 syscall-list-* with abi-*. Handle undefined abi-variants.
24590 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
24591 * sysdeps/unix/sysv/linux/i386/Implies: New file.
24592 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
24593 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
24594 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
24595 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
24597 (syscall-list-32-options): Likewise.
24598 (syscall-list-32-condition): Likewise.
24599 (syscall-list-64-options): Likewise.
24600 (syscall-list-64-condition): Likewise.
24601 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
24603 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
24606 (abi-64-ld-soname): New macro.
24607 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
24608 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
24611 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
24612 * sysdeps/x86_64/x32/shlib-versions: Likewise.
24614 2012-05-30 Joseph Myers <joseph@codesourcery.com>
24616 * sysdeps/unix/sysv/linux/kernel-features.h
24617 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
24618 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
24619 include <kernel-features.h>.
24620 [!__NR_ftruncate64]: Remove conditional code.
24621 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
24622 [__NR_ftruncate64]: Make code unconditional.
24623 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
24624 * sysdeps/unix/sysv/linux/truncate64.c: Do not
24625 include <kernel-features.h>.
24626 [!__NR_ftruncate64]: Remove conditional code.
24627 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
24628 [__NR_ftruncate64]: Make code unconditional.
24629 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
24630 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
24631 include <kernel-features.h>.
24632 [!__NR_ftruncate64]: Remove conditional code.
24633 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
24634 [__NR_ftruncate64]: Make code unconditional.
24635 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
24636 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
24637 include <kernel-features.h>.
24638 [!__NR_ftruncate64]: Remove conditional code.
24639 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
24640 [__NR_ftruncate64]: Make code unconditional.
24641 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
24643 * configure.in (libc_cv_fpie): Weaken to a compile test using
24644 LIBC_TRY_CC_OPTION.
24645 * configure: Regenerated.
24647 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24649 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
24650 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
24651 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
24652 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
24654 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
24655 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
24656 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
24657 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
24658 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
24659 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
24662 2012-05-27 David S. Miller <davem@davemloft.net>
24664 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
24666 (__Q_simulate_exceptions): Return void. Change to simulate
24667 exceptions by writing into the %fsr.
24668 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
24669 (__Qp_handle_exceptions): Likewise.
24671 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
24672 __Qp_handle_exceptions.
24673 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
24674 __Qp_handle_exceptions.
24675 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
24676 as unused and give dummy FP_RND_NEAREST initializer.
24677 (FP_INHIBIT_RESULTS): Define.
24678 (___Q_simulate_exceptions): Update declaration.
24679 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
24681 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
24682 as unused and give dummy FP_RND_NEAREST initializer.
24683 (__Qp_handle_exceptions): Update declaration.
24684 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
24687 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
24689 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
24690 the temporary FPU control word.
24691 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
24692 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
24693 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
24694 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
24695 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
24696 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
24697 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
24698 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
24699 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
24700 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
24701 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
24703 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
24705 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
24708 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
24710 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
24711 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
24712 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
24713 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
24715 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
24716 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
24719 2012-05-27 Ulrich Drepper <drepper@gmail.com>
24721 * po/h.po: Update from translation team.
24723 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
24725 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
24727 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
24728 handling of denormals.
24729 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
24730 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
24731 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
24732 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
24733 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
24734 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
24735 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
24738 2012-05-26 Marek Polacek <polacek@redhat.com>
24741 * math/libm-test.inc (fma_test): Don't always expect underflow
24744 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
24747 * elf/tst-execstack.c: Include stackinfo.h.
24748 (do_test): Adjust test case to ensure that pthread_getattr_np
24749 behaviour remains the same after marking stack executable.
24751 2012-05-25 Joseph Myers <joseph@codesourcery.com>
24753 * sysdeps/unix/sysv/linux/kernel-features.h
24754 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
24755 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
24757 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
24758 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
24759 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
24761 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
24762 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
24764 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
24766 * configure.in: Define the default includes to being none.
24767 * configure: Regenerated.
24769 2012-05-25 Roland McGrath <roland@hack.frob.com>
24771 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
24772 * sysdeps/x86_64/setjmp.S: Likewise.
24773 * sysdeps/i386/bsd-setjmp.S: Likewise.
24774 * sysdeps/i386/bsd-_setjmp.S: Likewise.
24775 * sysdeps/i386/setjmp.S: Likewise.
24776 * sysdeps/i386/__longjmp.S: Likewise.
24777 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
24778 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
24780 * include/stap-probe.h: New file.
24781 * configure.in: Handle --enable-systemtap.
24782 * configure: Regenerated.
24783 * config.h.in (USE_STAP_PROBE): New #undef.
24784 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
24785 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
24786 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
24788 2012-05-25 Joseph Myers <joseph@codesourcery.com>
24791 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
24792 to 2.4.0 where earlier.
24793 * sysdeps/unix/sysv/linux/configure: Regenerated.
24794 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
24795 <kernel-features.h>.
24796 [__ASSUME_32BITUIDS]: Make code unconditional.
24797 [!__ASSUME_32BITUIDS]: Remove conditional code.
24798 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
24799 <kernel-features.h>.
24800 [__ASSUME_32BITUIDS]: Make code unconditional.
24801 [!__ASSUME_32BITUIDS]: Remove conditional code.
24802 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
24803 [__ASSUME_32BITUIDS]: Make code unconditional.
24804 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
24805 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
24806 <kernel-features.h>.
24807 [__ASSUME_32BITUIDS]: Make code unconditional.
24808 [!__ASSUME_32BITUIDS]: Remove conditional code.
24809 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
24810 <kernel-features.h>.
24811 [__ASSUME_32BITUIDS]: Make code unconditional.
24812 [!__ASSUME_32BITUIDS]: Remove conditional code.
24813 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
24814 <kernel-features.h>.
24815 [__ASSUME_32BITUIDS]: Make code unconditional.
24816 [!__ASSUME_32BITUIDS]: Remove conditional code.
24817 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
24818 <kernel-features.h>.
24819 [__ASSUME_32BITUIDS]: Make code unconditional.
24820 [!__ASSUME_32BITUIDS]: Remove conditional code.
24821 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
24822 <kernel-features.h>.
24823 [__ASSUME_32BITUIDS]: Make code unconditional.
24824 [!__ASSUME_32BITUIDS]: Remove conditional code.
24825 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
24826 <kernel-features.h>.
24827 [__ASSUME_32BITUIDS]: Make code unconditional.
24828 [!__ASSUME_32BITUIDS]: Remove conditional code.
24829 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
24830 <kernel-features.h>.
24831 [__ASSUME_32BITUIDS]: Make code unconditional.
24832 [!__ASSUME_32BITUIDS]: Remove conditional code.
24833 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
24834 <kernel-features.h>.
24835 [__ASSUME_32BITUIDS]: Make code unconditional.
24836 [!__ASSUME_32BITUIDS]: Remove conditional code.
24837 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
24838 <kernel-features.h>.
24839 [__ASSUME_32BITUIDS]: Make code unconditional.
24840 [!__ASSUME_32BITUIDS]: Remove conditional code.
24841 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
24842 <kernel-features.h>.
24843 [__ASSUME_32BITUIDS]: Make code unconditional.
24844 [!__ASSUME_32BITUIDS]: Remove conditional code.
24845 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
24846 <kernel-features.h>.
24847 [__NR_setresgid] (__setresgid): Do not declare.
24848 [__ASSUME_32BITUIDS]: Make code unconditional.
24849 [!__ASSUME_32BITUIDS]: Remove conditional code.
24850 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
24851 <kernel-features.h>.
24852 [__NR_setresuid] (__setresuid): Do not declare.
24853 [__ASSUME_32BITUIDS]: Make code unconditional.
24854 [!__ASSUME_32BITUIDS]: Remove conditional code.
24855 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
24856 <kernel-features.h>.
24857 [__ASSUME_32BITUIDS]: Make code unconditional.
24858 [!__ASSUME_32BITUIDS]: Remove conditional code.
24859 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
24860 <kernel-features.h>.
24861 [__ASSUME_32BITUIDS]: Make code unconditional.
24862 [!__ASSUME_32BITUIDS]: Remove conditional code.
24863 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
24864 <kernel-features.h>.
24865 [__ASSUME_32BITUIDS]: Make code unconditional.
24866 [!__ASSUME_32BITUIDS]: Remove conditional code.
24867 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
24868 <kernel-features.h>.
24869 [__ASSUME_32BITUIDS]: Make code unconditional.
24870 [!__ASSUME_32BITUIDS]: Remove conditional code.
24871 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
24872 <kernel-features.h>.
24873 [__ASSUME_32BITUIDS]: Make code unconditional.
24874 [!__ASSUME_32BITUIDS]: Remove conditional code.
24875 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
24876 <kernel-features.h>.
24877 [__ASSUME_32BITUIDS]: Make code unconditional.
24878 [!__ASSUME_32BITUIDS]: Remove conditional code.
24879 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
24880 <kernel-features.h>.
24881 [__ASSUME_32BITUIDS]: Make code unconditional.
24882 [!__ASSUME_32BITUIDS]: Remove conditional code.
24883 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
24884 <kernel-features.h>.
24885 [__ASSUME_32BITUIDS]: Make code unconditional.
24886 [!__ASSUME_32BITUIDS]: Remove conditional code.
24887 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
24888 <kernel-features.h>.
24889 [__ASSUME_32BITUIDS]: Make code unconditional.
24890 [!__ASSUME_32BITUIDS]: Remove conditional code.
24891 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
24892 <kernel-features.h>.
24893 [__ASSUME_32BITUIDS]: Make code unconditional.
24894 [!__ASSUME_32BITUIDS]: Remove conditional code.
24895 * sysdeps/unix/sysv/linux/kernel-features.h
24896 (__ASSUME_SETRESUID_SYSCALL): Remove.
24897 (__ASSUME_SETRESGID_SYSCALL): Likewise.
24898 (__ASSUME_32BITUIDS): Likewise.
24899 (__ASSUME_LDT_WORKS): Likewise.
24900 (__ASSUME_O_DIRECTORY): Likewise.
24901 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
24902 architecture but not kernel version.
24903 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
24904 (__ASSUME_MMAP2_SYSCALL): Likewise.
24905 (__ASSUME_STAT64_SYSCALL): Likewise.
24906 (__ASSUME_IPC64): Likewise.
24907 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
24908 <kernel-features.h>.
24909 [__ASSUME_32BITUIDS]: Make code unconditional.
24910 [!__ASSUME_32BITUIDS]: Remove conditional code.
24911 * sysdeps/unix/sysv/linux/opendir.c: Do not include
24912 <kernel-features.h>.
24913 [__ASSUME_O_DIRECTORY]: Make code unconditional.
24914 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
24915 132096]: Remove conditional code.
24916 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
24917 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
24918 <kernel-features.h>.
24919 [__ASSUME_32BITUIDS]: Make code unconditional.
24920 [!__ASSUME_32BITUIDS]: Remove conditional code.
24921 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
24922 <kernel-features.h>.
24923 [__ASSUME_32BITUIDS]: Make code unconditional.
24924 [!__ASSUME_32BITUIDS]: Remove conditional code.
24925 * sysdeps/unix/sysv/linux/setegid.c: Do not include
24926 <kernel-features.h>.
24927 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
24929 (__setresgid): Do not declare.
24930 [__ASSUME_32BITUIDS]: Make code unconditional.
24931 [!__ASSUME_32BITUIDS]: Remove conditional code.
24932 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
24933 <kernel-features.h>.
24934 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
24936 (__setresuid): Do not declare.
24937 [__ASSUME_32BITUIDS]: Make code unconditional.
24938 [!__ASSUME_32BITUIDS]: Remove conditional code.
24939 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
24940 <kernel-features.h>.
24941 [__ASSUME_32BITUIDS]: Make code unconditional.
24942 [!__ASSUME_32BITUIDS]: Remove conditional code.
24943 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
24944 <kernel-features.h>.
24945 [__ASSUME_32BITUIDS]: Make code unconditional.
24946 [!__ASSUME_32BITUIDS]: Remove conditional code.
24948 2012-05-25 Richard Henderson <rth@twiddle.net>
24950 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
24951 dl_hwcap to ifunc resolver.
24952 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
24954 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
24955 dl_hwcap to ifunc resolver.
24956 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
24958 2012-05-24 Joseph Myers <joseph@codesourcery.com>
24961 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
24962 for |x| <= 2**-26, not 2**-57.
24963 * math/libm-test.inc (acos_test): Do not allow spurious underflow
24966 2012-05-24 Jeff Law <law@redhat.com>
24968 * stdio-common/Makefile (tests): Add bug25.
24969 * stdio-common/bug25.c: New test.
24971 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
24974 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
24975 multiple of MALLOC_ALIGNMENT in size.
24976 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
24978 2012-05-24 Joseph Myers <joseph@codesourcery.com>
24980 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
24982 (FILENAME_MAX): Use macro-int-constant.
24983 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
24984 (_IOFBF): Use macro-int-constant.
24985 (_IOLBF): Likewise.
24986 (_IONBF): Likewise.
24987 (SEEK_CUR): Likewise.
24988 (SEEK_END): Likewise.
24989 (SEEK_SET): Likewise.
24990 (TMP_MAX): Likewise.
24991 (EOF): Use macro-int-constant. Require < 0.
24992 (NULL): Use macro-constant. Require == 0.
24993 (stdin): Require type to be FILE *.
24994 (stdout): Likewise.
24995 (stderr): Likewise.
24996 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
24997 macro-int-constant.
24998 (EXIT_SUCCESS): Likewise.
24999 (NULL): Use macro-constant. Require == 0.
25000 (RAND_MAX): Use macro-int-constant.
25001 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
25002 [C99-based standards] (strtof): Require function.
25003 [C99-based standards] (strtold): Likewise.
25004 [C99-based standards] (strtoll): Likewise.
25005 [C99-based standards] (strtoull): Likewise.
25006 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
25007 [ISO || ISO99 || ISO11] (limits.h): Likewise.
25008 [ISO || ISO99 || ISO11] (math.h): Likewise.
25009 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
25010 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
25011 [ISO || ISO99 || ISO11] (*_t): Do not allow.
25013 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
25016 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
25017 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
25018 * intl/dgettext.c (DCGETTEXT): Likewise.
25019 * intl/gettext.c (DCGETTEXT): Likewise.
25020 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
25021 * posix/regex_internal.h (gettext): Likewise.
25022 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
25023 Remove declaration.
25024 * include/argz.h (__argz_count_internal)
25025 (__argz_stringify_internal): Remove declaration.
25026 (__argz_count, __argz_stringify): Declare hidden proto.
25027 * intl/dcgettext.c: Remove use of INTDEF.
25028 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
25029 * string/argz-stringify.c: Likewise.
25030 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
25031 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
25032 Declare hidden proto.
25033 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
25034 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
25035 Declare hidden proto.
25036 * include/stdio.h (__asprintf_internal): Don't declare.
25037 (__asprintf): Don't define as macro. Declare hidden proto.
25038 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
25039 (__fsetlocking): Declare hidden proto.
25040 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
25041 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
25043 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
25044 (_IO_setlinebuf): Remove use of INTUSE.
25045 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
25046 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
25047 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
25048 Remove declaration.
25049 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
25050 (_IO_do_flush): Remove use of INTUSE.
25051 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
25052 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
25053 (_IO_adjust_column, _IO_least_wmarker)
25054 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
25055 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
25056 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
25057 (_IO_default_doallocate, _IO_wdefault_doallocate)
25058 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
25059 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
25060 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
25061 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
25062 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
25063 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
25064 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
25065 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
25066 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
25067 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
25068 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
25069 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
25070 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
25072 (_IO_flush_all_internal, _IO_adjust_column_internal)
25073 (_IO_default_uflow_internal, _IO_default_finish_internal)
25074 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
25075 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
25076 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
25077 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
25078 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
25079 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
25080 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
25081 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
25082 (_IO_file_close_internal, _IO_file_close_it_internal)
25083 (_IO_file_underflow_internal, _IO_file_overflow_internal)
25084 (_IO_file_init_internal, _IO_file_attach_internal)
25085 (_IO_file_fopen_internal, _IO_file_read_internal)
25086 (_IO_file_sync_internal, _IO_file_seek_internal)
25087 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
25088 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
25089 (_IO_str_underflow_internal, _IO_str_overflow_internal)
25090 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
25091 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
25092 (_IO_list_all_internal, _IO_link_in_internal)
25093 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
25094 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
25095 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
25096 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
25097 (_IO_do_write_internal, _IO_padn_internal)
25098 (_IO_getline_info_internal, _IO_getline_internal)
25099 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
25100 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
25101 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
25102 (_IO_vfscanf_internal, _IO_vfprintf_internal)
25103 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
25104 (_IO_init_internal, _IO_un_link_internal): Don't declare.
25105 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
25106 with libc_hidden_ver, remove use of INTUSE.
25107 * libio/genops.c: Likewise.
25108 * libio/freopen.c: Likewise.
25109 * libio/freopen64.c: Likewise.
25110 * libio/iofclose.c: Likewise.
25111 * libio/iofdopen.c: Likewise.
25112 * libio/iofflush.c: Likewise.
25113 * libio/iofflush_u.c: Likewise.
25114 * libio/iofgets.c: Likewise.
25115 * libio/iofgets_u.c: Likewise.
25116 * libio/iofopen.c: Likewise.
25117 * libio/iofopncook.c: Likewise.
25118 * libio/iofread.c: Likewise.
25119 * libio/iofread_u.c: Likewise.
25120 * libio/ioftell.c: Likewise.
25121 * libio/iofwrite.c: Likewise.
25122 * libio/iogetline.c: Likewise.
25123 * libio/iogets.c: Likewise.
25124 * libio/iogetwline.c: Likewise.
25125 * libio/iopadn.c: Likewise.
25126 * libio/iopopen.c: Likewise.
25127 * libio/ioseekoff.c: Likewise.
25128 * libio/ioseekpos.c: Likewise.
25129 * libio/iosetbuffer.c: Likewise.
25130 * libio/iosetvbuf.c: Likewise.
25131 * libio/ioungetc.c: Likewise.
25132 * libio/ioungetwc.c: Likewise.
25133 * libio/iovdprintf.c: Likewise.
25134 * libio/iovsprintf.c: Likewise.
25135 * libio/iovsscanf.c: Likewise.
25136 * libio/memstream.c: Likewise.
25137 * libio/obprintf.c: Likewise.
25138 * libio/oldfileops.c: Likewise.
25139 * libio/oldiofclose.c: Likewise.
25140 * libio/oldiofdopen.c: Likewise.
25141 * libio/oldiofopen.c: Likewise.
25142 * libio/oldiopopen.c: Likewise.
25143 * libio/oldstdfiles.c: Likewise.
25144 * libio/putc.c: Likewise.
25145 * libio/setbuf.c: Likewise.
25146 * libio/setlinebuf.c: Likewise.
25147 * libio/stdfiles.c: Likewise.
25148 * libio/strops.c: Likewise.
25149 * libio/vasprintf.c: Likewise.
25150 * libio/vscanf.c: Likewise.
25151 * libio/vsnprintf.c: Likewise.
25152 * libio/vswprintf.c: Likewise.
25153 * libio/wfiledoalloc.c: Likewise.
25154 * libio/wfileops.c: Likewise.
25155 * libio/wgenops.c: Likewise.
25156 * libio/wmemstream.c: Likewise.
25157 * libio/wstrops.c: Likewise.
25158 * libio/__fpurge.c: Likewise.
25159 * libio/__fsetlocking.c: Likewise.
25160 * assert/assert.c: Likewise.
25161 * debug/fgets_chk.c: Likewise.
25162 * debug/fgets_u_chk.c: Likewise.
25163 * debug/fread_chk.c: Likewise.
25164 * debug/fread_u_chk.c: Likewise.
25165 * debug/gets_chk.c: Likewise.
25166 * debug/obprintf_chk.c: Likewise.
25167 * debug/vasprintf_chk.c: Likewise.
25168 * debug/vdprintf_chk.c: Likewise.
25169 * debug/vsnprintf_chk.c: Likewise.
25170 * debug/vsprintf_chk.c: Likewise.
25171 * malloc/mtrace.c: Likewise.
25172 * misc/error.c: Likewise.
25173 * misc/syslog.c: Likewise.
25174 * stdio-common/asprintf.c: Likewise.
25175 * stdio-common/fxprintf.c: Likewise.
25176 * stdio-common/getw.c: Likewise.
25177 * stdio-common/isoc99_fscanf.c: Likewise.
25178 * stdio-common/isoc99_scanf.c: Likewise.
25179 * stdio-common/isoc99_vfscanf.c: Likewise.
25180 * stdio-common/isoc99_vscanf.c: Likewise.
25181 * stdio-common/isoc99_vsscanf.c: Likewise.
25182 * stdio-common/printf-prs.c: Likewise.
25183 * stdio-common/printf_fp.c: Likewise.
25184 * stdio-common/printf_fphex.c: Likewise.
25185 * stdio-common/printf_size.c: Likewise.
25186 * stdio-common/putw.c: Likewise.
25187 * stdio-common/scanf.c: Likewise.
25188 * stdio-common/sprintf.c: Likewise.
25189 * stdio-common/tmpfile.c: Likewise.
25190 * stdio-common/vfprintf.c: Likewise.
25191 * stdio-common/vfscanf.c: Likewise.
25192 * stdlib/strfmon_l.c: Likewise.
25193 * sunrpc/openchild.c: Likewise.
25194 * sunrpc/xdr_stdio.c: Likewise.
25195 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
25196 * sysdeps/mach/hurd/tmpfile.c: Likewise.
25198 2012-05-24 Roland McGrath <roland@hack.frob.com>
25200 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
25202 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
25203 in the third column, to generate for the shared library an IFUNC
25204 that uses _dl_vdso_vsym.
25205 * Makerules (COMPILE.c, compile-stdin.c): New variables.
25206 * Makeconfig (object-suffixes-noshared): New variable.
25208 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
25209 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
25210 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
25211 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
25214 * include/sys/time.h (__gettimeofday): Remove macro.
25215 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
25216 * time/gettimeofday.c (__gettimeofday): Remove #undef.
25218 (__gettimeofday): Add libc_hidden_def.
25219 (gettimeofday): Add libc_hidden_weak.
25220 * sysdeps/mach/gettimeofday.c: Likewise.
25221 * sysdeps/posix/gettimeofday.c: Likewise.
25222 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
25223 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
25224 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
25225 (__gettimeofday_internal): Remove strong_alias.
25226 (__gettimeofday): Add libc_hidden_def.
25227 (gettimeofday): Add libc_hidden_weak.
25228 * sysdeps/unix/syscalls.list (gettimeofday):
25229 Remove __gettimeofday_internal alias.
25231 2012-05-24 Daniel Jacobowitz <drow@false.org>
25232 H.J. Lu <hongjiu.lu@intel.com>
25235 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
25236 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
25237 (largebin_index_32_big): New.
25238 (largebin_index): Use it for 16-byte alignment.
25239 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
25240 correction with front_misalign.
25242 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
25244 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
25245 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
25247 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
25249 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
25251 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
25253 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
25255 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
25257 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
25259 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
25261 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
25263 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
25265 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
25267 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
25270 * scripts/data/c++-types-x32-linux-gnu.data: New file.
25271 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
25273 2012-05-24 Joseph Myers <joseph@codesourcery.com>
25277 * math/libm-test.inc (exp_test): Add test from bug 14036.
25278 (pow_test): Add test from bug 10846.
25280 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
25282 (special_function): Do not include flags in test name.
25283 (parse_args): Likewise.
25284 * sysdeps/i386/fpu/libm-test-ulps: Update.
25285 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
25286 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
25287 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
25288 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25290 * math/gen-libm-test.pl (%beautify): Add entries for underflow
25292 * math/libm-test.inc ("Philosophy"): Update comment about
25294 (UNDERFLOW_EXCEPTION): New macro.
25295 (UNDERFLOW_EXCEPTION_OK): Likewise.
25296 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
25297 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
25298 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
25299 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
25300 (INVALID_EXCEPTION_OK): Update value.
25301 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
25302 (OVERFLOW_EXCEPTION_OK): Likewise.
25303 (IGNORE_ZERO_INF_SIGN): Likewise.
25304 (test_exceptions): Handle underflow exceptions.
25305 (acos_test): Update for underflow exception expectations.
25306 (cexp_test): Likewise.
25307 (clog_test): Likewise.
25308 (clog10_test): Likewise.
25309 (csqrt_test): Likewise.
25310 (ctan_test): Likewise.
25311 (ctanh_test): Likewise.
25312 (exp_test): Likewise.
25313 (exp10_test): Likewise.
25314 (exp2_test): Likewise.
25315 (expm1_test): Likewise.
25316 (fma_test): Likewise.
25317 (j0_test): Likewise.
25318 (jn_test): Likewise.
25319 (nexttoward_test): Likewise.
25320 (pow_test): Likewise.
25321 (scalbn_test): Likewise.
25322 (scalbln_test): Likewise.
25323 (tan_test): Likewise.
25324 (y1_test): Likewise.
25325 * sysdeps/i386/fpu/libm-test-ulps: Update.
25326 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25328 2012-05-23 David S. Miller <davem@davemloft.net>
25330 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
25331 (__libc_sigaction): Remove unused local variables.
25333 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
25335 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
25337 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
25339 mktime: avoid signed integer overflow
25340 * time/mktime.c (__mktime_internal): Do not mishandle the case
25341 where diff == INT_MIN.
25343 mktime: simplify computation of average
25344 * time/mktime.c (ranged_convert): Use new time_t_avg function
25345 instead of rolling our own (probably-slower) code.
25347 mktime: do not assume signed right shift propagates sign bit
25348 * time/mktime.c (isdst_differ): New static function.
25349 (__mktime_internal): No need to normalize tm_isdst now.
25350 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
25353 mktime: merge another wrapv change from gnulib
25354 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
25355 from some compilers.
25357 mktime: remove incorrect attempt at unusual arithmetics
25358 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
25359 The code didn't really work on such machines anyway.
25360 (TYPE_MINIMUM): Assume two's complement.
25361 (twos_complement_arithmetic): Verify that long_int and time_t
25362 are two's complement (or unsigned, in the latter case).
25364 mktime: check signed shifts on long_int and time_t, too
25365 * time/mktime.c (SHR): Check that shifts work as desired
25366 on the types long_int and time_t too, as SHR is used on
25369 mktime: do not assume 'long' is wide enough
25370 * time/mktime.c (verify): Move decl up.
25371 (long_int): New type.
25372 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
25373 to remove assumption in the code that 'long' is wide enough to
25374 store year values. This assumption is not true on x32 and on
25375 some non-glibc platforms.
25377 mktime: merge wrapv change from gnulib
25378 * time/mktime.c (WRAPV): New macro.
25379 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
25380 (guess_time_tm, __mktime_internal): Do not assume that signed
25381 integer overflow wraps around; modern compilers generate code
25382 where this assumption is no longer valid.
25384 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
25386 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
25387 Replace "jmp L(pseudo_end)" with "ret".
25388 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
25391 2012-05-23 Andreas Jaeger <aj@suse.de>
25393 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
25394 * sysdeps/unix/sysv/linux/poll.c: Remove file.
25396 2012-05-23 Andreas Jaeger <aj@suse.de>
25397 Maximilian Attems <max@stro.at>
25399 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
25402 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
25404 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
25405 code so that pseudo_end is just ret and the stack pointer is
25406 correct also for static library in error case.
25408 2012-05-23 Joseph Myers <joseph@codesourcery.com>
25410 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
25411 move to syscalls.list.
25412 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
25413 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
25414 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
25415 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
25417 * manual/install.texi (Running make install): Do not mention Linux
25418 kernel version for which pt_chown is not needed.
25419 (Linux): Do not mention problems with nscd with 2.0 kernels.
25420 * INSTALL: Regenerated.
25422 2012-05-23 Andreas Jaeger <aj@suse.de>
25424 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
25425 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
25427 * sysdeps/unix/sysv/linux/s390/bits/mman.h
25428 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
25429 * sysdeps/unix/sysv/linux/sh/bits/mman.h
25430 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
25431 * sysdeps/unix/sysv/linux/i386/bits/mman.h
25432 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
25433 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
25434 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
25435 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
25436 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
25437 * sysdeps/unix/sysv/linux/bits/in.h
25438 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
25440 2012-05-22 Roland McGrath <roland@hack.frob.com>
25442 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
25443 (PREPARE_VERSION): Just use assert instead, it will be elided
25444 under [NDEBUG] anyway.
25446 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
25448 * sysdeps/unix/sysv/linux/Makefile: Include
25449 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
25450 (sysdep_routines): Remove sysctl.
25451 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
25452 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
25453 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
25454 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
25455 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
25457 2012-05-22 Andreas Jaeger <aj@suse.de>
25459 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
25460 that pseudo_end is just ret and the stack pointer is correct also
25461 for static library in error case.
25463 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
25466 * nss/nsswitch.c (defconfig_entries): New variable.
25467 (__nss_database_lookup): Don't leak defconfig entries.
25468 (nss_parse_service_list): Don't leak on error paths.
25469 (free_database_entries): New function.
25470 (free_defconfig): New function.
25471 (free_mem): Move common code to free_database_entries.
25473 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
25475 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
25477 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
25479 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
25480 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
25481 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
25483 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
25484 (INTERNAL_SYSCALL_TYPES): Likewise.
25485 (LOAD_ARGS_TYPES_[1-6]): Likewise.
25486 (LOAD_REGS_TYPES_[1-6]): Likewise.
25487 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
25488 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
25490 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25492 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
25493 copysignl for GLIBC_2_0.
25494 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
25495 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
25496 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
25497 logbl for GLIBC_2_0.
25498 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
25499 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
25501 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
25503 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
25504 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
25506 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
25509 * time/mktime.c: Update copyright years.
25511 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
25513 mktime: merge comment-quoting-style change from gnulib
25514 * time/mktime.c: Quote 'like this' in comments.
25515 The GNU coding standards suggest that we no longer quote `like this',
25516 as "`" and "'" are typically rendered asymmetrically nowadays.
25517 The typical gnulib style is to quote 'like this' when quoting
25518 code, and "like this" when quoting English.
25520 * time/mktime.c (compile-command): Add "-I.".
25522 mktime: merge mktime-internal.h change from gnulib
25523 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
25525 mktime: merge time_r change from gnulib
25526 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
25528 mktime: merge DEBUG change from gnulib
25529 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
25530 case system <time.h> has a #define.
25532 mktime: merge <sys/types.h> change from gnulib
25533 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
25534 since <time.t> is now guaranteed to define time_t.
25536 mktime: merge HAVE_CONFIG_H change from gnulib
25537 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
25539 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
25541 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
25544 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
25546 (struct rusage): Use anonymous union to pad each field to
25549 2012-05-21 David S. Miller <davem@davemloft.net>
25551 * Makefules (o-iterator): Remove .s cases.
25552 (compile-command.s): Delete.
25553 (COMPILE.s): Delete.
25554 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
25556 2012-05-21 Joseph Myers <joseph@codesourcery.com>
25558 * configure.in (libc_cv_predef_stack_protector): Only consider
25559 "foobar" and "__stack_chk_fail" lines in libc_undefs.
25560 * configure: Regenerated.
25562 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
25564 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
25565 New macro. Use R*LP on int and pointer.
25566 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
25567 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
25568 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
25569 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
25571 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
25572 [__WORDSIZE_TIME64_COMPAT32] instead of
25573 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
25574 (struct utmp): Likewise.
25575 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
25576 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
25578 (__WORDSIZE_TIME64_COMPAT32): This.
25579 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
25580 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
25581 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
25582 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
25583 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
25584 (__WORDSIZE_TIME64_COMPAT32): New macro.
25586 2012-05-21 Andreas Jaeger <aj@suse.de>
25588 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
25589 only if [SHARED]. Add prototype for __wcschr_ia32.
25591 2012-05-21 Roland McGrath <roland@hack.frob.com>
25593 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
25594 of %rbp unmolested in the jmp_buf while mangling the low bits.
25595 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
25596 unmolested high bits of %rbp while demangling the low bits.
25597 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
25599 2012-05-21 Andreas Jaeger <aj@suse.de>
25601 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
25602 * sunrpc/svc_simple.c: Use it for registerrpc.
25603 * sunrpc/xcrypt.c: Use it for passwd2des.
25605 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
25607 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
25609 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
25610 Don't define if [__SYSCALL_WORDSIZE != 32].
25611 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
25614 2012-05-21 Bruno Haible <bruno@clisp.org>
25615 Andreas Jaeger <aj@suse.de>
25617 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
25618 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
25619 inptr and inend for must_buffer_ch.
25620 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
25621 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
25622 * stdio-common/Makefile (tests): Remove bug15.
25623 (bug15-ENV): Remove macro.
25624 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
25627 2012-05-19 Andreas Jaeger <aj@suse.de>
25628 Roland McGrath <roland@hack.frob.com>
25630 * manual/contrib.texi: Completely rewritten. It contains now an
25631 alphabetical list of contributors and their contributions.
25633 2012-05-21 Richard Henderson <rth@twiddle.net>
25635 * misc/getauxval.c (__getauxval): Use unsigned long int.
25636 * misc/sys/auxv.h: Include <sys/cdefs.h>.
25637 (getauxval): Use unsigned long int.
25639 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
25641 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
25643 2012-05-21 Roland McGrath <roland@hack.frob.com>
25645 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
25646 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
25647 __alignof__ (long double).
25649 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25651 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25653 2012-05-20 Richard Henderson <rth@twiddle.net>
25655 * misc/getauxval.c: New file.
25656 * misc/sys/auxv.h: New file.
25657 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
25658 (routines): Add getauxval.
25659 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
25660 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
25661 * elf/dl-sysdep.c (_dl_auxv): Remove.
25662 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
25663 * elf/dl-support.c (_dl_auxv): New variable.
25664 (_dl_aux_init): Initialize it.
25665 * manual/startup.texi (Auxiliary Vector): New node.
25666 * sysdeps/generic/bits/hwcap.h: New file.
25667 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
25668 * sysdeps/powerpc/sysdep.h: ... here. Include it.
25669 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
25670 * sysdeps/sparc/sysdep.h: ... here. Include it.
25671 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
25672 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
25673 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25675 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
25676 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
25677 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
25678 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
25679 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
25680 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
25681 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
25682 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
25684 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25686 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25688 2012-05-19 David S. Miller <davem@davemloft.net>
25690 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25692 2012-05-19 Joseph Myers <joseph@codesourcery.com>
25695 * math/s_ccosh.c: Include <float.h>
25696 (__ccosh): Avoid internal overflow calculating sinh and cosh
25697 values before multiplying by sin and cos values.
25698 * math/s_ccoshf.c: Likewise.
25699 * math/s_ccoshl.c: Likewise.
25700 * math/s_csin.c: Likewise.
25701 * math/s_csinf.c: Likewise.
25702 * math/s_csinl.c: Likewise.
25703 * math/s_csinh.c: Likewise.
25704 * math/s_csinhf.c: Likewise.
25705 * math/s_csinhl.c: Likewise.
25706 * math/libm-test.inc (ccos_test): Add more tests.
25707 (ccosh_test): Likewise.
25708 (csin_test): Likewise.
25709 (csinh_test): Likewise.
25710 * sysdeps/i386/fpu/libm-test-ulps: Update.
25711 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25713 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
25715 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
25716 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
25718 * sysdeps/x86_64/x32/_itoa.h: Add comment.
25720 2012-05-19 Joseph Myers <joseph@codesourcery.com>
25722 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
25723 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
25724 * sysdeps/powerpc/soft-fp/Versions: Likewise.
25725 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
25726 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
25727 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
25728 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
25729 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
25730 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
25731 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
25732 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
25733 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
25734 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
25735 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
25736 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
25737 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
25738 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
25739 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
25740 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
25741 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
25742 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
25743 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
25744 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
25745 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
25746 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
25747 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
25748 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
25749 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
25750 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
25751 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
25752 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
25754 2012-05-18 Andreas Jaeger <aj@suse.de>
25756 * csu/.gitignore: Delete.
25758 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
25760 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
25761 (timex): Use __syscall_slong_t.
25763 2012-05-18 Andreas Jaeger <aj@suse.de>
25764 Carlos O'Donell <carlos_odonell@mentor.com>
25766 * manual/install.texi (Configuring and compiling): Update
25767 description about files modified in the source directory.
25768 * INSTALL: Regenerated.
25770 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
25772 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
25773 value. Use "or" to set return value to -1.
25774 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
25775 negate return value.
25777 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25779 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
25780 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
25781 failure if the compiler has Graphite support disabled.
25782 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
25784 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
25785 CFLAGS-memmove.c): Likewise.
25786 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
25789 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
25791 * sysdeps/x86_64/x32/_itoa.h: New file.
25793 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
25794 getdents system call only if kernel and user dirents have the
25795 same d_ino and d_off.
25797 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
25798 LLONG_MAX != LONG_MAX.
25799 (_itoa_word): Use _ITOA_WORD_TYPE on value.
25800 (_fitoa_word): Likewise.
25802 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
25804 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
25805 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
25806 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
25808 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
25809 include <bits/wordsize.h>. Check __x86_64__ instead of
25811 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
25812 if __x86_64__ is defined. Use anonymous union on fpstate.
25814 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
25817 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
25819 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
25820 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
25821 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
25822 Refer to _rtld_local_ro instead of _rtld_global_ro.
25823 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
25825 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
25827 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
25829 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
25830 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
25831 of _rtld_global, and rtld_progname instead of _dl_argv[0].
25833 * sysdeps/powerpc/powerpc32/dl-machine.c
25834 (__elf_machine_runtime_setup) [PROF]: Don't reference
25837 2012-05-18 Andreas Jaeger <aj@suse.de>
25839 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
25840 function only available for GCCs before 3.4 since GCC 3.4
25841 introduced a builtin.
25843 (llrintf): Likewise.
25844 (llrint): Likewise.
25851 (nearbyint): Likewise.
25852 (nearbyintf): Likewise.
25856 (floorf): Likewise.
25858 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
25860 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
25861 on both fields and cast pointer to __syscall_ulong_t.
25863 * bits/types.h (__fsword_t): New type.
25864 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
25865 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
25866 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
25867 (__FSWORD_T_TYPE): Likewise.
25868 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
25869 (__FSWORD_T_TYPE): Likewise.
25870 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25871 (__FSWORD_T_TYPE): Likewise.
25872 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
25873 (__FSWORD_T_TYPE): Likewise.
25874 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
25875 __SWORD_TYPE with __fsword_t.
25876 (statfs64): Likewise.
25878 2012-05-17 David S. Miller <davem@davemloft.net>
25880 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
25882 2012-05-17 Andreas Jaeger <aj@suse.de>
25884 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
25887 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
25889 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
25891 2012-05-17 Andreas Jaeger <aj@suse.de>
25893 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
25896 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
25898 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
25900 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
25902 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
25903 * sysdeps/x86_64/tst-mallocalign1.c: New file.
25905 2012-05-17 Andreas Jaeger <aj@suse.de>
25906 Carlos O'Donell <carlos_odonell@mentor.com>
25909 * sysdeps/x86_64/multiarch/init-arch.h
25910 (bit_YMM_Usable): Rename to...
25911 (bit_AVX_Usable): ... this.
25912 (bit_FMA4_Usable): New macro.
25913 (bit_XMM_state): New macro.
25914 (bit_YMM_state): New macro.
25915 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
25916 [__ASSEMBLER__] (index_AVX_Usable): ... this.
25917 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
25918 (CPUID_OSXSAVE): New macro.
25919 (CPUID_AVX): New macro.
25920 (CPUID_FMA4): New macro.
25921 (index_YMM_Usable): Rename to...
25922 (index_AVX_Usable): ... this.
25923 (HAS_AVX): Use HAS_ARCH_FEATURE.
25924 (HAS_FMA4): Likewise.
25925 (HAS_YMM_USABLE): Remove.
25926 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25927 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
25929 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
25930 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
25931 * sysdeps/x86_64/multiarch/Makefile: Likewise.
25932 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
25933 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
25935 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
25937 * math/libm-test.c: Support platforms without multiple rounding modes.
25938 * math/bug-nextafter.c: Support platforms without FP exceptions.
25939 * math/bug-nexttoward.c: Likewise.
25940 * math/test-fenv.c: Likewise.
25941 * math/test-misc.c: Likewise.
25942 * stdlib/bug-getcontext.c: Likewise.
25944 2012-05-17 Andreas Jaeger <aj@suse.de>
25946 * manual/examples/search.c (critter_cmp): Change signature to
25948 * manual/string.texi (Collation Functions): Likewise.
25950 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
25952 * bits/types.h: Fold copyright years.
25953 * bits/typesizes.h: Likewise.
25954 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
25955 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
25956 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
25957 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
25958 * time/time.h: Likewise.
25960 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
25963 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
25964 in instead of returning them. Return void.
25965 (__libc_mallinfo): Accumulate over all arenas.
25966 (__malloc_stats): Adjust for change in int_mallinfo interface.
25968 2012-05-16 Roland McGrath <roland@hack.frob.com>
25971 * configure.in (NM): Add AC_CHECK_TOOL for it.
25972 (libc_extra_cflags): New substituted variable.
25973 Check for -fstack-protector being used implicitly.
25974 * configure: Regenerated.
25975 * config.make.in (config-extra-cflags): New variable,
25976 gets @libc_extra_cflags@.
25977 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
25980 * configure.in: Check for _FORTIFY_SOURCE being predefined.
25981 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
25982 * configure: Regenerated.
25983 * config.make.in (CPPUNDEFS): New substituted variable.
25984 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
25985 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
25986 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
25988 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
25990 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
25991 (mq_attr): Use __syscall_slong_t.
25993 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
25995 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
25996 Check __x86_64__ instead of __WORDSIZE.
25997 (_STAT_VER_LINUX): Likewise.
25998 (stat): Check __x86_64__ instead of __WORDSIZE. Use
25999 __syscall_ulong_t and __syscall_slong_t.
26000 (stat64): Likewise.
26002 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
26004 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
26006 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
26008 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
26010 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
26012 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
26015 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
26016 include <bits/wordsize.h>. Check __x86_64__ instead of
26018 (greg_t): Use "__extension__ long long int" if __x86_64__ is
26020 (mcontext_t): Replace "unsigned long" with "unsigned long long".
26022 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
26023 include <bits/wordsize.h>. Check __x86_64__ instead of
26025 (user_regs_struct): Use "__extension__ unsigned long long"
26026 instead of "unsigned long" if __x86_64__ is defined.
26027 (user): Likewise. Pad after pointer field if __ILP32__ is
26030 2012-05-16 Joseph Myers <joseph@codesourcery.com>
26032 * configure.in (makeinfo): Require version 4.5 or later. Allow
26034 * configure: Regenerated.
26035 * manual/install.texi (texinfo): Increase version requirement to
26037 * INSTALL: Regenerated.
26039 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
26041 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
26043 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
26045 * sysdeps/x86_64/x32/ffs.c: New file.
26047 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
26049 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
26050 defined. Use __syscall_ulong_t.
26051 (shminfo): Use __syscall_ulong_t.
26052 (shm_info): Likewise.
26054 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
26057 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
26059 (msgqnum_t): Use __syscall_ulong_t.
26060 (msglen_t): Likewise.
26061 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
26064 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
26065 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
26067 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
26069 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
26070 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
26072 * sysvipc/sys/msg.h (msgbuf): Replace long int with
26075 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
26076 include <bits/wordsize.h>. Check __x86_64__ instead of
26079 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
26080 "unsigned long long int" if __x86_64__ is defined.
26081 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
26083 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
26084 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
26085 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
26087 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
26089 (GET_PC): Cast to uintptr_t first.
26090 (GET_FRAME): Likewise.
26091 (GET_STACK): Likewise.
26093 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
26094 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
26095 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
26096 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
26097 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
26098 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
26099 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
26100 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
26101 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
26102 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
26103 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
26104 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
26105 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
26106 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
26107 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
26108 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
26109 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
26110 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
26111 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
26112 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
26113 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
26114 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
26115 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
26116 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
26117 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
26118 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
26119 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
26120 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
26121 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
26123 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
26125 * Makerules (+depfiles): Also collect depfiles from .oS in
26127 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
26128 .oS, $(libnldbl-routines)).
26130 * Makerules (native-compile-mkdep-flags): Define.
26131 * sunrpc/Makefile (extra-objs): Add $(addprefix
26132 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
26133 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
26134 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
26135 calling $(make-target-directory).
26137 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
26139 * bits/types.h (__snseconds_t): Removed.
26140 * time/time.h (struct timespec): Replace __snseconds_t with
26142 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
26143 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
26145 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
26146 (__SNSECONDS_T_TYPE): Likewise.
26147 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
26148 (__SNSECONDS_T_TYPE): Likewise.
26149 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
26150 (__SNSECONDS_T_TYPE): Likewise.
26152 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
26154 * sysdeps/mach/hurd/bits/typesizes.h
26155 (__SYSCALL_SLONG_TYPE): New macro.
26156 (__SYSCALL_ULONG_TYPE): Likewise.
26158 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
26160 * bits/types.h (__syscall_slong_t): New type.
26161 (__syscall_ulong_t): Likewise.
26163 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
26164 (__SYSCALL_ULONG_TYPE): Likewise.
26165 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
26166 (__SYSCALL_SLONG_TYPE): Likewise.
26167 (__SYSCALL_ULONG_TYPE): Likewise.
26168 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
26169 (__SYSCALL_SLONG_TYPE): Likewise.
26170 (__SYSCALL_ULONG_TYPE): Likewise.
26171 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
26172 (__SYSCALL_SLONG_TYPE): Likewise.
26173 (__SYSCALL_ULONG_TYPE): Likewise.
26175 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
26177 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
26178 Add sigaltstack-offsets.sym.
26179 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
26180 <sigaltstack-offsets.h>.
26181 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
26182 longjmp_msg pointer.
26183 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
26184 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
26186 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
26188 2012-05-15 Joseph Myers <joseph@codesourcery.com>
26190 * elf/stackguard-macros.h: Remove file.
26191 * sysdeps/generic/stackguard-macros.h: New file.
26192 * sysdeps/i386/stackguard-macros.h: Likewise.
26193 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
26194 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
26195 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
26196 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
26197 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
26198 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
26199 * sysdeps/x86_64/stackguard-macros.h: Likewise.
26200 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
26201 <elf/stackguard-macros.h>.
26204 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
26205 __aligned__ in attribute.
26206 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
26207 (gregset_t): Likewise.
26209 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
26211 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
26212 * sysdeps/x86_64/64/Implies-after: Here. New file.
26213 * sysdeps/x86_64/x32/Implies-after: New file.
26215 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
26217 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
26218 and access return value for _dl_profile_fixup. Use R10_LP to
26221 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
26223 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
26225 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
26227 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
26228 * sysdeps/x86_64/x32/sysdep.h: New file.
26230 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
26232 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
26233 * sysdeps/x86_64/setjmp.S: Likewise.
26235 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26237 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
26238 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
26239 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
26240 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
26241 remove unused global constant.
26243 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
26245 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
26246 include of <not-cancel.h>.
26248 2012-05-15 Roland McGrath <roland@hack.frob.com>
26250 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
26252 2012-05-15 Jeff Law <law@redhat.com>
26253 Andreas Jaeger <aj@suse.de>
26256 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
26258 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
26259 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
26260 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
26261 code changing __hst_map_handle.map.
26263 2012-05-15 Roland McGrath <roland@hack.frob.com>
26265 * configure.in (sysnames): Look for Implies-before and Implies-after
26267 * configure: Regenerated.
26269 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
26271 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
26272 8-byte data alignment with LP_SIZE alignment.
26274 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
26276 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
26279 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
26281 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
26283 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
26285 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
26286 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
26287 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
26289 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
26291 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
26293 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
26294 (stackinfo_sub_sp): Likewise.
26296 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
26298 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
26301 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
26303 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
26306 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
26308 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
26311 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
26313 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
26315 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
26317 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
26318 into R11_LP and load __x86_64_shared_cache_size_half into
26321 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
26323 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
26326 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26328 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
26330 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
26332 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
26334 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
26335 powerpc32/power7/fpu/s_logb.c via #include.
26336 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
26337 powerpc32/power7/fpu/s_logbf.c via #include.
26338 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
26339 powerpc32/power7/fpu/s_logbl.c via #include.
26341 2012-05-15 Joseph Myers <joseph@codesourcery.com>
26343 * README.libm: Remove file.
26345 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
26347 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
26348 count for x32. Use R*_LP and omit operand-size suffix.
26350 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
26352 * shlib-versions: Move x86_64-.*-linux.* entries to ...
26353 * sysdeps/x86_64/64/shlib-versions: Here. New file.
26354 * sysdeps/x86_64/x32/shlib-versions: New file.
26356 2012-05-14 Roland McGrath <roland@hack.frob.com>
26358 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
26359 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
26360 Use _dl_fatal_printf instead.
26362 2012-05-14 Joseph Myers <joseph@codesourcery.com>
26364 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
26365 set if not set by the user. Do not allow for being unset.
26366 * sysdeps/unix/sysv/linux/configure: Regenerated.
26368 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
26370 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
26371 the `q' suffix from lea and replace .quad with ASM_ADDR.
26373 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
26375 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
26376 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
26378 (PTR_DEMANGLE): Likewise.
26380 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
26382 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
26384 (ASM_ADDR): Likewise.
26385 (RAX_LP): Likewise.
26386 (RBP_LP): Likewise.
26387 (RBX_LP): Likewise.
26388 (RCX_LP): Likewise.
26389 (RDI_LP): Likewise.
26390 (RSI_LP): Likewise.
26391 (RSP_LP): Likewise.
26394 (R10_LP): Likewise.
26395 (R10_LP): Likewise.
26396 (R11_LP): Likewise.
26397 (R12_LP): Likewise.
26398 (R13_LP): Likewise.
26399 (R14_LP): Likewise.
26400 (R15_LP): Likewise.
26402 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
26404 * sysdeps/x86_64/x32/dl-machine.h: New file.
26406 2012-05-14 Andreas Jaeger <aj@suse.de>
26408 * manual/Makefile (subdir): Remove export of subdir.
26409 (all): Remove target.
26410 (.PHONY): Remove all from list.
26411 (mkinstalldirs): Remove.
26412 (.PHONY): Remove installdirs from list.
26413 ($(inst_infodir)/libc.info): Use make-target-directory.
26414 (installdirs): Remove.
26415 (subdir_%): Remove.
26416 (glibc-targets): Remove.
26419 ($(objpfx)stubs ../po/manual.pot): Remove.
26420 ($(objpfx)stamp%): Remove.
26421 (make-target-directory): Remove.
26422 (subdir_install): Remove.
26423 (routines): Remove.
26430 * manual/.gitignore: Remove, it's not needed anymore.
26431 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
26433 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
26435 (texis): Renamed to $(objpfx)texis.
26436 (texis-path): New, contains path to generated files.
26437 (chapters.%): Use texis-path for complete path, add extra argument
26439 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
26440 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
26441 (summary,texi, stamp-summary): Use complete path of
26442 files. Generate files in build dir.
26443 (dir-add.texi): Build in build dir.
26444 (libm-err.texi,stamp-libm-err): Likewise.
26445 (version.texi, stamp-version): Likewise.
26446 (.%c.texi): Likewise.
26447 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
26448 (mostlyclean): Remove target.
26449 (realclean): Remove target.
26450 (generated): Add new variable with contents from mostlyclean and
26451 realclean, remove entries duplicated in common-mostlyclean, add
26452 stamp-libm-err and stamp-version.
26453 (generated-dirs): Add libc directory.
26454 ($(inst_infodir)/libc.info): Install files from build dir.
26456 * manual/install.texi (Configuring and compiling): Adjust since
26457 the info files are not part of the tar ball anymore.
26459 2012-05-14 Andreas Jaeger <aj@suse.de>
26461 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
26464 2012-05-14 Joseph Myers <joseph@codesourcery.com>
26467 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
26468 to 2.2.0 where earlier.
26469 * sysdeps/unix/sysv/linux/configure: Regenerated.
26470 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
26471 Remove conditional code.
26472 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
26473 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
26474 Remove conditional code.
26475 [!__NR_lchown]: Likewise.
26476 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
26477 [__NR_lchown]: Likewise.
26478 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
26479 comment referencing __ASSUME_LCHOWN_SYSCALL.
26480 * sysdeps/unix/sysv/linux/i386/sigaction.c
26481 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
26482 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
26483 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
26484 Remove conditional code.
26485 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
26486 (__protocol_available): Remove #if 0 code.
26487 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
26489 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
26490 * sysdeps/unix/sysv/linux/kernel-features.h
26491 (__ASSUME_GETCWD_SYSCALL): Don't define.
26492 (__ASSUME_REALTIME_SIGNALS): Likewise.
26493 (__ASSUME_PREAD_SYSCALL): Likewise.
26494 (__ASSUME_PWRITE_SYSCALL): Likewise.
26495 (__ASSUME_POLL_SYSCALL): Likewise.
26496 (__ASSUME_LCHOWN_SYSCALL): Likewise.
26497 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
26499 (__ASSUME_SIOCGIFNAME): Don't define.
26500 (__ASSUME_MSG_NOSIGNAL): Likewise.
26501 (__ASSUME_SENDFILE): Define unconditionally.
26502 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
26503 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
26505 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
26506 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
26507 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
26508 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
26509 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
26510 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
26511 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
26512 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
26513 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
26514 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
26515 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
26516 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
26517 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
26518 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
26519 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
26520 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
26521 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
26522 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
26523 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
26524 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
26525 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
26526 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
26527 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
26528 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
26529 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
26530 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
26531 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
26532 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
26533 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
26534 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
26535 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
26536 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
26537 Remove conditional code.
26538 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
26539 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
26540 Remove conditional code.
26541 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
26542 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
26543 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
26544 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
26545 Remove conditional code.
26546 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
26547 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
26548 Remove conditional code.
26549 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
26550 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
26551 Remove conditional code.
26552 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
26553 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
26554 Remove conditional code.
26555 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
26556 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
26557 Remove conditional code.
26558 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
26559 * sysdeps/unix/sysv/linux/sh/pwrite64.c
26560 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
26561 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
26562 * sysdeps/unix/sysv/linux/sigaction.c
26563 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
26564 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
26565 * sysdeps/unix/sysv/linux/sigpending.c
26566 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
26567 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
26568 * sysdeps/unix/sysv/linux/sigprocmask.c
26569 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
26570 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
26571 * sysdeps/unix/sysv/linux/sigsuspend.c
26572 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
26573 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
26574 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
26575 (__libc_missing_rt_sigs): Remove.
26576 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
26577 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
26578 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
26579 Remove conditional code.
26580 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
26581 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
26583 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
26584 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
26585 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
26586 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
26588 2012-05-14 Andreas Jaeger <aj@suse.de>
26590 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
26591 it's not used in glibc.
26592 (__coshm1): Likewise.
26593 (__acosh1p): Likewise.
26596 * manual/string.texi (Copying and Concatenation): Add missing
26597 variable in concat example.
26598 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
26600 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
26603 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
26604 __builtin_clzl with __builtin_clzll.
26606 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
26609 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
26612 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26614 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
26615 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
26616 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
26617 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
26619 2012-05-14 Mike Frysinger <vapier@gentoo.org>
26621 * NEWS: Update ia64 info.
26623 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
26625 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
26628 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
26630 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
26631 * sysdeps/unix/syscalls.list (dup3): Likewise.
26632 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
26633 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
26635 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
26637 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
26638 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
26640 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
26642 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
26644 (TLS_IE): Use mov/add instead of movq/addq to load thread
26646 (TLS_GD_PREFIX): New.
26649 2012-05-11 David S. Miller <davem@davemloft.net>
26651 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
26652 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
26653 (_FPU_SETCW): Likewise.
26655 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
26657 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
26658 is 32-byte aligned.
26660 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
26663 * iconvdata/gb18030.c: Update tables.
26664 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
26665 characters specially.
26666 (BODY for TO_LOOP): Add encoding of missing ranges.
26668 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
26671 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
26672 * sysdeps/mach/hurd/dup3.c: Likewise.
26673 * sysdeps/mach/hurd/readlinkat.c: Likewise.
26674 * sysdeps/powerpc/memmove.c:: Likewise.
26676 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
26678 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
26679 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
26681 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
26683 * elf/elf.h (R_X86_64_RELATIVE64): New.
26684 (R_X86_64_NUM): Updated.
26685 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
26686 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
26687 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
26688 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
26689 tst-quad1pie tst-quad2pie
26690 (modules-names): Add tst-quadmod1 tst-quadmod2.
26691 ($(objpfx)tst-quad1): New dependency.
26692 ($(objpfx)tst-quad2): Likewise.
26693 ($(objpfx)tst-quad1pie): Likewise.
26694 ($(objpfx)tst-quad2pie): Likewise.
26695 * sysdeps/x86_64/tst-quad1.c: New file.
26696 * sysdeps/x86_64/tst-quad1pie.c: New file.
26697 * sysdeps/x86_64/tst-quad2.c: Likewise.
26698 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
26699 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
26700 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
26701 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
26702 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
26704 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26706 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
26707 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
26708 * streams/stropts.h (t_scalar_t): Define type.
26710 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
26711 (_PATH_PRESERVE): Set to "/var/lib".
26712 (_PATH_RWHODIR): Set to "/var/spool/rwho".
26714 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
26717 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
26718 if __dir_mkfile succeeded.
26720 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
26721 checking for _hurd_dtablesize. Unlock it right after having
26722 finished _hurd_dtable allocation.
26724 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
26726 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
26727 * sysdeps/mach/hurd/configure: Regenerated.
26728 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
26729 special-casing to...
26730 * sysdeps/gnu/configure.in: ... this new file.
26731 * sysdeps/unix/sysv/linux/configure: Regenerated.
26732 * sysdeps/gnu/configure: New generated file.
26734 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
26735 for Linux: use nsec instead of usec, as well as:
26736 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
26737 members of type struct timespec.
26738 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
26740 (struct stat64): Likewise.
26741 (_STATBUF_ST_NSEC): New macro.
26742 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
26744 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
26745 __strtoul_internal rather than strtoul.
26747 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
26749 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
26752 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26754 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
26755 which preserves existing values.
26756 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
26758 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
26760 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
26761 TIMEOUT values. Return EINVAL for NFDS values either negative or
26762 greater than FD_SETSIZE.
26764 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26766 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
26767 allocated, call __vm_protect to finish enabling the existing space, and
26768 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
26769 allocate the remainder.
26771 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
26773 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
26774 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
26776 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26778 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
26779 sysdeps/mach/hurd/readlink.c.
26781 * posix/tst-sysconf.c (posix_options): Only use
26782 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
26783 _POSIX_SYNCHRONIZED_IO when they are defined
26784 * sysdeps/mach/hurd/bits/posix_opt.h:
26785 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
26786 (_XOPEN_REALTIME): Undefine macro.
26787 (_XOPEN_REALTIME_THREADS): Undefine macro.
26788 (_XOPEN_SHM): Undefine macro.
26789 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
26791 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
26793 (_POSIX_ASYNC_IO): Undefine macro.
26794 (_POSIX_PRIORITIZED_IO): Undefine macro.
26795 (_POSIX_SPIN_LOCKS): Define macro to -1.
26797 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
26798 SA_NODEFER, SA_RESETHAND.
26799 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
26800 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
26803 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
26805 * elf/Makefile (pldd-modules): Define unconditionally.
26807 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
26809 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
26811 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26813 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
26814 Return ENOENT when name is empty.
26815 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
26817 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
26819 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
26821 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
26823 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26825 Fix mlock in all cases except non-readable pages.
26826 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
26827 instead of VM_PROT_ALL as parameter to __vm_wire function.
26829 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
26830 (__mkdir): When path is `/', just fail with EEXIST.
26831 * sysdeps/mach/hurd/mkdirat.c: Likewise.
26833 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
26835 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
26836 <sys/uio.h> (for writev).
26837 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
26838 and <sys/param.h> (for MIN).
26840 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
26842 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
26843 REQUESTED_TIME. Properly set the remaining time and return EINTR
26846 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
26848 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
26849 Depend on against $(link-rpcuserlibs).
26851 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26853 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
26854 (__libc_stack_end): Do not use attribute_relro.
26855 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
26856 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
26857 to libthread-provided value.
26858 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
26861 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
26864 * bits/libc-lock.h (__libc_once_get): New macro.
26865 * sysdeps/mach/bits/libc-lock.h: Likewise.
26866 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
26867 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
26868 instead of using implementation details.
26870 * libio/fileops.c: Unconditionally include <kernel-features.h>.
26871 * libio/freopen.c: Likewise.
26872 * libio/freopen64.c: Likewise.
26873 * misc/syslog.c: Likewise.
26874 * nscd/connections.c: Likewise.
26875 * nscd/netgroupcache.c: Likewise.
26876 * sysdeps/posix/getcwd.c: Likewise.
26878 2012-05-10 Roland McGrath <roland@hack.frob.com>
26880 * math/w_ilogbf.c: Add #include <limits.h>.
26882 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26884 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
26885 path instead of returning without unlocking.
26887 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
26888 immediate-write ioctls.
26889 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
26891 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
26893 * sysdeps/mach/hurd/i386/init-first.c (init): Use
26894 __builtin_frame_address instead of making assumptions about the
26895 location of the return address relative to DATA. Force early load of
26896 the return address.
26897 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
26898 __builtin_frame_address.
26901 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
26902 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
26903 implement dup3 and do some further code clean-ups.
26904 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
26905 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
26907 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26909 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
26911 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
26912 HURD_CRITICAL_END around holding _hurd_dtable_lock.
26913 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
26914 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
26915 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
26918 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
26919 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
26920 when handler == SIG_ERR, not when handler != SIG_ERR.
26922 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
26924 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
26925 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
26928 accept4 for GNU Hurd.
26929 * include/sys/socket.h (__libc_accept4): New prototype.
26930 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
26931 to implement __libc_accept4.
26932 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
26934 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
26936 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
26937 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
26938 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
26939 signal-defines.sym.
26941 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26943 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
26945 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
26947 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
26948 assertion on O_CLOEXEC flag.
26949 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
26950 * hurd/intern-fd.c: Likewise.
26951 * hurd/port2fd.c: Likewise.
26953 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26956 * bits/in.h (IPV6_PKTINFO): Define new macro.
26957 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
26959 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26964 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
26965 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
26966 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
26967 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
26968 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
26969 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
26970 * math/libm-test.inc (logb_test) : Additional logb tests.
26972 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
26973 Andreas Jaeger <aj@suse.de>
26975 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
26976 * configure: Regenerated.
26977 * config.h.in (LINK_OBSOLETE_RPC): New macro.
26978 * config.make.in (link-obsolete-rpc): New substituted variable.
26979 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
26980 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
26981 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
26982 (shared-only-routines): Don't set it under [link-obsolete-rpc],
26983 so that libc.a contains the symbols.
26984 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
26985 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
26986 * sunrpc/auth_none.c: Likewise.
26987 * sunrpc/auth_unix.c: Likewise.
26988 * sunrpc/authdes_prot.c: Likewise.
26989 * sunrpc/authuxprot.c: Likewise.
26990 * sunrpc/clnt_gen.c: Likewise.
26991 * sunrpc/clnt_perr.c: Likewise.
26992 * sunrpc/clnt_raw.c: Likewise.
26993 * sunrpc/clnt_simp.c: Likewise.
26994 * sunrpc/clnt_tcp.c: Likewise.
26995 * sunrpc/clnt_udp.c: Likewise.
26996 * sunrpc/clnt_unix.c: Likewise.
26997 * sunrpc/des_crypt.c: Likewise.
26998 * sunrpc/des_soft.c: Likewise.
26999 * sunrpc/get_myaddr.c: Likewise.
27000 * sunrpc/key_call.c: Likewise.
27001 * sunrpc/key_prot.c: Likewise.
27002 * sunrpc/netname.c: Likewise.
27003 * sunrpc/pm_getmaps.c: Likewise.
27004 * sunrpc/pm_getport.c: Likewise.
27005 * sunrpc/pmap_clnt.c: Likewise.
27006 * sunrpc/pmap_prot.c: Likewise.
27007 * sunrpc/pmap_prot2.c: Likewise.
27008 * sunrpc/pmap_rmt.c: Likewise.
27009 * sunrpc/publickey.c: Likewise.
27010 * sunrpc/rpc_cmsg.c: Likewise.
27011 * sunrpc/rpc_common.c: Likewise.
27012 * sunrpc/rpc_dtable.c: Likewise.
27013 * sunrpc/rpc_prot.c: Likewise.
27014 * sunrpc/rpc_thread.c: Likewise.
27015 * sunrpc/rtime.c: Likewise.
27016 * sunrpc/svc.c: Likewise.
27017 * sunrpc/svc_auth.c: Likewise.
27018 * sunrpc/svc_raw.c: Likewise.
27019 * sunrpc/svc_run.c: Likewise.
27020 * sunrpc/svc_tcp.c: Likewise.
27021 * sunrpc/svc_udp.c: Likewise.
27022 * sunrpc/svc_unix.c: Likewise.
27023 * sunrpc/svcauth_des.c: Likewise.
27024 * sunrpc/xcrypt.c: Likewise.
27025 * sunrpc/xdr.c: Likewise.
27026 * sunrpc/xdr_array.c: Likewise.
27027 * sunrpc/xdr_float.c: Likewise.
27028 * sunrpc/xdr_intXX_t.c: Likewise.
27029 * sunrpc/xdr_mem.c: Likewise.
27030 * sunrpc/xdr_rec.c: Likewise.
27031 * sunrpc/xdr_ref.c: Likewise.
27032 * sunrpc/xdr_sizeof.c: Likewise.
27033 * sunrpc/xdr_stdio.c: Likewise.
27035 2012-05-10 Roland McGrath <roland@hack.frob.com>
27037 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
27038 change. Update copyright years.
27040 2012-05-10 Joseph Myers <joseph@codesourcery.com>
27042 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
27044 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
27045 Joseph Myers <joseph@codesourcery.com>
27046 Paul Pluzhnikov <ppluzhnikov@google.com>
27049 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
27051 [cross-compiling] (extra-libs): Likewise.
27052 [cross-compiling] (extra-libs-others): Likewise.
27053 [cross-compiling] (librpcsvc-routines): Likewise.
27054 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
27055 [cross-compiling] (omit-deps): Likewise.
27056 (sunrpc-CPPFLAGS): New variable.
27057 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
27058 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
27059 (cross-rpcgen-objs): New variable.
27060 (extra-objs): Append $(cross-rpcgen-objs).
27061 ($(cross-rpcgen-objs)): New rule.
27062 ($(objpfx)cross-rpcgen): Likewise.
27063 (rpcgen-cmd): Define to use $(built-program-file). Expand
27065 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
27066 ($(objpfx)x%.stmp): Likewise.
27067 * sunrpc/proto.h [IS_IN_build] (_): Define.
27068 [IS_IN_build] (_libc_intl_domainname): Likewise.
27070 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
27072 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
27073 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
27074 and R_X86_64_TPOFF64.
27076 2012-05-10 Joseph Myers <joseph@codesourcery.com>
27078 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
27079 sysdeps/unix/sysv/syscalls.list.
27082 * sysdeps/unix/sysv/syscalls.list: Remove file.
27084 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
27087 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
27088 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
27089 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
27090 (__LC_IDENTIFICATION): Make these macros useful in #if
27091 expressions, as required by C99.
27093 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
27095 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
27096 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
27099 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
27101 * stdlib/longlong.h: Updated from GCC.
27103 2012-05-09 Andreas Jaeger <aj@suse.de>
27105 * nscd/nscd.c (run_modes): Make named enum, reorder so that
27106 default is first entry.
27107 (run_mode): Set type.
27108 (main): Remove informal message about syslog.
27109 (options): Fix typo.
27112 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
27115 (llrintf): Likewise.
27116 (llrint): Likewise.
27119 (nearbyint): Likewise.
27120 (nearbyintf): Likewise.
27122 2012-05-09 Andreas Jaeger <aj@suse.de>
27123 Pedro Alves <palves@redhat.com>
27125 * nscd/nscd.c (run_mode): Use enum.
27126 (main): Cleanup coding style issue.
27128 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
27129 Andreas Jaeger <aj@suse.de>
27131 * nscd/nscd.c (go_background): Replaced with...
27132 (run_mode): ... this.
27133 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
27134 (options): Add -F --foreground.
27135 (main): Implement it.
27136 (parse_opt): Parse it.
27138 2012-05-09 Andreas Jaeger <aj@suse.de>
27141 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
27142 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
27143 -Wconversion warning.
27144 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
27147 2012-05-09 Joseph Myers <joseph@codesourcery.com>
27149 * conform/data/locale.h-data (NULL): Use macro-constant. Require
27151 (LC_ALL): Use macro-int-constant.
27152 (LC_COLLATE): Likewise.
27153 (LC_CTYPE): Likewise.
27154 (LC_MESSAGES): Likewise.
27155 (LC_MONETARY): Likewise.
27156 (LC_NUMERIC): Likewise.
27157 (LC_TIME): Likewise.
27158 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
27159 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
27160 [ISO || ISO99 || ISO11] (*_t): Do not allow.
27161 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
27163 [C99-based standards] (float_t): Expect type.
27164 [C99-based standards] (double_t): Expect type.
27165 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
27167 [C99-based standards] (HUGE_VALL): Likewise.
27168 [C99-based standards] (INFINITY): Likewise.
27169 [C99-based standards] (NAN): Likewise.
27170 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
27171 [C99-based standards] (FP_NAN): Likewise.
27172 [C99-based standards] (FP_NORMAL): Likewise.
27173 [C99-based standards] (FP_SUBNORMAL): Likewise.
27174 [C99-based standards] (FP_ZERO): Likewise.
27175 [C99-based standards] (FP_FAST_FMA): Use
27176 optional-macro-int-constant. Specify type. Require == 1.
27177 [C99-based standards] (FP_FAST_FMAF): Likewise.
27178 [C99-based standards] (FP_FAST_FMAL): Likewise.
27179 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
27180 [C99-based standards] (FP_ILOGBNAN): Likewise.
27181 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
27183 [C99-based standards] (MATH_ERREXCEPT): Likewise.
27184 [C99-based standards] (math_errhandling): Specify type.
27185 [ISO99 || ISO11] (signgam): Do not allow.
27186 [non-C99-based standards] (copysignf): Do not allow.
27187 [non-C99-based standards] (exp2f): Likewise.
27188 [non-C99-based standards] (log2f): Likewise.
27189 [non-C99-based standards] (modff): Allow.
27190 [non-C99-based standards] (erff): Do not allow.
27191 [non-C99-based standards] (erfcf): Likewise.
27192 [non-C99-based standards] (gammaf): Likewise.
27193 [non-C99-based standards] (hypotf): Likewise.
27194 [non-C99-based standards] (j0f): Likewise.
27195 [non-C99-based standards] (j1f): Likewise.
27196 [non-C99-based standards] (jnf): Likewise.
27197 [non-C99-based standards] (lgammaf): Likewise.
27198 [non-C99-based standards] (tgammaf): Likewise.
27199 [non-C99-based standards] (y0f): Likewise.
27200 [non-C99-based standards] (y1f): Likewise.
27201 [non-C99-based standards] (ynf): Likewise.
27202 [non-C99-based standards] (isnanf): Likewise.
27203 [non-C99-based standards] (acoshf): Likewise.
27204 [non-C99-based standards] (asinhf): Likewise.
27205 [non-C99-based standards] (atanhf): Likewise.
27206 [non-C99-based standards] (cbrtf): Likewise.
27207 [non-C99-based standards] (expm1f): Likewise.
27208 [non-C99-based standards] (ilogbf): Likewise.
27209 [non-C99-based standards] (log1pf): Likewise.
27210 [non-C99-based standards] (logbf): Likewise.
27211 [non-C99-based standards] (nextafterf): Likewise.
27212 [non-C99-based standards] (remainderf): Likewise.
27213 [non-C99-based standards] (rintf): Likewise.
27214 [non-C99-based standards] (scalbf): Likewise.
27215 [non-C99-based standards] (copysignl): Likewise.
27216 [non-C99-based standards] (exp2l): Likewise.
27217 [non-C99-based standards] (log2l): Likewise.
27218 [non-C99-based standards] (modfl): Allow.
27219 [non-C99-based standards] (erfl): Do not allow.
27220 [non-C99-based standards] (erfcl): Likewise.
27221 [non-C99-based standards] (gammal): Likewise.
27222 [non-C99-based standards] (hypotl): Likewise.
27223 [non-C99-based standards] (j0l): Likewise.
27224 [non-C99-based standards] (j1l): Likewise.
27225 [non-C99-based standards] (jnl): Likewise.
27226 [non-C99-based standards] (lgammal): Likewise.
27227 [non-C99-based standards] (tgammal): Likewise.
27228 [non-C99-based standards] (y0l): Likewise.
27229 [non-C99-based standards] (y1l): Likewise.
27230 [non-C99-based standards] (ynl): Likewise.
27231 [non-C99-based standards] (isnanl): Likewise.
27232 [non-C99-based standards] (acoshl): Likewise.
27233 [non-C99-based standards] (asinhl): Likewise.
27234 [non-C99-based standards] (atanhl): Likewise.
27235 [non-C99-based standards] (cbrtl): Likewise.
27236 [non-C99-based standards] (expm1l): Likewise.
27237 [non-C99-based standards] (ilogbl): Likewise.
27238 [non-C99-based standards] (log1pl): Likewise.
27239 [non-C99-based standards] (logbl): Likewise.
27240 [non-C99-based standards] (nextafterl): Likewise.
27241 [non-C99-based standards] (remainderl): Likewise.
27242 [non-C99-based standards] (rintl): Likewise.
27243 [non-C99-based standards] (scalbl): Likewise.
27244 [ISO || ISO99 || ISO11] (*_t): Do not allow.
27245 [non-C99-based standards] (FP_*): Do not allow.
27246 [C99-based standards] (FP_*): Change to
27247 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
27248 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
27250 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
27251 (SIG_ERR): Likewise.
27252 [X/Open-based standards] (SIG_HOLD): Likewise.
27253 (SIG_IGN): Likewise.
27254 (SIGABRT): Use macro-int-constant. Specify type. Require
27256 (SIGFPE): Likewise.
27257 (SIGILL): Likewise.
27258 (SIGINT): Likewise.
27259 (SIGSEGV): Likewise.
27260 (SIGTER): Likewise.
27261 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
27262 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
27263 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
27264 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
27265 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
27266 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
27267 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
27268 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
27269 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
27270 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
27271 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
27272 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
27273 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
27274 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
27275 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
27276 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
27277 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
27278 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
27279 [X/Open-based standards] (SIGTRAP): Likewise.
27280 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
27281 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
27282 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
27283 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
27284 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
27287 2012-05-08 Ian Wienand <ianw@vmware.com>
27290 * time/tzset.c (__tzset_parse_tz): Update default rules for
27291 daylight time changes in the Energy Policy Act of 2005.
27293 2012-05-09 Andreas Jaeger <aj@suse.de>
27296 * elf/ldconfig.c (parse_conf): Change string to make clear that
27297 ldconfig only issued a warning if ld.so.conf does not exist.
27299 2012-05-08 David S. Miller <davem@davemloft.net>
27301 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
27302 movxtod instead of popping the value on the stack.
27304 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27306 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
27308 * config.h.in: Add HAVE_ARM_PCS_VFP.
27310 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
27313 * include/features.h: Warn if user requests __FORTIFY_SOURCE
27314 checking but the checks are disabled for any reason.
27316 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
27318 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
27319 and ELF64_R_TYPE with ELFW(R_TYPE).
27321 2012-05-08 Joseph Myers <joseph@codesourcery.com>
27323 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
27324 (ulimit): Likewise.
27326 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
27327 (settimeofday): Likewise.
27329 2012-05-08 Mike Frysinger <vapier@gentoo.org>
27331 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
27332 a struct th_u2 inside the union, and move tu_block/tu_code into
27333 a new th_u3 union of tu_block/tu_code inside of that. Move
27334 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
27335 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
27336 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
27337 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
27338 (th_stuff): Change to th_u1.tu_stuff.
27340 (th_msg): Change to th_u1.th_u2.tu_data.
27342 2012-05-07 David S. Miller <davem@davemloft.net>
27344 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27347 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
27348 (SETUP_PIC_REG): Use it.
27349 (SETUP_PIC_REG_LEAF): Use it.
27351 2012-05-07 Joseph Myers <joseph@codesourcery.com>
27355 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
27357 (EXPL_FINITE): Likewise.
27358 (FLDLOG): Likewise.
27359 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
27360 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
27362 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
27364 (EXPL_FINITE): Likewise.
27365 (FLDLOG): Likewise.
27366 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
27367 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
27369 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
27370 test of -max_value argument for long double.
27371 * sysdeps/i386/fpu/libm-test-ulps: Update.
27372 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27374 2012-05-06 David S. Miller <davem@davemloft.net>
27376 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
27377 quad soft-float symbols whose references which are compiler
27379 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
27381 2012-05-06 Joseph Myers <joseph@codesourcery.com>
27385 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
27387 (EXPL_FINITE): Likewise.
27388 (FLDLOG): Likewise.
27391 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
27392 Adjust comments for base varying.
27393 (__expl_finite): Change alias to EXPL_FINITE.
27394 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
27396 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
27397 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
27398 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
27399 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
27400 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
27402 (EXPL_FINITE): Likewise.
27403 (FLDLOG): Likewise.
27406 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
27407 Adjust comments for base varying.
27408 (__expl_finite): Change alias to EXPL_FINITE.
27409 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
27411 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27414 * math/libm-test.inc (check_float_internal): Correct ulp
27415 calculation for subnormal expected results.
27417 2012-05-06 Andreas Jaeger <aj@suse.de>
27419 * Makeconfig (+math-flags): New, set to -frounding-math.
27420 (+cflags): Add +math-flags so that all of glibc gets compiled with
27423 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
27425 2012-05-05 Joseph Myers <joseph@codesourcery.com>
27427 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
27433 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
27434 (__ieee754_expl): Allow for and saturate large arguments.
27435 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
27436 (u_threshold): Likewise.
27437 (__exp): Call __ieee754_exp before checking for overflow and
27439 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
27440 (u_threshold): Likewise.
27441 (__expf): Call __ieee754_expf before checking for overflow and
27443 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
27444 (u_threshold): Likewise.
27445 (__expl): Call __ieee754_expl before checking for overflow and
27447 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
27448 (__ieee754_expl): Allow for and saturate large arguments.
27449 * math/libm-test.inc (exp_test): Add another test. Do not allow
27450 missing overflow exception on overflow.
27451 (expm1_test): Do not allow missing overflow exception on overflow.
27453 * sysdeps/i386/fpu/e_expl.c: Move to ...
27454 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
27455 rather than using inline asm.
27456 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
27457 * sysdeps/x86_64/fpu/e_expl.S: Copy from
27458 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
27460 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
27463 (signal): Likewise.
27467 2012-05-04 Joseph Myers <joseph@codesourcery.com>
27469 * sysdeps/unix/syscalls.list (adjtime): Add entry from
27470 sysdeps/unix/common/syscalls.list.
27471 (fchmod): Likewise.
27472 (fchown): Likewise.
27473 (ftruncate): Likewise.
27474 (getrusage): Likewise.
27475 (gettimeofday): Likewise.
27476 (setpgid): Likewise.
27477 (setregid): Likewise.
27478 (setreuid): Likewise.
27479 (sigaction): Likewise.
27480 (truncate): Likewise.
27481 (vhangup): Likewise.
27482 * sysdeps/unix/common/syscalls.list: Remove file.
27483 * sysdeps/unix/bsd/Implies: Don't include unix/common.
27484 * sysdeps/unix/sysv/linux/Implies: Likewise.
27486 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
27488 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
27489 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
27490 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
27492 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
27494 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
27496 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
27497 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
27499 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
27500 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
27502 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
27503 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
27505 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
27506 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
27508 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
27509 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
27511 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
27512 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
27514 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
27516 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
27518 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
27520 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
27522 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
27523 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
27525 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
27527 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
27529 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
27531 2012-05-04 Joseph Myers <joseph@codesourcery.com>
27533 * sysdeps/unix/common/bits/dirent.h: Remove file.
27534 * sysdeps/unix/common/bits/fcntl.h: Likewise.
27536 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
27537 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
27538 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
27539 * sysdeps/unix/bsd/isatty.c: Likewise.
27540 * sysdeps/unix/bsd/tcdrain.c: Likewise.
27541 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
27542 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
27544 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27547 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
27548 long double comparison inaccuracies.
27549 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
27550 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27552 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
27554 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
27555 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
27557 2012-05-04 Joseph Myers <joseph@codesourcery.com>
27560 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
27561 nonzero digits before rounding a hex value.
27562 * stdlib/tst-strtod.c (tests): Add another test.
27564 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27566 * sysdeps/s390/fpu/libm-test-ulps: Update.
27568 2012-05-03 Andreas Jaeger <aj@suse.de>
27570 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
27571 does not get optimized out.
27572 (malloc_opt_barrier): New.
27574 2012-05-03 Andreas Jaeger <aj@suse.de>
27575 Roland McGrath <roland@hack.frob.com>
27577 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
27578 intermediate file deletion.
27579 (generated): Add .symlist files.
27581 2012-05-03 Joseph Myers <joseph@codesourcery.com>
27584 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
27585 Redirect under this condition.
27586 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
27587 [__USE_GNU] (__dprintf_chk): Not under this condition.
27588 [__USE_GNU] (__vdprintf_chk): Likewise.
27589 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
27590 under this condition.
27591 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
27592 [__USE_XOPEN2K8] (dprintf): Define under this condition.
27593 [__USE_XOPEN2K8] (vdprintf): Likewise.
27594 [__USE_GNU] (__dprintf_chk): Not under this condition.
27595 [__USE_GNU] (__vdprintf_chk): Likewise.
27596 [__USE_GNU] (dprintf): Likewise.
27597 [__USE_GNU] (vdprintf): Likewise.
27599 2012-05-03 Roland McGrath <roland@hack.frob.com>
27601 * elf/Makefile (common-generated): Set this instead of generated for
27602 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
27603 $(all-built-dso)-derived lists.
27605 2012-05-03 Andreas Jaeger <aj@suse.de>
27607 * sysdeps/i386/fpu/libm-test-ulps: Update.
27610 * FAQ.in: Likewise.
27611 * scripts/gen-FAQ.pl: Likewise.
27612 * manual/install.texi (Installation): Point to online location of
27614 * Makefile (files-for-dist): Remove FAQ.
27617 2012-05-02 Allan McRae <allan@archlinux.org>
27619 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
27620 (LDFLAGS-reldepmod5.so): Likewise.
27621 (LDFLAGS-reldep6mod1.so): Likewise.
27622 (LDFLAGS-reldep6mod4.so): Likewise.
27623 (LDFLAGS-reldep8mod3.so): Likewise.
27624 (LDFLAGS-unload4mod1.so): Likewise.
27625 (LDFLAGS-unload4mod2.so): Likewise.
27626 (LDFLAGS-tst-initorder): Likewise.
27627 (LDFLAGS-tst-initordera2.so): Likewise.
27628 (LDFLAGS-tst-initordera3.so): Likewise.
27629 (LDFLAGS-tst-initordera4.so): Likewise.
27630 (LDFLAGS-tst-initorderb2.so): Likewise.
27631 (LDFLAGS-noload): Likewise.
27632 (LDFLAGS-next): Likewise.
27633 (LDFLAGS-order2mod1.so): Likewise.
27634 (LDFLAGS-order2mod2.so): Likewise.
27635 (LDFLAGS-tst-initorder2): Likewise.
27636 (LDFLAGS-tst-initorder2a.so): Likewise.
27637 (LDFLAGS-tst-initorder2b.so): Likewise.
27638 (LDFLAGS-tst-initorder2c.so): Likewise.
27639 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
27641 2012-05-02 David S. Miller <davem@davemloft.net>
27643 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27645 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
27648 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
27650 2012-05-02 Andreas Jaeger <aj@suse.de>
27652 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
27653 since we manipulate rounding mode.
27654 (CPPFLAGS-test-idouble.c): Likewise.
27655 (CPPFLAGS-test-ifloat.c): Likewise.
27656 (CFLAGS-test-ldouble.c): Likewise.
27657 (CFLAGS-test-double.c): Likewise.
27658 (CFLAGS-test-float.c): Likewise.
27659 (CFLAGS-test-misc.c): Likewise.
27660 (CFLAGS-test-test-fenv.c): Likewise.
27662 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27666 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
27667 comparisons to determine direction to adjust input.
27669 2012-05-01 Roland McGrath <roland@hack.frob.com>
27671 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
27672 output to the target.
27674 * scripts/localplt.awk: New file.
27675 * elf/Makefile ($(objpfx)check-localplt): Target removed.
27676 (check-localplt-CFLAGS): Variable removed.
27677 ($(all-built-dso:=.jmprel)): New static pattern rule.
27678 (generated): Add those targets.
27679 (localplt-built-dso): New variable.
27680 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
27682 * elf/check-localplt.c: File removed.
27684 * scripts/check-execstack.awk: New file.
27685 * elf/Makefile ($(objpfx)check-execstack): Target removed.
27686 (check-execstack-CFLAGS): Variable removed.
27687 ($(objpfx)check-execstack.h): Target removed.
27688 ($(objpfx)execstack-default): New target.
27689 (generated): Add that instead of check-execstack.h.
27690 ($(all-built-dso:=.phdr)): New static pattern rule.
27691 (generated): Add those targets.
27692 * elf/check-execstack.c: File removed.
27694 * scripts/check-textrel.awk: New file.
27695 * elf/Makefile ($(objpfx)check-textrel): Target removed.
27696 (check-textrel-CFLAGS): Variable removed.
27697 (all-built-dso): Use := to define.o
27698 ($(all-built-dso:=.dyn)): New static pattern rule.
27699 (generated): Add those targets.
27700 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
27701 * config.make.in (READELF): New substituted variable.
27702 * elf/check-textrel.c: File removed.
27704 2012-05-01 Joseph Myers <joseph@codesourcery.com>
27706 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
27708 * conform/data/ctype.h-data [C99-based standards] (isblank):
27710 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
27711 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
27712 [ISO || ISO99 || ISO11] (*_t): Do not allow.
27713 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
27714 Specify type. Require positive value.
27715 (EILSEQ): Likewise.
27716 (ERANGE): Likewise.
27717 [ISO || POSIX] (EILSEQ): Do not expect.
27718 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
27719 Specify type. Require positive value.
27720 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
27721 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
27722 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
27723 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
27724 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
27725 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
27726 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
27727 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
27728 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
27729 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
27730 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
27731 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
27732 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
27733 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
27734 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
27735 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
27736 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
27737 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
27738 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
27739 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
27740 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
27741 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
27742 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
27743 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
27744 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
27745 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
27746 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
27747 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
27748 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
27749 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
27750 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
27751 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
27752 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
27753 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
27754 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
27755 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
27756 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
27757 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
27758 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
27759 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
27760 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
27761 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
27762 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
27763 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
27764 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
27765 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
27766 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
27767 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
27768 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
27769 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
27770 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
27771 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
27772 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
27773 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
27774 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
27775 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
27776 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
27777 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
27778 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
27779 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
27780 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
27781 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
27782 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
27783 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
27784 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
27785 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
27786 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
27787 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
27788 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
27789 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
27790 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
27791 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
27792 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
27793 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
27794 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
27795 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
27796 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
27798 (FLT_ROUNDS): Expect as macro, not constant.
27799 (FLT_MANT_DIG): Use macro-int-constant.
27800 (DBL_MANT_DIG): Likewise.
27801 (LDBL_MANT_DIG): Likewise.
27802 (FLT_DIG): Likewise.
27803 (DBL_DIG): Likewise.
27804 (LDBL_DIG): Likewise.
27805 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
27806 (DBL_MIN_EXP): Likewise.
27807 (LDBL_MIN_EXP): Likewise.
27808 (FLT_MAX_EXP): Use macro-int-constant.
27809 (DBL_MAX_EXP): Likewise.
27810 (LDBL_MAX_EXP): Likewise.
27811 (FLT_MAX_10_EXP): Likewise.
27812 (DBL_MAX_10_EXP): Likewise.
27813 (LDBL_MAX_10_EXP): Likewise.
27814 (FLT_MAX): Use macro-constant.
27815 (DBL_MAX): Likewise.
27816 (LDBL_MAX): Likewise.
27817 (FLT_EPSILON): Use macro-constant. Give upper bound.
27818 (DBL_EPSILON): Likewise.
27819 (LDBL_EPSILON): Likewise.
27820 (FLT_MIN): Likewise.
27821 (DBL_MIN): Likewise.
27822 (LDBL_MIN): Likewise.
27823 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
27824 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
27825 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
27826 [ISO11] (FLT_HAS_SUBNORM): Likewise.
27827 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
27828 [ISO11] (DBL_DECIMAL_DIG): Likewise.
27829 [ISO11] (FLT_DECIMAL_DIG): Likewise.
27830 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
27831 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
27832 [ISO11] (FLT_TRUE_MIN): Likewise.
27833 [ISO11] (LDBL_TRUE_MIN): Likewise.
27834 [ISO || ISO99 || ISO11] (*_t): Do not allow.
27835 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
27836 (SCHAR_MIN): Use macro-int-constant. Specify type.
27837 (SCHAR_MAX): Likewise.
27838 (UCHAR_MAX): Likewise.
27839 (CHAR_MIN): Likewise.
27840 (CHAR_MAX): Likewise.
27841 (MB_LEN_MAX): Use macro-int-constant.
27842 (SHRT_MIN): Use macro-int-constant. Specify type.
27843 (SHRT_MAX): Likewise.
27844 (USHRT_MAX): Likewise.
27845 (INT_MAX): Likewise.
27846 (INT_MIN): Use macro-int-constant. Specify type. Make upper
27848 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
27850 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
27852 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
27853 bound negative. Suffix upper bound with "L".
27854 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
27856 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
27858 [C99-based standards] (LLONG_MAX): Likewise.
27859 [C99-based standards] (ULLONG_MAX): Likewise.
27860 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
27862 [ISO11] (max_align_t): Require type.
27863 [ISO || ISO99 || ISO11] (*_t): Do not allow.
27865 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
27866 from $CFLAGS, without defining away __attribute__ calls.
27867 (checknamespace): Use $CFLAGS_namespace.
27869 * conform/conformtest.pl (@keywords): Only include C99 keywords
27870 for standards based on C99 or C11.
27872 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
27874 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
27877 * conform/conformtest.pl: Handle "macro-int-constant" and test for
27878 usability of symbols in #if.
27880 * conform/conformtest.pl: If macro or constant types start
27881 "promoted:", expect the symbol to be of the following type
27882 promoted by the integer promotions.
27884 * conform/conformtest.pl: Parse all "constant" and "macro" lines
27885 in one place. Also handle "macro-constant".
27887 * conform/conformtest.pl: Only accept expected macro values with
27888 "==". Parse all "macro" lines in one place.
27889 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
27891 * conform/conformtest.pl: Handle braced types on "constant" lines
27892 instead of handling "typed-constant".
27893 * conform/data/signal.h-data: Use "constant" instead of
27896 * conform/conformtest.pl: Handle "optional-" at start of lines in
27897 one place rather than duplicating several cases. Handle each
27898 format of "macro" line with initial "optional-".
27900 * conform/conformtest.pl: Only accept expected constant or
27901 optional-constant values with "==". Parse all "constant" lines in
27902 one place. Parse all "optional-constant" lines in one place.
27903 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
27904 * conform/data/fmtmsg.h-data: Likewise.
27905 * conform/data/netinet/in.h-data: Likewise.
27906 * conform/data/tar.h-data: Likewise.
27907 * conform/data/limits.h-data: Use "==" form on "constant" and
27908 "optional-constant" lines.
27910 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
27911 Use -std=c99 for XOPEN2K.
27912 (@knownproblems): Remove.
27913 (newtoken): Don't check %isknown.
27915 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
27916 Do not expect macro.
27917 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
27918 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
27919 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
27920 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
27921 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
27922 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
27923 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
27924 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
27925 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
27926 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
27927 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
27928 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
27929 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
27930 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
27931 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
27932 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
27933 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
27934 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
27935 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
27936 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
27937 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
27938 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
27939 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
27940 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
27941 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
27942 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
27943 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
27944 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
27945 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
27946 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
27947 [XPG3] (acosh): Likewise.
27948 [XPG3] (asinh): Likewise.
27949 [XPG3] (atanh): Likewise.
27950 [XPG3] (cbrt): Likewise.
27951 [XPG3] (expm1): Likewise.
27952 [XPG3] (ilogb): Likewise.
27953 [XPG3] (log1p): Likewise.
27954 [XPG3] (logb): Likewise.
27955 [XPG3] (nextafter): Likewise.
27956 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
27957 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
27958 [XPG3] (remainder): Likewise.
27959 [XPG3] (rint): Likewise.
27960 [XPG3 || XPG4 || UNIX98] (round): Likewise.
27961 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
27962 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
27963 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
27964 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
27965 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
27966 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
27967 [UNIX98 || XOPEN2K] (scalb): Expect.
27968 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
27969 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
27970 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
27971 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
27972 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
27973 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
27974 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
27975 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
27976 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
27977 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
27978 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
27979 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
27980 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
27981 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
27982 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
27983 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
27984 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
27985 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
27986 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
27987 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
27988 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
27989 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
27990 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
27991 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
27992 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
27993 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
27994 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
27995 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
27996 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
27997 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
27998 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
27999 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
28000 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
28001 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
28002 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
28003 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
28004 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
28005 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
28006 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
28007 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
28008 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
28009 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
28010 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
28011 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
28012 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
28013 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
28014 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
28015 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
28016 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
28017 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
28018 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
28019 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
28020 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
28021 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
28022 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
28023 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
28024 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
28025 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
28026 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
28027 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
28028 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
28029 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
28030 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
28031 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
28032 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
28033 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
28034 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
28035 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
28036 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
28037 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
28038 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
28039 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
28040 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
28041 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
28042 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
28043 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
28044 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
28045 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
28046 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
28047 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
28048 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
28049 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
28050 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
28051 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
28052 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
28053 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
28054 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
28055 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
28056 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
28057 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
28058 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
28059 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
28060 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
28061 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
28062 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
28063 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
28064 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
28065 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
28066 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
28067 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
28068 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
28069 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
28070 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
28071 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
28072 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
28073 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
28074 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
28075 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
28076 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
28077 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
28078 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
28079 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
28080 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
28081 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
28082 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
28083 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
28084 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
28085 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
28086 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
28087 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
28088 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
28089 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
28090 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
28091 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
28092 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
28093 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
28094 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
28095 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
28096 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
28097 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
28098 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
28099 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
28100 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
28101 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
28102 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
28103 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
28104 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
28106 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
28107 _XOPEN_SOURCE_EXTENDED for XPG4.
28109 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
28111 * Makeconfig (localtime): Remove variable.
28112 (inst_localtime-file): Likewise.
28114 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
28116 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
28118 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28120 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
28122 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
28124 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
28126 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
28128 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
28130 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
28132 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
28135 2012-05-01 Joseph Myers <joseph@codesourcery.com>
28139 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
28140 comparisons to determine direction to adjust input.
28141 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
28142 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
28143 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
28145 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
28147 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
28149 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
28150 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
28152 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
28154 * math/libm-test.inc (nexttoward_test): Add more tests.
28156 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
28159 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
28160 in version GLIBC_2.1, not GLIBC_2.0.
28161 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
28164 2012-04-30 Joseph Myers <joseph@codesourcery.com>
28167 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
28169 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
28170 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
28171 * math/libm-test.inc (acos_test): Add more tests.
28172 (asin_test): Likewise.
28173 * sysdeps/i386/fpu/libm-test-ulps: Update.
28174 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28177 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
28179 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
28180 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
28181 * math/libm-test.inc (acos_test_tonearest): New function.
28182 (acos_test_towardzero): Likewise.
28183 (acos_test_downward): Likewise.
28184 (acos_test_upward): Likewise.
28185 (asin_test_tonearest): Likewise.
28186 (asin_test_towardzero): Likewise.
28187 (asin_test_downward): Likewise.
28188 (asin_test_upward): Likewise.
28189 (main): Call the new functions.
28190 * sysdeps/i386/fpu/libm-test-ulps: Update.
28191 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28195 * math/e_exp10.c: Include <float.h>.
28196 (__ieee754_exp10): Handle underflow here rather than multiplying
28197 large negative argument by M_LN10.
28198 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
28200 * math/e_exp10l.c: Include <float.h>.
28201 (__ieee754_exp10l): Handle underflow here rather than multiplying
28202 large negative argument by M_LN10l.
28203 * math/libm-test.inc (exp10_test): Add another test. Do not allow
28204 spurious overflow exception on underflow.
28206 2012-04-29 Marek Polacek <polacek@redhat.com>
28208 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
28209 (__fortify_function): New macro.
28210 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
28211 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
28212 __extern_always_inline.
28213 * libio/bits/stdio2.h: Likewise.
28214 * libio/bits/stdio.h: Likewise.
28215 * string/string.h: Likewise.
28216 * string/bits/string3.h: Likewise.
28217 * include/stdio.h: Likewise.
28218 * stdlib/bits/stdlib.h: Likewise.
28219 * stdlib/stdlib.h: Likewise.
28220 * rt/bits/mqueue2.h: Likewise.
28221 * rt/mqueue.h: Likewise.
28222 * posix/bits/unistd.h: Likewise.
28223 * posix/unistd.h: Likewise.
28224 * io/bits/poll2.h: Likewise.
28225 * io/bits/fcntl2.h: Likewise.
28226 * io/fcntl.h: Likewise.
28227 * io/sys/poll.h: Likewise.
28228 * misc/bits/syslog.h: Likewise.
28229 * misc/bits/syslog-ldbl.h: Likewise.
28230 * misc/sys/syslog.h: Likewise.
28231 * socket/bits/socket2.h: Likewise.
28232 * socket/sys/socket.h: Likewise.
28233 * debug/tst-chk1.c: Likewise.
28234 * wcsmbs/bits/wchar2.h: Likewise.
28235 * wcsmbs/bits/wchar-ldbl.h: Likewise.
28236 * wcsmbs/wchar.h: Likewise.
28238 2012-04-29 Andreas Jaeger <aj@suse.de>
28240 * Makerules (tests): Remove enable-check-abi protection.
28241 (check-abi-warn): Remove.
28242 (check-abi-%): Remove check-abi-warn usage.
28244 * configure.in: Remove check-abi configure option.
28245 * configure: Regenerated.
28246 * config.make.in (enable-check-abi): Remove.
28248 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
28251 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
28252 double functions to double *_finite functions.
28255 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
28256 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
28258 * stdio-common/Makefile (tests): Add tst-sprintf3.
28259 * stdio-common/tst-sprintf3.c: New file.
28261 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
28262 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
28264 2012-04-28 Joseph Myers <joseph@codesourcery.com>
28266 * conform/conformtest.pl: Remove duplicate typed-constant
28269 2012-04-28 David S. Miller <davem@davemloft.net>
28271 * Makerules (%.abilist): Add vpath on sysdep_dirs.
28272 (check-abi-%): Remove AWK script prerequisite and explicit
28274 (check-abi): Rewrite to just diff the symlist with the abilist.
28275 (config-tls, config-abi-config): Delete, no longer used.
28276 (update-abi-%): Remove AWK script and explicit abilist directory.
28277 (update-abi): Rewrite to simply compare and conditionally copy the
28278 symlist and the sysdep abilist file. Remove update-abi-config
28280 * abilist/ld.abilist: Remove.
28281 * abilist/libBrokenLocale.abilist: Remove.
28282 * abilist/libanl.abilist: Remove.
28283 * abilist/libcrypt.abilist: Remove.
28284 * abilist/libdl.abilist: Remove.
28285 * abilist/librt.abilist: Remove.
28286 * abilist/libthread_db.abilist: Remove.
28287 * abilist/libutil.abilist: Remove.
28288 * scripts/extract-abilist.awk: Remove.
28289 * scripts/merge-abilist.awk: Remove.
28290 * sysdeps/generic/libcidn.abilist: New file.
28291 * sysdeps/generic/libnss_compat.abilist: New file.
28292 * sysdeps/generic/libnss_db.abilist: New file.
28293 * sysdeps/generic/libnss_dns.abilist: New file.
28294 * sysdeps/generic/libnss_files.abilist: New file.
28295 * sysdeps/generic/libnss_hesiod.abilist: New file.
28296 * sysdeps/generic/libnss_nis.abilist: New file.
28297 * sysdeps/generic/libnss_nisplus.abilist: New file.
28298 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
28299 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
28300 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
28302 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
28303 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
28304 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
28305 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
28306 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
28307 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
28308 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
28309 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
28310 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
28312 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
28313 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
28314 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
28315 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
28317 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
28318 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
28319 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
28320 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
28321 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
28322 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
28324 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
28325 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
28326 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
28328 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
28329 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
28331 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
28333 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
28335 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
28337 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
28339 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
28341 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
28343 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
28345 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
28347 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
28349 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
28351 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
28353 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
28355 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
28357 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
28359 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
28361 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
28363 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
28365 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
28367 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
28369 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
28371 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
28373 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
28375 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
28377 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
28379 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
28381 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
28382 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
28384 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
28386 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
28388 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
28390 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
28392 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
28394 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
28396 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
28398 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
28400 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
28402 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
28404 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
28406 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
28407 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
28409 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
28411 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
28413 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
28415 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
28417 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
28419 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
28421 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
28423 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
28425 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
28427 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
28429 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
28431 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
28432 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
28433 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
28435 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
28436 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
28437 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
28438 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
28439 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
28440 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
28441 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
28442 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
28443 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
28444 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
28445 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
28446 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
28448 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
28450 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
28452 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
28454 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
28456 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
28458 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
28460 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
28462 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
28464 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
28466 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
28468 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
28470 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
28471 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
28473 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
28475 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
28477 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
28479 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
28481 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
28483 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
28485 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
28487 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
28489 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
28491 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
28493 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
28496 2012-04-28 Joseph Myers <joseph@codesourcery.com>
28498 * conform/conformtest.pl: Fix typo in handling typed-constant from
28501 2012-04-27 Joseph Myers <joseph@codesourcery.com>
28503 * README: Cut down references to pre-2.6 Linux kernels and
28504 Linuxthreads. Update lists of configurations in libc and ports
28505 and sort alphabetically. Say "or newer" with Linux kernel version
28508 * config.h.in [IS_IN_build]: Allow compiling without optimization.
28510 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
28513 * math/libm-test.inc (logb_test_downward): New test to expose
28514 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
28517 2012-04-27 Joseph Myers <joseph@codesourcery.com>
28520 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
28522 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
28523 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
28525 2012-04-26 Joseph Myers <joseph@codesourcery.com>
28527 * sysdeps/unix/i386/brk.S: Remove file.
28528 * sysdeps/unix/i386/dl-brk.S: Likewise.
28529 * sysdeps/unix/i386/pipe.S: Likewise.
28530 * sysdeps/unix/i386/sigreturn.S: Likewise.
28531 * sysdeps/unix/i386/syscall.S: Likewise.
28532 * sysdeps/unix/i386/vfork.S: Likewise.
28533 * sysdeps/unix/i386/wait.S: Likewise.
28535 * sysdeps/unix/common/tcsendbrk.c: Move to ...
28536 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
28538 * configure.in (arm*-none*): Do not allow without
28539 --enable-hacker-mode.
28540 (netbsd*): Remove case setting base_os.
28541 (386bsd*): Likewise.
28542 (freebsd*): Likewise.
28545 (sunos*): Likewise.
28546 (ultrix*): Likewise.
28547 (newsos*): Likewise.
28548 (dynix*): Likewise.
28554 (minix*): Likewise.
28555 (irix4*): Likewise.
28556 (irix6*): Likewise.
28557 (solaris[2-9]*): Likewise.
28559 * configure: Regenerated.
28561 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28564 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
28565 overflow or cancellation in calculating denominator.
28566 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
28567 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
28568 down expression to avoid unexpected rounding in newer GCCs.
28569 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
28571 2012-04-26 David S. Miller <davem@davemloft.net>
28573 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
28574 long-double compat symbols.
28575 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
28576 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
28577 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
28578 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
28579 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
28580 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
28581 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
28582 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
28583 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
28584 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
28585 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
28586 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
28587 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
28589 2012-04-25 David S. Miller <davem@davemloft.net>
28591 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
28592 HWCAP_* values only after the memory barriers have been defined.
28593 (atomic_full_barrier): Define.
28594 (atomic_read_barrier): Define.
28595 (atomic_write_barrier): Define.
28597 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
28599 * shlib-versions: Add libgcc_s version information.
28600 * sysdeps/generic/libgcc_s.h: Remove.
28601 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
28603 * sysdeps/gnu/unwind-resume.c: Likewise.
28604 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
28606 2012-04-25 David S. Miller <davem@davemloft.net>
28608 * sysdeps/unix/sparc/brk.S: Delete.
28609 * sysdeps/unix/sparc/dl-brk.S: Delete.
28610 * sysdeps/unix/sparc/pipe.S: Delete.
28611 * sysdeps/unix/sparc/sysdep.S: Delete.
28612 * sysdeps/unix/sparc/sysdep.h: Delete.
28613 * sysdeps/unix/sparc/vfork.S: Delete.
28614 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
28615 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
28616 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
28617 ret_ERRVAL, r0, r1, MOVE): Define.
28618 (JUMPTARGET): Remove.
28619 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
28620 sysdeps/unix/sparc/sysdep.h
28621 (ENTRY, END): Remove.
28622 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
28624 2012-04-25 Joseph Myers <joseph@codesourcery.com>
28626 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
28627 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
28630 * timezone/README: Update upstream location and email address for
28632 * timezone/zdump.c: Update from tzcode 2012b.
28633 * timezone/zic.c: Likewise.
28635 * configure.in (libc_cv_as_needed): Remove test.
28636 * configure: Regenerated.
28637 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
28638 conditional definition.
28639 [$(have-as-needed) != yes] (no-as-needed): Likewise.
28640 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
28641 * config.make.in (have-as-needed): Remove variable.
28643 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
28644 Paul Pluzhnikov <ppluzhnikov@google.com>
28646 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
28649 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
28651 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
28652 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
28653 * sysdeps/sh/strlen.S: Likewise.
28655 2012-04-24 Joseph Myers <joseph@codesourcery.com>
28657 * sysdeps/unix/fork.S: Remove file.
28658 * sysdeps/unix/i386/fork.S: Likewise.
28659 * sysdeps/unix/sparc/fork.S: Likewise.
28661 * sysdeps/unix/system.c: Remove file.
28662 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
28664 * sysdeps/unix/getegid.S: Remove file.
28665 * sysdeps/unix/geteuid.S: Likewise.
28667 2012-04-24 Roland McGrath <roland@hack.frob.com>
28669 * scripts/check-localplt.awk: New file.
28670 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
28672 * scripts/data/localplt-generic.data: Add a comment.
28674 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
28675 NODE when __dir_mkfile failed.
28676 * sysdeps/mach/hurd/symlinkat.c: Likewise.
28677 Reported by Ludovic Courtès <ludo@gnu.org>.
28679 2012-04-24 Andreas Jaeger <aj@suse.de>
28681 * Makerules (common-clean): Also remove gen-as-const-headers
28684 2012-04-24 Joseph Myers <joseph@codesourcery.com>
28686 * Makerules (native-compile): Do not change working directory for
28687 build. Use $(OUTPUT_OPTION) in command.
28688 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
28690 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28693 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
28694 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
28695 * math/libm-test.inc (floor_test): Add more tests.
28696 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
28698 2012-04-24 Joseph Myers <joseph@codesourcery.com>
28700 * sysdeps/unix/getdents.c: Remove file.
28701 * sysdeps/unix/sysv/getdents.c: Likewise.
28702 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
28704 * sysdeps/unix/syscalls.list (madvise): Add syscall from
28705 sysdeps/unix/mman/syscalls.list.
28707 (mprotect): Likewise.
28709 (munmap): Likewise.
28710 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
28711 * sysdeps/unix/mman/syscalls.list: Remove.
28712 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
28714 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
28715 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
28716 * configure: Regenerated.
28717 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
28718 $(libgcc_s_suffix).
28719 * config.make.in (libgcc_s_suffix): Remove variable.
28721 2012-04-23 Joseph Myers <joseph@codesourcery.com>
28723 * sysdeps/unix/sysv/gethostname.c: Move to ...
28724 * sysdeps/posix/gethostname.c: ... here.
28726 * sysdeps/unix/execve.S: Remove file.
28728 * sysdeps/unix/_exit.S: Remove file.
28730 2012-04-23 Andreas Jaeger <aj@suse.de>
28733 * manual/Makefile: Remove make dist support, there's no
28734 need for a stand-alone documentation tar ball.
28735 (TEXI2DVI): Define always, it's not in Makeconfig.
28738 (edition): Removed.
28739 (glibc-doc-$(edition).tar): Removed
28743 (ETAGS): Remove, it's in Makeconfig.
28744 (move-if-change): Remove, it's in Makeconfig.
28746 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
28749 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
28750 (strtod, strtof, strtold, strtol, strtoul, strtoq)
28751 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
28752 (strtod_l, strtof_l, strtold_l): Remove __wur.
28753 It is not necessarily an error to ignore strtol's return value.
28754 One can reliably look at the stored endptr to decide whether
28755 the number had valid syntax.
28757 2012-04-21 Andreas Jaeger <aj@suse.de>
28760 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
28762 2012-04-21 Joseph Myers <joseph@codesourcery.com>
28764 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
28765 * sysdeps/unix/sysv/Versions: Remove file.
28767 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
28770 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28772 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
28775 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
28776 version from __vm86.
28778 2012-04-20 Joseph Myers <joseph@codesourcery.com>
28780 * sysdeps/unix/common/lxstat.c: Remove file.
28781 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
28783 * sysdeps/unix/sysv/Makefile: Remove file.
28785 * sysdeps/unix/sysv/direct.h: Remove file.
28787 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
28788 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
28789 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
28790 * sysdeps/unix/sysv/bits/signum.h: Likewise.
28791 * sysdeps/unix/sysv/bits/stat.h: Likewise.
28792 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
28793 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
28795 * sysdeps/unix/sysv/setrlimit.c: Remove file.
28797 * sysdeps/unix/xmknod.c: Remove file.
28798 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
28800 * sysdeps/unix/sysv/settimeofday.c: Remove file.
28802 * sysdeps/unix/sysv/i386/time.S: Remove file.
28804 * sysdeps/unix/fxstat.c: Remove file.
28805 * sysdeps/unix/xstat.c: Likewise.
28806 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
28808 * sysdeps/unix/sysv/sigaction.c: Remove file.
28810 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
28811 (sysdep_headers): Remove variable.
28812 [termio.h not in sysdep_headers] (generated): Likewise.
28813 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
28814 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
28815 * sysdeps/unix/sysv/tcdrain.c: Likewise.
28816 * sysdeps/unix/sysv/tcflow.c: Likewise.
28817 * sysdeps/unix/sysv/tcflush.c: Likewise.
28818 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
28819 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
28820 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
28821 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
28822 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
28824 * sysdeps/unix/siglist.c: Remove file.
28826 * sysdeps/unix/getppid.S: Remove file.
28828 * sysdeps/unix/mkdir.c: Remove file.
28829 * sysdeps/unix/rmdir.c: Likewise.
28831 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
28833 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
28835 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
28836 errlist-compat value.
28838 2012-04-18 David S. Miller <davem@davemloft.net>
28840 * sysdeps/generic/memcopy.h (reg_char): Delete.
28841 * debug/strcat_chk.c: Use char, not reg_char.
28842 * debug/strcpy_chk.c: Likewise.
28843 * debug/strncat_chk.c: Likewise.
28844 * debug/strncpy_chk.c: Likewise.
28845 * string/memchr.c: Likewise.
28846 * string/memrchr.c: Likewise.
28847 * string/rawmemchr.c: Likewise.
28848 * string/strcat.c: Likewise.
28849 * string/strchr.c: Likewise.
28850 * string/strchrnul.c: Likewise.
28851 * string/strcmp.c: Likewise.
28852 * string/strcpy.c: Likewise.
28853 * string/strncat.c: Likewise.
28854 * string/strncmp.c: Likewise.
28855 * string/strncpy.c: Likewise.
28857 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
28859 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
28860 __builtin_memcopy is called when src and dest ranges are known to not
28863 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
28865 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
28866 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
28867 fwd_align_merge macro call.
28868 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
28869 bwd_align_merge macro call.
28870 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
28872 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
28874 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
28875 bwd_align_merge macros.
28876 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
28877 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
28878 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
28880 2012-04-18 David S. Miller <davem@davemloft.net>
28882 * sysdeps/sparc/sparc64/memcopy.h: Delete.
28884 2012-04-18 Andreas Jaeger <aj@suse.de>
28887 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
28888 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
28889 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
28891 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
28892 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
28893 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
28895 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
28896 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
28897 Adjust for changed ldbl-128 files.
28899 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
28900 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
28901 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
28903 2012-04-17 David S. Miller <davem@davemloft.net>
28905 * sysdeps/sparc/sparc32/memcopy.h: Delete.
28907 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
28909 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
28910 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
28911 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
28912 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
28913 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
28914 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
28916 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28919 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
28920 * math/libm-test.inc: Add ilogb errno and exception tests.
28921 * math/w_ilogb.c: New file: ilogb wrapper.
28922 * math/w_ilogbf.c: New file: ilogbf wrapper.
28923 * math/w_ilogbl.c: New file: ilogbl wrapper.
28924 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
28925 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
28926 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
28927 exception being thrown with 0.0 as argument.
28928 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
28929 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
28930 exception being thrown with 0.0 as argument.
28931 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
28932 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
28933 exception being thrown with 0.0 as argument.
28934 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
28935 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
28936 exception being thrown with 0.0 as argument.
28937 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
28938 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
28939 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
28940 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
28941 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
28942 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
28943 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
28944 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
28945 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
28947 2012-04-17 Petr Baudis <pasky@ucw.cz>
28949 * include/sys/uio.h: Change __vector to __iovec to avoid clash
28952 2012-04-16 Marek Polacek <polacek@redhat.com>
28954 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
28956 2012-04-16 Marek Polacek <polacek@redhat.com>
28958 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
28959 operands of fdivp instruction.
28961 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
28963 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
28964 * elf/tst-auditmod3b.c: Likewise.
28965 * elf/tst-auditmod4b.c: Likewise.
28966 * elf/tst-auditmod5b.c: Likewise.
28967 * elf/tst-auditmod6b.c: Likewise.
28968 * elf/tst-auditmod6c.c: Likewise.
28969 * elf/tst-auditmod7b.c: Likewise.
28970 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
28971 * sysdeps/x86_64/preconfigure.in: Likewise.
28972 * sysdeps/x86_64/preconfigure: Regenerated.
28974 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
28976 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
28979 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
28981 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
28982 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
28984 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
28987 * locale/iso-639.def: Fix gl language name. Spotted by
28990 2012-04-12 Roland McGrath <roland@hack.frob.com>
28993 * libio/libio.h (__io_write_fn): Update comment.
28995 2012-04-12 Petr Baudis <pasky@ucw.cz>
28998 * stdio.texi (Hook Functions): The user provided writer function
28999 is not allowed to return -1.
29001 2012-04-11 David S. Miller <davem@davemloft.net>
29003 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29005 2012-04-11 Mike Frysinger <vapier@gentoo.org>
29007 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
29008 Add a leading slash to rtkaio.
29010 2012-04-11 Jim Meyering <meyering@redhat.com>
29013 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
29014 It is not necessarily an error to ignore fwrite's return
29015 value. One can reliably use ferror to test for errors after
29018 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
29020 * bits/types.h (__snseconds_t): New type.
29021 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
29023 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
29024 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
29025 (__SNSECONDS_T_TYPE): Likewise.
29026 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
29027 (__SNSECONDS_T_TYPE): Likewise.
29028 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
29029 (__SNSECONDS_T_TYPE): Likewise.
29031 2012-04-10 Andreas Jaeger <aj@suse.de>
29034 * manual/time.texi (Processor Time): Return type of times is
29035 elapsed real time since an arbitrary point in the past.
29036 (CPU Time): Move CLK_TCK from here...
29037 (Processor Time): ...to here. Correct description.
29038 * manual/conf.texi (Constants for Sysconf): Correct description of
29041 2012-04-10 David S. Miller <davem@davemloft.net>
29044 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
29045 where the is a gap between DT_REL(A) and DT_JMPREL.
29047 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
29049 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
29050 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
29051 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
29053 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
29055 * elf/dl-support.c (_dl_inhibit_cache): New variable.
29056 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
29057 (dl_main): Handle --inhibit-cache.
29058 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
29060 * elf/dl-load.c (_dl_map_object): Use it.
29061 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
29063 2012-04-09 Joseph Myers <joseph@codesourcery.com>
29066 * sysdeps/i386/fpu/e_powl.S (p78): New object.
29067 (__ieee754_powl): Saturate large exponents rather than testing for
29068 overflow of y*log2(x).
29069 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
29070 * math/libm-test.inc (pow_test): Do not permit spurious overflow
29074 * math/s_ctan.c: Include <float.h>.
29075 (__ctan): Avoid internal overflow or cancellation in calculating
29077 * math/s_ctanf.c: Likewise.
29078 * math/s_ctanl.c: Likewise.
29079 * math/s_ctanh.c: Likewise.
29080 * math/s_ctanhf.c: Likewise.
29081 * math/s_ctanhl.c: Likewise.
29082 * math/libm-test.inc (ctan_test): Add more tests.
29083 (ctanh_test): Likewise.
29084 * sysdeps/i386/fpu/libm-test-ulps: Update.
29085 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29087 2012-04-09 Andreas Jaeger <aj@suse.de>
29090 * manual/filesys.texi (Directory Entries): Mention that d_namlen
29091 is an optional BSD extension.
29094 * manual/stdio.texi (Opening Streams): Document additional fopen
29097 2012-04-09 Roland McGrath <roland@hack.frob.com>
29099 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
29100 %eax without telling the compiler.
29102 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
29105 * manual/install.texi: Use sourceware.org.
29107 2012-04-09 Joseph Myers <joseph@codesourcery.com>
29110 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
29111 (__ieee754_pow): Generate overflow and underflow using huge*huge
29112 and tiny*tiny rather than just returning constant infinity or zero
29113 for large exponents.
29114 * math/libm-test.inc (pow_test): Require overflow exceptions for
29115 applicable cases of large exponents.
29118 * sysdeps/i386/fpu/e_pow.S (p10): New object.
29119 (__ieee754_pow): Use iterative multiplication algorithm only for
29120 integer exponents with absolute value below 1024. Check for odd
29121 integer exponents when using algorithm for real exponents.
29122 * math/libm-test.inc (pow_test): Add more tests.
29123 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29125 2012-04-08 Joseph Myers <joseph@codesourcery.com>
29128 * math/libm-test.inc (exp_test): Do not allow overflow exception
29131 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
29134 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
29135 instead of __kernel_standard_f.
29137 2012-04-08 Mike Frysinger <vapier@gentoo.org>
29139 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
29140 * sysdeps/x86_64/memset_chk.S: Likewise.
29142 2012-04-08 Andreas Jaeger <aj@suse.de>
29145 * manual/startup.texi (Environment Access): Describe return value
29146 for putenv and setenv.
29149 * manual/filesys.texi (Directory Entries): Add description for
29153 * manual/filesys.texi (Directory Entries): Clarify that it's file
29154 system not operating system in the description of DT_UNKNOWN.
29157 * manual/syslog.texi (closelog): Fix reference, it's openlog.
29159 2012-04-08 Stephen Compall <s11@member.fsf.org>
29162 * manual/llio.texi (Opening and Closing Files): Add cross
29163 reference to explain mode argument.
29165 2012-04-07 Mike Frysinger <vapier@gentoo.org>
29167 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
29168 * sysdeps/x86_64/memset_chk.S: Likewise.
29170 2012-04-07 David S. Miller <davem@davemloft.net>
29172 * elf/elf.h (R_SPARC_WDISP10): Define.
29173 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
29175 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
29176 R_SPARC_SIZE64 and R_SPARC_H34.
29178 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
29180 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
29181 conditions and remove no longer applicable assertion.
29183 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
29185 * bits/byteswap.h: Include <features.h>.
29186 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
29187 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
29189 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
29191 * bits/byteswap.h (__bswap_16): Removed.
29192 Include <bits/byteswap-16.h> to get __bswap_16.
29193 * sysdeps/i386/bits/byteswap.h: Likewise.
29194 * sysdeps/s390/bits/byteswap.h: Likewise.
29195 * sysdeps/x86_64/bits/byteswap.h: Likewise.
29196 * bits/byteswap-16.h: New file.
29197 * sysdeps/i386/bits/byteswap-16.h: Likewise.
29198 * sysdeps/s390/bits/byteswap-16.h: Likewise.
29199 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
29200 * string/Makefile (headers): Add bits/byteswap-16.h.
29202 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
29205 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
29207 * nss/Makefile (tests-static, tests): Add tst-nss-static.
29208 * nss/tst-nss-static.c: New.
29210 2012-04-06 Robert Millan <rmh@gnu.org>
29213 * manual/llio.texi (File Position Primitive): lseek
29214 refers to WHENCE when it really means OFFSET.
29216 2012-04-06 Andreas Jaeger <aj@suse.de>
29218 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
29219 strncmp declarations.
29221 * abilist/libc.abilist: Add __poll and __ppoll.
29223 2012-04-05 David S. Miller <davem@davemloft.net>
29225 * scripts/check-local-headers.sh: Accept a host triplet in the
29226 path matched by the exclude regexp.
29228 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
29230 * sysdeps/powerpc/powerpc32/dl-machine.h
29231 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
29232 * sysdeps/s390/s390-32/dl-machine.h
29233 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
29234 * sysdeps/sparc/sparc32/dl-machine.h
29235 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
29236 * sysdeps/sparc/sparc64/dl-machine.h
29237 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
29239 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
29241 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
29242 undefined symbol errors.
29244 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
29247 2012-04-05 Michael Matz <matz@suse.de>
29250 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
29252 2012-04-05 Andreas Jaeger <aj@suse.de>
29255 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
29258 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
29260 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
29261 which ROUND is no valid rounding mode.
29263 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
29265 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
29267 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
29269 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
29271 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
29272 an exception using FPU order intentionally.
29274 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
29276 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
29277 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
29278 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
29279 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
29281 2012-04-05 Simon Josefsson <simon@josefsson.org>
29284 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
29285 EINVAL when BUFLEN is too smal.
29287 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
29290 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
29291 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
29293 2012-04-03 Andreas Jaeger <aj@suse.de>
29296 * manual/setjmp.texi (System V contexts): Fix sentence.
29299 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
29300 New macro for this case.
29301 [!__GNUC__] (__bswap_64): New inline function for this case.
29302 * sysdeps/x86_64/bits/byteswap.h: Likewise.
29303 * bits/byteswap.h: Likewise.
29304 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
29305 ull, guard with __GLIBC_HAVE_LONG_LONG.
29307 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
29308 __GLIBC_HAVE_LONG_LONG.
29310 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
29311 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
29313 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
29316 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
29317 inptr and inend, rather than using last_ch.
29319 2012-04-02 David S. Miller <davem@davemloft.net>
29321 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
29322 * stdio-common/printf-parse.h (read_int): Change return type to
29323 'int', return -1 on INT_MAX overflow.
29324 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
29325 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
29326 overflows INT_MAX. Check for overflow of in-format-string precision
29327 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
29328 SIZE_MAX not INT_MAX for integer overflow test.
29329 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
29330 skip the construct in the format string but do not record anything.
29331 * stdio-common/bug22.c: Adjust to test both width/prevision
29332 INT_MAX overflow as well as total length INT_MAX overflow. Check
29333 explicitly for proper errno values.
29335 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
29337 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
29339 * string/test-strcmp.c [! WIDE]: Likewise.
29340 * time/tst-mktime2.c: Likewise for INT_MAX.
29341 * string/test-string.h: #include <sys/param.h> for MIN.
29343 * csu/init-first.c (__libc_init_first): Call __ctype_init.
29344 * sysdeps/i386/init-first.c (init): Likewise.
29345 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
29346 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
29347 * sysdeps/sh/init-first.c (init): Likewise.
29349 2012-04-01 Ulrich Drepper <drepper@gmail.com>
29351 * po/ru.po: Update from translation team.
29352 * po/vi.po: Likewise.
29354 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
29356 * resolv/nss_dns/dns-host.c: Merge copyright years.
29358 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29360 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
29361 Optimize memcpy with prefetch if
29362 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
29363 src, dst pointers have unequal 16 byte alignments.
29365 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
29368 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
29369 from a CNAME entry and return the minimum ttl for the query.
29370 (gaih_getanswer_slice): Likewise.
29372 2012-03-30 Jeff Law <law@redhat.com>
29374 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
29376 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
29377 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
29379 * resolv/nss_dns/dns-host.c: Update copyright year.
29381 2012-03-30 Ulrich Drepper <drepper@gmail.com>
29383 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
29384 requests to save a system call. Fix check that all bytes are sent.
29386 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
29387 comments for sendmmsg.
29389 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
29392 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
29393 with only 1 character between 0x0041 and 0x01b0.
29394 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
29395 * wcsmbs/tst-mbsnrtowcs.c: New file.
29397 2012-03-29 David S. Miller <davem@davemloft.net>
29399 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
29400 small copies by hand.
29402 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
29405 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
29406 _nss_compat_initgroups_dyn): Fall back to malloc/free
29407 for large group memberships.
29409 2012-03-28 David S. Miller <davem@davemloft.net>
29411 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
29412 that branches into memcpy.
29413 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
29414 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
29415 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
29416 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
29417 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
29419 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
29420 implementation too.
29421 * sysdeps/sparc/mempcpy.S: New file.
29423 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
29424 the IFUNC routine in the libc case.
29425 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
29427 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
29428 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
29429 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
29430 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
29431 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
29432 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
29433 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
29434 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
29436 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
29437 loop to 256 bytes instead of 64 bytes and fix test signedness.
29439 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
29440 * sysdeps/sparc/sparc32/Makefile: rather than here...
29441 * sysdeps/sparc/sparc64/Makefile: and here.
29443 2012-03-28 Ulrich Drepper <drepper@gmail.com>
29445 * malloc/mallocbug.c: Avoid warnings about unused variables.
29447 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
29450 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
29451 in the right place. Discard and retry query if response is
29452 larger than input buffer size.
29454 2012-03-28 Joseph Myers <joseph@codesourcery.com>
29459 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
29460 x for large integer exponent.
29461 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
29462 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
29463 sign of result as needed afterwards.
29464 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
29465 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
29466 result for underflowing pow the same as for overflow.
29467 (__kernel_standard_l): Handle powl overflow and underflow here
29468 rather than calling __kernel_standard.
29469 * math/libm-test.inc (pow_test): Add more tests.
29484 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
29485 * sysdeps/ieee754/k_standard.c: Include <float.h>.
29486 (__kernel_standard_l): New function.
29487 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
29489 * math/w_acosl.c (__acosl): Likewise.
29490 * math/w_asinl.c (__asinl): Likewise.
29491 * math/w_atan2l.c (__atan2l): Likewise.
29492 * math/w_atanhl.c (__atanhl): Likewise.
29493 * math/w_coshl.c (__coshl): Likewise.
29494 * math/w_exp10l.c (__exp10l): Likewise.
29495 * math/w_exp2l.c (__exp2l): Likewise.
29496 * math/w_fmodl.c (__fmodl): Likewise.
29497 * math/w_hypotl.c (__hypotl): Likewise.
29498 * math/w_j0l.c (__j0l, __y0l): Likewise.
29499 * math/w_j1l.c (__j1l, __y1l): Likewise.
29500 * math/w_jnl.c (__jnl, __ynl): Likewise.
29501 * math/w_lgammal.c (__lgammal): Likewise.
29502 * math/w_log10l.c (__log10l): Likewise.
29503 * math/w_log2l.c (__log2l): Likewise.
29504 * math/w_logl.c (__logl): Likewise.
29505 * math/w_powl.c (__powl): Likewise.
29506 * math/w_remainderl.c (__remainderl): Likewise.
29507 * math/w_scalbl.c (sysv_scalbl): Likewise.
29508 * math/w_sinhl.c (__sinhl): Likewise.
29509 * math/w_sqrtl.c (__sqrtl): Likewise.
29510 * math/w_tgammal.c (__tgammal): Likewise.
29511 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
29512 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
29513 * math/libm-test.inc (acos_test): Add more tests.
29514 (acosh_test): Likewise.
29515 (asin_test): Likewise.
29516 (atanh_test): Likewise.
29517 (exp_test): Likewise.
29518 (exp10_test): Likewise.
29519 (exp2_test): Likewise.
29520 (expm1_test): Likewise.
29521 (lgamma_test): Likewise.
29522 (log_test): Likewise.
29523 (log10_test): Likewise.
29524 (log1p_test): Likewise.
29525 (log2_test): Likewise.
29526 (pow_test): Do not allow some spurious overflow exceptions.
29527 (sqrt_test): Add more tests.
29528 (tgamma_test): Likewise.
29529 (y0_test): Likewise.
29530 (y1_test): Likewise.
29531 (yn_test): Likewise.
29533 2012-03-27 Anton Blanchard <anton@samba.org>
29535 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
29537 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
29538 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
29539 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
29541 2012-03-27 David S. Miller <davem@davemloft.net>
29543 * conform/Makefile: Run run-conformtest.sh using $(BASH).
29545 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
29546 have-as-vis3 check.
29548 2012-03-27 Andreas Jaeger <aj@suse.de>
29550 * sysdeps/x86_64/elf/configure.in: Moved to ...
29551 * sysdeps/x86_64/configure.in: ... here.
29552 * sysdeps/x86_64/elf/start.S: Moved to ...
29553 * sysdeps/x86_64/start.S: ... here.
29554 * sysdeps/x86_64/elf/configure: Delete.
29556 * sysdeps/x86_64/configure.in: Merge contents from
29557 sysdeps/i386/configure.in (without i686 check).
29559 * sysdeps/i386/elf/Versions: Merge into ...
29560 * sysdeps/i386/Versions: ... this.
29561 * sysdeps/i386/elf/Versions: Delete file.
29562 * sysdeps/i386/elf/start.S: Moved to ...
29563 * sysdeps/i386/start.S: ...here.
29564 * sysdeps/i386/elf/configure.in: Merge into...
29565 * sysdeps/i386/configure.in: ...here.
29566 * sysdeps/i386/elf/configure.in: Delete file.
29567 * sysdeps/i386/elf/configure: Delete file.
29569 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
29570 * debug/backtracesyms.c: ... here.
29571 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
29572 * debug/backtracesymsfd.c: ... here.
29573 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
29574 * sysdeps/generic/ifunc-sel.h: ... here.
29576 * sysdeps/unix/i386/start.c: Delete file.
29577 * sysdeps/unix/sparc/start.c: Delete file.
29578 * sysdeps/unix/start.c: Delete file.
29580 * sysdeps/sh/elf/configure.in: Moved to ...
29581 * sysdeps/sh/configure.in: ... here.
29582 * sysdeps/sh/elf/start.S: Moved to ...
29583 * sysdeps/sh/start.S: ... here.
29584 * sysdeps/sh/elf/configure: Delete file.
29586 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
29587 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
29588 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
29589 * sysdeps/powerpc/powerpc64/entry.h: ... here.
29590 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
29591 * sysdeps/powerpc/powerpc64/start.S: here.
29592 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
29593 * sysdeps/powerpc/powerpc64/Makefile: ... this.
29594 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
29595 * sysdeps/powerpc/powerpc64/configure.in: ... this.
29596 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
29598 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
29599 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
29600 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
29601 * sysdeps/powerpc/powerpc32/start.S: ... here.
29602 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
29603 * sysdeps/powerpc/powerpc32/configure.in: ... this.
29604 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
29606 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
29607 * sysdeps/powerpc/ifunc-sel.h: ... here.
29608 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
29609 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
29611 * sysdeps/sparc/elf/configure.in: Moved to ...
29612 * sysdeps/sparc/configure.in: ... here.
29613 * sysdeps/sparc/elf/configure: Delete file.
29614 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
29615 * sysdeps/sparc/sparc32/start.S: ... here.
29616 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
29617 * sysdeps/sparc/sparc64/start.S: ... here.
29618 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
29619 * sysdeps/sparc/sparc32/Makefile: ... this.
29620 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
29621 * sysdeps/sparc/sparc64/Makefile: ... this.
29623 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
29624 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
29625 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
29626 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
29627 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
29628 * sysdeps/s390/s390-32/setjmp.S: ... here.
29629 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
29630 * sysdeps/s390/s390-32/configure.in: ... here.
29631 * sysdeps/s390/s390-32/elf/configure: Delete file.
29632 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
29633 * sysdeps/s390/s390-32/start.S: ... here.
29635 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
29636 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
29637 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
29638 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
29639 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
29640 * sysdeps/s390/s390-64/setjmp.S: ... here.
29641 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
29642 * sysdeps/s390/s390-64/configure.in: ... here
29643 * sysdeps/s390/s390-64/elf/configure: Delete file.
29644 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
29645 * sysdeps/s390/s390-64/start.S: ... here.
29646 * sysdeps/s390/s390-64/elf/configure: Delete.
29648 * configure.in: Remove support for elf directories in sysdeps.
29650 * configure: Regenerated.
29651 * sysdeps/i386/configure: Regenerated.
29652 * sysdeps/powerpc/powerpc32/configure: Regenerated.
29653 * sysdeps/powerpc/powerpc64/configure: Regenerated.
29654 * sysdeps/s390/s390-32/configure: Regenerated.
29655 * sysdeps/s390/s390-64/configure: Regenerated.
29656 * sysdeps/sh/configure: Regenerated.
29657 * sysdeps/sparc/configure: Regenerated.
29658 * sysdeps/x86_64/configure: Regenerated.
29660 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
29662 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29664 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
29665 denormal result into account.
29667 2012-03-25 Roland McGrath <roland@hack.frob.com>
29669 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
29670 Reported by Allan McRae <allan@archlinux.org>.
29672 2012-03-23 Jeff Law <law@redhat.com>
29674 * nss/getnssent.c (__nss_getent): Fix typo.
29676 2012-03-23 David S. Miller <davem@davemloft.net>
29678 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29680 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
29682 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
29683 to pad to uint64_t for each field.
29684 (dl_tls_index): Replace unsigned long with uint64_t.
29686 2012-03-23 Daniel Jacobowitz <dmj@google.com>
29687 Paul Pluzhnikov <ppluzhnikov@google.com>
29690 * grp/Makefile (otherlibs): Don't set it.
29691 * inet/Makefile (otherlibs): Likewise.
29692 * login/Makefile (otherlibs): Likewise.
29693 * nscd/Makefile (otherlibs): Likewise.
29694 * posix/Makefile (otherlibs): Likewise.
29695 * pwd/Makefile (otherlibs): Likewise.
29696 * rt/Makefile (otherlibs): Likewise.
29697 * sunrpc/Makefile (otherlibs): Likewise.
29698 * nss/Makefile (otherlibs): Likewise.
29699 Add libnss_files to routines and static-only-routines.
29700 ($(objpfx)getent): Remove rule.
29701 * resolv/Makefile: Add libnss_dns and libresolv to routines and
29702 static-only-routines.
29704 2012-03-22 Joseph Myers <joseph@codesourcery.com>
29707 * math/s_cexp.c: Include <float.h>.
29708 (__cexp): Handle exp result overflowing not necessarily
29709 overflowing both real and imaginary parts of result.
29710 * math/s_cexpf.c: Likewise.
29711 * math/s_cexpl.c: Likewise.
29712 * math/libm-test.inc (cexp_test): Add more tests.
29713 * sysdeps/i386/fpu/libm-test-ulps: Update.
29714 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29716 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
29718 * include/link.h (ELFW): New macro.
29719 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
29720 Replace ELF64_R_TYPE with ELFW(R_TYPE).
29722 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
29724 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
29727 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
29729 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
29731 (struct La_x32_retval): Likewise.
29733 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
29735 * sysdeps/x86_64/preconfigure.in: New file.
29736 * sysdeps/x86_64/preconfigure: New generated file.
29738 2012-03-22 Joseph Myers <joseph@codesourcery.com>
29741 * math/e_exp2l.c: Include <float.h>.
29742 (__ieee754_exp2l): Handle overflow and underflow cases
29743 separately. Only pass fractional part of argument to
29745 * math/libm-test.inc (exp2_test): Add more tests.
29747 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
29748 negating x to take absolute value.
29749 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
29751 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
29752 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
29754 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
29755 computing low part if x was negated.
29756 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
29758 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
29760 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
29761 la_x32_gnu_pltexit.
29762 (pltexit): Cast int_retval to ptrdiff_t.
29763 * elf/tst-auditmod3b.c: Likewise.
29764 * elf/tst-auditmod4b.c: Likewise.
29765 * elf/tst-auditmod5b.c: Likewise.
29766 * elf/tst-auditmod6b.c: Likewise.
29767 * elf/tst-auditmod6c.c: Likewise.
29768 * elf/tst-auditmod7b.c: Likewise.
29770 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
29771 and x32_gnu_pltexit.
29773 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
29774 __ELF_NATIVE_CLASS.
29775 (La_x32_regs): New macro.
29776 (La_x32_retval): Likewise.
29777 (la_x32_gnu_pltenter): New function prototype.
29778 (la_x32_gnu_pltexit): Likewise.
29780 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
29782 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
29785 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29787 * configure.in (libc_cv_cc_nofma): Check for option to disable
29788 generation of FMA instructions.
29789 * configure: Regenerate.
29790 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
29791 * sysdeps/ieee754/dbl-64/Makefile: New file.
29792 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
29793 Remove brandred-fma4.
29794 (CFLAGS-brandred-fma4.c): Remove.
29795 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
29796 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
29798 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
29801 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
29803 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
29804 LLONG_MAX != LONG_MAX.
29805 (_itoa_word): Use _ITOA_WORD_TYPE on value.
29806 (_fitoa_word): Likewise.
29807 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
29808 LLONG_MAX != LONG_MAX.
29809 * stdio-common/_itowa.h: Include <_itoa.h>.
29810 (_itowa_word): Use _ITOA_WORD_TYPE on value.
29811 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
29812 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
29813 only if not defined.
29814 (_ITOA_WORD_TYPE): Likewise.
29815 (_itoa_word): Use _ITOA_WORD_TYPE on value.
29816 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
29818 2012-03-21 David S. Miller <davem@davemloft.net>
29820 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29822 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
29824 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
29825 of x86_64 when setting libc_cv_slibdir, libdir and
29827 * sysdeps/unix/sysv/linux/configure: Regenerated.
29829 2012-03-21 Joseph Myers <joseph@codesourcery.com>
29831 * manual/lang.texi (Old Varargs): Remove section.
29832 (How Variadic): Update menu.
29833 (va_start): Do not mention varargs.h.
29835 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
29836 Joseph Myers <joseph@codesourcery.com>
29838 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
29840 * configure: Regenerated.
29842 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
29844 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
29845 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
29848 2012-03-21 Joseph Myers <joseph@codesourcery.com>
29851 * Makefile (files-for-dist): Remove NOTES.
29852 (NOTES): Remove rule.
29853 * README: Don't refer to NOTES.
29854 * manual/creature.texi: Don't include macros.texi.
29855 * manual/intro.texi (creature.texi): Remove comment referring to
29858 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
29859 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
29860 * configure: Regenerated.
29861 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
29862 LIBC_TRY_CC_OPTION.
29863 (libc_cv_as_i686): Likewise.
29864 (libc_cv_cc_avx): Likewise.
29865 (libc_cv_cc_sse2avx): Likewise.
29866 (libc_cv_cc_fma4): Likewise.
29867 (libc_cv_cc_novzeroupper): Likewise.
29868 * sysdeps/i386/configure: Regenerated.
29871 * sysdeps/i386/fpu/s_cexp.S: Remove.
29872 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
29873 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
29874 * math/libm-test.inc (cexp_test): Add more tests.
29875 * sysdeps/i386/fpu/libm-test-ulps: Update.
29876 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29878 2012-03-21 Allan McRae <allan@archlinux.org>
29880 * timezone/Makefile: Do not install iso3166.tab and zone.tab
29882 2012-03-21 Joseph Myers <joseph@codesourcery.com>
29885 * math/w_exp2.c: Do not include <float.h>.
29886 (o_threshold, u_threshold): Remove.
29887 (__exp2): Calculate result before checking finiteness and calling
29889 * math/w_exp2f.c: Likewise.
29890 * math/w_exp2l.c: Likewise.
29891 * math/libm-test.inc (exp2_test): Require overflow exception for
29895 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
29896 range of signed 64-bit integers before using fistpll. Remove
29897 checks for whether integers fit in mantissa bits.
29898 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
29899 the range of signed 32-bit integers before using fistpl. Remove
29900 checks for whether integers fit in mantissa bits.
29901 * sysdeps/i386/fpu/e_powl.S (p64): New object.
29902 (__ieee754_powl): Test for y outside the range of signed 64-bit
29903 integers before using fistpll. Reduce 64-bit values to 63-bit
29905 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
29906 divide-by-zero is raised for zero to large negative powers.
29907 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
29908 (__ieee754_powl): Test for y outside the range of signed 64-bit
29909 integers before using fistpll. Reduce 64-bit values to 63-bit
29911 * math/libm-test.inc (pow_test): Add more tests.
29913 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
29915 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
29916 <stdio-common/_itoa.h>.
29917 * debug/segfault.c: Likewise.
29918 * elf/dl-cache.c: Likewise.
29919 * elf/dl-minimal.c: Likewise.
29920 * elf/dl-misc.c: Likewise.
29921 * elf/dl-sysdep.c: Likewise.
29922 * elf/dl-version.c: Likewise.
29923 * elf/rtld.c: Likewise.
29924 * hurd/hurdsock.c: Likewise.
29925 * hurd/lookup-retry.c: Likewise.
29926 * malloc/malloc.c: Likewise.
29927 * malloc/mtrace.c: Likewise.
29928 * nscd/nscd_getgr_r.c: Likewise.
29929 * nscd/nscd_getpw_r.c: Likewise.
29930 * nscd/nscd_getserv_r.c: Likewise.
29931 * posix/getopt_init.c: Likewise.
29932 * posix/wordexp.c: Likewise.
29933 * stdio-common/_itoa.c: Likewise.
29934 * stdio-common/printf_fphex.c: Likewise.
29935 * stdio-common/vfprintf.c: Likewise.
29936 * string/_strerror.c: Likewise.
29937 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
29938 * sysdeps/i386/i686/hp-timing.h: Likewise.
29939 * sysdeps/mach/_strerror.c: Likewise.
29940 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
29941 * sysdeps/mach/hurd/sethostid.c: Likewise.
29942 * sysdeps/mach/hurd/xmknodat.c: Likewise.
29943 * sysdeps/mach/xpg-strerror.c: Likewise.
29944 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
29945 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
29946 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
29947 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
29948 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
29949 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
29950 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
29951 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
29952 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
29953 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
29954 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
29955 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
29956 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
29957 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
29958 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
29959 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
29960 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
29961 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
29962 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
29963 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
29964 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
29966 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
29968 * stdio-common/_itoa.h: Moved to ...
29969 * sysdeps/generic/_itoa.h: Here.
29971 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
29973 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
29974 instead of "_itoa.h" and "_itowa.h".
29975 * stdio-common/vfprintf.: Likewise.
29977 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
29979 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
29981 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
29982 (__signbit): Likwise.
29983 (llrintf): Likwise.
29986 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
29988 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
29991 2012-03-20 Joseph Myers <joseph@codesourcery.com>
29993 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
29994 OVERFLOW_EXCEPTION_OK.
29995 * math/libm-test.inc ("Philosophy"): Update comment about
29997 (OVERFLOW_EXCEPTION): Define.
29998 (OVERFLOW_EXCEPTION_OK): Likewise.
29999 (INVALID_EXCEPTION_OK): Renumber.
30000 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
30001 (IGNORE_ZERO_INF_SIGN): Likewise.
30002 (test_exceptions): Handle FE_OVERFLOW.
30003 (exp10_test): Expect overflow exceptions.
30004 (exp2_test): Likewise.
30005 (expm1_test): Likewise.
30006 (nextafter_test): Likewise.
30007 (pow_test): Likewise.
30008 (scalbn_test): Likewise.
30009 (scalbln_test): Likewise.
30011 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
30013 * sysdeps/x86_64/bits/atomic.h
30014 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
30016 (atomic_exchange_acq): Likewise.
30017 (__arch_exchange_and_add_body): Likewise.
30018 (__arch_add_body): Likewise.
30019 (atomic_add_negative): Likewise.
30020 (atomic_add_zero): Likewise.
30022 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
30024 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
30025 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
30027 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
30029 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
30030 Check __x86_64__ instead of __WORDSIZE.
30032 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
30034 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
30036 2012-03-19 David S. Miller <davem@davemloft.net>
30038 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30040 * sysdeps/sparc/fpu/fenv_private.h: New file.
30041 * sysdeps/sparc/fpu/math_private.h: Use it.
30042 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
30044 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
30045 (libc_feholdexcept_setroundl): Remove.
30046 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
30048 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
30049 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
30051 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
30053 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
30054 int64_t instead of long int.
30055 (INSERT_WORDS64): Likwise.
30057 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
30059 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
30060 _Unwind_GetCFA return to _Unwind_Ptr first.
30062 2012-03-19 Joseph Myers <joseph@codesourcery.com>
30065 * math/s_clog.c: Include <float.h>.
30066 (__clog): Scale large or subnormal inputs.
30067 * math/s_clogf.c: Likewise.
30068 * math/s_clogl.c: Likewise.
30069 * math/s_clog10.c: Include <float.h>.
30070 (M_LOG10_2): Define.
30071 (__clog10): Scale large or subnormal inputs.
30072 * math/s_clog10f.c: Likewise.
30073 * math/s_clog10l.c: Likewise.
30074 * math/libm-test.inc (clog_test): Add more tests.
30075 (clog10_test): Likewise.
30076 * sysdeps/i386/fpu/libm-test-ulps: Update.
30077 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30080 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
30082 * math/libm-test.inc (atan2_test): Add another test.
30084 * Makerules (common-objdir-compile): Remove.
30085 * sysdeps/unix/Makefile (config-generated): Do not add
30086 $(unix-generated) to variable.
30087 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
30088 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
30090 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
30092 [generic bits/local_lim.h] (before-compile): Do not append to
30094 [generic bits/local_lim.h] (common-generated): Likewise.
30095 [generic sys/param.h] (before-compile): Do not append to variable.
30096 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
30097 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
30098 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
30099 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
30101 [generic sys/param.h] (sys/param.h-includes): Remove variable.
30102 [generic sys/param.h] (sys/param.h-includes): Remove rule.
30103 [generic sys/param.h] ($(addprefix
30104 $(common-objpfx),$(sys/param.h-includes))): Likewise.
30105 [generic sys/param.h] (common-generated): Do not append to
30107 [generic sys/param.h] (sysdep_headers): Likewise.
30108 [generic bits/errno.h] (before-compile): Do not append to
30110 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
30112 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
30113 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
30114 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
30115 [generic bits/errno.h] (common-generated): Do not append to
30117 [generic bits/ioctls.h] (before-compile): Do not append to
30119 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
30121 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
30122 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
30123 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
30125 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
30126 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
30127 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
30128 [generic bits/ioctls.h] (common-generated): Do not append to
30130 [generic sys/syscall.h] (syscall.h): Remove variable.
30131 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
30133 [generic sys/syscall.h] (before-compile): Do not append to
30135 [generic sys/syscall.h] (common-generated): Likewise.
30136 * sysdeps/unix/errnos-tmpl.c: Remove file.
30137 * sysdeps/unix/errnos.awk: Likewise.
30138 * sysdeps/unix/ioctls-tmpl.c: Likewise.
30139 * sysdeps/unix/ioctls.awk: Likewise.
30140 * sysdeps/unix/mk-local_lim.c: Likewise.
30141 * sysdeps/unix/snarf-ioctls: Likewise.
30143 2012-03-19 Richard Henderson <rth@twiddle.net>
30145 * sysdeps/i386/fpu/fenv_private.h: New file.
30146 * sysdeps/i386/fpu/math_private.h: Use it.
30147 (math_opt_barrier, math_force_eval): Remove.
30148 (libc_feholdexcept_setround_53bit): Remove.
30149 (libc_feupdateenv_53bit): Remove.
30150 * sysdeps/x86_64/fpu/math_private.h: Likewise.
30151 (math_opt_barrier, math_force_eval): Remove.
30152 (libc_feholdexcept): Remove.
30153 (libc_feholdexcept_setround): Remove.
30154 (libc_fetestexcept, libc_fesetenv): Remove.
30155 (libc_feupdateenv_test): Remove.
30156 (libc_feupdateenv, libc_feholdsetround): Remove.
30157 (libc_feresetround): Remove.
30159 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
30160 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
30162 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
30163 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
30164 (libc_feupdateenv_testl): New.
30165 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
30166 (libc_feupdateenv_testf): New.
30167 (libc_feupdateenv): Use libc_feupdateenv_test.
30168 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
30169 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
30171 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
30172 (libc_feholdsetroundf, libc_feholdsetroundl): New.
30173 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
30174 (libc_feresetround_noex): New.
30175 (libc_feresetround_noexf): New.
30176 (libc_feresetround_noexl): New.
30177 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
30178 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
30179 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
30180 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
30182 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
30183 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
30185 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
30186 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
30187 SET_RESTORE_ROUND_NOEX.
30188 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
30189 SET_RESTORE_ROUND_NOEXF.
30190 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
30191 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
30192 (libc_feholdsetroundf): New.
30193 (libc_feresetround, libc_feresetroundf): New.
30195 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
30196 (libc_feholdexcept_setround_53bit): Convert from macro to function.
30197 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
30199 * sysdeps/generic/math_private.h: Include <fenv.h>.
30200 (default_libc_feholdexcept): New.
30201 (default_libc_feholdexcept_setround): New.
30202 (default_libc_fesetenv, default_libc_feupdateenv): New.
30203 (libc_feholdexcept): Only define if undefined.
30204 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
30205 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
30206 (libc_feholdexcept_setroundl): Likewise.
30207 (libc_feholdexcept_setround_53bit): Likewise.
30208 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
30209 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
30210 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
30211 (libc_feupdateenv_53bit): Likewise.
30212 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
30213 (libc_feholdexcept): Convert from macro to inline function.
30214 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
30215 (libc_fesetenv, libc_feupdateenv): Likewise.
30217 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
30218 not previously defined.
30219 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
30220 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
30221 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
30222 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
30223 * sysdeps/ieee754/flt-32/math_private.h: New file.
30224 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
30225 math_private.h below SET_FLOAT_WORD.
30226 (__isnan, __isinf_ns, __finite): Remove.
30227 (__isnanf, __isinf_nsf, __finitef): Remove.
30229 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
30231 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30233 2012-03-17 David S. Miller <davem@davemloft.net>
30236 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
30239 2012-03-16 David S. Miller <davem@davemloft.net>
30241 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
30245 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
30247 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
30248 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
30249 sysdep_routines when subdir is sysvipc.
30250 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
30251 __getshmlba helper.
30253 * sysdeps/sparc/fpu/libm-test/ulps: Update.
30255 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
30257 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
30260 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
30262 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
30263 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
30264 (__lround): Renamed to ...
30265 (__llround): This. Replace long int with long long int.
30266 Define lround functions as aliases of llround functions.
30267 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
30269 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
30271 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
30272 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
30273 adresses to uintptr_t. Replace "long int" and "unsigned long
30274 int" with "greg_t" on va_arg.
30276 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
30278 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
30279 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
30281 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
30282 Move e_machine check before EI_CLASS check. Handle x32
30283 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
30284 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
30285 SKIP_EM_IA_64 and include
30286 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
30288 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
30289 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
30290 (add_system_dir): New macro.
30292 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
30293 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
30295 2012-03-16 Joseph Myers <joseph@codesourcery.com>
30306 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
30308 * math/w_j0f.c (j0f): Likewise.
30310 * math/w_j0l.c (__j0l): Likewise.
30312 * math/w_j1.c (j1): Likewise.
30314 * math/w_j1f.c (j1f): Likewise.
30316 * math/w_j1l.c (__j1l): Likewise.
30318 * math/w_jn.c (jn): Likewise.
30320 * math/w_jnf.c (jnf): Likewise.
30322 * math/w_jnl.c (__jnl): Likewise.
30324 * math/libm-test.inc (j0_test): Add more tests.
30325 (j1_test): Likewise.
30326 (jn_test): Likewise. Add trailing semicolon to existing test.
30327 (y0_test): Likewise.
30328 (y1_test): Likewise.
30329 * sysdeps/i386/fpu/libm-test-ulps: Update.
30330 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30334 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
30335 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
30336 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
30337 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
30338 (__tanl): Set errno for infinite argument.
30339 * sysdeps/i386/fpu/mptan.c: Remove.
30340 * sysdeps/i386/fpu/s_tan.S: Likewise.
30341 * sysdeps/i386/fpu/s_tanl.S: Likewise.
30342 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
30343 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
30344 * math/libm-test.inc (tan_test): Add more tests and enable more
30345 tests for double and long double.
30346 * sysdeps/i386/fpu/libm-test-ulps: Update.
30347 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30349 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
30351 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
30352 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
30354 2012-03-16 Roland McGrath <roland@hack.frob.com>
30356 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
30357 * configure.in: Use it for both main tree and add-ons.
30358 * configure: Regenerated.
30360 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
30362 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
30364 2012-03-16 Joseph Myers <joseph@codesourcery.com>
30366 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
30370 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
30371 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
30372 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
30373 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
30374 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
30376 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
30377 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
30378 != 0 for prec == 2.
30379 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
30380 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
30381 * sysdeps/i386/fpu/s_cosl.S: Likewise.
30382 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
30383 * sysdeps/i386/fpu/s_sinl.S: Likewise.
30384 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
30385 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
30386 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
30387 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
30388 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
30389 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
30390 * math/libm-test.inc (cos_test): Add more tests and enable more
30391 tests for long double.
30392 (sin_test): Likewise.
30393 (sincos_test): Likewise.
30394 * sysdeps/i386/fpu/libm-test-ulps: Update.
30395 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30397 2012-03-16 David S. Miller <davem@davemloft.net>
30399 * sysdeps/sparc/fpu/math_private.h: New file.
30401 2012-03-15 David S. Miller <davem@davemloft.net>
30403 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
30405 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
30406 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
30408 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
30409 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
30410 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
30411 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
30412 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
30413 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
30415 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
30417 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
30418 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
30420 * sysdeps/sparc/sparc-ifunc.h: New file.
30421 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
30423 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
30424 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
30426 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
30428 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
30429 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
30430 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
30431 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
30433 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
30434 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
30435 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
30436 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
30437 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
30439 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
30441 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
30442 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
30443 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
30444 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
30445 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
30446 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
30447 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
30448 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
30449 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
30450 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
30451 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
30452 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
30453 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
30454 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
30455 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
30456 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
30457 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
30458 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
30459 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
30460 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
30461 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
30462 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
30463 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
30464 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
30466 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
30468 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
30470 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30472 2012-03-15 Andreas Jaeger <aj@suse.de>
30475 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
30476 ieee754/flt-32 implementation for sin, cos and sincos.
30477 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
30478 * sysdeps/i386/fpu/s_cosf.S: Likewise.
30479 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
30480 * sysdeps/i386/fpu/s_sinf.S: Likewise.
30481 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
30482 ieee754/flt-32 implementation for tan.
30484 * math/libm-test.inc (cos_test): Enable some large input tests for
30486 (sin_test): Likewise.
30487 (sincos_test): Likewise.
30488 (tan_test): Add tests for large input.
30490 * sysdeps/i386/fpu/libm-test-ulps: Update.
30492 2012-03-15 Andreas Jaeger <aj@suse.de>
30495 * math/libm-test.inc (cos_test): Add more test cases.
30496 (sin_test): Likewise.
30497 (sincos_test): Likewise.
30499 2012-03-15 Andreas Jaeger <aj@suse.de>
30502 * math/libm-test.inc (cos_test): Add a test case for large input
30504 (sin_test): Likewise.
30505 (sincos_test): Likewise.
30507 2012-03-15 Andreas Jaeger <aj@suse.de>,
30508 Joseph Myers <joseph@codesourcery.com>
30511 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
30512 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
30513 * sysdeps/i386/fpu/branred.c: Likewise.
30514 * sysdeps/i386/fpu/dosincos.c: Likewise.
30515 * sysdeps/i386/fpu/mpa.c: Likewise.
30516 * sysdeps/i386/fpu/s_cos.S: Likewise.
30517 * sysdeps/i386/fpu/s_sin.S: Likewise.
30518 * sysdeps/i386/fpu/s_sincos.S: Likewise.
30519 * sysdeps/i386/fpu/sincos32.c: Likewise.
30521 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
30523 (libc_feupdateenv_53bit): Define.
30524 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
30526 (libc_feupdateenv_53bit): Define.
30528 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
30529 53 bit (without extend i386 double precision).
30531 * math/libm-test.inc (sincos_test): Add tests for large input.
30535 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
30537 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
30539 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30541 2012-03-15 David S. Miller <davem@davemloft.net>
30543 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
30544 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
30545 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
30546 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
30547 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
30548 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
30549 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
30550 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
30551 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
30552 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
30553 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
30554 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
30555 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
30556 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
30557 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
30558 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
30560 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
30561 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
30563 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
30564 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
30566 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
30567 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
30569 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
30570 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
30571 fmin/fmax sysdep routines.
30572 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
30574 2012-03-14 David S. Miller <davem@davemloft.net>
30576 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
30577 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
30578 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
30579 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
30580 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
30581 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
30582 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
30583 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
30584 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
30585 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
30586 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
30587 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
30588 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
30589 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
30590 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
30591 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
30592 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
30593 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
30594 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
30595 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
30596 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
30597 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
30598 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
30599 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
30600 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
30601 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
30602 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
30603 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
30604 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
30606 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
30608 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
30609 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
30611 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
30612 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
30614 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
30615 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
30617 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
30618 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
30620 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
30621 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
30623 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
30625 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
30627 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
30629 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
30631 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
30633 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
30635 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
30636 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
30638 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
30639 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
30641 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
30642 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
30644 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
30645 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
30648 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
30651 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30653 * sysdeps/sparc/configure.in: New file.
30654 * sysdeps/sparc/configure: Generate.
30655 * configure.in (libc_cv_sparc_as_vis3): Substitute.
30656 * configure: Regenerate.
30657 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
30658 * config.make.in (have-as-vis3): New.
30659 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
30660 available use -Av9d instead of -Av9a.
30661 * sysdeps/sparc/sparc64/Makefile: Likewise.
30662 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
30663 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
30665 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
30667 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
30669 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
30671 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
30672 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
30673 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
30674 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
30675 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
30677 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
30678 fzeros/fnegs to load 0x80000000 into a float register instead of
30680 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
30682 2012-03-14 Joseph Myers <joseph@codesourcery.com>
30684 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30686 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
30687 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
30688 ($(inst_includedir)/bits/syscall.h): Remove rule.
30689 ($(objpfx)bits/syscall.d): Include instead of
30690 $(objpfx)syscall-list.d.
30691 (generated): Change syscall-list.h and syscall-list.d to
30692 bits/syscall.h and bits/syscall.d.
30694 2012-03-14 Roland McGrath <roland@hack.frob.com>
30697 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
30699 2012-03-14 Joseph Myers <joseph@codesourcery.com>
30702 * math/s_csqrt.c: Include <float.h>.
30703 (__csqrt): Scale large or subnormal inputs.
30704 * math/s_csqrtf.c: Likewise.
30705 * math/s_csqrtl.c: Likewise.
30706 * math/libm-test.inc (csqrt_test): Add more tests.
30707 * sysdeps/i386/fpu/libm-test-ulps: Update.
30708 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30711 * math/libm-test.inc (hypot_test): Add more tests.
30713 2012-03-13 David S. Miller <davem@davemloft.net>
30716 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
30717 double-precision for the calculation instead of scaling.
30719 2012-03-13 Joseph Myers <joseph@codesourcery.com>
30721 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
30722 manipulate bits before adding and subtracting TWO52[sx].
30723 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
30724 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
30726 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
30728 2012-03-13 David S. Miller <davem@davemloft.net>
30730 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
30731 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
30732 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
30733 rtld-global-offsets.h
30734 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
30736 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
30739 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
30741 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
30742 'err' in the ifdef scope in which it is actually used.
30744 * nss/nss_db/db-init.c: Include string.h
30746 2012-03-12 David S. Miller <davem@davemloft.net>
30748 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
30749 masking out of the most significant byte of random value used.
30750 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
30751 Fix coding style in previous change.
30753 * sysdeps/unix/sysv/linux/kernel-features.h
30754 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
30755 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
30757 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
30760 2012-03-11 David S. Miller <davem@davemloft.net>
30762 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
30763 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
30764 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
30765 for 'resultvar' otherwise things get truncated on 64-bit.
30767 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
30768 Fix masking out of the most significant byte of random value used.
30770 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30772 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
30774 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30776 2012-03-09 David S. Miller <davem@davemloft.net>
30778 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
30779 variables with appropriate CPP guards.
30780 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
30781 frame pointer, not the stack pointer. Correct layout comments. Fix test
30782 on resulting framesize and the management of the outregs buffer for pltexit.
30783 Preserve floating point return values across _dl_call_pltexit call.
30784 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
30785 framesize and the management of the outregs buffer for pltexit.
30786 Preserve floating point return values across _dl_call_pltexit
30788 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
30789 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
30790 (print_exit): Fix format string for return register value.
30792 2012-03-10 Joseph Myers <joseph@codesourcery.com>
30794 * sunrpc/Makefile (others): Add rpcgen.
30795 ($(objpfx)rpcgen): Remove special build rule and dependency on
30797 * sunrpc/rpcgen.c: New file.
30799 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
30802 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
30803 * stdio-common/bug-vfprintf-nargs.c: Likewise.
30804 * sysdeps/i386/crti.S: Likewise.
30805 * sysdeps/i386/crtn.S: Likewise.
30806 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
30807 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
30808 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
30809 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
30810 * sysdeps/sh/crti.S: Likewise.
30811 * sysdeps/sh/crtn.S: Likewise.
30812 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
30815 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
30817 * locale/programs/locfile-kw.gperf: Likewise.
30818 * locale/programs/charmap-kw.h: Regenerated.
30819 * locale/programs/locfile-kw.h: Likewise.
30822 * intl/plural.y: Replace FSF snail mail address with URL.
30823 * intl/plural.c: Regenerated.
30825 2012-03-09 Richard Henderson <rth@twiddle.net>
30827 * include/math_private.h: Remove file.
30828 * math/math_private.h: Move file ...
30829 * sysdeps/generic/math_private.h: ... here.
30831 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
30832 * sysdeps/powerpc/fpu/math_private.h: Likewise.
30833 * sysdeps/x86_64/fpu/math_private.h: Likewise.
30835 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
30836 and <math_private.h>.
30837 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
30838 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
30839 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
30840 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
30841 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
30842 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
30843 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
30844 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
30845 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
30846 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
30847 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
30848 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
30849 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
30850 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
30851 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
30852 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
30853 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
30854 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
30855 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
30856 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
30857 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30858 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
30859 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
30860 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
30861 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
30862 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
30863 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
30864 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
30865 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
30866 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
30867 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
30868 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
30869 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
30870 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
30871 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
30872 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
30873 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
30874 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
30875 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
30876 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
30877 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
30878 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
30879 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
30880 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
30881 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
30882 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
30883 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
30884 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
30885 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
30886 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
30887 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
30888 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
30889 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
30890 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
30891 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
30892 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
30893 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
30894 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
30895 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
30896 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
30897 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
30898 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
30899 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
30900 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
30901 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
30902 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
30903 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
30904 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
30905 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
30906 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
30907 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
30908 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
30909 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
30910 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
30911 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
30912 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
30913 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
30914 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
30915 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
30916 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
30917 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
30918 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
30919 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
30920 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
30921 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
30922 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
30923 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
30924 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
30925 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
30926 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
30927 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
30928 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
30929 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
30930 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
30931 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
30932 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
30933 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
30934 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
30935 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
30936 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
30937 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
30938 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
30939 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
30940 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
30941 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
30942 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
30943 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
30944 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
30945 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
30946 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
30947 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
30948 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
30949 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
30950 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
30951 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
30952 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
30953 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
30954 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
30955 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
30956 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
30957 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
30958 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
30959 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
30960 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
30961 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
30962 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
30963 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
30964 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
30965 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
30966 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
30967 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
30968 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
30969 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
30970 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
30971 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
30972 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
30973 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
30974 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
30975 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
30976 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
30977 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
30978 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
30979 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
30980 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
30981 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
30982 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
30983 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
30984 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
30985 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
30986 * sysdeps/ieee754/k_standard.c: Likewise.
30987 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
30988 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
30989 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
30990 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
30991 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
30992 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
30993 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
30994 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
30995 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
30996 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
30997 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
30998 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
30999 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
31000 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
31001 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
31002 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
31003 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
31004 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
31005 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
31006 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
31007 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
31008 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
31009 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
31010 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
31011 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
31012 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
31013 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
31014 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
31015 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
31016 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
31017 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
31018 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
31019 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
31020 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
31021 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
31022 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
31023 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
31024 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
31025 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
31026 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
31027 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
31028 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
31029 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
31030 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
31031 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
31032 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
31033 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
31034 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
31035 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
31036 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
31037 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
31038 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
31039 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
31040 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
31041 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
31042 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
31043 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
31044 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
31045 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
31046 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
31047 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
31048 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
31049 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
31050 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
31051 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
31052 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
31053 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
31054 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
31055 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
31056 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
31057 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
31058 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
31059 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
31060 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
31061 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
31062 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
31063 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
31064 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
31065 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
31066 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
31067 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
31068 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
31069 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
31070 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
31071 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
31072 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
31073 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
31074 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
31075 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
31076 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
31077 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
31078 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
31079 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
31080 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
31081 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
31082 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
31083 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
31084 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
31085 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
31086 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
31087 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
31088 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
31089 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
31090 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
31091 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
31092 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
31093 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
31094 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
31095 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
31096 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
31097 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
31098 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
31099 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
31100 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
31101 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
31102 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
31103 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
31104 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
31105 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
31106 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
31107 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
31108 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
31109 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
31110 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
31111 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
31112 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
31113 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
31114 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
31115 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
31116 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
31117 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
31118 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
31119 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
31120 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
31121 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
31122 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
31123 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
31124 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
31125 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
31126 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
31127 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
31128 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
31129 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
31130 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
31131 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
31132 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
31133 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
31134 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
31135 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
31136 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
31137 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
31138 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
31139 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
31140 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
31141 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
31142 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
31143 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
31144 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
31145 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
31146 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
31147 * sysdeps/ieee754/s_lib_version.c: Likewise.
31148 * sysdeps/ieee754/s_matherr.c: Likewise.
31149 * sysdeps/ieee754/s_signgam.c: Likewise.
31150 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
31151 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
31152 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
31153 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
31154 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
31155 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
31156 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
31157 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
31158 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
31159 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
31160 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
31161 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
31162 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
31163 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
31164 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
31165 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
31166 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
31167 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
31168 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
31169 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
31170 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
31172 2012-03-09 Joseph Myers <joseph@codesourcery.com>
31174 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
31175 * sunrpc/rpc_main.c: Likewise.
31176 * sunrpc/rpc_svcout.c: Likewise.
31178 2012-03-09 David S. Miller <davem@davemloft.net>
31180 * include/math_private.h: New file.
31182 2012-03-09 Joseph Myers <joseph@codesourcery.com>
31184 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
31185 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
31186 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
31187 from <bits/socket_type.h>.
31188 (enum __socket_type): Don't define here.
31189 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
31190 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31191 bits/socket_type.h.
31194 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
31195 checking __USE_GNU.
31197 * Makerules ($(inst_includedir)/%.h): New rule.
31198 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
31199 (install-others): Remove variable setting.
31200 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
31202 2012-03-08 Richard Henderson <rth@twiddle.net>
31204 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
31205 from macro to inline function; merge with the
31206 !__LIBC_INTERNAL_MATH_INLINES version.
31207 (__ieee754_sqrtf): Likewise.
31209 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
31210 to inline function.
31211 (__rintf, __floor, __floorf): Likewise.
31213 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
31214 macro to inline function.
31215 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
31217 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
31218 not <math/math_private.h>.
31220 2012-03-08 David S. Miller <davem@davemloft.net>
31222 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
31224 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
31226 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
31228 * resolv/gai_misc.c (handle_requests): Fix struct timespec
31230 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
31231 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
31233 2012-03-08 Ulrich Drepper <drepper@gmail.com>
31235 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
31236 be defined individually, they must be defined as a block. Define
31237 S for printing a string instead of hidint the different by using a
31238 macro for adding the 'l'.
31239 * stdio-common/tst-fphex-wide.c: Adjust.
31241 2012-03-07 Marek Polacek <polacek@redhat.com>
31243 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
31245 2012-03-08 Marek Polacek <polacek@redhat.com>
31248 * stdio-common/Makefile (tests): Add tst-fphex-wide.
31249 * stdio-common/tst-fphex.c: Define a few macros to make the
31250 test reusable. Use them.
31251 * stdio-common/tst-fphex-wide.c: New file.
31253 2012-03-08 Joseph Myers <joseph@codesourcery.com>
31256 * manual/macros.texi (gnusystems): New macro.
31257 (nongnusystems): Likewise.
31258 (gnulinuxhurdsystems): Likewise.
31259 (gnuhurdsystems): Likewise..
31260 (gnulinuxsystems): Likewise.
31261 * manual/charset.texi: Use new macros or @theglibc{} to refer to
31262 variants of the GNU system, not "GNU system".
31263 * manual/conf.texi: Likewise.
31264 * manual/errno.texi: Likewise. Update example of errno macro
31266 * manual/filesys.texi: Likewise.
31267 (getumask): Document as specific to GNU/Hurd.
31268 * manual/install.texi: Likewise. Reword some references to
31270 * manual/intro.texi: Likewise.
31271 * manual/io.texi: Likewise.
31272 (File Name Portability): Detail which constraints are inapplicable
31273 to all GNU systems and which are only inapplicable to GNU/Hurd.
31274 * manual/job.texi: Likewise.
31275 * manual/llio.texi: Likewise.
31276 (O_NOCTTY): Document as present on GNU/Linux.
31277 * manual/maint.texi: Likewise.
31278 * manual/memory.texi: Likewise.
31279 * manual/pattern.texi: Likewise.
31280 * manual/pipe.texi: Likewise.
31281 * manual/process.texi: Likewise.
31282 * manual/resource.texi: Likewise.
31283 (RUSAGE_CHILDREN): Remove statement about specifying a particular
31285 * manual/setjmp.texi: Likewise.
31286 * manual/signal.texi: Likewise.
31287 * manual/startup.texi: Likewise.
31288 * manual/stdio.texi: Likewise.
31289 * manual/terminal.texi: Likewise.
31290 (ONLCR): Document as POSIX.
31291 (OXTABS): Document availability on GNU/Linux as XTABS.
31292 (ONOEOT): Document availability separately from other bits.
31293 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
31294 * manual/time.texi: Likewise.
31295 * manual/users.texi: Likewise.
31296 * INSTALL: Regenerated.
31297 * sysdeps/gnu/errlist.c: Regenerated.
31299 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
31300 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
31301 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
31303 * configure: Regenerated.
31305 2012-03-07 Joseph Myers <joseph@codesourcery.com>
31307 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
31308 default includes instead of AC_HEADER_CHECK.
31309 * sysdeps/i386/configure: Regenerated.
31312 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
31313 * math/s_cacoshf.c (__cacoshf): Likewise.
31314 * math/s_cacoshl.c (__cacoshl): Likewise.
31315 * math/s_casinh.c (__casinh): Set signs of result from argument.
31316 * math/s_casinhf.c (__casinhf): Likewise.
31317 * math/s_casinhl.c (__casinhl): Likewise.
31318 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
31319 (casinh_test): Add more tests.
31320 * sysdeps/i386/fpu/libm-test-ulps: Update.
31321 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31323 2012-03-07 Ulrich Drepper <drepper@gmail.com>
31325 * po/zh_TW.po: Update from translation team.
31327 * login/Makefile (distribute): Remove variable.
31328 * catgets/Makefile: Likewise.
31329 * mach/Makefile: Likewise.
31330 * malloc/Makefile: Likewise.
31331 * misc/Makefile: Likewise.
31332 * iconv/Makefile: Likewise.
31333 * nscd/Makefile: Likewise.
31334 * hurd/Makefile: Likewise.
31335 * manual/Makefile: Likewise.
31336 * locale/Makefile: Likewise.
31337 * intl/Makefile: Likewise.
31338 * conform/Makefile: Likewise.
31339 * nss/Makefile: Likewise.
31340 * time/Makefile: Likewise.
31341 * soft-fp/Makefile: Likewise.
31342 * dirent/Makefile: Likewise.
31343 * gmon/Makefile: Likewise.
31344 * po/Makefile: Likewise.
31345 * rt/Makefile: Likewise.
31346 * socket/Makefile: Likewise.
31347 * math/Makefile: Likewise.
31348 * signal/Makefile: Likewise.
31349 * debug/Makefile: Likewise.
31350 * elf/Makefile: Likewise.
31351 * timezone/Makefile: Likewise.
31352 * stdlib/Makefile: Likewise.
31353 * iconvdata/Makefile: Likewise.
31354 * sunrpc/Makefile: Likewise.
31355 * io/Makefile: Likewise.
31356 * argp/Makefile: Likewise.
31357 * inet/Makefile: Likewise.
31358 * hesiod/Makefile: Likewise.
31359 * grp/Makefile: Likewise.
31360 * csu/Makefile: Likewise.
31361 * wctype/Makefile: Likewise.
31362 * crypt/Makefile: Likewise.
31363 * libio/Makefile: Likewise.
31364 * string/Makefile: Likewise.
31365 * nis/Makefile: Likewise.
31366 * resolv/Makefile: Likewise.
31367 * stdio-common/Makefile: Likewise.
31368 * wcsmbs/Makefile: Likewise.
31369 * dlfcn/Makefile: Likewise.
31370 * posix/Makefile: Likewise.
31373 * timezone/Makefile: Don't install timezone files, just the programs
31376 2012-03-06 Ulrich Drepper <drepper@gmail.com>
31378 * nss/databases.def: Add missing gshadow entry.
31380 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
31382 2012-03-06 Marek Polacek <polacek@redhat.com>
31385 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
31386 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
31387 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
31388 * stdio-common/tst-long-dbl-fphex.c: New file.
31390 2012-03-06 David S. Miller <davem@davemloft.net>
31392 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
31393 (set_obp_int): New function.
31394 (get_obp_int): New function.
31395 (__get_clockfreq_via_dev_openprom): Likewise.
31396 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
31397 Avoid unused variable warnings on 'val' and use builtin_expect.
31398 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
31400 (INLINE_CLONE_SYSCALL): Likewise.
31402 2012-03-05 David S. Miller <davem@davemloft.net>
31404 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31406 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
31408 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31410 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
31411 only for |x| >= 40.
31412 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
31414 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
31416 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
31417 Replace gettimeofday with __vdso_gettimeofday.
31419 * sysdeps/unix/sysv/linux/x86_64/init-first.c
31420 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
31421 __vdso_clock_gettime and __vdso_getcpu.
31423 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
31424 time with __vdso_time.
31426 2012-03-05 Joseph Myers <joseph@codesourcery.com>
31428 * manual/lang.texi (size_t): Note types to which size_t may be
31429 equivalent with the GNU C Library, but do not describe when
31430 differences between them are significant.
31432 2012-03-05 Andreas Jaeger <aj@suse.de>
31434 * sysdeps/i386/fpu/libm-test-ulps: Update.
31436 2012-03-05 Joseph Myers <joseph@codesourcery.com>
31439 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
31440 (__ieee754_pow): Save and restore rounding mode and use
31441 round-to-nearest for main computations.
31442 * math/libm-test.inc (pow_test_tonearest): New function.
31443 (pow_test_towardzero): Likewise.
31444 (pow_test_downward): Likewise.
31445 (pow_test_upward): Likewise.
31446 (main): Call the new functions.
31447 * sysdeps/i386/fpu/libm-test-ulps: Update.
31448 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31451 * math/libm-test.inc (cosh_test_tonearest): New function.
31452 (cosh_test_towardzero): Likewise.
31453 (cosh_test_downward): Likewise.
31454 (cosh_test_upward): Likewise.
31455 (sinh_test_tonearest): Likewise.
31456 (sinh_test_towardzero): Likewise.
31457 (sinh_test_downward): Likewise.
31458 (sinh_test_upward): Likewise.
31459 (main): Call the new functions.
31460 * sysdeps/i386/fpu/libm-test-ulps: Update.
31461 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31463 2012-03-05 Tom de Vries <tom@codesourcery.com>
31465 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
31466 default stack guard is set in last bytes.
31467 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
31469 2012-03-05 Kees Cook <keescook@chromium.org>
31471 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
31474 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
31475 possibly allocate from heap instead of stack.
31476 * stdio-common/bug-vfprintf-nargs.c: New file.
31477 * stdio-common/Makefile (tests): Add nargs overflow test.
31479 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
31481 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31483 2012-03-03 Marek Polacek <polacek@redhat.com>
31485 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
31486 * math/math_private.h: Likewise.
31487 * stdlib/tst-strtod.c: Likewise.
31488 * sysdeps/i386/i486/bits/atomic.h: Likewise.
31489 * sysdeps/x86_64/bits/atomic.h: Likewise.
31491 2012-03-02 David S. Miller <davem@davemloft.net>
31493 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
31494 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
31495 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
31496 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
31497 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
31498 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
31499 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
31500 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
31502 2012-03-02 Roland McGrath <roland@hack.frob.com>
31505 * manual/examples/README: New file, says the example source files
31506 can be used under GPL>=2.
31507 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
31508 line containing just "*/".
31509 * manual/examples/add.c: Add copyright header (GPL>=2).
31510 * manual/examples/argp-ex1.c: Likewise.
31511 * manual/examples/argp-ex2.c: Likewise.
31512 * manual/examples/argp-ex3.c: Likewise.
31513 * manual/examples/argp-ex4.c: Likewise.
31514 * manual/examples/atexit.c: Likewise.
31515 * manual/examples/db.c: Likewise.
31516 * manual/examples/dir.c: Likewise.
31517 * manual/examples/dir2.c: Likewise.
31518 * manual/examples/execinfo.c: Likewise.
31519 * manual/examples/filecli.c: Likewise.
31520 * manual/examples/filesrv.c: Likewise.
31521 * manual/examples/fmtmsgexpl.c: Likewise.
31522 * manual/examples/genpass.c: Likewise.
31523 * manual/examples/inetcli.c: Likewise.
31524 * manual/examples/inetsrv.c: Likewise.
31525 * manual/examples/isockad.c: Likewise.
31526 * manual/examples/longopt.c: Likewise.
31527 * manual/examples/memopen.c: Likewise.
31528 * manual/examples/memstrm.c: Likewise.
31529 * manual/examples/mkfsock.c: Likewise.
31530 * manual/examples/mkisock.c: Likewise.
31531 * manual/examples/mygetpass.c: Likewise.
31532 * manual/examples/pipe.c: Likewise.
31533 * manual/examples/popen.c: Likewise.
31534 * manual/examples/rprintf.c: Likewise.
31535 * manual/examples/search.c: Likewise.
31536 * manual/examples/select.c: Likewise.
31537 * manual/examples/setjmp.c: Likewise.
31538 * manual/examples/sigh1.c: Likewise.
31539 * manual/examples/sigusr.c: Likewise.
31540 * manual/examples/stpcpy.c: Likewise.
31541 * manual/examples/strdupa.c: Likewise.
31542 * manual/examples/strftim.c: Likewise.
31543 * manual/examples/strncat.c: Likewise.
31544 * manual/examples/subopt.c: Likewise.
31545 * manual/examples/swapcontext.c: Likewise.
31546 * manual/examples/termios.c: Likewise.
31547 * manual/examples/testopt.c: Likewise.
31548 * manual/examples/testpass.c: Likewise.
31549 * manual/examples/timeval_subtract.c: Likewise.
31552 * manual/time.texi (Elapsed Time): Move timeval_subtract example
31554 * manual/timeval_subtract.c.texi: ... here, new file.
31556 2012-03-02 David S. Miller <davem@davemloft.net>
31558 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
31560 2012-03-02 Joseph Myers <joseph@codesourcery.com>
31563 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
31564 (__sin): Save and restore rounding mode and use round-to-nearest
31565 for all computations.
31566 (__cos): Save and restore rounding mode and use round-to-nearest
31567 for all computations.
31568 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
31570 (tan): Save and restore rounding mode and use round-to-nearest for
31572 * math/libm-test.inc (cos_test_tonearest): New function.
31573 (cos_test_towardzero): Likewise.
31574 (cos_test_downward): Likewise.
31575 (cos_test_upward): Likewise.
31576 (sin_test_tonearest): Likewise.
31577 (sin_test_towardzero): Likewise.
31578 (sin_test_downward): Likewise.
31579 (sin_test_upward): Likewise.
31580 (tan_test_tonearest): Likewise.
31581 (tan_test_towardzero): Likewise.
31582 (tan_test_downward): Likewise.
31583 (tan_test_upward): Likewise.
31584 (main): Call the new functions.
31585 * sysdeps/i386/fpu/libm-test-ulps: Update.
31586 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31589 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
31590 small n, then large n, before computing and testing k+n.
31591 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
31592 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
31594 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
31596 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
31597 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
31598 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
31599 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
31600 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
31601 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
31602 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
31603 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
31604 * math/libm-test.inc (scalbn_test): Add more tests.
31605 (scalbln_test): Likewise.
31607 * manual/filesys.texi (mode_t): Describe constraints on size and
31608 signedness, not exact equivalence to a particular type.
31610 (ino64_t): Likewise.
31612 (nlink_t): Likewise.
31613 (blkcnt_t): Likewise.
31614 (blkcnt64_t): Likewise.
31615 * manual/llio.texi (off_t): Likewise.
31618 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
31619 (__ieee754_exp): Save and restore rounding mode and use
31620 round-to-nearest for all computations.
31621 * math/libm-test.inc (exp_test_tonearest): New function.
31622 (exp_test_towardzero): Likewise.
31623 (exp_test_downward): Likewise.
31624 (exp_test_upward): Likewise.
31625 (main): Call the new functions.
31626 * sysdeps/i386/fpu/libm-test-ulps: Update.
31627 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31629 2012-03-01 Chris Demetriou <cgd@google.com>
31631 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
31632 have predictable order.
31634 2012-03-01 David S. Miller <davem@davemloft.net>
31636 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
31638 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
31639 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
31640 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
31641 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
31643 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
31644 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
31645 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
31646 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
31647 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
31648 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
31649 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
31650 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
31651 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
31653 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31655 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
31656 * sysdeps/sparc/fpu/libm-test-ulps: to here.
31657 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
31659 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
31660 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
31661 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
31662 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
31663 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
31664 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
31665 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
31666 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
31667 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
31668 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
31669 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
31670 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
31671 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
31672 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
31673 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
31674 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
31675 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
31676 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
31677 * sysdeps/sparc/elf/configure: Regenerated.
31679 2012-03-01 Joseph Myers <joseph@codesourcery.com>
31681 * configure.in (AS, LD): Require binutils 2.20 or later.
31682 * configure: Regenerated.
31683 * manual/install.texi (Tools for Compilation): Give binutils 2.20
31684 as required minimum version.
31685 * INSTALL: Regenerated.
31689 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
31690 before squaring exponent.
31691 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
31692 bottom long double and 27 bits of top long double before squaring
31694 * math/libm-test.inc (erfc_test): Add more tests.
31695 * sysdeps/i386/fpu/libm-test-ulps: Update.
31696 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
31697 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31699 2012-03-01 Kai Tietz <ktietz@redhat.com>
31701 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
31702 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
31703 containing bit-fields.
31704 * soft-fp/extended.h (_FP_UNION_E): Likewise.
31705 * soft-fp/single.h (_FP_UNION_S): Likewise.
31706 * soft-fp/double.h (_FP_UNION_D): Likewise.
31708 2012-02-29 Joseph Myers <joseph@codesourcery.com>
31711 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
31712 not include ../strcmp.S.
31713 [USE_AS_STRNCASECMP_L]: Likewise.
31714 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
31715 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
31716 * sysdeps/i386/i686/multiarch/strncase_l-c.c
31717 (__strncasecmp_l_ia32): Define as alias to
31718 __strncasecmp_l_nonascii.
31721 * math/libm-test.inc (expm1_test): Add test for bug 5794.
31722 * sysdeps/i386/fpu/libm-test-ulps: Update.
31723 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31725 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
31726 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31728 2012-02-29 Jeff Law <law@redhat.com>
31730 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
31731 out of bounds read.
31733 2012-02-29 Marek Polacek <polacek@redhat.com>
31736 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
31737 * elf/Makefile: Add rules to run tst-unused-dep.out.
31739 2012-02-28 David S. Miller <davem@davemloft.net>
31741 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
31742 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
31743 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
31744 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
31745 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
31746 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
31748 2012-02-29 Joseph Myers <joseph@codesourcery.com>
31750 * math/libm-test.inc (llround_test): Move one test from
31751 lround_test. Use TEST_f_L in moved test.
31752 (lround_test): Move misplaced test to llround_test. Add testcase
31755 2012-02-28 Ulrich Drepper <drepper@gmail.com>
31757 * sysdeps/x86_64/fpu/e_expf.S: New file.
31758 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
31760 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
31763 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
31764 of remain_len that may cause incomplete multi-byte character and
31766 * posix/bug-regex33.c: New file.
31767 * posix/Makefile (tests): Add bug-regex33.
31769 2012-02-28 Joseph Myers <joseph@codesourcery.com>
31771 * manual/macros.texi: New file.
31772 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
31773 * manual/libc.texinfo: Include macros.texi.
31774 * manual/creatute.texi: Likewise.
31775 * manual/install.texi: Likewise.
31776 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
31777 @glibcadj{} in references to the GNU C Library.
31778 * manual/charset.texi: Likewise.
31779 * manual/conf.texi: Likewise.
31780 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
31781 when not using those macros.
31782 * manual/creature.texi: Likewise.
31783 * manual/crypt.texi: Likewise.
31784 * manual/errno.texi: Likewise.
31785 * manual/filesys.texi: Likewise.
31786 * manual/header.texi: Likewise.
31787 * manual/install.texi: Likewise.
31788 * manual/intro.texi: Likewise.
31789 * manual/io.texi: Likewise.
31790 * manual/job.texi: Likewise.
31791 * manual/lang.texi: Likewise.
31792 * manual/libc.texiinfo: Likewise.
31793 * manual/llio.texi: Likewise.
31794 * manual/locale.texi: Likewise.
31795 * manual/maint.texi: Likewise.
31796 * manual/math.texi: Likewise.
31797 * manual/memory.texi: Likewise.
31798 * manual/message.texi: Likewise.
31799 * manual/nss.texi: Likewise.
31800 * manual/pattern.texi: Likewise.
31801 * manual/process.texi: Likewise.
31802 * manual/resource.texi: Likewise.
31803 * manual/search.texi: Likewise.
31804 * manual/setjmp.texi: Likewise.
31805 * manual/signal.texi: Likewise.
31806 * manual/socket.texi: Likewise.
31807 * manual/startup.texi: Likewise.
31808 * manual/stdio.texi: Likewise.
31809 * manual/string.texi: Likewise.
31810 * manual/sysinfo.texi: Likewise.
31811 * manual/syslog.texi: Likewise.
31812 * manual/terminal.texi: Likewise.
31813 * manual/time.texi: Likewise.
31814 * manual/users.texi: Likewise.
31815 * INSTALL: Regenerated.
31816 * NOTES: Regenerated.
31817 * sysdeps/gnu/errlist.c: Regenerated.
31819 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
31821 * include/dirent.h: Include <dirstream.h> before
31824 2012-02-28 David S. Miller <davem@davemloft.net>
31826 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
31827 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
31828 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
31829 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
31831 2012-02-27 David S. Miller <davem@davemloft.net>
31833 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
31834 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
31835 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
31836 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
31838 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
31839 frame pointer instead of stack pointer relative arg slot.
31840 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
31841 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
31842 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
31844 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
31847 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
31849 2012-02-27 David S. Miller <davem@davemloft.net>
31851 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
31852 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
31853 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
31854 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
31855 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
31856 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
31857 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
31858 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
31860 2012-02-27 Joseph Myers <joseph@codesourcery.com>
31862 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
31863 later. Allow versions 5-9.
31864 * configure: Regenerated.
31865 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
31866 required minimum version and 4.6 as recommended version. Do not
31867 mention bugs in GCC 2.7 and 2.8.
31868 * INSTALL: Regenerated.
31870 2012-02-27 David S. Miller <davem@davemloft.net>
31872 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
31873 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
31874 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
31875 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
31876 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
31877 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
31878 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
31879 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
31881 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
31882 manipulate bits before adding and subtracting TWO112[sx].
31883 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
31885 2012-02-27 Roland McGrath <roland@hack.frob.com>
31888 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
31889 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
31890 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
31891 being in POSIX, because they are in 1003.1-2008.
31893 * rt/tst-aio.c: Include <fcntl.h>.
31894 * rt/tst-aio7.c: Likewise.
31895 * rt/tst-aio64.c: Likewise.
31897 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
31899 2012-02-27 Joseph Myers <joseph@codesourcery.com>
31901 * manual/install.texi (--with-headers): Describe headers as
31902 interface headers, not private headers.
31903 (Specific advice for GNU/Linux systems): Describe use of headers
31904 from "make headers_install", not private headers from older
31906 * INSTALL: Regenerated.
31907 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
31909 * sysdeps/unix/sysv/linux/configure: Regenerated.
31911 * manual/llio.texi (fclean): Remove documentation.
31913 * manual/Makefile (libc-texi-generated): New variable. Include
31915 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
31916 $(libc-texi-generated), not duplicated list of files.
31917 (version.texi, stamp-version): New rules.
31918 (realclean): Remove $(libc-texi-generated), not individual files
31919 from that list. Do not remove dir-add.texinfo.
31920 * manual/libc.texinfo: Comment out uses of edition numbers and
31921 references to printed manual. Remove last-updated dates.
31922 (EDITION): Comment out.
31924 (VERSION, UPDATED): Remove.
31925 (version.texi): Include.
31927 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
31929 * sysdeps/posix/spawni.c: Include <signal.h>.
31930 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
31931 * sysdeps/pthread/aio_fsync.c: Likewise.
31933 2012-02-26 Ulrich Drepper <drepper@gmail.com>
31935 * conform/Makefile (tests): Run only when not cross-compiling and
31936 when fast-check is not defined.
31938 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
31939 * conform/data/limits.h-data: Fixes for POSIX2008.
31940 * conform/run-conformtest.sh: Run all tests.
31941 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
31943 * include/bits/dlfcn.h: Likewise.
31944 * include/langinfo.h: Likewise.
31945 * include/monetary.h: Likewise.
31946 * include/sys/poll.h: Likewise.
31948 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
31950 * posix/spawn.h: Define __need_sigset_t.
31951 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
31952 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
31953 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
31954 to get sigevent_t only.
31955 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
31956 only for __USE_GNU.
31957 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
31958 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
31959 process_vm_writev only for __USE_GNU.
31960 * termios/termios.h: Declare tcgetsid also for POSIX2008.
31962 * conform/Makefile: For now ignore errors from run-conformtest.
31963 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
31964 POSIX to avoid namespace pollution. Don't prepend headers.
31965 * conform/data/aio.h-data: Fixes for POSIX testing.
31966 * conform/data/fcntl.h-data: Likewise.
31967 * conform/data/glob.h-data: Likewise.
31968 * conform/data/grp.h-data: Likewise.
31969 * conform/data/pthread.h-data: Likewise.
31970 * conform/data/pwd.h-data: Likewise.
31971 * conform/data/signal.h-data: Likewise.
31972 * conform/data/spawn.h-data: Likewise.
31973 * conform/data/stdio.h-data: Likewise.
31974 * conform/data/stdlib.h-data: Likewise.
31975 * conform/data/stropts.h-data: Likewise.
31976 * conform/data/sys/mman.h-data: Likewise.
31977 * conform/data/sys/stat.h-data: Likewise.
31978 * conform/data/sys/types.h-data: Likewise.
31979 * conform/data/sys/wait.h-data: Likewise.
31980 * conform/data/time.h-data: Likewise.
31981 * conform/data/unistd.h-data: Likewise.
31982 * conform/data/utime.h-data: Likewise.
31984 * io/sys/stat.h: fchmod was always in POSIX.
31985 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
31986 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
31987 * rt/aio.h: Define __need_timespec before including <time.h>.
31988 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
31989 struct. Add forward declaration of pthread_attr_t and use it in
31991 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
31992 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
31993 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
31994 always remove CLK_TCK definition.
31996 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
31998 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
32000 2012-02-25 Ulrich Drepper <drepper@gmail.com>
32002 * conform/run-conformtest.sh: New file.
32003 * conform/Makefile: Run run-conformtest for tests.
32004 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
32007 * conform/data/uchar.h-data: New file.
32008 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
32009 * conform/data/arpa/inet.h-data: Likewise.
32010 * conform/data/assert.h-data: Likewise.
32011 * conform/data/complex.h-data: Likewise.
32012 * conform/data/cpio.h-data: Likewise.
32013 * conform/data/ctype.h-data: Likewise.
32014 * conform/data/dirent.h-data: Likewise.
32015 * conform/data/dlfcn.h-data: Likewise.
32016 * conform/data/errno.h-data: Likewise.
32017 * conform/data/fcntl.h-data: Likewise.
32018 * conform/data/float.h-data: Likewise.
32019 * conform/data/fmtmsg.h-data: Likewise.
32020 * conform/data/fnmatch.h-data: Likewise.
32021 * conform/data/ftw.h-data: Likewise.
32022 * conform/data/glob.h-data: Likewise.
32023 * conform/data/grp.h-data: Likewise.
32024 * conform/data/iconv.h-data: Likewise.
32025 * conform/data/inttypes.h-data: Likewise.
32026 * conform/data/langinfo.h-data: Likewise.
32027 * conform/data/libgen.h-data: Likewise.
32028 * conform/data/limits.h-data: Likewise.
32029 * conform/data/locale.h-data: Likewise.
32030 * conform/data/math.h-data: Likewise.
32031 * conform/data/monetary.h-data: Likewise.
32032 * conform/data/mqueue.h-data: Likewise.
32033 * conform/data/ndbm.h-data: Likewise.
32034 * conform/data/net/if.h-data: Likewise.
32035 * conform/data/netdb.h-data: Likewise.
32036 * conform/data/netinet/in.h-data: Likewise.
32037 * conform/data/nl_types.h-data: Likewise.
32038 * conform/data/poll.h-data: Likewise.
32039 * conform/data/pthread.h-data: Likewise.
32040 * conform/data/pwd.h-data: Likewise.
32041 * conform/data/regex.h-data: Likewise.
32042 * conform/data/sched.h-data: Likewise.
32043 * conform/data/search.h-data: Likewise.
32044 * conform/data/semaphore.h-data: Likewise.
32045 * conform/data/setjmp.h-data: Likewise.
32046 * conform/data/signal.h-data: Likewise.
32047 * conform/data/spawn.h-data: Likewise.
32048 * conform/data/stdarg.h-data: Likewise.
32049 * conform/data/stdio.h-data: Likewise.
32050 * conform/data/stdlib.h-data: Likewise.
32051 * conform/data/string.h-data: Likewise.
32052 * conform/data/strings.h-data: Likewise.
32053 * conform/data/stropts.h-data: Likewise.
32054 * conform/data/sys/ipc.h-data: Likewise.
32055 * conform/data/sys/mman.h-data: Likewise.
32056 * conform/data/sys/msg.h-data: Likewise.
32057 * conform/data/sys/resource.h-data: Likewise.
32058 * conform/data/sys/select.h-data: Likewise.
32059 * conform/data/sys/sem.h-data: Likewise.
32060 * conform/data/sys/shm.h-data: Likewise.
32061 * conform/data/sys/socket.h-data: Likewise.
32062 * conform/data/sys/stat.h-data: Likewise.
32063 * conform/data/sys/statvfs.h-data: Likewise.
32064 * conform/data/sys/time.h-data: Likewise.
32065 * conform/data/sys/timeb.h-data: Likewise.
32066 * conform/data/sys/times.h-data: Likewise.
32067 * conform/data/sys/types.h-data: Likewise.
32068 * conform/data/sys/uio.h-data: Likewise.
32069 * conform/data/sys/un.h-data: Likewise.
32070 * conform/data/sys/utsname.h-data: Likewise.
32071 * conform/data/sys/wait.h-data: Likewise.
32072 * conform/data/syslog.h-data: Likewise.
32073 * conform/data/tar.h-data: Likewise.
32074 * conform/data/termios.h-data: Likewise.
32075 * conform/data/utime.h-data: Likewise.
32076 * conform/data/utmpx.h-data: Likewise.
32077 * conform/data/varargs.h-data: Likewise.
32078 * conform/data/wchar.h-data: Likewise.
32079 * conform/data/wctype.h-data: Likewise.
32080 * conform/data/wordexp.h-data: Likewise.
32082 * include/stropts.h: New file.
32083 * include/uchar.h: New file.
32084 * include/aio.h: Changes to allow conformtest.pl to use the headers.
32085 * include/assert.h: Likewise.
32086 * include/ctype.h: Likewise.
32087 * include/dirent.h: Likewise.
32088 * include/dlfcn.h: Likewise.
32089 * include/fcntl.h: Likewise.
32090 * include/fnmatch.h: Likewise.
32091 * include/glob.h: Likewise.
32092 * include/grp.h: Likewise.
32093 * include/libio.h: Likewise.
32094 * include/locale.h: Likewise.
32095 * include/math.h: Likewise.
32096 * include/net/if.h: Likewise.
32097 * include/netdb.h: Likewise.
32098 * include/netinet/in.h: Likewise.
32099 * include/pthread.h: Likewise.
32100 * include/pwd.h: Likewise.
32101 * include/regex.h: Likewise.
32102 * include/sched.h: Likewise.
32103 * include/search.h: Likewise.
32104 * include/setjmp.h: Likewise.
32105 * include/signal.h: Likewise.
32106 * include/stdio.h: Likewise.
32107 * include/stdlib.h: Likewise.
32108 * include/string.h: Likewise.
32109 * include/sys/cdefs.h: Likewise.
32110 * include/sys/mman.h: Likewise.
32111 * include/sys/msg.h: Likewise.
32112 * include/sys/resource.h: Likewise.
32113 * include/sys/select.h: Likewise.
32114 * include/sys/socket.h: Likewise.
32115 * include/sys/stat.h: Likewise.
32116 * include/sys/statvfs.h: Likewise.
32117 * include/sys/time.h: Likewise.
32118 * include/sys/times.h: Likewise.
32119 * include/sys/uio.h: Likewise.
32120 * include/sys/utsname.h: Likewise.
32121 * include/sys/wait.h: Likewise.
32122 * include/termios.h: Likewise.
32123 * include/time.h: Likewise.
32124 * include/ulimit.h: Likewise.
32125 * include/unistd.h: Likewise.
32126 * include/utime.h: Likewise.
32127 * include/wchar.h: Likewise.
32128 * include/wctype.h: Likewise.
32129 * include/wordexp.h: Likewise.
32131 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
32133 * time/time.h: TIME_UTC must be a macro.
32134 Make timespec_get available for ISO C11 only as well.
32136 2012-02-24 Ulrich Drepper <drepper@gmail.com>
32138 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
32139 Reported by Peng Haitao <penght@cn.fujitsu.com>.
32141 2012-02-24 Joseph Myers <joseph@codesourcery.com>
32143 * configure.in: Use -o not -a in test for unsupported multi-arch.
32145 2012-02-24 Joseph Myers <joseph@codesourcery.com>
32147 * manual/texinfo.tex: Update to version 2012-01-19.16.
32149 2012-02-24 Joseph Myers <joseph@codesourcery.com>
32151 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
32153 2012-02-24 Roland McGrath <roland@hack.frob.com>
32156 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
32157 * manual/fdl-1.3.texi: New file.
32158 * manual/fdl-1.1.texi: File removed.
32161 * manual/libc.texinfo (FDL_VERSION): New @set.
32162 Use it for mention of FDL in cover text.
32163 (Documentation License): Use it in @include file name.
32165 2012-02-22 Joseph Myers <joseph@codesourcery.com>
32166 Roland McGrath <roland@hack.frob.com>
32169 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
32170 not LONG_LONG_MAX and LONG_LONG_MIN.
32171 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
32172 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
32174 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
32176 2012-02-22 Joseph Myers <joseph@codesourcery.com>
32180 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
32181 manipulate bits before adding and subtracting TWO23[sx].
32182 * math/libm-test.inc (nearbyint_test): Add more tests.
32184 2012-02-22 Joseph Myers <joseph@codesourcery.com>
32187 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
32188 bits before adding and subtracting TWO23[sx].
32189 * math/libm-test.inc (rint_test): Add more tests.
32190 (rint_test_tonearest): Likewise.
32191 (rint_test_towardzero): Likewise.
32192 (rint_test_downward): Likewise.
32193 (rint_test_upward: Likewise.
32195 2012-02-22 Joseph Myers <joseph@codesourcery.com>
32198 * include/stdc-predef.h: New file. Extracted from features.h.
32199 * include/features.h: Include stdc-predef.h.
32200 * Makefile (headers): Add stdc-predef.h.
32201 * CONFORMANCE (Compiler limitations): Update.
32203 2012-02-22 Joseph Myers <joseph@codesourcery.com>
32205 * manual/libc.texinfo (VERSION, UPDATED): Revert.
32207 2012-02-21 David S. Miller <davem@davemloft.net>
32209 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
32210 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
32212 2012-02-20 David S. Miller <davem@davemloft.net>
32214 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
32215 using a normal save/restore sequence, rather than allocating a
32216 dummy stack frame just to store a frame pointer and restore.
32217 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
32219 2012-02-21 Joseph Myers <joseph@codesourcery.com>
32221 * manual/install.texi: Fix stray word in line-wrapped comment.
32223 2012-02-20 David S. Miller <davem@davemloft.net>
32225 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
32226 both binutils and gcc support GOTDATA.
32228 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
32229 "rd %pc" in the PIC register setup sequences.
32231 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
32232 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
32233 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
32234 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
32235 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
32236 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
32237 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
32238 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
32239 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
32240 (SYSCALL_ERROR_HANDLER): Likewise.
32241 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
32242 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
32243 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
32244 (SYSCALL_ERROR_HANDLER): Likewise.
32246 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
32247 (HAVE_GCC_GOTDATA): New.
32248 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
32249 relocation support in both binutils and gcc.
32250 * sysdeps/sparc/elf/configure: Regenerate.
32252 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
32253 * sysdeps/sparc/sparc32/elf/configure: Delete.
32254 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
32255 * sysdeps/sparc/sparc64/elf/configure: Delete.
32256 * sysdeps/sparc/elf/configure.in: New file.
32257 * sysdeps/sparc/elf/configure: Generate.
32259 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
32260 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
32261 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
32262 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
32263 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
32265 2012-02-21 Joseph Myers <joseph@codesourcery.com>
32267 * manual/install.texi: Do not mention specific glibc version
32269 * manual/libc.texinfo (VERSION, UPDATED): Update.
32270 (@copying): Use @copyright{} and range of years.
32272 2012-02-21 Joseph Myers <joseph@codesourcery.com>
32275 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
32276 [crti.S not in sysdirs] (generated): Do not append.
32277 [crti.S not in sysdirs] (omit-deps): Likewise.
32278 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
32279 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
32280 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
32281 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
32282 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
32284 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
32285 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
32286 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
32287 * csu/defs.awk: Remove file.
32288 * sysdeps/generic/initfini.c: Likewise.
32289 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
32291 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
32294 2012-02-20 Joseph Myers <joseph@codesourcery.com>
32296 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
32297 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
32298 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
32299 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
32300 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
32301 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
32303 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
32304 (__EPOLL_PACKED): Define to empty if not defined by
32306 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
32307 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32310 2012-02-20 Joseph Myers <joseph@codesourcery.com>
32312 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
32313 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
32314 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
32315 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
32317 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
32318 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32321 2012-02-20 Joseph Myers <joseph@codesourcery.com>
32323 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
32325 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
32326 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
32327 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
32328 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32330 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
32332 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
32333 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
32335 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
32337 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
32338 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
32340 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
32342 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
32345 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
32347 * math/w_acos.c: Use non-signaling floating-point comparisons.
32348 * math/w_acosf.c: Likewise.
32349 * math/w_acosh.c: Likewise.
32350 * math/w_acoshf.c: Likewise.
32351 * math/w_acoshl.c: Likewise.
32352 * math/w_acosl.c: Likewise.
32353 * math/w_asin.c: Likewise.
32354 * math/w_asinf.c: Likewise.
32355 * math/w_asinl.c: Likewise.
32356 * math/w_atanh.c: Likewise.
32357 * math/w_atanhf.c: Likewise.
32358 * math/w_atanhl.c: Likewise.
32359 * math/w_exp2.c: Likewise.
32360 * math/w_exp2f.c: Likewise.
32361 * math/w_exp2l.c: Likewise.
32362 * math/w_j0.c: Likewise.
32363 * math/w_j0f.c: Likewise.
32364 * math/w_j0l.c: Likewise.
32365 * math/w_j1.c: Likewise.
32366 * math/w_j1f.c: Likewise.
32367 * math/w_j1l.c: Likewise.
32368 * math/w_jn.c: Likewise.
32369 * math/w_jnf.c: Likewise.
32370 * math/w_log.c: Likewise.
32371 * math/w_log10.c: Likewise.
32372 * math/w_log10f.c: Likewise.
32373 * math/w_log10l.c: Likewise.
32374 * math/w_log2.c: Likewise.
32375 * math/w_log2f.c: Likewise.
32376 * math/w_log2l.c: Likewise.
32377 * math/w_logf.c: Likewise.
32378 * math/w_logl.c: Likewise.
32379 * math/w_sqrt.c: Likewise.
32380 * math/w_sqrtf.c: Likewise.
32381 * math/w_sqrtl.c: Likewise.
32382 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
32383 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
32384 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
32385 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
32386 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
32388 2012-02-19 Joseph Myers <joseph@codesourcery.com>
32391 * manual/string.texi (strnlen): Use correct parameter name in
32392 equivalent expression.
32394 2012-02-19 Joseph Myers <joseph@codesourcery.com>
32397 * manual/users.texi (seteuid): Consistently use neweuid for
32400 2012-02-19 Joseph Myers <joseph@codesourcery.com>
32403 * manual/nss.texi (Services in the NSS configuration): Correct
32404 list of services in example configuration file.
32406 2012-02-19 Nick Bowler <nbowler@draconx.ca>
32409 * manual/arith.texi: Remove statements about negative zero
32410 behaving identically to zero.
32412 2012-02-18 Joseph Myers <joseph@codesourcery.com>
32415 * manual/install.texi: Do not document upgrading from libc5.
32417 2012-02-18 Joseph Myers <joseph@codesourcery.com>
32420 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
32422 2012-02-18 David S. Miller <davem@davemloft.net>
32424 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
32425 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
32426 %o7 across the call.
32427 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
32429 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
32430 SETUP_PIC_REG_LEAF.
32431 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
32432 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
32433 * sysdeps/sparc/crtn.S: Likewise.
32435 2012-02-17 Ulrich Drepper <drepper@gmail.com>
32437 * aout/Makefile: Remove.
32439 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
32442 * manual/examples/argp-ex1.c (main): Format definition in GNU
32444 * manual/examples/argp-ex2.c (main): Likewise.
32445 * manual/examples/argp-ex3.c (main): Likewise.
32446 * manual/examples/argp-ex4.c (main): Likewise.
32447 * manual/examples/longopt.c (main): Use new-style prototype
32449 * manual/examples/strncat.c (main): Specify return type and use
32450 (void) for arguments.
32451 * manual/examples/subopt.c (main): Use char **argv argument.
32453 2012-02-17 Joseph Myers <joseph@codesourcery.com>
32456 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
32459 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
32462 * manual/string.texi (strchr): Change when strchrnul is
32465 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
32468 * manual/locale.texi (setlocale): Document LOCPATH.
32470 2012-02-17 Joseph Myers <joseph@codesourcery.com>
32473 * manual/process.texi (execle): Move @dots{} before last argument.
32475 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
32478 * manual/charset.texi (Generic Charset Conversion): Fix typo
32479 (LC_TYPE -> LC_CTYPE).
32481 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
32484 * manual/arith.texi (scalbn): Use @var{} on parameter names.
32485 (scalbnf): Likewise.
32486 (scalbnl): Likewise.
32487 (scalbln): Likewise.
32488 (scalblnf): Likewise.
32489 (scalblnl): Likewise.
32490 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
32491 (vwarnx): Likewise.
32494 * manual/filesys.texi (telldir): Use braces around return type.
32495 * manual/llio.texi (mmap): Add space after comma.
32496 (mmap64): Likewise.
32497 * manual/math.texi (jn): Use @var{} on parameter names.
32503 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
32505 * manual/resource.texi (ulimit): Use @dots{} instead of literal
32507 (sched_get_priority_min): Remove semicolon on @deftypefun line.
32508 (sched_get_priority_max): Likewise.
32509 * manual/signal.texi (sigvec): Add space after comma.
32510 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
32512 (if_indextoname): Likewise.
32513 (if_freenameindex): Likewise.
32514 (sendto): Use ',' instead of '.' in prototype.
32515 * manual/startup.texi (syscall): Use @dots{} instead of literal
32517 * manual/stdio.texi (__fpending): Separate initial words of
32518 paragraph from @deftypefun line.
32519 * manual/syslog.texi (syslog): Use @dots{} instead of literal
32521 (vsyslog): Use @var{} on parameter names.
32522 * manual/terminal.texi (stty): Use @var{} on parameter names.
32523 * manual/users.texi (getutmp): Use @var{} on parameter names.
32524 (getutmpx): Likewise.
32526 2012-02-17 Joseph Myers <joseph@codesourcery.com>
32529 * manual/stdio.texi (fopen): Fix typos in description of
32532 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
32535 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
32536 get clock_id definition.
32538 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
32541 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
32542 (madvise): Cast every argument to void on its own.
32544 2012-02-17 Joseph Myers <joseph@codesourcery.com>
32547 * manual/startup.texi (Exit Status): Fix typo.
32549 2012-02-17 Joseph Myers <joseph@codesourcery.com>
32552 * manual/examples/argp-ex1.c: Include <stdlib.h>.
32553 * manual/examples/argp-ex2.c: Likewise.
32554 * manual/examples/argp-ex3.c: Likewise.
32556 2012-02-16 Richard Henderson <rth@redhat.com>
32558 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
32559 * sysdeps/s390/s390-32/initfini.c: Remove.
32560 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
32561 * sysdeps/s390/s390-64/initfini.c: Remove.
32563 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
32565 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
32566 compiler output for sysdeps/generic/initfini.c.
32567 * sysdeps/sh/elf/initfini.c: Remove file.
32569 2012-02-16 David S. Miller <davem@davemloft.net>
32572 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
32574 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
32575 * sysdeps/sparc/crti.S: New file.
32576 * sysdeps/sparc/crtn.S: New file.
32577 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
32578 * sysdeps/sparc/sparc64/Makefile: Likewise.
32580 2012-02-15 Mike Frysinger <vapier@gentoo.org>
32583 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
32585 2012-02-15 Roland McGrath <roland@hack.frob.com>
32588 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
32590 * mach/devstream.c (cookie_io_functions_t): Macro removed.
32591 (write, read, close): Likewise.
32592 Patch by Aurelien Jarno <aurelien@aurel32.net>.
32594 2012-02-15 Joseph Myers <joseph@codesourcery.com>
32596 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
32597 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
32598 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
32599 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
32601 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
32602 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32605 2012-02-14 Marek Polacek <polacek@redhat.com>
32607 * sysdeps/x86_64/crti.S: New file.
32608 * sysdeps/x86_64/crtn.S: New file.
32609 * sysdeps/x86_64/elf/initfini.c: Remove file.
32611 2012-02-13 Joseph Myers <joseph@codesourcery.com>
32613 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
32614 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
32615 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
32616 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
32618 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
32619 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32622 2012-02-13 Joseph Myers <joseph@codesourcery.com>
32624 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
32625 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
32626 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
32627 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
32629 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
32630 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32633 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
32635 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
32636 __feraiseexcept instead of feraiseexcept.
32638 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
32639 nanosleep invocations.
32640 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
32641 strings, and add error checking for a nanosleep invocations.
32643 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
32645 Replace FSF snail mail address with URLs, as per GNU coding standards.
32646 Most of the snail mail addresses were wrong anyway, and omitting
32647 them makes the source code easier to maintain. Almost all of the
32648 changes are to license notices and to locale LC_IDENTIFICATION
32649 addresses, except for this one:
32650 * manual/libc.texinfo: In "Published by", give the FSF's URL,
32651 not its snail mail address.
32653 2012-02-09 Richard Henderson <rth@twiddle.net>
32655 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
32656 of kernel-features.h.
32658 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
32660 2012-02-08 Marek Polacek <polacek@redhat.com>
32662 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
32663 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
32664 * sysdeps/gnu/_G_config.h: Likewise.
32665 * sysdeps/generic/_G_config.h: Likewise.
32667 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
32669 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
32671 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32673 * sysdeps/powerpc/powerpc32/crti.S: New file.
32674 * sysdeps/powerpc/powerpc32/crtn.S: New file.
32675 * sysdeps/powerpc/powerpc64/crti.S: New file.
32676 * sysdeps/powerpc/powerpc64/crtn.S: New file.
32678 * Makeconfig (have-initfini): Don't set.
32679 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
32680 * configure.in (nopic_initfini): Don't substitute.
32681 * config.h.in (HAVE_INITFINI): Don't #undef.
32682 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
32683 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
32685 2012-02-08 Joseph Myers <joseph@codesourcery.com>
32687 Support crti.S and crtn.S provided directly by architectures.
32688 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
32689 [crti.S in sysdirs] (omit-deps): Likewise.
32690 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
32691 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
32692 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
32693 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
32694 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
32695 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
32696 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
32697 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
32698 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
32699 compiler output for sysdeps/generic/initfini.c.
32700 * sysdeps/i386/elf/Makefile: Remove file.
32701 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
32703 2012-02-07 Marek Polacek <polacek@redhat.com>
32705 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
32706 * sysdeps/gnu/_G_config.h: Likewise.
32707 * sysdeps/mach/hurd/_G_config.h: Likewise.
32709 2012-02-07 Marek Polacek <polacek@redhat.com>
32711 * math/Makefile (tests): Add tst-CMPLX2.
32712 * math/tst-CMPLX2.c: New file.
32714 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
32716 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
32718 * math/libm-test.inc (jn_test): Add missing L suffix.
32720 2012-02-06 Marek Polacek <polacek@redhat.com>
32722 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
32723 * sysdeps/i386/fpu/e_powf.S: Likewise.
32724 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
32725 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
32726 * sysdeps/i386/fpu/e_acosh.S: Likewise.
32727 * sysdeps/i386/fpu/e_pow.S: Likewise.
32728 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
32729 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
32730 * sysdeps/i386/fpu/s_expm1.S: Likewise.
32731 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
32732 * sysdeps/i386/fpu/e_log2.S: Likewise.
32733 * sysdeps/i386/fpu/e_log2l.S: Likewise.
32734 * sysdeps/i386/fpu/e_scalb.S: Likewise.
32735 * sysdeps/i386/fpu/e_powl.S: Likewise.
32736 * sysdeps/i386/fpu/s_log1p.S: Likewise.
32737 * sysdeps/i386/fpu/e_log10f.S: Likewise.
32738 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
32739 * sysdeps/i386/fpu/e_logl.S: Likewise.
32740 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
32741 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
32742 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
32743 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
32744 * sysdeps/i386/fpu/e_log2f.S: Likewise.
32745 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
32746 * sysdeps/i386/fpu/e_log.S: Likewise.
32747 * sysdeps/i386/fpu/s_cexp.S: Likewise.
32748 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
32749 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
32750 * sysdeps/i386/fpu/e_logf.S: Likewise.
32751 * sysdeps/i386/fpu/e_log10l.S: Likewise.
32752 * sysdeps/i386/fpu/e_atanh.S: Likewise.
32753 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
32754 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
32755 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
32756 * sysdeps/i386/fpu/e_log10.S: Likewise.
32757 * sysdeps/i386/fpu/s_frexp.S: Likewise.
32758 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
32759 * sysdeps/i386/fpu/s_asinh.S: Likewise.
32760 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
32761 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
32762 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
32763 * sysdeps/i386/asm-syntax.h: Likewise.
32764 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
32765 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
32766 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
32767 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
32768 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
32769 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
32770 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
32771 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
32772 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
32773 * sysdeps/powerpc/sysdep.h: Likewise.
32774 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
32775 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
32777 2012-02-06 Joseph Myers <joseph@codesourcery.com>
32780 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
32782 2012-02-06 Joseph Myers <joseph@codesourcery.com>
32784 * sysdeps/i386/sysdep.h: Include <features.h>.
32785 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
32788 2012-02-05 Joseph Myers <joseph@codesourcery.com>
32790 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
32792 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
32795 2012-02-03 Joseph Myers <joseph@codesourcery.com>
32797 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
32798 (SETUP_PIC_REG): Use GET_PC_THUNK.
32799 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
32802 2012-02-03 Joseph Myers <joseph@codesourcery.com>
32804 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
32805 for non-PIC compilation.
32806 (SETUP_PIC_REG): Add .p2align directive.
32807 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
32808 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
32809 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
32810 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
32811 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
32812 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
32813 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
32814 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
32815 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
32816 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
32817 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
32818 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
32819 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
32820 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
32821 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
32822 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
32823 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
32824 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
32825 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
32826 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
32827 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
32828 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
32829 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
32830 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
32831 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
32832 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
32833 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
32834 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
32835 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
32836 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
32837 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
32838 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
32839 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
32840 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
32841 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
32842 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
32843 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
32844 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
32845 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
32846 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
32847 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
32849 2012-02-03 Joseph Myers <joseph@codesourcery.com>
32851 * math/tst-CMPLX.c: Include <stdio.h>.
32853 2012-01-31 Joseph Myers <joseph@codesourcery.com>
32855 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
32857 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
32858 * sysdeps/sparc/bits/mathdef.h: Likewise.
32860 2012-01-31 Marek Polacek <polacek@redhat.com>
32862 * libio/libio.h: Don't define _PARAMS.
32863 * locale/programs/config.h: Don't define PARAMS.
32864 * stdlib/strtol_l.c: Likewise.
32865 (__strtol_l): Remove PARAMS from the prototype.
32867 2012-01-31 Ulrich Drepper <drepper@gmail.com>
32869 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
32870 names. Just use the correct names. Remove unnecessary wrapper
32872 * malloc/arena.c: Likewise.
32873 * malloc/hooks.c: Likewise.
32875 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
32876 ARENA_TEST says not to. Simplify test for creation of a new arena.
32877 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
32879 2012-01-30 Ulrich Drepper <drepper@gmail.com>
32881 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
32883 (update_get_addr): New function.
32884 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
32885 GET_ADDR_MODULE parameter.
32887 2012-01-30 Joseph Myers <joseph@codesourcery.com>
32889 * crypt/cert.c: Remove __STDC__ conditionals.
32890 * crypt/crypt-entry.c: Likewise.
32891 * crypt/crypt_util.c: Likewise.
32892 * libio/filedoalloc.c: Likewise.
32893 * libio/fileops.c: Likewise.
32894 * libio/genops.c: Likewise.
32895 * libio/iofclose.c: Likewise.
32896 * libio/iofdopen.c: Likewise.
32897 * libio/iofopen.c: Likewise.
32898 * libio/iofopen64.c: Likewise.
32899 * libio/iogetdelim.c: Likewise.
32900 * libio/iopopen.c: Likewise.
32901 * libio/obprintf.c: Likewise.
32902 * libio/oldfileops.c: Likewise.
32903 * libio/oldiofclose.c: Likewise.
32904 * libio/oldiofdopen.c: Likewise.
32905 * libio/oldiofopen.c: Likewise.
32906 * libio/oldiopopen.c: Likewise.
32907 * libio/wfiledoalloc.c: Likewise.
32908 * libio/wgenops.c: Likewise.
32909 * locale/programs/xmalloc.c: Likewise.
32910 * misc/syslog.c: Likewise.
32911 * stdio-common/xbug.c: Likewise.
32912 * string/memchr.c: Likewise.
32913 * string/memcmp.c: Likewise.
32914 * string/memrchr.c: Likewise.
32915 * string/rawmemchr.c: Likewise.
32916 * sysdeps/posix/getcwd.c: Likewise.
32917 * time/strftime_l.c: Likewise.
32919 2012-01-30 Joseph Myers <joseph@codesourcery.com>
32921 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
32922 * config.make.in (config-cflags-sse2avx): Define.
32923 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
32926 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
32928 * scripts/config.guess: Update from upstream config git repository.
32929 * scripts/config.sub: Likewise.
32931 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
32933 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
32935 (R_TILEPRO_*, R_TILEGX_*): New macros.
32937 * scripts/firstversions.awk: Fix bug in version range handling.
32939 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
32941 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
32943 * include/sys/epoll.h: New file.
32944 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
32947 2012-01-28 Ulrich Drepper <drepper@gmail.com>
32949 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
32950 Avoid unnecessary __WORDSIZE == 64 test.
32951 (fmaxf): Use VEX format if possible.
32956 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
32957 * math/math_private.h: Remove libc_fegetround* and
32959 * sysdeps/i386/configure.in: Check for -msse2avx.
32960 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
32961 also if SSE2AVX is defined.
32962 Remove libc_fegetround* and libc_fesetround*.
32963 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
32964 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
32965 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
32967 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
32968 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
32969 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
32970 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
32971 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
32973 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
32975 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32977 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
32979 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
32981 2012-01-27 Ulrich Drepper <drepper@gmail.com>
32984 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
32986 * Makeconfig (libm): Define.
32987 * elf/Makefile: Add rules to build and run tst-relsort1.
32988 * elf/tst-relsort1.c: New file.
32989 * elf/tst-relsort1mod1.c: New file.
32990 * elf/tst-relsort1mod2.c: New file.
32992 2012-01-27 Joseph Myers <joseph@codesourcery.com>
32994 * math/s_ldexp.c: Remove __STDC__ conditionals.
32995 * math/s_ldexpf.c: Likewise.
32996 * math/s_ldexpl.c: Likewise.
32997 * math/s_nextafter.c: Likewise.
32998 * math/s_nexttowardf.c: Likewise.
32999 * math/s_significand.c: Likewise.
33000 * math/s_significandf.c: Likewise.
33001 * math/s_significandl.c: Likewise.
33002 * math/w_jnl.c: Likewise.
33003 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
33004 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
33005 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
33006 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
33007 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
33008 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
33009 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
33010 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
33011 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
33012 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
33013 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
33014 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
33015 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
33016 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
33017 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
33018 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
33019 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
33020 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
33021 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
33022 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
33023 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
33024 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
33025 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
33026 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
33027 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
33028 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
33029 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
33030 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
33031 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
33032 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
33033 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
33034 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
33035 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
33036 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
33037 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
33038 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
33039 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
33040 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
33041 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
33042 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
33043 * sysdeps/ieee754/k_standard.c: Likewise.
33044 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
33045 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
33046 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
33047 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
33048 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
33049 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
33050 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
33051 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
33052 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
33053 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
33054 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
33055 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
33056 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
33057 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
33058 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
33059 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
33060 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
33061 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
33062 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
33063 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
33064 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
33065 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
33066 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
33067 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
33068 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
33069 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
33070 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
33071 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
33072 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
33073 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
33074 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
33075 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
33076 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
33077 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
33078 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
33079 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
33080 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
33081 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
33082 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
33083 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
33084 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
33085 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
33086 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
33087 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
33088 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
33089 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
33090 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
33091 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
33092 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
33093 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
33094 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
33095 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
33096 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
33097 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
33098 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
33099 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
33100 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
33101 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
33102 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
33103 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
33104 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
33105 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
33106 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
33107 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
33108 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
33109 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
33110 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
33111 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
33112 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
33113 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
33114 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
33115 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
33116 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
33117 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
33118 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
33119 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
33120 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
33121 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
33122 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
33123 * sysdeps/ieee754/s_matherr.c: Likewise.
33124 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
33125 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
33126 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
33127 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
33129 2012-01-26 Joseph Myers <joseph@codesourcery.com>
33131 * crypt/md5.h: Remove __STDC__ conditionals.
33132 * libio/libioP.h: Likewise.
33133 * locale/programs/config.h: Likewise.
33134 * sysdeps/generic/sysdep.h: Likewise.
33135 * sysdeps/i386/asm-syntax.h: Likewise.
33136 * sysdeps/s390/asm-syntax.h: Likewise.
33137 * sysdeps/unix/sysdep.h: Likewise.
33138 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
33139 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
33141 2012-01-26 Joseph Myers <joseph@codesourcery.com>
33143 * libio/libio.h: Remove __STDC__ conditionals.
33144 * malloc/obstack.h: Likewise.
33145 * math/complex.h: Likewise.
33146 * math/math.h: Likewise.
33147 * sysdeps/generic/_G_config.h: Likewise.
33148 * sysdeps/gnu/_G_config.h: Likewise.
33149 * sysdeps/mach/hurd/_G_config.h: Likewise.
33150 * sysdeps/powerpc/bits/mathdef.h: Likewise.
33151 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
33152 * sysdeps/sparc/bits/mathdef.h: Likewise.
33154 2012-01-26 Ulrich Drepper <drepper@gmail.com>
33157 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
33158 Clean up HAS_* macros.
33159 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
33160 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
33162 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
33164 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
33165 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
33166 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
33167 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
33168 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
33170 2012-01-25 Joseph Myers <joseph@codesourcery.com>
33172 * elf/tst-unique3.cc (gets): Remove declaration.
33173 * elf/tst-unique3lib.cc (gets): Likewise.
33174 * elf/tst-unique3lib2.cc (gets): Likewise.
33175 * elf/tst-unique4.cc (gets): Likewise.
33177 2012-01-24 Ulrich Drepper <drepper@gmail.com>
33179 * include/stdio.h: Add C++ protection. Add gets declarations and
33181 * debug/tst-chk1.c: Don't declare gets here.
33182 * stdio-common/tst-gets.c: Likewise.
33184 2012-01-24 Joseph Myers <joseph@codesourcery.com>
33186 * posix/glob: Remove directory.
33188 2012-01-24 Joseph Myers <joseph@codesourcery.com>
33190 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
33192 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
33194 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
33195 of the non-standard EPFNOSUPPORT.
33197 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
33199 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
33200 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
33201 ANYWHERE set to 1 only on KERN_NO_SPACE error.
33203 2012-01-21 Ulrich Drepper <drepper@gmail.com>
33205 * wcsmbs/uchar.h: Test __STDC_VERSION__.
33207 2012-01-20 Ulrich Drepper <drepper@gmail.com>
33209 * nscd/aicache.c (addhstaiX): Do not cache negative results of
33211 * nscd/grpcache.c (cache_addgr): Likewise.
33212 * nscd/hstcache.c (cache_addhst): Likewise.
33213 * nscd/initgrcache.c (addinitgroupsX): Likewise.
33214 * nscd/pwdcache.c (cache_addpw): Likewise.
33215 * nscd/servicescache.c (cache_addserv): Likewise.
33217 2012-01-16 Ulrich Drepper <drepper@gmail.com>
33219 * malloc/malloc.c: Various cleanups.
33220 * malloc/hooks.c: Likewise.
33222 * stdlib/Makefile (tests): Add bug-fmtmsg1.
33223 * stdlib/bug-fmtmsg1.c: New file.
33225 * stdlib/fmtmsg.c (init): Add missing unlock.
33226 Patch by Peng Haitao <penght@cn.fujitsu.com>.
33228 2012-01-12 Marek Polacek <polacek@redhat.com>
33230 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
33233 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
33235 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
33236 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
33237 macro to ensure uniqueness of label name.
33238 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
33239 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
33241 2012-01-11 Ulrich Drepper <drepper@gmail.com>
33243 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
33245 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
33246 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
33247 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
33248 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
33250 2012-01-10 Ulrich Drepper <drepper@gmail.com>
33252 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
33254 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
33255 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
33256 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
33258 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
33260 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
33261 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
33262 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
33263 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
33265 * math/bits/math-finite.h: Add ldexp support.
33267 2012-01-10 Marek Polacek <polacek@redhat.com>
33269 * locale/programs/localedef.h (show_archive_content): Add noreturn
33272 2012-01-09 Ulrich Drepper <drepper@gmail.com>
33274 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
33276 2012-01-08 Ulrich Drepper <drepper@gmail.com>
33278 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
33280 * io/Makefile (headers): Add bits/poll2.h.
33282 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
33284 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
33285 typo #include statement.
33287 2012-01-08 Ulrich Drepper <drepper@gmail.com>
33289 * include/sys/cdefs.h: Define __attribute_alloc_size.
33290 * catgets/gencat.c: Add alloc_size attribute and apply consistently
33291 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
33292 * elf/pldd.c: Likewise.
33293 * iconv/iconv_charmap.c: Likewise.
33294 * iconv/iconvconfig.c: Likewise.
33295 * iconv/strtab.c: Likewise.
33296 * locale/programs/locale.c: Likewise.
33297 * locale/programs/localedef.h: Likewise.
33298 * locale/programs/simple-hash.c: Likewise.
33299 * nscd/nscd.h: Likewise.
33300 * nss/makedb.c: Likewise.
33301 * sysdeps/generic/ldconfig.h: Likewise.
33302 * locale/programs/localedef.c: Remove xmalloc prototype.
33303 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
33305 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
33307 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
33310 2012-01-08 Ulrich Drepper <drepper@gmail.com>
33312 * math/Makefile (tests): Add tst-CMPLX.
33313 * math/tst-CMPLX.c: New file.
33315 * math/complex.h (CMPLXL): Fix typo.
33317 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
33318 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
33320 * debug/tst-chk1.c: Add poll and ppoll tests.
33321 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
33322 * include/sys/poll.h: Add hidden proto for ppoll.
33323 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
33324 * sysdeps/mach/hurd/ppoll.c: Likewise.
33325 * io/ppoll.c: Likewise.
33326 * debug/poll_chk.c: New file.
33327 * debug/ppoll_chk.c: New file.
33328 * include/bits/poll2.h: New file.
33329 * io/bits/poll2.h: New file.
33332 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
33334 * configure.in: static is always set to yes. Remove.
33335 * config.make.in: Don't set build-static.
33336 * Makeconfig: Remove use of build-static.
33337 * dlfcn/Makefile: Likewise.
33338 * elf/Makefile: Likewise.
33339 * math/Makefile: Likewise.
33340 * misc/Makefile: Likewise.
33341 * nptl/Makefile: Likewise.
33342 * sysdeps/mach/hurd/Makefile: Likewise.
33344 * configure.in: PWD_P is not used anymore.
33345 * config.make.in: Remove PWD_P entry.
33347 * configure.in: Remove last remnants of RANLIB.
33348 No need to check for signed size_t anymore.
33349 Don't set libc_commonpagesize and libc_relro_required here for Alpha
33351 Remove __builtin_expect test because we require at least gcc 3.4.
33352 * aclocal.m4: Likewise.
33354 * wcsmbs/mbrtoc16.c: Implement using towc function.
33355 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
33356 * wcsmbs/wcsmbsload.c: Likewise.
33357 * iconv/gconv_simple.c: Likewise.
33358 * iconv/gconv_int.h: Likewise.
33359 * iconv/gconv_builtin.h: Likewise.
33360 * iconv/iconv_prog.c: Remove CHAR16 handling.
33362 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
33364 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
33366 * configure.in: Remove --with-elf and --enable-bounded options.
33367 Dont set base_machine for ia64. More non-ELF conditions removed.
33368 Remove testing and setting of leading underscore information.
33369 * config.make.in (build-bounded): Set to no.
33370 * config.h.in: Remove NO_UNDERSCORES entry.
33371 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
33373 * csu/start.c: Remove !NO_UNDERSCORE code.
33374 * locale/localeinfo.h: Likewise.
33375 * sysdeps/generic/machine-gmon.h: Likewise.
33376 * sysdeps/generic/sysdep.h: Likewise.
33377 * sysdeps/i386/sysdep.h: Likewise.
33378 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
33379 * sysdeps/mach/sysdep.h: Likewise.
33380 * sysdeps/s390/s390-32/sysdep.h: Likewise.
33381 * sysdeps/s390/s390-64/sysdep.h: Likewise.
33382 * sysdeps/sh/sysdep.h: Likewise.
33383 * sysdeps/sparc/sparc32/alloca.S: Likewise.
33384 * sysdeps/unix/i386/sysdep.S: Likewise.
33385 * sysdeps/unix/sparc/start.c: Likewise.
33386 * sysdeps/unix/sparc/sysdep.S: Likewise.
33387 * sysdeps/unix/sparc/sysdep.h: Likewise.
33388 * sysdeps/unix/start.c: Likewise.
33389 * sysdeps/unix/x86_64/sysdep.S: Likewise.
33390 * sysdeps/x86_64/sysdep.h: Likewise.
33392 2012-01-07 Ulrich Drepper <drepper@gmail.com>
33395 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
33397 * argp/argp-fmtstream.h: Use const instead __const.
33398 * argp/argp.h: Likewise.
33399 * assert/assert.h: Likewise.
33400 * bits/fenv.h: Likewise.
33401 * bits/sched.h: Likewise.
33402 * bits/sigset.h: Likewise.
33403 * bits/sigthread.h: Likewise.
33404 * catgets/nl_types.h: Likewise.
33405 * conform/data/pthread.h-data: Likewise.
33406 * crypt/crypt-private.h: Likewise.
33407 * crypt/crypt.h: Likewise.
33408 * crypt/crypt_util.c: Likewise.
33409 * ctype/ctype.h: Likewise.
33410 * debug/execinfo.h: Likewise.
33411 * debug/mbsnrtowcs_chk.c: Likewise.
33412 * debug/mbsrtowcs_chk.c: Likewise.
33413 * debug/wcsnrtombs_chk.c: Likewise.
33414 * debug/wcsrtombs_chk.c: Likewise.
33415 * debug/wcstombs_chk.c: Likewise.
33416 * dirent/dirent.h: Likewise.
33417 * dlfcn/dlfcn.h: Likewise.
33418 * elf/neededtest4.c: Likewise.
33419 * grp/grp.h: Likewise.
33420 * gshadow/gshadow.h: Likewise.
33421 * iconv/gconv.h: Likewise.
33422 * iconv/gconv_int.h: Likewise.
33423 * iconv/gconv_simple.c: Likewise.
33424 * iconv/iconv.h: Likewise.
33425 * iconv/loop.c: Likewise.
33426 * iconv/skeleton.c: Likewise.
33427 * include/aio.h: Likewise.
33428 * include/aliases.h: Likewise.
33429 * include/argz.h: Likewise.
33430 * include/arpa/inet.h: Likewise.
33431 * include/assert.h: Likewise.
33432 * include/dirent.h: Likewise.
33433 * include/dlfcn.h: Likewise.
33434 * include/execinfo.h: Likewise.
33435 * include/fcntl.h: Likewise.
33436 * include/fenv.h: Likewise.
33437 * include/glob.h: Likewise.
33438 * include/grp.h: Likewise.
33439 * include/libintl.h: Likewise.
33440 * include/mntent.h: Likewise.
33441 * include/netdb.h: Likewise.
33442 * include/pwd.h: Likewise.
33443 * include/rpc/netdb.h: Likewise.
33444 * include/sched.h: Likewise.
33445 * include/search.h: Likewise.
33446 * include/shadow.h: Likewise.
33447 * include/signal.h: Likewise.
33448 * include/stdio.h: Likewise.
33449 * include/stdlib.h: Likewise.
33450 * include/string.h: Likewise.
33451 * include/sys/socket.h: Likewise.
33452 * include/sys/stat.h: Likewise.
33453 * include/sys/statfs.h: Likewise.
33454 * include/sys/statvfs.h: Likewise.
33455 * include/sys/syslog.h: Likewise.
33456 * include/sys/time.h: Likewise.
33457 * include/sys/uio.h: Likewise.
33458 * include/time.h: Likewise.
33459 * include/unistd.h: Likewise.
33460 * include/utmp.h: Likewise.
33461 * include/wchar.h: Likewise.
33462 * include/wctype.h: Likewise.
33463 * inet/aliases.h: Likewise.
33464 * inet/arpa/inet.h: Likewise.
33465 * inet/netinet/ether.h: Likewise.
33466 * inet/netinet/in.h: Likewise.
33467 * intl/libintl.h: Likewise.
33468 * io/bits/fcntl2.h: Likewise.
33469 * io/fcntl.h: Likewise.
33470 * io/ftw.h: Likewise.
33471 * io/sys/poll.h: Likewise.
33472 * io/sys/stat.h: Likewise.
33473 * io/sys/statfs.h: Likewise.
33474 * io/sys/statvfs.h: Likewise.
33475 * io/utime.h: Likewise.
33476 * libio/bits/stdio.h: Likewise.
33477 * libio/bits/stdio2.h: Likewise.
33478 * libio/libio.h: Likewise.
33479 * libio/libioP.h: Likewise.
33480 * libio/stdio.h: Likewise.
33481 * locale/lc-ctype.c: Likewise.
33482 * locale/locale.h: Likewise.
33483 * login/utmp.h: Likewise.
33484 * malloc/arena.c: Likewise.
33485 * malloc/malloc.c: Likewise.
33486 * malloc/malloc.h: Likewise.
33487 * malloc/mcheck.c: Likewise.
33488 * malloc/mtrace.c: Likewise.
33489 * math/bits/mathcalls.h: Likewise.
33490 * math/fenv.h: Likewise.
33491 * math/math_private.h: Likewise.
33492 * misc/bits/error.h: Likewise.
33493 * misc/bits/syslog.h: Likewise.
33494 * misc/err.h: Likewise.
33495 * misc/error.h: Likewise.
33496 * misc/fstab.h: Likewise.
33497 * misc/mntent.h: Likewise.
33498 * misc/regexp.h: Likewise.
33499 * misc/search.h: Likewise.
33500 * misc/sgtty.h: Likewise.
33501 * misc/sys/mman.h: Likewise.
33502 * misc/sys/syslog.h: Likewise.
33503 * misc/sys/uio.h: Likewise.
33504 * misc/sys/xattr.h: Likewise.
33505 * misc/ttyent.h: Likewise.
33506 * nis/rpcsvc/ypclnt.h: Likewise.
33507 * nss/nss.h: Likewise.
33508 * posix/bits/unistd.h: Likewise.
33509 * posix/fnmatch.h: Likewise.
33510 * posix/glob.h: Likewise.
33511 * posix/sched.h: Likewise.
33512 * posix/spawn.h: Likewise.
33513 * posix/sys/wait.h: Likewise.
33514 * posix/unistd.h: Likewise.
33515 * posix/wordexp.h: Likewise.
33516 * pwd/pwd.h: Likewise.
33517 * resolv/netdb.h: Likewise.
33518 * resource/sys/resource.h: Likewise.
33519 * rt/aio.h: Likewise.
33520 * rt/bits/mqueue2.h: Likewise.
33521 * rt/mqueue.h: Likewise.
33522 * shadow/shadow.h: Likewise.
33523 * signal/signal.h: Likewise.
33524 * socket/send.c: Likewise.
33525 * socket/sendto.c: Likewise.
33526 * socket/sys/socket.h: Likewise.
33527 * stdio-common/printf.h: Likewise.
33528 * stdlib/bits/stdlib.h: Likewise.
33529 * stdlib/fmtmsg.h: Likewise.
33530 * stdlib/monetary.h: Likewise.
33531 * stdlib/stdlib.h: Likewise.
33532 * stdlib/ucontext.h: Likewise.
33533 * streams/stropts.h: Likewise.
33534 * string/argz.h: Likewise.
33535 * string/bits/string2.h: Likewise.
33536 * string/string.h: Likewise.
33537 * string/strings.h: Likewise.
33538 * sunrpc/rpc/auth.h: Likewise.
33539 * sunrpc/rpc/auth_des.h: Likewise.
33540 * sunrpc/rpc/clnt.h: Likewise.
33541 * sunrpc/rpc/netdb.h: Likewise.
33542 * sunrpc/rpc/pmap_clnt.h: Likewise.
33543 * sunrpc/rpc/xdr.h: Likewise.
33544 * sysdeps/generic/inttypes.h: Likewise.
33545 * sysdeps/generic/net/if.h: Likewise.
33546 * sysdeps/generic/sys/swap.h: Likewise.
33547 * sysdeps/gnu/net/if.h: Likewise.
33548 * sysdeps/gnu/utmpx.h: Likewise.
33549 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
33550 * sysdeps/i386/i486/bits/string.h: Likewise.
33551 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
33552 * sysdeps/s390/bits/string.h: Likewise.
33553 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
33554 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
33555 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
33556 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
33557 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
33558 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
33559 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
33560 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
33561 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
33562 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
33563 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
33564 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
33565 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
33566 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
33567 * sysdeps/unix/sysv/linux/readv.c: Likewise.
33568 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
33569 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
33570 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
33571 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
33572 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
33573 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
33574 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
33575 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
33576 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
33577 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
33578 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
33579 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
33580 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
33581 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
33582 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
33583 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
33584 * sysvipc/sys/ipc.h: Likewise.
33585 * sysvipc/sys/msg.h: Likewise.
33586 * sysvipc/sys/sem.h: Likewise.
33587 * sysvipc/sys/shm.h: Likewise.
33588 * termios/termios.h: Likewise.
33589 * time/sys/time.h: Likewise.
33590 * time/time.h: Likewise.
33591 * wcsmbs/bits/wchar2.h: Likewise.
33592 * wcsmbs/uchar.h: Likewise.
33593 * wcsmbs/wchar.h: Likewise.
33594 * wctype/wctype.h: Likewise.
33597 * Makeconfig: Remove all but ELF support including AIX support.
33598 * Makerules: Likewise.
33599 * config.h.in: Likewise.
33600 * config.make.in: Likewise.
33601 * configure: Likewise.
33602 * configure.in: Likewise.
33603 * csu/Makefile: Likewise.
33604 * csu/version.c: Likewise.
33605 * debug/Makefile: Likewise.
33606 * dlfcn/Makefile: Likewise.
33607 * elf/Makefile: Likewise.
33608 * extra-lib.mk: Likewise.
33609 * iconv/Makefile: Likewise.
33610 * include/libc-symbols.h: Likewise.
33611 * include/shlib-compat.h: Likewise.
33612 * resolv/Makefile: Likewise.
33613 * resolv/res_libc.c: Likewise.
33614 * rt/Makefile: Likewise.
33615 * sysdeps/i386/asm-syntax.h: Likewise.
33616 * sysdeps/i386/sysdep.h: Likewise.
33617 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
33618 * sysdeps/mach/sysdep.h: Likewise.
33619 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
33620 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
33621 * sysdeps/s390/asm-syntax.h: Likewise.
33622 * sysdeps/s390/s390-32/sysdep.h: Likewise.
33623 * sysdeps/s390/s390-64/sysdep.h: Likewise.
33624 * sysdeps/sh/sysdep.h: Likewise.
33625 * sysdeps/unix/sparc/sysdep.h: Likewise.
33626 * sysdeps/wordsize-32/divdi3.c: Likewise.
33627 * sysdeps/x86_64/sysdep.h: Likewise.
33629 * argp/Versions: Remove _argp_unlock_xxx.
33632 * abilist/ld.abilist: Update. Adjust for removal of tls option.
33633 * abilist/libBrokenLocale.abilist: Likewise.
33634 * abilist/libanl.abilist: Likewise.
33635 * abilist/libc.abilist: Likewise.
33636 * abilist/libcrypt.abilist: Likewise.
33637 * abilist/libdl.abilist: Likewise.
33638 * abilist/libm.abilist: Likewise.
33639 * abilist/libnsl.abilist: Likewise.
33640 * abilist/libpthread.abilist: Likewise.
33641 * abilist/libresolv.abilist: Likewise.
33642 * abilist/librt.abilist: Likewise.
33643 * abilist/libthread_db.abilist: Likewise.
33644 * abilist/libutil.abilist: Likewise.
33645 * abilist/libnss_db.abilist: New file.
33647 * scripts/abilist.awk: Add support for indirect functions.
33649 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
33651 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
33653 * shlib-versions: Remove entries for ports architectures.
33655 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
33657 * elf/stackguard-macros.h: Remove support for IA-64.
33658 * elf/tst-auditmod1.c: Likewise.
33659 * sysdeps/generic/ldsodefs.h: Likewise.
33661 * sysdeps/unix/sysv/linux/configure.in: Ports should define
33662 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
33666 * configure.in: Remove --enable-omitfp support.
33668 * config.make.in: Likewise.
33669 * Makeconfig: Likewise.
33670 * manual/install.texi: Likewise.
33672 In case anyone cares, the IA-64 architecture could move to ports.
33673 * sysdeps/ia64/*: Removed.
33674 * sysdeps/unix/sysv/linux/ia64/*: Removed.
33675 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
33678 * configure.in: Remove entries for unsupported architectures.
33681 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
33682 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
33684 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
33685 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
33686 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
33687 fall back to using wcrtomb.
33688 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
33689 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
33691 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
33692 * wcsmbs/tst-c16c32-1.c: New file.
33694 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
33697 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
33699 * elf/tst-unique3.cc: Add explicit declaration of gets.
33700 * elf/tst-unique3lib.cc: Likewise.
33701 * elf/tst-unique3lib2.cc: Likewise.
33702 * elf/tst-unique4.cc: Likewise.
33704 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
33706 2012-01-06 Joseph Myers <joseph@codesourcery.com>
33709 * assert/assert.h (static_assert): Don't define for C++.
33710 * libio/stdio.h (gets): Do declare for C++ <= C++11.
33711 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
33713 2012-01-03 Ulrich Drepper <drepper@gmail.com>
33715 * iconv/loop.c (single loop): Fix assertion in storing of
33718 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
33720 2012-01-01 Ulrich Drepper <drepper@gmail.com>
33722 * posix/getconf.c: Update copyright year.
33723 * nss/getent.c: Likewise.
33724 * nss/makedb.c: Likewise.
33725 * iconv/iconvconfig.c: Likewise.
33726 * iconv/iconv_prog.c: Likewise.
33727 * elf/ldconfig.c: Likewise.
33728 * elf/pldd.c: Likewise.
33729 * elf/sotruss.ksh: Likewise.
33730 * catgets/gencat.c: Likewise.
33731 * csu/version.c: Likewise.
33732 * elf/ldd.bash.in: Likewise.
33733 * elf/sprof.c (print_version): Likewise.
33734 * locale/programs/locale.c: Likewise.
33735 * locale/programs/localedef.c: Likewise.
33736 * login/programs/pt_chown.c: Likewise.
33737 * nscd/nscd.c (print_version): Likewise.
33738 * debug/xtrace.sh: Likewise.
33739 * malloc/memusage.sh: Likewise.
33740 * malloc/mtrace.pl: Likewise.
33741 * debug/catchsegv.sh: Likewise.
33743 2011-12-30 Jakub Jelinek <jakub@redhat.com>
33745 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
33748 2011-12-24 Ulrich Drepper <drepper@gmail.com>
33751 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
33752 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
33754 * iconv/gconv_int.h: Likewise.
33755 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
33756 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
33757 from libc for GLIBC_2.16.
33758 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
33759 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
33760 * wcsmbs/uchar.h: Really define mbstate_t.
33761 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
33762 * wcsmbs/c16rtomb.c: New file.
33763 * wcsmbs/mbrtoc16.c: New file.
33764 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
33765 for C/POSIX locale.
33766 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
33767 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
33769 * wcsmbs/wchar.h: Add missing __restrict.
33771 2011-12-23 Ulrich Drepper <drepper@gmail.com>
33774 * time/Makefile (routines): Add timespec_get.
33775 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
33776 * time/time.h: Define TIME_UTC and declare timespec_get. Define
33777 timespec for ISO C11.
33778 * time/timespec_get.c: New file.
33779 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
33780 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
33783 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
33784 * stdlib/stdlib.h: Declare aligned_alloc.
33785 * Versions.def: Add GLIBC_2.16 for libc.
33786 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
33789 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
33792 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
33796 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
33799 * assert/assert.h (static_assert): Define.
33801 * version.h: Update for 2.16 development version.
33804 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
33807 * version.h (RELEASE): Bump for 2.15 release.
33808 * include/features.h (__GLIBC_MINOR__): Bump to 15.
33810 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
33811 Patch by Marek Polacek <mpolacek@redhat.com>.
33813 * bits/byteswap.h: Protect long long constants with __extension__.
33814 * sysdeps/i386/bits/byteswap.h: Likewise.
33815 * sysdeps/ia64/bits/byteswap.h: Likewise.
33816 * sysdeps/s390/bits/byteswap.h: Likewise.
33817 * sysdeps/x86_64/bits/byteswap.h: Likewise.
33819 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33822 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
33823 destination buffer.
33824 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
33826 2011-12-23 Marek Polacek <polacek@redhat.com>
33828 * elf/dl-addr.c (determine_info): Add inline keyword.
33829 * elf/tst-auditmod4b.c (check_avx): Likewise.
33830 * elf/tst-auditmod6b.c (check_avx): Likewise.
33831 * elf/tst-auditmod6c.c (check_avx): Likewise.
33832 * elf/tst-auditmod7b.c (check_avx): Likewise.
33834 2011-12-23 Ulrich Drepper <drepper@gmail.com>
33836 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
33839 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33842 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
33843 processing for last bytes.
33845 2011-08-06 Bruno Haible <bruno@clisp.org>
33848 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
33849 U+0385, not to U+1FEE.
33852 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
33853 entry for U+00A5 U+0301.
33855 2011-12-22 Ulrich Drepper <drepper@gmail.com>
33858 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
33859 buffer for the output is too small.
33861 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
33865 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
33866 SSE flags if possible.
33868 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33871 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
33872 processing for last bytes.
33874 2011-12-22 Joseph Myers <joseph@codesourcery.com>
33876 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
33877 (syscall-list-default-options, syscall-list-default-condition)
33878 (syscall-list-includes): Define.
33879 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
33880 list of ABIs and options and #if conditions for each ABI. Do not
33881 handle common syscalls between ABIs specially.
33882 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
33884 (syscall-list-variants, syscall-list-32bit-options)
33885 (syscall-list-32bit-condition, syscall-list-64bit-options)
33886 (syscall-list-64bit-condition): Define.
33887 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
33888 (syscall-list-variants, syscall-list-32bit-options)
33889 (syscall-list-32bit-condition, syscall-list-64bit-options)
33890 (syscall-list-64bit-condition): Define.
33891 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
33893 (syscall-list-variants, syscall-list-32bit-options)
33894 (syscall-list-32bit-condition, syscall-list-64bit-options)
33895 (syscall-list-64bit-condition): Define.
33896 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
33898 (syscall-list-variants, syscall-list-32bit-options)
33899 (syscall-list-32bit-condition, syscall-list-64bit-options)
33900 (syscall-list-64bit-condition): Define.
33902 2011-12-22 Ulrich Drepper <drepper@gmail.com>
33904 * locale/iso-639.def: Add brx entry.
33907 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
33908 Proposed by Mariusz_Cukr <marcukr@op.pl>.
33910 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
33911 __feraiseexcept_renamed.
33913 2011-12-21 Ulrich Drepper <drepper@gmail.com>
33916 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
33917 EPOLLET with unsigned values.
33918 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
33919 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
33921 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
33922 to large cancellation.
33923 * math/s_cacoshf.c: Likewise.
33924 * math/s_cacoshl.c: Likewise.
33926 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
33930 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
33931 * math/s_cacoshf.c: Likewise.
33932 * math/s_cacoshl.c: Likewise.
33934 2011-12-21 Ulrich Drepper <drepper@gmail.com>
33937 * iconv/gconv.h: Define __GCONV_SWAP.
33938 * iconvdata/unicode.c: The swap bit must be stored in __flags.
33939 * iconvdata/utf-16.c: Likewise.
33940 * iconvdata/utf-32.c: Likewise.
33942 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
33945 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
33946 numerator after shifting it by one limb.
33948 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
33950 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
33951 under [__USE_EXTERN_INLINES].
33953 2011-12-17 Ulrich Drepper <drepper@gmail.com>
33956 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
33958 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33960 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
33961 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
33963 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
33964 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
33965 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
33966 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
33967 for strncasecmp/strncasecmp_l compilation.
33968 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
33969 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
33971 2011-12-08 Marek Polacek <mpolacek@redhat.com>
33974 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
33977 2011-12-17 Ulrich Drepper <drepper@gmail.com>
33980 * time/tzfile.c (__tzfile_read): Check values from file header.
33982 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
33984 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
33985 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
33986 * powerpc/powerpc32/dl-start.S: Likewise.
33987 * powerpc/powerpc32/elf/start.S: Likewise.
33988 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
33989 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
33990 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
33991 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
33992 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
33993 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
33994 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
33995 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
33996 * powerpc/powerpc32/fpu/s_round.S: Likewise.
33997 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
33998 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
33999 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
34000 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
34001 * powerpc/powerpc32/memset.S: Likewise.
34002 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
34003 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
34004 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
34005 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
34006 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
34007 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
34008 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
34009 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
34010 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
34011 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
34012 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
34013 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
34014 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
34016 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34018 * math/libm-test.inc: Added more nearbyint tests.
34019 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
34020 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
34021 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
34022 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
34024 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
34026 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
34029 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34031 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
34032 Add wcscpy-ssse3 wcscpy-c.
34033 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
34034 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
34035 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
34036 * sysdeps/x86_64/wcschr.S: New file.
34037 * sysdeps/x86_64/wcsrchr.S: New file.
34038 * string/test-strcmp.c: Remove checking of wcscmp function for
34040 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
34041 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
34042 wcsrchr-sse2 wcsrchr-c.
34043 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
34044 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
34045 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
34046 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
34047 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
34048 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
34049 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
34050 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
34051 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
34052 * wcsmbc/wcschr.c (WCSCHR): New macro.
34054 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34056 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
34057 * wcsmbs/test-wcsrchr.c: New file.
34058 * string/test-strrchr.c: Add wcsrchr support.
34060 * wcsmbs/test-wcscpy.c: New file.
34061 * string/test-strcpy.c: Add wcscpy support.
34064 2011-12-10 Ulrich Drepper <drepper@gmail.com>
34066 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
34069 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
34072 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
34074 2011-12-04 Ulrich Drepper <drepper@gmail.com>
34076 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
34077 Minor optimizations.
34079 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
34080 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
34081 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
34083 2011-12-03 Ulrich Drepper <drepper@gmail.com>
34085 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
34086 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
34087 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
34088 for gcc to avoid warnings.
34089 * inet/Makefile (tests): Add tst-checks.
34090 * inet/tst-checks.c: New file.
34092 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
34095 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
34098 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
34099 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
34101 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
34103 2011-12-02 Ulrich Drepper <drepper@gmail.com>
34105 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
34108 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
34110 2011-11-29 Joseph Myers <joseph@codesourcery.com>
34112 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
34113 conditional on GCC version.
34114 (__arch_compare_and_exchange_val_8_acq)
34115 (__arch_compare_and_exchange_val_16_acq)
34116 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
34117 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
34118 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
34120 2011-12-02 Joseph Myers <joseph@codesourcery.com>
34122 * sysdeps/sh/backtrace.c: New file.
34124 2011-12-02 Andreas Schwab <schwab@redhat.com>
34126 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
34129 2011-12-01 Andreas Schwab <schwab@redhat.com>
34131 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
34132 falling back to utime.
34134 2011-11-30 Andreas Schwab <schwab@redhat.com>
34136 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
34137 expectations for float.
34139 2011-11-29 Andreas Schwab <schwab@redhat.com>
34141 * locale/weight.h (findidx): Add parameter len.
34142 * locale/weightwc.h (findidx): Likewise.
34143 * posix/fnmatch_loop.c (FCT): Adjust caller.
34144 * posix/regcomp.c (build_equiv_class): Likewise.
34145 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
34146 * posix/regexec.c (check_node_accept_bytes): Likewise.
34147 * string/strcoll_l.c (STRCOLL): Likewise.
34148 * string/strxfrm_l.c (STRXFRM): Likewise.
34150 2011-11-17 Ulrich Drepper <drepper@gmail.com>
34152 * Makefile.in: Remove CVSOPT handling.
34153 * configure.in: Remove use of AC_REVISION.
34154 * iconvdata/Makefile (distribute): No need to filter out CVS.
34155 * scripts/list-sources.sh: Remove CVS, subversion and monotone
34158 2011-11-16 Andreas Schwab <schwab@redhat.com>
34160 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
34161 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
34162 [USE_AS_STRNCASECMP_L]: Likewise.
34163 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
34164 NO_TLS_DIRECT_SEG_REFS.
34165 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
34166 Fix argument offsets for non-PIC.
34167 [USE_AS_STRNCASECMP_L]: Likewise.
34168 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
34169 NO_TLS_DIRECT_SEG_REFS.
34171 2011-11-15 Ulrich Drepper <drepper@gmail.com>
34173 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
34175 * locale/loadlocale.c (_nl_load_locale): Likewise.
34177 2011-11-15 Andreas Schwab <schwab@redhat.com>
34179 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
34180 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
34181 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
34182 (SYSCALL_GETTIME): Set errno on error.
34184 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
34185 count references to noai6ai_cached.
34187 2011-11-15 Ulrich Drepper <drepper@gmail.com>
34189 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
34191 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
34192 FD_CLOEXEC for /proc/self/maps.
34194 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
34195 FD_CLOEXEC for /proc/meminfo.
34197 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
34200 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
34201 FD_CLOEXEC for given file.
34203 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
34205 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
34206 FD_CLOEXEC for /etc/hosts.
34207 (_gethtent): Likewise.
34209 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
34211 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
34212 cancellation and set FD_CLOEXEC for /etc/netgroup.
34214 * nss/nss_files/files-key.c (search): Don't allow cancellation when
34215 reading /etc/publickey.
34217 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
34218 allow cancellation when reading /etc/group.
34220 * nss/nss_files/files-alias.c (internal_setent): Don't allow
34222 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
34224 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
34225 when using data file.
34227 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
34229 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
34230 (write_nis_obj): Use "c" and "e" in fopen.
34232 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
34234 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
34236 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
34238 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
34240 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
34243 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
34245 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
34247 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
34249 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
34250 file parsing and set FD_CLOEXEC.
34252 2011-11-14 Ulrich Drepper <drepper@gmail.com>
34254 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
34256 2011-11-14 Andreas Schwab <schwab@redhat.com>
34258 * malloc/arena.c (arena_get2): Don't call reused_arena when
34259 _int_new_arena failed.
34261 2011-11-14 Ulrich Drepper <drepper@gmail.com>
34263 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
34264 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
34265 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
34266 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
34267 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
34268 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
34269 to compile strcasecmp and strncasecmp.
34270 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
34271 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
34273 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
34275 2011-11-13 Ulrich Drepper <drepper@gmail.com>
34277 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
34278 locale-defines.sym to gen-as-const-headers.
34279 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
34280 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
34281 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
34282 to compile strcasecmp and strncasecmp.
34283 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
34284 strcasecmp_l and strncasecmp_l.
34285 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
34286 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
34287 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
34288 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
34289 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
34290 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
34291 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
34292 * sysdeps/i386/i686/multiarch/strncase.S: New file.
34293 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
34294 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
34295 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
34297 2011-11-12 Ulrich Drepper <drepper@gmail.com>
34299 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
34300 result of SYSDEP_GETTIME_CPU to retval.
34301 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
34302 parameter list to macro. Remove trailing semicolon. Adjust users.
34304 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
34307 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
34309 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
34311 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
34312 from unused variable.
34314 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
34316 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
34319 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
34322 * sunrpc/rpc_prot.c (rejected): Fix case value.
34324 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
34325 unsigned long long int to avoid warnings in shift.
34327 * posix/regex_internal.c (re_string_reconstruct): Actually use result
34329 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
34332 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
34333 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
34334 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
34336 * nis/nis_table.c (nis_list): Use variable of correct type for
34337 result of __follow_path call.
34339 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34341 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
34342 of math functions ceil, trunc, floor, round, and sqrt, when
34343 avaliable on the platform.
34344 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
34346 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
34347 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
34348 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
34350 2011-10-30 Marek Polacek <mpolacek@redhat.com>
34352 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
34353 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
34355 2011-11-11 Roland McGrath <roland@hack.frob.com>
34357 * include/unistd.h: Fix __readlink return type.
34358 Reported by Chris Metcalf <cmetcalf@tilera.com>.
34360 2011-11-11 Ulrich Drepper <drepper@gmail.com>
34362 * stdlib/ucontext.h: Undo last change for makecontext.
34364 2011-11-11 Andreas Schwab <schwab@redhat.com>
34366 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
34368 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
34369 * setjmp/setjmp.h: Mark functions as non-leaf.
34370 * setjmp/bits/setjmp2.h: Likewise.
34371 * stdlib/ucontext.h: Likewise.
34373 2011-11-10 Andreas Schwab <schwab@redhat.com>
34375 * malloc/arena.c (_int_new_arena): Don't increment narenas.
34376 (reused_arena): Don't check arena limit.
34377 (arena_get2): Atomically check arena limit.
34379 2011-11-08 Ulrich Drepper <drepper@gmail.com>
34381 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
34382 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
34384 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
34387 2011-11-07 Andreas Schwab <schwab@redhat.com>
34389 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
34390 handler when locking.
34392 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
34393 Fix size of allocated buffer.
34395 2011-11-04 Andreas Schwab <schwab@redhat.com>
34398 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
34399 declarations for long double functions.
34400 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
34402 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
34404 2011-11-03 Andreas Schwab <schwab@redhat.com>
34406 * nscd/nscd.c (main): Don't start AVC thread until credentials are
34409 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
34412 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
34414 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
34416 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
34418 * include/alloca.h (stackinfo_alloca_round): Define.
34419 (extend_alloca): Use it.
34420 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
34421 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
34424 * scripts/check-local-headers.sh: Ignore libaudit.h.
34426 * nscd/Makefile (extra-objs): Make recursively expanded.
34428 2011-11-01 Ulrich Drepper <drepper@gmail.com>
34430 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
34431 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
34433 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
34434 * posix/tst-rfc3484-2.c: Likewise.
34435 * posix/tst-rfc3484-3.c: Likewise.
34437 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
34439 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
34441 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
34442 process_vm_writev from libc using GLIBC_2.15 version.
34444 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
34446 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
34448 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
34451 2011-10-31 Ulrich Drepper <drepper@gmail.com>
34454 * nss/getent.c (initgroups_keys): Show error message in case no group
34457 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
34458 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
34459 __bump_nl_timestamp.
34460 * nscd/connections (nscd_init): When host database is served open
34461 netlink socket and request notification about configuration changes.
34462 (main_loop_poll): Track netlink file descriptor and bump timestamp
34463 in case data becomes available.
34464 (main_loop_epoll): Likewise.
34465 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
34466 (database_pers_head): Add extra_data fileds.
34467 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
34468 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
34469 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
34471 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
34472 in6ai data, call __free_in6ai.
34473 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
34474 Add -DHAVE_NETLINK.
34475 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
34476 interface information. Reuse previous data if netlink timestamp
34478 (__bump_nl_timestamp): New function.
34479 (__free_in6ai): New function.
34481 2011-10-30 Ulrich Drepper <drepper@gmail.com>
34483 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
34484 close_not_cancel_no_status here.
34485 (__check_pf): Reorganize code a bit to not call close twice if OOM.
34487 2011-10-29 Ulrich Drepper <drepper@gmail.com>
34490 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
34493 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
34494 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
34495 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
34497 2011-07-03 Andreas Jaeger <aj@suse.de>
34500 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
34501 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
34502 * math/libm-test.inc (sin_test): Add test case.
34504 2011-10-29 Ulrich Drepper <drepper@gmail.com>
34507 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
34508 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
34510 * elf/chroot_canon.c (chroot_canon): Cleanups.
34512 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
34515 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
34516 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
34518 * string/test-strchr.c: Make usable for strchrnul testing.
34519 * string/test-strchrnul.c: New file.
34520 * string/Makefile (strop-tests): Add strchrnul.
34522 * po/it.po: Update from translation team.
34523 * po/es.po: Likewise.
34525 2011-10-28 Ulrich Drepper <drepper@gmail.com>
34527 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
34528 the three constants needed as parameters. Drop the others.
34529 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
34530 __m128i_strloadu_tolower.
34531 Create and initialize variable zero and use it in all the places
34532 where _mm_setzero_si128 was used.
34534 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
34535 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
34536 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
34537 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
34539 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
34540 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
34541 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
34542 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
34543 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
34544 __mpranred, __mptan.
34545 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
34546 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
34547 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
34548 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
34549 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
34550 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
34551 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
34552 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
34553 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
34555 2011-10-28 Andreas Schwab <schwab@redhat.com>
34557 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
34558 redefine if SHARED.
34559 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
34561 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
34562 wide char related routines to wcsmbs subdir.
34564 2011-10-27 Andreas Schwab <schwab@redhat.com>
34567 * misc/sys/cdefs.h (__THROWNL): Define.
34568 * posix/unistd.h: Use __THREADNL instead of __THREAD
34569 for memory synchronization functions.
34571 2011-10-26 Roland McGrath <roland@hack.frob.com>
34574 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
34576 * manual/stdio.texi (Obstack Streams): Node removed.
34578 2011-10-26 Andreas Schwab <schwab@redhat.com>
34580 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
34581 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
34582 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
34584 * math/math_private.h (math_force_eval): Allow non-addressable
34586 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
34588 2011-10-25 Ulrich Drepper <drepper@gmail.com>
34590 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
34591 file is not needed.
34593 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
34594 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
34595 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
34596 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
34597 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
34598 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
34599 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
34600 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
34602 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
34603 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
34604 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
34605 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
34606 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
34607 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
34608 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
34609 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
34610 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
34611 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
34612 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
34613 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
34614 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
34615 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
34616 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
34617 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
34618 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
34619 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
34620 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
34622 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
34623 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
34625 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
34626 place. Use VEX encoding when compiling for AVX.
34628 2011-10-25 Andreas Schwab <schwab@redhat.com>
34630 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
34631 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
34633 * string/test-strchr.c (do_test): Don't generate NUL bytes.
34635 2011-10-25 Ulrich Drepper <drepper@gmail.com>
34637 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
34638 useless if() expression.
34639 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
34640 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
34641 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
34642 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
34643 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
34644 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
34645 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
34646 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
34647 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
34648 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
34649 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
34650 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
34651 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
34652 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
34653 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
34654 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
34655 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
34656 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
34657 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
34659 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
34661 2011-10-25 Andreas Schwab <schwab@redhat.com>
34663 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
34665 * elf/dl-fini.c (_dl_sort_fini): Likewise.
34667 2011-10-25 Ulrich Drepper <drepper@gmail.com>
34669 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
34670 .text section. Avoid duplicate constants.
34671 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
34672 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
34673 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
34674 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
34675 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
34676 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
34677 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
34678 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
34679 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
34680 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
34681 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
34682 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
34683 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
34684 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
34685 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
34686 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
34687 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
34688 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
34689 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
34690 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
34691 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
34692 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
34693 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
34694 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
34695 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
34696 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
34697 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
34698 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
34699 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
34700 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
34701 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
34702 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
34703 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
34704 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
34705 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
34706 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
34707 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
34708 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
34709 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
34710 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
34711 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
34712 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
34713 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
34714 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
34715 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
34717 2011-10-24 Ulrich Drepper <drepper@gmail.com>
34719 * sysdeps/x86_64/dla.h: Move to ...
34720 * sysdeps/x86_64/fpu/dla.h: ...here.
34721 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
34722 situations. Use __builtin_fma only for gcc 4.6 and up.
34724 * config.make.in: Add have-mfma4 entry.
34725 * configure.in: Substitute libc_cv_cc_fma4.
34726 * math/Makefile (dbl-only-routines): Add sincostab.
34727 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
34728 Use __sincostab not sincos.
34729 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
34731 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
34732 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
34733 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
34734 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
34736 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
34737 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
34738 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
34739 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
34741 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
34742 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
34744 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
34745 define aliases when function name is a macro.
34746 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
34747 sysdeps/ieee754/dbl-64/sincos.tbl.
34748 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
34749 fma4-enabled routines.
34750 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
34751 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
34752 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
34753 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
34754 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
34755 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
34756 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
34757 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
34758 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
34759 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
34760 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
34761 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
34762 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
34763 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
34764 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
34765 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
34766 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
34767 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
34768 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
34769 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
34770 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
34771 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
34772 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
34773 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
34774 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
34775 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
34776 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
34777 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
34778 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
34779 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
34781 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
34783 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
34784 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
34785 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
34786 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
34787 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
34788 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
34789 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
34790 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
34792 2011-10-24 Andreas Schwab <schwab@redhat.com>
34794 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
34796 2011-10-23 Ulrich Drepper <drepper@gmail.com>
34798 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
34800 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
34802 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
34804 * string/strnlen.c: Don't define STRNLEN, reverse logic.
34805 Remove unused variable magic_bits.
34806 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
34808 * string/strnlen.c: Define and use STRNLEN macro.
34809 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
34810 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
34811 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
34812 * wcsmbs/wcslen.c: Define and use WCSLEN.
34813 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
34814 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
34815 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
34816 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
34817 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
34818 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
34819 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
34821 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34823 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34824 strnlen-sse2-no-bsf.
34825 Rename strlen-no-bsf to strlen-sse2-no-bsf.
34826 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
34827 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
34828 Add strnlen support.
34829 (USE_AS_STRNLEN): New macro.
34830 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
34831 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
34832 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
34833 * sysdeps/x86_64/wcslen.S: New file.
34835 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
34837 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
34838 XMM-moves are used for copying on small sizes.
34840 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34842 * wcsmbs/Makefile (strop-tests): Add wcschr.
34843 * wcsmbs/test-wcschr.c: New file.
34844 * string/test-strchr.c: Update.
34845 Add wcschr support.
34848 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34850 * wcsmbs/Makefile (strop-tests): Add wcslen.
34851 * wcsmbs/test-wcslen.c: New file.
34852 * string/test-strlen.c: Update.
34853 Add wcslen support.
34856 2011-10-23 Ulrich Drepper <drepper@gmail.com>
34858 * po/it.po: Update from translation team.
34860 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34862 * sysdeps/x86_64/wcscmp.S: Update.
34863 Fix wrong comparison semantics.
34864 wcscmp shall use signed comparison not unsigned.
34865 Don't use substraction to avoid overflow bug.
34866 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
34867 * wcsmbc/wcscmp.c: Likewise.
34868 * string/test-strcmp.c: Likewise.
34869 Add new tests to check cases with negative values.
34871 2011-10-23 Ulrich Drepper <drepper@gmail.com>
34873 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
34874 * sysdeps/x86_64/dla.h: ...here. New file.
34875 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
34876 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
34877 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
34878 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
34879 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
34880 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
34881 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
34882 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
34883 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
34885 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
34887 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
34888 __ynl_finite aliases.
34890 2011-10-22 Ulrich Drepper <drepper@gmail.com>
34892 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34894 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
34896 [DLA_FMA] (EMULV): Use DLA_FMA.
34897 [DLA_FMA] (MUL12): Use EMULV.
34898 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
34899 that are not needed.
34900 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
34901 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
34902 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
34903 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
34904 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
34905 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
34906 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
34908 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
34910 * math/s_nan.c: Undef __nan.
34911 * math/s_nanf.c: Undef __nanf.
34912 * math/s_nanl.c: Undef __nanl.
34913 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
34916 2011-10-22 Ulrich Drepper <drepper@gmail.com>
34918 * math/s_catan.c: Add branch predictions.
34919 * math/s_catanf.c: Likewise.
34920 * math/s_catanh.c: Likewise.
34921 * math/s_catanhf.c: Likewise.
34922 * math/s_catanhl.c: Likewise.
34923 * math/s_catanl.c: Likewise.
34924 * math/s_cexp.c: Likewise.
34925 * math/s_cexpf.c: Likewise.
34926 * math/s_cexpl.c: Likewise.
34927 * math/s_clog.c: Likewise.
34928 * math/s_clog10.c: Likewise.
34929 * math/s_clog10f.c: Likewise.
34930 * math/s_clog10l.c: Likewise.
34931 * math/s_clogf.c: Likewise.
34932 * math/s_clogl.c: Likewise.
34933 * math/s_csqrt.c: Likewise.
34934 * math/s_csqrtf.c: Likewise.
34935 * math/s_csqrtl.c: Likewise.
34936 * math/s_ctanf.c: Likewise.
34937 * math/s_ctanh.c: Likewise.
34938 * math/s_ctanhf.c: Likewise.
34939 * math/s_ctanhl.c: Likewise.
34940 * math/s_ctanl.c: Likewise.
34942 * math/math_private.h: Define __nan, __nanf, __nanl.
34943 * math/s_cacosh.c: Include <math_private.h>.
34944 * math/s_cacoshl.c: Likewise.
34945 * math/s_casinh.c: Likewise.
34946 * math/s_casinhf.c: Likewise.
34947 * math/s_casinhl.c: Likewise.
34948 * math/s_ccos.c: Rely entire on ccosh.
34949 * math/s_ccosf.c: Rely entire on ccoshf.
34950 * math/s_ccosl.c: Rely entirely on ccoshl.
34951 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
34952 Remove tests for FE_INVALID.
34953 * math/s_ccoshf.c: Likewise.
34954 * math/s_ccoshl.c: Likewise.
34955 * math/s_csin.c: Likewise.
34956 * math/s_csinf.c: Likewise.
34957 * math/s_csinh.c Likewise.
34958 * math/s_csinhf.c: Likewise.
34959 * math/s_csinhl.c: Likewise.
34960 * math/s_csinl.c: Likewise.
34961 * math/s_ctan.c: Likewise.
34962 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
34963 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
34964 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
34966 2011-10-21 Ulrich Drepper <drepper@gmail.com>
34968 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
34969 compilation problems.
34971 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
34974 2011-10-20 Ulrich Drepper <drepper@gmail.com>
34976 * sysdeps/i386/configure.in: Test for -mfma4 option.
34977 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
34978 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
34979 COMMON_CPUID_INDEX_80000001.
34980 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
34981 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
34982 use it if FMA3 is not supported.
34983 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
34985 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
34986 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
34988 2011-10-20 Andreas Schwab <schwab@redhat.com>
34991 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
34992 it would create a cycle with a link time dependency.
34994 2011-10-19 Ulrich Drepper <drepper@gmail.com>
34996 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
34998 * string/Makefile (strop-tests): Add rawmemchr.
34999 * string/test-rawmemchr.c: New file.
35001 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
35002 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
35003 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
35004 when compiling str{,n}casecmp and when AVX is available. Hook up
35005 new optimized code in initializers.
35007 2011-10-19 Andreas Schwab <schwab@redhat.com>
35009 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
35010 __feraiseexcept instead of feraiseexcept.
35012 2011-10-18 Ulrich Drepper <drepper@gmail.com>
35014 * math/math_private.h: Define defaults for libc_fetestexcept and
35016 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
35017 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
35018 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
35019 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
35020 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
35021 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
35022 libc_fetestexcept and libc_feupdateenv.
35024 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
35025 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
35026 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
35027 * sysdeps/x86_64/fpu/math_private.h: Define special version of
35028 libc_feholdexcept_setround.
35030 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
35031 Add s_nearbyint-c and s_nearbyintf-c.
35032 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
35033 nearbyintf inlines.
35034 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
35035 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
35036 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
35037 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
35039 * math/math_private.h: Define defaults for libc_fegetround,
35040 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
35041 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
35042 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
35043 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
35044 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
35045 standard functions.
35046 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
35047 Remove comments and hacks for old compiler versions.
35048 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
35049 libc_fegetround, libc_fesetround, libc_feholdexcept, and
35050 libc_feholdexceptl.
35052 2011-10-18 Andreas Schwab <schwab@redhat.com>
35054 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
35055 (__feraiseexcept_renamed): Add __NTH.
35056 (feraiseexcept): Add __NTH. Rename local variables to fix
35057 namespace violations.
35059 2011-10-17 Ulrich Drepper <drepper@gmail.com>
35061 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
35063 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
35065 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
35066 recently added interfaces.
35067 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
35069 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
35070 about macro parameter expansion.
35072 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
35073 __NO_MATH_INLINES is defined. Cleanups.
35075 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
35076 and __floorf is target has SSE4.1.
35077 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
35078 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
35079 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
35080 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
35082 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
35084 (floorf): Likewise.
35086 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
35088 2011-10-17 Andreas Schwab <schwab@redhat.com>
35090 * misc/sys/cdefs.h: Fix last change.
35092 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
35095 2011-10-16 Ulrich Drepper <drepper@gmail.com>
35097 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
35099 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
35100 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
35101 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
35102 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
35103 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
35104 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
35105 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
35106 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
35107 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
35108 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
35109 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
35110 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
35111 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
35112 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
35113 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
35114 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
35115 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
35116 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
35117 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
35118 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
35119 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
35120 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
35122 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
35123 ceil, ceilf, floor, floorf.
35125 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
35126 Perform IRELATIVE relocations last.
35128 * elf/do-rel.h: Add another parameter nrelative, replacing the
35129 local variable with the same name. Change name of the function
35130 to end in Rel or Rela (uppercase).
35131 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
35132 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
35133 elf_dynamic_do_##reloc function.
35135 2011-10-15 Ulrich Drepper <drepper@gmail.com>
35137 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
35138 is sufficient, at least on modern CPUs.
35140 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
35142 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
35143 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
35145 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
35147 * math/bits/math-finite.h: Add entries for exp.
35148 * math/e_expl.c: Add __*_finite alias.
35149 * sysdeps/i386/fpu/e_exp.S: Likewise.
35150 * sysdeps/i386/fpu/e_expf.S: Likewise.
35151 * sysdeps/i386/fpu/e_expl.c: Likewise.
35152 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
35153 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
35154 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
35155 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
35156 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
35157 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
35158 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
35160 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
35161 is sufficient, at least on modern CPUs.
35163 * ctype/ctype-info.c (__ctype_init): Define.
35164 * include/ctype.h (__ctype_init): Declare.
35165 (__ctype_b_loc): The variable is always initialized.
35166 (__ctype_toupper_loc): Likewise.
35167 (__ctype_tolower_loc): Likewise.
35168 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
35169 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
35171 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
35173 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
35175 * configure.in: Also look in $cxxmachine/include for C++ system
35178 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35180 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
35181 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
35182 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
35183 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
35184 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
35185 (USE_AS_WMEMCMP): New macro.
35187 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
35188 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
35189 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
35190 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
35191 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35192 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
35193 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
35194 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
35195 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
35196 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
35197 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
35198 (USE_AS_WMEMCMP): New macro.
35199 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
35200 * sysdeps/string/test-memcmp.c: Update.
35201 Fix simple_wmemcmp.
35203 * wcsmbs/wmemcmp.c: Update.
35204 (WMEMCMP): New macro.
35207 2011-10-12 Andreas Jaeger <aj@suse.de>
35210 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
35212 2011-10-15 Ulrich Drepper <drepper@gmail.com>
35214 * libio/iofwide.c (do_length): Avoid warning.
35216 * ctype/ctype.h (__isctype_f): Add missing __THROW.
35218 2011-10-14 Ulrich Drepper <drepper@gmail.com>
35220 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
35222 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
35223 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
35224 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
35225 * sysdeps/i386/i686/fpu/e_log.S: New file.
35226 * sysdeps/i386/i686/fpu/e_logf.S: New file.
35227 * sysdeps/i386/i686/fpu/e_logl.S: New file.
35229 * ctype/ctype.h: Add support for inlined isXXX functions when
35230 compiling C++ code.
35232 2011-10-14 Andreas Schwab <schwab@redhat.com>
35234 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
35236 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
35238 2011-10-13 Roland McGrath <roland@hack.frob.com>
35241 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
35243 2011-10-13 Andreas Schwab <schwab@redhat.com>
35245 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
35246 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
35249 * sysdeps/x86_64/memrchr.S: Check for zero size.
35251 * string/stratcliff.c: Add memrchr tests.
35253 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35255 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35256 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
35257 rawmemchr-sse2 rawmemchr-sse2-bsf.
35258 * sysdeps/i386/i686/multiarch/memchr.S: New file.
35259 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
35260 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
35261 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
35262 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
35263 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
35264 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
35265 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
35266 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
35267 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
35268 * string/memrchr.c (MEMRCHR): New macro.
35270 2011-10-12 Ulrich Drepper <drepper@gmail.com>
35272 Add integration with gcc's -ffinite-math-only and optimize wrapper
35274 * Versions.def: Define GLIBC_2.15 version for libm.
35275 * math/Makefile (headers): Add bits/math-finite.h.
35276 * math/bits/math-finite.h: New file.
35277 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
35278 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
35279 * math/e_acoshl.c: Add __*_finite alias.
35280 * math/e_acosl.c: Likewise.
35281 * math/e_asinl.c: Likewise.
35282 * math/e_atan2l.c: Likewise.
35283 * math/e_atanhl.c: Likewise.
35284 * math/e_coshl.c: Likewise.
35285 * math/e_exp10.c: Likewise.
35286 * math/e_exp10f.c: Likewise.
35287 * math/e_exp10l.c: Likewise.
35288 * math/e_exp2l.c: Likewise.
35289 * math/e_fmodl.c: Likewise.
35290 * math/e_gammal_r.c: Likewise.
35291 * math/e_hypotl.c: Likewise.
35292 * math/e_j0l.c: Likewise.
35293 * math/e_j1l.c: Likewise.
35294 * math/e_jnl.c: Likewise.
35295 * math/e_lgammal_r.c: Likewise.
35296 * math/e_log10l.c: Likewise.
35297 * math/e_log2l.c: Likewise.
35298 * math/e_logl.c: Likewise.
35299 * math/e_powl.c: Likewise.
35300 * math/e_sinhl.c: Likewise.
35301 * math/e_sqrtl.c: Likewise.
35302 * math/e_scalb.c: Completely rewritten and optimized.
35303 * math/e_scalbf.c: Likewise.
35304 * math/e_scalbl.c: Likewise.
35305 * math/w_acos.c: Likewise.
35306 * math/w_acosf.c: Likewise.
35307 * math/w_acosl.c: Likewise.
35308 * math/w_acosh.c: Likewise.
35309 * math/w_acoshf.c: Likewise.
35310 * math/w_acoshl.c: Likewise.
35311 * math/w_asin.c: Likewise.
35312 * math/w_asinf.c: Likewise.
35313 * math/w_asinl.c: Likewise.
35314 * math/w_atan2.c: Likewise.
35315 * math/w_atan2f.c: Likewise.
35316 * math/w_atan2l.c: Likewise.
35317 * math/w_atanh.c: Likewise.
35318 * math/w_atanhf.c: Likewise.
35319 * math/w_atanhl.c: Likewise.
35320 * math/w_exp10.c: Likewise.
35321 * math/w_exp10f.c: Likewise.
35322 * math/w_exp10l.c: Likewise.
35323 * math/w_fmod.c: Likewise.
35324 * math/w_fmodf.c: Likewise.
35325 * math/w_fmodl.c: Likewise.
35326 * math/w_j0.c: Likewise.
35327 * math/w_j0f.c: Likewise.
35328 * math/w_j0l.c: Likewise.
35329 * math/w_j1.c: Likewise.
35330 * math/w_j1f.c: Likewise.
35331 * math/w_j1l.c: Likewise.
35332 * math/w_jn.c: Likewise.
35333 * math/w_jnf.c: Likewise.
35334 * math/w_log.c: Likewise.
35335 * math/w_logf.c: Likewise.
35336 * math/w_logl.c: Likewise.
35337 * math/w_log10.c: Likewise.
35338 * math/w_log10f.c: Likewise.
35339 * math/w_log10l.c: Likewise.
35340 * math/w_log2.c: Likewise.
35341 * math/w_log2f.c: Likewise.
35342 * math/w_log2l.c: Likewise.
35343 * math/w_pow.c: Likewise.
35344 * math/w_powf.c: Likewise.
35345 * math/w_powl.c: Likewise.
35346 * math/w_remainder.c: Likewise.
35347 * math/w_remainderf.c: Likewise.
35348 * math/w_remainderl.c: Likewise.
35349 * math/w_scalb.c: Likewise.
35350 * math/w_scalbf.c: Likewise.
35351 * math/w_scalbl.c: Likewise.
35352 * math/w_sqrt.c: Likewise.
35353 * math/w_sqrtf.c: Likewise.
35354 * math/w_sqrtl.c: Likewise.
35355 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
35356 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
35358 * math/math_private.h: Declare __kernel_standard_f.
35359 * math/w_cosh.c: Remove cruft and optimize a bit.
35360 * math/w_coshf.c: Likewise.
35361 * math/w_coshl.c: Likewise.
35362 * math/w_exp2.c: Likewise.
35363 * math/w_exp2f.c: Likewise.
35364 * math/w_exp2l.c: Likewise.
35365 * math/w_hypot.c: Likewise.
35366 * math/w_hypotf.c: Likewise.
35367 * math/w_hypotl.c: Likewise.
35368 * math/w_lgamma.c: Likewise.
35369 * math/w_lgamma_r.c: Likewise.
35370 * math/w_lgammaf.c: Likewise.
35371 * math/w_lgammaf_r.c: Likewise.
35372 * math/w_lgammal.c: Likewise.
35373 * math/w_lgammal_r.c: Likewise.
35374 * math/w_sinh.c: Likewise.
35375 * math/w_sinhf.c: Likewise.
35376 * math/w_sinhl.c: Likewise.
35377 * math/w_tgamma.c: Likewise.
35378 * math/w_tgammaf.c: Likewise.
35379 * math/w_tgammal.c: Likewise.
35380 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
35381 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
35382 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
35383 Minor optimizations. Pretty printing. Remove cruft.
35384 * sysdeps/i386/fpu/e_acosf.S: Likewise.
35385 * sysdeps/i386/fpu/e_acosh.S: Likewise.
35386 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
35387 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
35388 * sysdeps/i386/fpu/e_acosl.c: Likewise.
35389 * sysdeps/i386/fpu/e_asin.S: Likewise.
35390 * sysdeps/i386/fpu/e_asinf.S: Likewise.
35391 * sysdeps/i386/fpu/e_atan2.S: Likewise.
35392 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
35393 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
35394 * sysdeps/i386/fpu/e_atanh.S: Likewise.
35395 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
35396 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
35397 * sysdeps/i386/fpu/e_exp10.S: Likewise.
35398 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
35399 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
35400 * sysdeps/i386/fpu/e_exp2.S: Likewise.
35401 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
35402 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
35403 * sysdeps/i386/fpu/e_fmod.S: Likewise.
35404 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
35405 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
35406 * sysdeps/i386/fpu/e_hypot.S: Likewise.
35407 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
35408 * sysdeps/i386/fpu/e_log.S: Likewise.
35409 * sysdeps/i386/fpu/e_log10.S: Likewise.
35410 * sysdeps/i386/fpu/e_log10f.S: Likewise.
35411 * sysdeps/i386/fpu/e_log10l.S: Likewise.
35412 * sysdeps/i386/fpu/e_log2.S: Likewise.
35413 * sysdeps/i386/fpu/e_log2f.S: Likewise.
35414 * sysdeps/i386/fpu/e_log2l.S: Likewise.
35415 * sysdeps/i386/fpu/e_logf.S: Likewise.
35416 * sysdeps/i386/fpu/e_logl.S: Likewise.
35417 * sysdeps/i386/fpu/e_pow.S: Likewise.
35418 * sysdeps/i386/fpu/e_powf.S: Likewise.
35419 * sysdeps/i386/fpu/e_powl.S: Likewise.
35420 * sysdeps/i386/fpu/e_remainder.S: Likewise.
35421 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
35422 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
35423 * sysdeps/i386/fpu/e_scalb.S: Likewise.
35424 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
35425 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
35426 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
35427 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
35428 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
35429 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
35430 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
35431 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
35432 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
35433 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
35434 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
35435 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
35436 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
35437 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
35438 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
35439 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
35440 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
35441 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
35442 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
35443 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
35444 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
35445 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
35446 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
35447 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
35448 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
35449 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
35450 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
35451 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
35452 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
35453 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
35454 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
35455 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
35456 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
35457 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
35458 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
35459 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
35460 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
35461 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
35462 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
35463 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
35464 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
35465 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
35466 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
35467 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
35468 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
35469 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
35470 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
35471 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
35472 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
35473 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
35474 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
35475 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
35476 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
35477 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
35478 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
35479 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
35480 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
35481 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
35482 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
35483 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
35484 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
35485 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
35486 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
35487 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
35488 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
35489 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
35490 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
35491 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
35492 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
35493 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
35494 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
35495 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
35496 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
35497 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
35498 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
35499 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
35500 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
35501 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
35502 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
35503 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
35504 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
35505 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
35506 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
35507 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
35508 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
35509 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
35510 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
35511 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
35512 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
35513 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
35514 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
35515 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
35516 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
35517 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
35518 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
35519 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
35520 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
35521 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
35522 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
35523 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
35524 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
35525 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
35526 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
35527 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
35528 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
35529 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
35530 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
35531 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
35532 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
35533 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
35534 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
35535 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
35536 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
35537 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
35538 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
35539 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
35540 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
35541 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
35542 (__isnanf): Likewise.
35543 (__isinf_ns): Likewise.
35544 (__isinf_nsf): Likewise.
35545 (__finite): Likewise.
35546 (__finitef): Likewise.
35547 (__ieee754_sqrt): Define as macro.
35548 (__ieee754_sqrtf): Define as macro.
35549 (__ieee754_sqrtl): Define as macro.
35550 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
35552 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
35553 __FINITE_MATH_ONLY__ consistent.
35554 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
35556 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
35558 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
35561 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
35563 2011-10-09 Ulrich Drepper <drepper@gmail.com>
35565 * po/ja.po: Update from translation team.
35567 2011-10-08 Roland McGrath <roland@hack.frob.com>
35569 * locale/programs/locarchive.c (prepare_address_space): New function.
35570 (create_archive, enlarge_archive, open_archive): Use it.
35572 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
35573 inside [SHARED], where it is used.
35575 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
35577 * nss/getent.c (netgroup_keys): Remove unused variable.
35578 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
35580 2011-10-08 Ulrich Drepper <drepper@gmail.com>
35582 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
35583 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
35584 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
35585 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
35586 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
35587 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
35588 * math/Makefile (libm-calls): Add s_isinf_ns.
35589 * math/divtc3.c: Use __isinf_nsl instead of isinf.
35590 * math/multc3.c: Likewise.
35591 * math/s_casin.c: Likewise.
35592 * math/s_casinf.c: Likewise.
35593 * math/s_casinl.c: Likewise.
35594 * math/s_ccos.c: Likewise.
35595 * math/s_ccosf.c: Likewise.
35596 * math/s_ccosl.c: Likewise.
35597 * math/s_ctan.c: Likewise.
35598 * math/s_ctanf.c: Likewise.
35599 * math/s_ctanh.c: Likewise.
35600 * math/s_ctanhf.c: Likewise.
35601 * math/s_ctanhl.c: Likewise.
35602 * math/s_ctanl.c: Likewise.
35603 * math/w_fmod.c: Likewise.
35604 * math/w_fmodf.c: Likewise.
35605 * math/w_fmodl.c: Likewise.
35606 * math/w_remainder.c: Likewise.
35607 * math/w_remainderf.c: Likewise.
35608 * math/w_remainderl.c: Likewise.
35609 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
35610 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
35611 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
35612 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
35613 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
35614 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
35615 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
35616 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
35618 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
35620 * stdio-common/printf_fphex.c: Likewise.
35621 * stdio-common/printf_size.c: Likewise.
35623 * math/e_exp10.c: Include math_private.h using <...> not "...".
35624 * math/e_exp10f.c: Likewise.
35625 * math/e_exp10l.c: Likewise.
35626 * math/e_exp2l.c: Likewise.
35627 * math/e_j0l.c: Likewise.
35628 * math/e_j1l.c: Likewise.
35629 * math/e_jnl.c: Likewise.
35630 * math/e_lgammal_r.c: Likewise.
35631 * math/e_rem_pio2l.c: Likewise.
35632 * math/e_scalb.c: Likewise.
35633 * math/e_scalbf.c: Likewise.
35634 * math/e_scalbl.c: Likewise.
35635 * math/k_cosl.c: Likewise.
35636 * math/k_sinl.c: Likewise.
35637 * math/k_tanl.c: Likewise.
35638 * math/s_cacoshf.c: Likewise.
35639 * math/s_catan.c: Likewise.
35640 * math/s_catanf.c: Likewise.
35641 * math/s_catanh.c: Likewise.
35642 * math/s_catanhf.c: Likewise.
35643 * math/s_catanhl.c: Likewise.
35644 * math/s_catanl.c: Likewise.
35645 * math/s_ccosh.c: Likewise.
35646 * math/s_ccoshf.c: Likewise.
35647 * math/s_ccoshl.c: Likewise.
35648 * math/s_cexp.c: Likewise.
35649 * math/s_cexpf.c: Likewise.
35650 * math/s_cexpl.c: Likewise.
35651 * math/s_clog.c: Likewise.
35652 * math/s_clog10.c: Likewise.
35653 * math/s_clog10f.c: Likewise.
35654 * math/s_clog10l.c: Likewise.
35655 * math/s_clogf.c: Likewise.
35656 * math/s_clogl.c: Likewise.
35657 * math/s_csin.c: Likewise.
35658 * math/s_csinf.c: Likewise.
35659 * math/s_csinh.c: Likewise.
35660 * math/s_csinhf.c: Likewise.
35661 * math/s_csinhl.c: Likewise.
35662 * math/s_csinl.c: Likewise.
35663 * math/s_csqrt.c: Likewise.
35664 * math/s_csqrtf.c: Likewise.
35665 * math/s_csqrtl.c: Likewise.
35666 * math/s_ctan.c: Likewise.
35667 * math/s_ctanf.c: Likewise.
35668 * math/s_ctanh.c: Likewise.
35669 * math/s_ctanhf.c: Likewise.
35670 * math/s_ctanhl.c: Likewise.
35671 * math/s_ctanl.c: Likewise.
35672 * math/s_ldexp.c: Likewise.
35673 * math/s_ldexpf.c: Likewise.
35674 * math/s_ldexpl.c: Likewise.
35675 * math/s_significand.c: Likewise.
35676 * math/s_significandf.c: Likewise.
35677 * math/s_significandl.c: Likewise.
35678 * math/w_acos.c: Likewise.
35679 * math/w_acosf.c: Likewise.
35680 * math/w_acosh.c: Likewise.
35681 * math/w_acoshf.c: Likewise.
35682 * math/w_acoshl.c: Likewise.
35683 * math/w_acosl.c: Likewise.
35684 * math/w_asin.c: Likewise.
35685 * math/w_asinf.c: Likewise.
35686 * math/w_asinl.c: Likewise.
35687 * math/w_atan2.c: Likewise.
35688 * math/w_atan2f.c: Likewise.
35689 * math/w_atan2l.c: Likewise.
35690 * math/w_atanh.c: Likewise.
35691 * math/w_atanhf.c: Likewise.
35692 * math/w_atanhl.c: Likewise.
35693 * math/w_cosh.c: Likewise.
35694 * math/w_coshf.c: Likewise.
35695 * math/w_coshl.c: Likewise.
35696 * math/w_dremf.c: Likewise.
35697 * math/w_exp10.c: Likewise.
35698 * math/w_exp10f.c: Likewise.
35699 * math/w_exp10l.c: Likewise.
35700 * math/w_exp2.c: Likewise.
35701 * math/w_exp2f.c: Likewise.
35702 * math/w_fmod.c: Likewise.
35703 * math/w_fmodf.c: Likewise.
35704 * math/w_fmodl.c: Likewise.
35705 * math/w_hypot.c: Likewise.
35706 * math/w_hypotf.c: Likewise.
35707 * math/w_hypotl.c: Likewise.
35708 * math/w_j0.c: Likewise.
35709 * math/w_j0f.c: Likewise.
35710 * math/w_j0l.c: Likewise.
35711 * math/w_j1.c: Likewise.
35712 * math/w_j1f.c: Likewise.
35713 * math/w_j1l.c: Likewise.
35714 * math/w_jn.c: Likewise.
35715 * math/w_jnf.c: Likewise.
35716 * math/w_jnl.c: Likewise.
35717 * math/w_lgamma.c: Likewise.
35718 * math/w_lgamma_r.c: Likewise.
35719 * math/w_lgammaf.c: Likewise.
35720 * math/w_lgammaf_r.c: Likewise.
35721 * math/w_lgammal.c: Likewise.
35722 * math/w_lgammal_r.c: Likewise.
35723 * math/w_log.c: Likewise.
35724 * math/w_log10.c: Likewise.
35725 * math/w_log10f.c: Likewise.
35726 * math/w_log10l.c: Likewise.
35727 * math/w_log2.c: Likewise.
35728 * math/w_log2f.c: Likewise.
35729 * math/w_log2l.c: Likewise.
35730 * math/w_logf.c: Likewise.
35731 * math/w_logl.c: Likewise.
35732 * math/w_pow.c: Likewise.
35733 * math/w_powf.c: Likewise.
35734 * math/w_powl.c: Likewise.
35735 * math/w_remainder.c: Likewise.
35736 * math/w_remainderf.c: Likewise.
35737 * math/w_remainderl.c: Likewise.
35738 * math/w_scalb.c: Likewise.
35739 * math/w_scalbf.c: Likewise.
35740 * math/w_scalbl.c: Likewise.
35741 * math/w_sinh.c: Likewise.
35742 * math/w_sinhf.c: Likewise.
35743 * math/w_sinhl.c: Likewise.
35744 * math/w_sqrt.c: Likewise.
35745 * math/w_sqrtf.c: Likewise.
35746 * math/w_sqrtl.c: Likewise.
35747 * math/w_tgamma.c: Likewise.
35748 * math/w_tgammaf.c: Likewise.
35749 * math/w_tgammal.c: Likewise.
35751 * po/ja.po: Update from translation team.
35753 2011-09-29 Andreas Jaeger <aj@suse.de>
35756 * sunrpc/netname.c (netname2host): Fix logic.
35760 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
35762 * math/w_remainder.c (__remainder): Likewise.
35763 * math/w_remainderf.c (__remainderf): Likewise.
35764 * math/libm-test.inc (remainder_test): Add test cases.
35766 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35768 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
35771 2011-10-07 Ulrich Drepper <drepper@gmail.com>
35773 * string/test-memcmp.c: Avoid unncessary #defines.
35774 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
35776 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35778 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
35779 Use new sse2 version for core i3 - i7 as it's faster
35780 than sse42 version.
35781 (bit_Prefer_PMINUB_for_stringop): New.
35782 * sysdeps/x86_64/rawmemchr.S: Update.
35783 Replace with faster SSE2 version.
35784 * sysdeps/x86_64/memrchr.S: New file.
35785 * sysdeps/x86_64/memchr.S: Update.
35786 Replace with faster SSE2 version.
35788 2011-09-12 Marek Polacek <mpolacek@redhat.com>
35790 * elf/dl-load.c (lose): Add cast to avoid warning.
35792 2011-10-07 Ulrich Drepper <drepper@gmail.com>
35794 * po/ca.po: Update from translation team.
35796 * inet/getnetgrent_r.c: Hook up nscd.
35797 * nscd/Makefile (routines): Add nscd_netgroup.
35798 (nscd-modules): Add netgroupcache.
35799 (CFLAGS-netgroupcache.c): Define.
35800 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
35801 (cache_search): Add const to second parameter.
35802 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
35804 (dbs): Add netgrdb entry.
35805 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
35806 (verify_persistent_db): Handle netgrdb.
35807 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
35808 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
35810 (netgroup_response_header): Define.
35811 (innetgroup_response_header): Define.
35812 (datahead): Add netgroup_response_header and innetgroup_response_header
35814 * nscd/nscd.conf: Add entries for netgroup cache.
35815 * nscd/nscd.h (dbtype): Add netgrdb.
35816 (_PATH_NSCD_NETGROUP_DB): Define.
35817 (netgroup_iov_disabled): Declare.
35818 (xmalloc, xcalloc, xrealloc): Move declarations here.
35819 (cache_search): Adjust prototype.
35820 Add netgroup-related prototypes.
35821 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
35822 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
35823 (__nscd_innetgr): Declare.
35824 * nscd/selinux.c (perms): Use access_vector_t as element type and
35825 add netgroup-related initializers.
35826 * nscd/netgroupcache.c: New file.
35827 * nscd/nscd_netgroup.c: New file.
35828 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
35829 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
35830 For four parameters use innetgr.
35831 * nss/nss_files/files-init.c: Add definition and callback for netgr.
35832 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
35833 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
35834 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
35836 * nscd/connections.c (register_traced_file): Don't register file
35837 for disabled databases.
35839 2011-10-06 Ulrich Drepper <drepper@gmail.com>
35841 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
35843 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
35844 from tree and freeing node.
35846 2011-09-25 Jiri Olsa <jolsa@redhat.com>
35848 * nss/nsswitch.c (__nss_database_lookup): Handle
35849 nss_parse_service_list out of memory case.
35851 2011-09-15 Jiri Olsa <jolsa@redhat.com>
35853 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
35854 out of memory case.
35856 2011-10-04 Andreas Schwab <schwab@redhat.com>
35858 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
35859 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
35861 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
35862 elf_machine_rela, elf_machine_lazy_rel.
35863 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
35864 (ELF_DYNAMIC_DO_REL): Likewise.
35865 (ELF_DYNAMIC_DO_RELA): Likewise.
35866 (ELF_DYNAMIC_RELOCATE): Likewise.
35867 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
35868 to ELF_DYNAMIC_DO_REL.
35869 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
35870 (dl_main): In trace mode always set __RTLD_NOIFUNC.
35871 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
35873 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
35874 skip_ifunc, don't call ifunc function if non-zero.
35875 (elf_machine_rela): Likewise.
35876 (elf_machine_lazy_rel): Likewise.
35877 (elf_machine_lazy_rela): Likewise.
35878 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
35879 (elf_machine_lazy_rel): Likewise.
35880 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
35882 (elf_machine_lazy_rel): Likewise.
35883 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
35885 (elf_machine_lazy_rel): Likewise.
35886 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
35887 (elf_machine_lazy_rel): Likewise.
35888 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
35889 (elf_machine_lazy_rel): Likewise.
35890 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
35891 (elf_machine_lazy_rel): Likewise.
35892 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
35893 (elf_machine_lazy_rel): Likewise.
35894 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
35895 (elf_machine_lazy_rel): Likewise.
35896 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
35897 (elf_machine_lazy_rel): Likewise.
35899 2011-09-28 Ulrich Drepper <drepper@gmail.com>
35901 * nss/nss_files/files-init.c (_nss_files_init): Use static
35902 initialization for all the *_traced_file variables.
35904 2011-09-28 Andreas Schwab <schwab@redhat.com>
35906 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
35908 2011-09-27 Roland McGrath <roland@hack.frob.com>
35911 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
35913 2011-09-27 Andreas Schwab <schwab@redhat.com>
35915 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
35916 Reread the line before reparsing it.
35918 2011-09-26 Andreas Schwab <schwab@redhat.com>
35920 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
35922 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
35923 Maxim Kuvyrkov <maxim@codesourcery.com>
35924 Joseph Myers <joseph@codesourcery.com>
35926 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
35927 if needed for __stack_chk_guard.
35929 2011-09-19 Roland McGrath <roland@hack.frob.com>
35931 * sysdeps/posix/spawni.c (script_execute): Always define it.
35932 It will be optimized away if unused.
35933 (maybe_script_execute): New function.
35934 (__spawni): Call it.
35936 * Makerules: Don't include tls.make.
35937 (config-tls): Always set to thread.
35938 * tls.make.c: File removed.
35940 2011-09-19 Mike Frysinger <vapier@gentoo.org>
35942 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
35943 * config.make.in (CPPFLAGS-config): New substituted variable.
35945 2011-09-15 Ulrich Drepper <drepper@gmail.com>
35947 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
35950 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
35951 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
35953 2011-09-15 Roland McGrath <roland@hack.frob.com>
35955 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
35956 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
35957 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
35958 (CALL_FAIL): Likewise.
35959 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
35960 (CALL_FAIL): Macro removed.
35961 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
35963 2011-09-15 Ulrich Drepper <drepper@gmail.com>
35965 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
35966 for __FINITE_MATH_ONLY__ == 1.
35968 2011-09-15 Andreas Schwab <schwab@redhat.com>
35970 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
35971 __ieee754_sqrt instead of sqrt.
35972 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
35973 __ieee754_sqrtf instead of sqrtf.
35974 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
35975 __floorf instead of floorf.
35976 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
35977 __floorf, __truncf instead of floorf, truncf.
35979 2011-09-14 Ulrich Drepper <drepper@gmail.com>
35981 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
35983 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
35984 __extern_always_inline.
35985 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
35988 2011-09-14 Andreas Schwab <schwab@redhat.com>
35990 * elf/rtld.c (dl_main): Also relocate in dependency order when
35991 doing symbol dependency testing.
35993 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
35995 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
35996 Always define `refsym'.
35998 2011-09-13 Andreas Schwab <schwab@redhat.com>
36000 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
36001 (__FD_ELT): Renamed from __FDELT.
36002 * misc/bits/select2.h (__FD_ELT): Likewise.
36003 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
36004 __FD_MASK instead of __FDELT, __FDMASK.
36005 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
36007 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
36010 * elf/Makefile (gen-ldd): Fix pattern.
36012 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
36013 (init_tls): Likewise.
36015 2011-09-12 Ulrich Drepper <drepper@gmail.com>
36017 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
36019 2011-09-12 Andreas Schwab <schwab@redhat.com>
36021 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
36022 `struct cmsghdr *' instead of `void *'.
36023 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
36026 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
36028 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
36030 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
36031 ldd_rewrite_script.
36033 2011-09-11 Ulrich Drepper <drepper@gmail.com>
36035 * configure.in: Remove --with-tls option.
36036 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
36037 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
36038 out in case it is missing.
36039 * sysdeps/ia64/elf/configure.in: Likewise.
36040 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
36041 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
36042 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
36043 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
36044 * sysdeps/sh/elf/configure.in: Likewise.
36045 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
36046 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
36047 * sysdeps/x86_64/elf/configure.in: Likewise.
36048 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
36049 * sysdeps/mach/hurd/tls.h: Likewise.
36052 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
36055 * configure.in: Fix use of AC_INIT.
36057 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
36059 2011-09-10 Ulrich Drepper <drepper@gmail.com>
36061 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
36063 * malloc/hooks.c: Likewise.
36066 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
36067 variables statically.
36068 (narenas): Initialize.
36069 (list_lock): Initialize.
36070 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
36071 initializtion of main_arena and list_lock. Small cleanups.
36072 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
36073 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
36074 Add initializers to main_arena and mp_.
36075 (malloc_state): Remove pagesize member. Change all users to use
36078 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
36079 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
36080 is always initialized.
36082 * malloc/malloc.c: Removed unused configurations and dead code.
36083 * malloc/arena.c: Likewise.
36084 * malloc/hooks.c: Likewise.
36085 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
36087 * include/tls.h: Removed. USE___THREAD must always be defined.
36088 * bits/libc-tsd.h: Don't handle !USE___THREAD.
36089 * elf/dl-libc.c: Likewise.
36090 * elf/dl-tsd.c: Likewise.
36091 * include/errno.h: Likewise.
36092 * include/netdb.h: Likewise.
36093 * include/resolv.h: Likewise.
36094 * inet/herrno-loc.c: Likewise.
36095 * inet/herrno.c: Likewise.
36096 * malloc/arena.c: Likewise.
36097 * malloc/hooks.c: Likewise.
36098 * malloc/malloc.c: Likewise.
36099 * resolv/res-state.c: Likewise.
36100 * resolv/res_libc.c: Likewise.
36101 * sysdeps/i386/dl-machine.h: Likewise.
36102 * sysdeps/ia64/dl-machine.h: Likewise.
36103 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
36104 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
36105 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
36106 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
36107 * sysdeps/sh/dl-machine.h: Likewise.
36108 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
36109 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
36110 * sysdeps/unix/i386/sysdep.S: Likewise.
36111 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
36112 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
36113 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
36114 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
36115 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
36116 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
36117 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
36118 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
36119 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
36120 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
36121 * sysdeps/unix/x86_64/sysdep.S: Likewise.
36122 * sysdeps/x86_64/dl-machine.h: Likewise.
36123 * tls.make.c: Likewise.
36125 * configure.in: Remove --with-__thread option. Make tests for
36126 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
36127 tls_model attribute fail if no support is available. Remove
36129 * Makeconfig: Adjust for dropped configure option. All features are
36131 * Makerules: Likewise.
36132 * Versions.def: Likewise.
36133 * argp/argp-fmtstream.c: Likewise.
36134 * argp/argp-fmtstream.h: Likewise.
36135 * argp/argp-help.c: Likewise.
36136 * assert/assert.c: Likewise.
36137 * config.h.in: Likewise.
36138 * config.make.in: Likewise.
36139 * configure: Likewise.
36140 * configure.in: Likewise.
36141 * csu/Versions: Likewise.
36142 * csu/init.c: Likewise.
36143 * elf/tst-audit2.c: Likewise.
36144 * elf/tst-tls10.c: Likewise.
36145 * elf/tst-tls10.h: Likewise.
36146 * elf/tst-tls11.c: Likewise.
36147 * elf/tst-tls12.c: Likewise.
36148 * elf/tst-tls14.c: Likewise.
36149 * elf/tst-tlsmod11.c: Likewise.
36150 * elf/tst-tlsmod12.c: Likewise.
36151 * elf/tst-tlsmod13.c: Likewise.
36152 * elf/tst-tlsmod13a.c: Likewise.
36153 * elf/tst-tlsmod14a.c: Likewise.
36154 * elf/tst-tlsmod15b.c: Likewise.
36155 * elf/tst-tlsmod16a.c: Likewise.
36156 * elf/tst-tlsmod16b.c: Likewise.
36157 * elf/tst-tlsmod7.c: Likewise.
36158 * elf/tst-tlsmod8.c: Likewise.
36159 * elf/tst-tlsmod9.c: Likewise.
36160 * gmon/gmon.c: Likewise.
36161 * grp/fgetgrent_r.c: Likewise.
36162 * grp/putgrent.c: Likewise.
36163 * hurd/fopenport.c: Likewise.
36164 * include/libc-symbols.h: Likewise.
36165 * include/tls.h: Likewise.
36166 * intl/gettextP.h: Likewise.
36167 * intl/loadinfo.h: Likewise.
36168 * locale/global-locale.c: Likewise.
36169 * locale/localeinfo.h: Likewise.
36170 * mach/devstream.c: Likewise.
36171 * malloc/arena.c: Likewise.
36172 * malloc/set-freeres.c: Likewise.
36173 * misc/err.c: Likewise.
36174 * misc/getttyent.c: Likewise.
36175 * misc/mntent_r.c: Likewise.
36176 * posix/getopt.c: Likewise.
36177 * posix/wordexp.c: Likewise.
36178 * pwd/fgetpwent_r.c: Likewise.
36179 * resolv/Versions: Likewise.
36180 * resolv/res_hconf.c: Likewise.
36181 * shadow/fgetspent_r.c: Likewise.
36182 * shadow/putspent.c: Likewise.
36183 * stdio-common/printf_fphex.c: Likewise.
36184 * stdio-common/tmpfile.c: Likewise.
36185 * stdlib/abort.c: Likewise.
36186 * stdlib/fmtmsg.c: Likewise.
36187 * sunrpc/auth_unix.c: Likewise.
36188 * sunrpc/clnt_perr.c: Likewise.
36189 * sunrpc/clnt_tcp.c: Likewise.
36190 * sunrpc/clnt_udp.c: Likewise.
36191 * sunrpc/clnt_unix.c: Likewise.
36192 * sunrpc/openchild.c: Likewise.
36193 * sunrpc/svc_simple.c: Likewise.
36194 * sunrpc/svc_tcp.c: Likewise.
36195 * sunrpc/svc_udp.c: Likewise.
36196 * sunrpc/svc_unix.c: Likewise.
36197 * sunrpc/xdr.c: Likewise.
36198 * sunrpc/xdr_array.c: Likewise.
36199 * sunrpc/xdr_rec.c: Likewise.
36200 * sunrpc/xdr_ref.c: Likewise.
36201 * sunrpc/xdr_stdio.c: Likewise.
36203 2011-09-09 Ulrich Drepper <drepper@gmail.com>
36205 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
36207 2011-07-03 Andreas Jaeger <aj@suse.de>
36209 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
36210 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
36211 regenerate with gen-libm-tests.pl.
36213 2010-05-12 Petr Baudis <pasky@suse.cz>
36216 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
36217 around j0() zero points by switching to j1().
36218 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
36219 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
36220 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
36221 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
36223 2011-09-09 Ulrich Drepper <drepper@gmail.com>
36225 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
36227 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
36229 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
36230 Patch in part by Pavel Roskin <proski@gnu.org>.
36233 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
36235 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
36236 Free memory block if necessary.
36239 * libio/genops.c (INTDEF): For string streams the _lock pointer can
36240 be NULL. Don't lock in this case.
36242 2011-09-09 Roland McGrath <roland@hack.frob.com>
36244 * elf/elf.h (ELFOSABI_GNU): New macro.
36245 (ELFOSABI_LINUX): Define to that.
36247 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
36249 * string/strncat.c (strncat): Undef the symbol in case it has been
36250 defined in bits/string.h.
36252 2011-09-09 Ulrich Drepper <drepper@gmail.com>
36254 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
36256 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
36259 2011-08-17 Andreas Jaeger <aj@suse.de>
36261 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
36263 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
36264 Ian Lance Taylor <iant@google.com>
36266 * math/libm-test.inc (lround_test): New testcase.
36267 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
36269 2011-09-08 Ulrich Drepper <drepper@gmail.com>
36271 * Makefile: Remove support for automatic cvs check-ins.
36272 * Makerules: Likewise.
36273 * config.make.in: Likewise.
36274 * configure.in: Likewise.
36275 * intl/Makefile: Likewise.
36276 * locale/Makefile: Likewise.
36277 * po/Makefile: Likewise.
36278 * posix/Makefile: Likewise.
36279 * sysdeps/gnu/Makefile: Likewise.
36280 * sysdeps/mach/hurd/Makefile: Likewise.
36281 * sysdeps/sparc/sparc32/Makefile: Likewise.
36284 * posix/Makefile (bug-regex32-ENV): Define.
36285 Patch by John Stanley <jpsinthemix@verizon.net>.
36287 * misc/Makefile (headers): Add bits/select2.h.
36288 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
36289 * misc/bits/select2.h: New file.
36290 * include/bits/select2.h: New file.
36291 * debug/Makefile (routines): Add fdelt_chk.
36292 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
36293 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
36295 * debug/fdelt_chk.c: New file.
36297 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
36298 * wcsmbs/test-wmemcmp.c: Likewise.
36299 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
36300 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
36302 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36304 * string/Makefile (strop-tests): Add memcmp.
36305 * string/test-wmemcmp.c: New file.
36306 * string/test-memcmp.c: Add wmemcmp support.
36308 2011-09-08 Roland McGrath <roland@hack.frob.com>
36311 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
36314 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
36315 garbage value in a __mach_port_mod_refs call in the cases of the
36316 task-self and thread-self ports.
36318 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
36320 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
36322 2011-09-08 Andreas Schwab <schwab@redhat.com>
36324 * elf/dl-load.c (lose): Check for non-null L.
36326 2011-09-07 Ulrich Drepper <drepper@gmail.com>
36328 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
36330 * elf/dl-libc.c (dlerror_run): Pass back error code from
36334 * elf/dl-load.c (lose): Free l_origin if it is valid.
36336 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
36338 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
36339 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
36340 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
36341 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
36342 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
36343 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
36345 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36347 * sysdeps/powerpc/fpu/e_hypot.c: New file.
36348 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
36349 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
36350 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
36351 * sysdeps/powerpc/fpu/k_cosf.c: New file.
36352 * sysdeps/powerpc/fpu/k_sinf.c: New file.
36353 * sysdeps/powerpc/fpu/s_cosf.c: New file.
36354 * sysdeps/powerpc/fpu/s_sinf.c: New file.
36355 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
36356 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
36358 2011-08-15 Alan Modra <amodra@gmail.com>
36361 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
36362 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
36363 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
36364 ppc_mcount to static-only-routines.
36365 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
36367 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
36368 __mcount_internal with usual JUMPTARGET. Remove useless nop.
36370 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
36372 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
36373 for finite and infinity parameters.
36375 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
36377 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
36378 and add nop instructions for throughput optimization.
36379 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
36381 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
36383 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
36384 aligned copy for power7 with vector-scalar instructions.
36385 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
36387 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
36389 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
36392 2011-09-07 Andreas Schwab <schwab@redhat.com>
36395 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
36398 2011-09-07 Ulrich Drepper <drepper@gmail.com>
36400 * sysdeps/unix/sysv/linux/x86_64/init-first.c
36401 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
36402 syscall wrapper around clock_gettime in __vdso_clock_gettime.
36403 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
36406 2011-09-06 Ulrich Drepper <drepper@gmail.com>
36408 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
36409 Forgot to demangle the pointer.
36411 * sysdeps/i386/sysdep.h: Define atom_text_section.
36412 * sysdeps/x86_64/sysdep.h: Likewise.
36413 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
36414 section with atom_text_section.
36415 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
36416 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
36417 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
36418 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
36419 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
36421 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
36422 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
36423 already be defined. Change to take two parameters and don't assign
36424 result to variable. Adjust all users.
36425 Define INTERNAL_GETTIME if not already defined.
36426 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
36428 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
36429 HAVE_CLOCK_GETTIME_VSYSCALL.
36430 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
36432 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
36433 gettimeofday vsyscall, just use time.
36435 2011-09-06 Andreas Schwab <schwab@redhat.com>
36437 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
36440 2011-09-06 Ulrich Drepper <drepper@gmail.com>
36442 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
36444 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
36446 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
36447 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
36448 syscall if possible.
36450 2011-09-05 Ulrich Drepper <drepper@gmail.com>
36452 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
36453 e_ident. Don't pass to find_mapsXX.
36454 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
36456 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
36458 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
36459 strchr-sse2-no-bsf strrchr-sse2-no-bsf
36460 * sysdeps/x86_64/multiarch/strchr.S: Update.
36461 Check bit_slow_BSF bit.
36462 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
36463 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
36464 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
36466 2011-09-05 Ulrich Drepper <drepper@gmail.com>
36469 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
36471 (tryshell): Define.
36472 (__spawni): Change last parameter to be flag. Test
36473 SPAWN_XFLAGS_USE_PATH flag to use path or not.
36474 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
36475 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
36476 * posix/spawni.c: Likewise.
36477 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
36478 * posix/spawnp.c: Likewise. Change normal version to use
36479 SPAWN_XFLAGS_USE_PATH.
36480 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
36481 SPAWN_XFLAGS_TRY_SHELL.
36484 * posix/glob.h: Remove gcc 1.x support.
36487 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
36489 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
36491 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
36492 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
36494 * sysdeps/i386/i686/multiarch/strchr.S: New file.
36495 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
36496 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
36497 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
36498 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
36499 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
36501 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36503 * sysdeps/x86_64/wcscmp.S: New file.
36505 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
36506 wcscmp-c wcscmp-sse2
36507 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
36508 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
36509 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
36510 * wcsmbs/wcscmp.c: Allow renaming.
36512 2011-09-05 David S. Miller <davem@davemloft.net>
36514 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
36515 stack slot, rather than the struct return pointer slot.
36516 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
36517 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
36518 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
36519 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
36521 2011-09-05 Ulrich Drepper <drepper@gmail.com>
36523 * po/ja.po: Update from translation team.
36526 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
36527 kernel in 64-bit binaries.
36529 2011-09-01 David S. Miller <davem@davemloft.net>
36531 * elf/elf.h (HWCAP_SPARC_*): Move to..
36532 * sysdeps/sparc/sysdep.h: this new file and add new values.
36533 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
36534 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
36535 _DL_HWCAP_COUNT to 24.
36536 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
36538 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
36539 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
36540 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
36541 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
36542 instead of magic constants.
36543 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
36545 2011-08-31 David S. Miller <davem@davemloft.net>
36547 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
36548 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
36549 Reimplement to do errno handling inline.
36550 (SYSCALL_ERROR_HANDLER): New macro.
36551 (__SYSCALL_STRING): Do not do errno handling in asm.
36552 (__CLONE_SYSCALL_STRING): Delete.
36553 (__INTERNAL_SYSCALL_STRING): Delete.
36554 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
36555 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
36556 (PSEUDO): Reimplement to do errno handling inline.
36557 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
36558 (SYSCALL_ERROR_HANDLER): New macro.
36559 (__SYSCALL_STRING): Do not do errno handling in asm.
36560 (__CLONE_SYSCALL_STRING): Delete.
36561 (__INTERNAL_SYSCALL_STRING): Delete.
36562 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
36563 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
36565 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
36566 (inline_syscall*): Add 'err' argument.
36567 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
36568 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
36569 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
36570 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
36572 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
36573 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
36575 2011-08-30 Andreas Schwab <schwab@redhat.com>
36577 * elf/rtld.c (dl_main): Relocate objects in dependency order.
36579 2011-08-29 Jiri Olsa <jolsa@redhat.com>
36581 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
36584 2011-08-24 David S. Miller <davem@davemloft.net>
36586 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
36588 2011-08-24 Andreas Schwab <schwab@redhat.com>
36590 * elf/Makefile: Add rules to build and run unload8 test.
36591 * elf/unload8.c: New file.
36592 * elf/unload8mod1.c: New file.
36593 * elf/unload8mod1x.c: New file.
36594 * elf/unload8mod2.c: New file.
36595 * elf/unload8mod3.c: New file.
36597 * elf/dl-close.c (_dl_close_worker): Reset private search list if
36600 2011-08-23 David S. Miller <davem@davemloft.net>
36602 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
36603 subtract stack bias.
36604 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
36605 %sp not %fp in calculations.
36606 (_JMPBUF_UNWINDS_ADJ): Likewise.
36608 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
36609 (aio_suspend): Call it to force an exception region around the
36610 AIO_MISC_WAIT() invocation.
36612 2011-08-23 Andreas Schwab <schwab@redhat.com>
36614 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
36617 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
36619 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
36621 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
36622 and <dl-machine.h>.
36623 (Elf64_FuncDesc): Remove.
36625 2011-08-22 David S. Miller <davem@davemloft.net>
36627 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
36628 sigaltstack check, add missing cfi directives.
36629 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
36630 missing cfi directives, and sigaltstack handling.
36632 2011-08-16 Andreas Schwab <schwab@redhat.com>
36635 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
36636 object is seen twice.
36637 * elf/dl-fini.c (_dl_sort_fini): Likewise.
36639 * elf/Makefile (distribute): Add tst-initorder2.c.
36640 (tests): Add tst-initorder2.
36641 (modules-names): Add tst-initorder2a tst-initorder2b
36642 tst-initorder2c tst-initorder2d. Add rules to build them.
36643 ($(objpfx)tst-initorder2.out): New rule.
36644 * elf/tst-initorder2.c: New file.
36645 * elf/tst-initorder2.exp: New file.
36647 2011-08-22 Andreas Schwab <schwab@redhat.com>
36649 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
36651 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
36652 dependencies back to end of function.
36654 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
36655 $(elfobjdir)/ld.so.
36657 2011-08-21 Ulrich Drepper <drepper@gmail.com>
36659 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
36660 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
36661 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
36662 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
36663 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
36664 of __vdso_gettimeofday.
36665 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
36666 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
36668 (_libc_vdso_platform_setup): Remove initialization of
36669 __vdso_gettimeofday and __vdso_time.
36671 2011-08-20 Ulrich Drepper <drepper@gmail.com>
36673 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
36674 and fgetc_unlocked.
36675 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
36678 * elf/dl-open.c (add_to_global): Report additions to the global scope
36679 for LD_DEBUG=scopes.
36680 (dl_open_worker): Also print scope of newly loaded dependencies.
36681 (_dl_show_scope): Indicate if there is no scope.
36684 * stdio-common/Makefile (tests): Add bug24.
36685 * stdio-common/bug24.c: New file.
36687 2011-08-19 Andreas Jaeger <aj@suse.de>
36690 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
36691 non-existant file when using close-on-exec mode.
36693 2011-08-20 Ulrich Drepper <drepper@gmail.com>
36695 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
36696 the very first instruction.
36698 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
36699 the CFI state in the end.
36700 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
36701 inclusion of dl-trampoline.h.
36702 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
36704 2011-08-19 Andreas Schwab <schwab@redhat.com>
36706 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
36707 expectations for long double.
36709 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
36710 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
36712 2011-08-14 David S. Miller <davem@davemloft.net>
36714 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
36715 artificual limit depends upon the system page size.
36717 2011-08-17 Ulrich Drepper <drepper@gmail.com>
36719 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
36720 * resolv/Makefile: Define CFLAGS-libresolv.
36722 2011-08-17 Andreas Schwab <schwab@redhat.com>
36724 * nss/makedb.c (compute_tables): Make variables used in nested
36727 2011-08-17 Ulrich Drepper <drepper@gmail.com>
36729 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
36730 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
36731 if buffer was too small.
36733 * elf/pldd.c (main): Attach to all threads in the process.
36734 Rewrite /proc handling to use *at functions.
36736 2011-08-16 Ulrich Drepper <drepper@gmail.com>
36738 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
36739 specifies first scope to show.
36740 (dl_open_worker): Update callers. Move printing scope of new
36741 object to before the relocation.
36742 * elf/rtld.c (dl_main): Update _dl_show_scope call.
36743 * sysdeps/generic/ldsodefs.h: Update declaration.
36745 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
36746 string for the scope number.
36748 2011-08-14 Ulrich Drepper <drepper@gmail.com>
36750 * nscd/servicescache.c (cache_addserv): Make sure written is always
36753 2011-08-14 Roland McGrath <roland@hack.frob.com>
36755 * sysdeps/i386/i486/bits/atomic.h
36756 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
36757 statement expression, so as to suppress "set but not used" warning.
36758 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
36760 * string/strncat.c (STRNCAT): Use prototype definition.
36762 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
36763 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
36765 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
36766 (localedef-modules): Add localedef.
36767 (locale-modules): Add locale.
36769 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
36770 * elf/rtld.c (dl_main): Invert order of assignment in last change,
36771 to avoid a warning.
36773 2011-08-14 David S. Miller <davem@davemloft.net>
36775 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
36776 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
36778 2011-08-13 Ulrich Drepper <drepper@gmail.com>
36780 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
36781 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
36782 * elf/rtld.c (dl_main): Set l_name of vDSO.
36783 Call _dl_show_scope when DL_DEBUG_SCOPES.
36784 (process_dl_debug): Recognize scopes flag and also set it for all.
36785 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
36786 Declare _dl_show_scope.
36788 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
36789 (do_dlopen): Pass caller_dlopen to dl_open.
36790 (__libc_dlopen_mode): Initialize caller_dlopen.
36792 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
36793 of libc. Make tolower call locale-independent. Optimize a bit by
36794 using isdigit instead of isalnum.
36795 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
36797 2011-08-12 Ulrich Drepper <drepper@gmail.com>
36799 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
36800 was a dependency or dynamically loaded.
36802 2011-08-11 Ulrich Drepper <drepper@gmail.com>
36804 * intl/l10nflist.c: Allow architecture-specific pop function.
36805 * sysdeps/x86_64/l10nflist.c: New file.
36807 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
36810 2011-08-10 Andreas Schwab <schwab@redhat.com>
36812 * include/dirent.h: Add libc_hidden_proto for scandirat and
36813 scandirat64. Don't declare __scandirat64.
36814 * dirent/scandirat.c: Add libc_hidden_def.
36815 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
36816 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
36818 2011-08-10 David S. Miller <davem@davemloft.net>
36820 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
36822 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
36823 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
36824 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
36826 2011-08-09 Ulrich Drepper <drepper@gmail.com>
36828 * Versions.def [libc]: Add GLIBC_2.15.
36829 * dirent/Makefile (routines): Add scandirat and scandirat64.
36830 * dirent/Versions [libc]: Export scandirat and scandirat64 for
36832 * dirent/dirent.h: Declare scandirat and scandirat64.
36833 * dirent/scandirat.c: New file.
36834 * dirent/scandirat64.c: New file.
36835 * sysdeps/wordsize-64/scandirat.c: New file.
36836 * sysdeps/wordsize-64/scandirat64.c: New file.
36837 * dirent/opendir.c: Define opendirat.
36838 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
36840 * dirent/scandir64.c: Adjust for scandir.c change.
36841 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
36842 __scandirat64, and __scandir_cancel_handler.
36843 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
36844 additional parameter and use openat instead of open (outside of ld.so).
36845 Add new __opendir as wrapper around __opendirat.
36846 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
36847 here without requiring old scandirat implementation.
36849 2011-08-08 Ulrich Drepper <drepper@gmail.com>
36851 * dirent/scandir.c (cancel_handler): Renamed to
36852 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
36853 defined. Adjust users.
36854 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
36855 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
36857 2011-08-04 Ulrich Drepper <drepper@gmail.com>
36859 * string/test-string.h (IMPL): Use __STRING to expand name and then
36862 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
36865 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36867 * string/Makefile: Update.
36868 (strop-tests): Append strncat.
36869 * string/test-wcscmp.c: New file.
36870 New comprehensive test for wcscmp.
36871 * string/test-strcmp.c: Update.
36872 (WIDE): New define.
36874 2011-07-22 Andreas Schwab <schwab@redhat.com>
36876 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
36879 2011-07-26 Andreas Schwab <schwab@redhat.com>
36881 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
36882 encoding to ACE if AI_IDN.
36884 2011-08-01 Jakub Jelinek <jakub@redhat.com>
36886 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
36887 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
36889 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
36891 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
36892 Fix overflow bug in strncat.
36893 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
36895 * string/test-strncat.c: Update.
36896 Add new tests for checking overflow bugs.
36898 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
36900 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
36901 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
36902 * sysdeps/i386/i686/multiarch/strcat.S: New file.
36903 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
36904 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
36905 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
36906 * sysdeps/i386/i686/multiarch/strncat.S: New file.
36907 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
36908 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
36910 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
36911 (USE_AS_STRCAT): Define.
36912 Add strcat and strncat support.
36913 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
36915 2011-07-25 Andreas Schwab <schwab@redhat.com>
36917 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
36918 __n bigger than INT_MAX+1.
36919 (__strncmp_g): Likewise.
36921 2011-07-23 Ulrich Drepper <drepper@gmail.com>
36923 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
36924 * libio/stido.h: Likewise.
36926 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
36928 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
36931 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
36932 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
36933 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
36934 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
36935 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
36938 * scripts/test-installation.pl: Don't expect libnss_test1 to be
36941 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
36943 (_dl_x86_64_save_sse): Likewise.
36945 2011-07-22 Ulrich Drepper <drepper@gmail.com>
36947 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
36949 (_dl_x86_64_save_sse): Likewise.
36951 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
36953 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
36955 2011-07-21 Andreas Schwab <schwab@redhat.com>
36957 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
36959 (_dl_x86_64_save_sse): Use correct AVX check.
36961 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36963 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
36964 bug in strncpy/strncat.
36965 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
36967 2011-07-21 Ulrich Drepper <drepper@gmail.com>
36969 * string/tester.c (test_strcat): Add tests for different alignments
36970 of source and destination.
36971 (test_strncat): Likewise.
36973 2011-07-20 Ulrich Drepper <drepper@gmail.com>
36976 * posix/glob.c (glob): Check passed in values before using them in
36977 expressions to avoid some overflows.
36978 (glob_in_dir): Likewise.
36981 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
36982 check for AVX enablement so that we don't crash with old kernels and
36984 * elf/tst-audit4.c: Add same checks here.
36985 * elf/tst-audit6.c: Likewise.
36987 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
36989 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
36991 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
36993 2011-07-20 Ulrich Drepper <drepper@gmail.com>
36995 * po/cs.po: Update from translation team.
36996 * po/bg.po: Likewise.
36998 2011-07-12 Marek Polacek <mpolacek@redhat.com>
37000 * misc/sys/cdefs.h: Add support for const attribute.
37001 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
37002 to gnu_dev_{major,minor,makedev} functions.
37004 2011-07-20 Marek Polacek <mpolacek@redhat.com>
37006 * intl/dcigettext.c (get_output_charset): Add missing bracket.
37008 2011-07-20 Andreas Schwab <schwab@redhat.com>
37010 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
37013 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37015 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
37016 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
37017 register in order to avoid conflicts with the soft frame pointer
37018 being held in r11 when necessary.
37019 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
37020 (INTERNAL_VSYSCALL_NCS): Likewise.
37022 2011-07-14 Marek Polacek <mpolacek@redhat.com>
37024 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
37025 * elf/dl-fini.c (_dl_fini): Adjust caller.
37026 * elf/dl-close.c (_dl_close_worker): Likewise.
37027 * sysdeps/generic/ldsodefs.h: Adjust declaration.
37029 2011-07-15 Marek Polacek <mpolacek@redhat.com>
37031 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
37032 "aux_cache->nlibs < 0".
37034 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
37035 in the reload-count case.
37037 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
37039 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37040 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
37041 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
37042 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
37043 * sysdeps/x86_64/multiarch/strcat.S: New file.
37044 * sysdeps/x86_64/multiarch/strncat.S: New file.
37045 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
37046 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
37047 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
37048 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
37049 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
37050 (USE_AS_STRCAT): Define.
37051 Add strcat and strncat support.
37052 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
37053 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
37054 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
37055 * string/strncat.c: Update.
37056 (USE_AS_STRNCAT): Define.
37057 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37058 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
37060 * sysdeps/x86_64/multiarch/init-arch.h
37061 (bit_Prefer_PMINUB_for_stringop): New.
37062 (index_Prefer_PMINUB_for_stringop): Likewise.
37063 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
37064 bit_Prefer_PMINUB_for_stringop.
37066 2011-07-19 Ulrich Drepper <drepper@gmail.com>
37068 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
37070 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
37071 of casting of buffer.
37072 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
37073 buffer32 and buffer64.
37074 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
37075 writes instead of casting of buffer.
37076 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
37078 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
37081 2011-07-19 Andreas Schwab <schwab@redhat.com>
37083 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
37085 2011-07-19 Ulrich Drepper <drepper@gmail.com>
37087 * nscd/nscd.c (termination_handler): Don't do anything for a database
37088 if it has not yet been initialized.
37090 2011-07-18 Ulrich Drepper <drepper@gmail.com>
37092 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
37094 2011-07-15 Marek Polacek <mpolacek@redhat.com>
37096 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
37098 2011-07-18 Ulrich Drepper <drepper@gmail.com>
37100 * po/nl.po: Update from translation team.
37101 * po/sv.po: Likewise.
37103 2011-07-16 Roland McGrath <roland@hack.frob.com>
37105 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
37106 now disallowed by GCC.
37108 * configure.in (use-default-link): Default to yes if a test -shared
37109 link meets our qualifications.
37110 * configure: Regenerated.
37112 * config.make.in (output-format): New variable.
37113 * configure.in: Check for ld --print-output-format support.
37114 * configure: Regenerated.
37115 * Makerules ($(common-objpfx)format.lds)
37116 [$(output-format) != unknown]: Just use $(output-format),
37117 instead of the linker-script munging.
37119 2011-07-14 Roland McGrath <roland@hack.frob.com>
37121 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
37122 of $(common-objpfx)shlib.lds.
37123 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
37125 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
37126 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
37128 * configure.in (-z relro check): Adjust test code to add a large
37129 writable data section after it.
37130 * configure: Regenerated.
37132 2011-07-11 Roland McGrath <roland@hack.frob.com>
37134 * configure.in (-z relro check): Fix test code to make the variable
37136 * configure: Regenerated.
37138 2011-07-11 Ulrich Drepper <drepper@gmail.com>
37140 * nscd/nscd.h (struct traced_file): Define.
37141 (struct database_dyn): Remove inotify_descr, reset_res, and filename
37142 elements. Add traced_files.
37143 (inotify_fd): Declare.
37144 (register_traced_file): Declare.
37145 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
37146 (inotify_fd): Export.
37147 (resolv_conf_descr): Remove.
37148 (nscd_init): Move inotify descriptor creation to main.
37149 Don't register files for notification here.
37150 (register_traced_file): New function.
37151 (invalidate_cache): Don't use reset_res to determine whether to call
37152 res_init, go through the list of registered files.
37153 (main_loop_poll): The inotify descriptors are now stored in the
37154 structures for the traced files.
37155 (main_loop_epoll): Likewise
37156 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
37157 to __nss_disable_nscd.
37158 * nscd/cache.c (prune_cache): There is no single inotify descriptor
37159 for a database anymore. Check the records for all the registered
37161 * nss/Makefile (libnss_files-routines): Add files-init.
37162 (libnss_db-routines): Add db-init.
37163 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
37164 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
37165 * nss/nss_db/db-init.c: New file.
37166 * nss/nss_files/files-init.c: New file.
37167 * nss/nsswitch.c (nss_load_library): New function. Broken out of
37168 __nss_lookup_function.
37169 (__nss_lookup_function): Call nss_load_library.
37170 (nss_load_all_libraries): New function.
37171 (__nss_disable_nscd): Take parameter with callback function for files
37172 to register. Set is_nscd. Load all the DSOs for the NSS modules
37173 used for the cached services.
37174 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
37175 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
37176 options for features to all the files in nscd.
37178 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
37180 2011-07-10 Roland McGrath <roland@hack.frob.com>
37182 * csu/elf-init.c (__libc_csu_init): Comment typo.
37184 2011-07-09 Ulrich Drepper <drepper@gmail.com>
37186 * po/pl.po: Update from translation team.
37187 * po/ja.po: Likewise.
37188 * po/ru.po: Likewise.
37189 * po/ko.po: Likewise.
37190 * po/fr.po: Likewise.
37192 2011-07-09 Roland McGrath <roland@hack.frob.com>
37194 * configure.in (.ctors/.dtors header and trailer check):
37195 Use an empirical test on a built program.
37196 * configure: Regenerated.
37198 * configure.in (-z relro check): Use an empirical test on a built DSO.
37199 Detect, but do not require, on ia64.
37200 * configure: Regenerated.
37202 * configure.in (READELF): Find it with AC_CHECK_TOOL.
37203 Update tests that use readelf to use $READELF instead.
37204 * configure: Regenerated.
37206 2011-07-08 Ulrich Drepper <drepper@gmail.com>
37208 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
37209 if the result is not used.
37211 2011-07-05 Andreas Jaeger <aj@suse.de>
37214 * stdlib/tst-strtod.c: Add testcase.
37216 2011-07-07 Ulrich Drepper <drepper@gmail.com>
37218 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
37219 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
37220 The latter has a higher limit. Take additional parameter to pass to
37222 (__pathconf): Pass file to __statfs_link_max.
37223 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
37225 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
37229 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
37230 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
37232 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
37233 (__statfs_filesize_max): Likewise.
37234 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
37236 2011-07-05 Andreas Jaeger <aj@suse.de>
37238 * resolv/res_comp.c (dn_skipname): Remove unused variable.
37240 2011-07-06 Marek Polacek <mpolacek@redhat.com>
37242 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
37244 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
37247 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
37249 * Makefile (strop-tests): Add strncat.
37250 * string/test-strncat.c: New file.
37252 2011-06-30 Marek Polacek <mpolacek@redhat.com>
37254 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
37256 2011-06-21 Andreas Jaeger <aj@suse.de>
37258 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
37259 Copy rule from iconvdata/Makefile.
37261 2011-07-06 Ulrich Drepper <drepper@gmail.com>
37264 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
37265 but no long options are defined, just return 'W'.
37267 2011-06-22 Marek Polacek <mpolacek@redhat.com>
37270 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
37272 2011-07-06 Ulrich Drepper <drepper@gmail.com>
37274 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
37276 (innetgr): Likewise.
37278 2011-07-05 Roland McGrath <roland@hack.frob.com>
37280 * config.make.in (install_root): Default to $(DESTDIR).
37282 2011-07-05 Ulrich Drepper <drepper@gmail.com>
37284 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
37286 2011-07-02 Roland McGrath <roland@hack.frob.com>
37288 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
37290 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
37291 containing directory rather than embedding absolute directory names.
37293 * scripts/check-local-headers.sh: Rewritten using awk.
37294 Match by word, not by line. Print error messages for matches.
37295 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
37297 * Makerules [shlib-lds-flags empty]:
37298 ($(common-objpfx)libc_pic.opts): New target.
37299 ($(common-objpfx)libc_pic.os.clean): New target.
37300 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
37302 * config.make.in (OBJCOPY): New variable.
37303 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
37304 * configure: Regenerated.
37306 * config.make.in (use-default-link): New variable.
37307 * configure.in (use_default_link): Grok --with-default-link to set it.
37308 * configure: Regenerated.
37309 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
37310 (shlib-lds, shlib-lds-flags): Define to empty.
37312 * Makerules (shlib-lds): New variable.
37313 (shlib-lds-flags): New variable.
37314 (build-shlib, build-moduile, build-module-asneeded): Use it.
37315 ($(common-objpfx)libc.so): Use $(shlib-lds).
37316 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
37317 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
37319 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
37320 DT_FLAGS/DT_FLAGS_1 with zero flags.
37322 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
37323 linker script munging.
37325 2011-07-02 Ulrich Drepper <drepper@gmail.com>
37327 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
37329 * crypt/sha512.c (sha512_process_block): Perform total addition using
37330 128-bit if possible.
37331 (__sha512_finish_ctx): Likewise.
37332 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
37334 * crypt/sha256.c (SWAP64): Define.
37335 (sha256_process_block): Perform total addition using 64-bit if
37337 (__sha256_finish_ctx): Likewise.
37339 2011-07-01 Ulrich Drepper <drepper@gmail.com>
37341 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
37342 * nscd/initgrcache.c (addinitgroupsX): Likewise.
37343 * nscd/hstcache.c (cache_addhst): Likewise.
37344 * nscd/grpcache.c (cache_addgr): Likewise.
37345 * nscd/aicache.c (addhstaiX): Likewise
37346 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
37348 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
37350 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
37351 * nscd/initgrcache.c (addinitgroupsX): Likewise.
37352 * nscd/hstcache.c (cache_addhst): Likewise.
37353 * nscd/grpcache.c (cache_addgr): Likewise.
37354 * nscd/aicache.c (addhstaiX): Likewise
37356 2011-07-01 Andreas Schwab <schwab@redhat.com>
37358 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
37359 domain only when needed.
37361 2011-06-30 Andreas Schwab <schwab@redhat.com>
37363 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
37364 is always restored.
37366 2011-06-29 Ulrich Drepper <drepper@gmail.com>
37368 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
37369 are re-adding the entry.
37370 * nscd/servicescache.c (cache_addserv): Likewise.
37372 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
37374 * sysdeps/generic/dl-irel.h: fix protection against multiple
37376 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
37378 2011-06-28 Ulrich Drepper <drepper@gmail.com>
37381 * malloc/memusage.sh: Fix quoting in message.
37382 * debug/xtrace.sh: Likewise.
37384 * configure.in: Remove support for --experimental-malloc option, make
37386 * config.make.in: Likewise.
37387 * malloc/Makefile: Likewise.
37389 2011-06-27 Andreas Schwab <schwab@redhat.com>
37391 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
37392 two-byte characters.
37394 2011-06-27 Roland McGrath <roland@hack.frob.com>
37396 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
37397 AC_CACHE_CHECK invocation.
37398 * configure: Regenerated.
37400 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
37402 2011-06-27 Ulrich Drepper <drepper@gmail.com>
37405 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
37406 bit from old_res_options.
37408 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
37410 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
37411 value type for setfct.
37413 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
37415 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
37416 __gettimeofday instead of gettimeofday.
37418 2011-06-26 Ulrich Drepper <drepper@gmail.com>
37420 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
37422 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
37424 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
37426 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
37429 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
37431 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37432 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
37433 strcpy-sse2-unaligned strncpy-sse2-unaligned
37434 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
37435 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
37436 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
37437 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
37438 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
37439 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
37440 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
37441 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
37442 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
37443 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
37444 (STRCPY): Support SSE2 and SSSE3 versions.
37446 2011-06-24 Ulrich Drepper <drepper@gmail.com>
37449 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
37450 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
37451 kernels which artificially limit size of requests.
37453 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
37455 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37456 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
37457 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
37458 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
37459 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
37460 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
37461 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
37462 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
37463 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
37464 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
37465 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
37466 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
37467 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
37468 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
37469 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
37470 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37471 Enable unaligned load optimization for Intel Core i3, i5 and i7
37473 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
37475 (index_Fast_Unaligned_Load): Define.
37476 (HAS_FAST_UNALIGNED_LOAD): Define.
37478 2011-06-23 Marek Polacek <mpolacek@redhat.com>
37480 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
37482 2011-06-22 Ulrich Drepper <drepper@gmail.com>
37485 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
37486 until it is clear that the information is realy needed.
37487 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
37489 2011-06-22 Andreas Schwab <schwab@redhat.com>
37491 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
37493 2011-06-22 Ulrich Drepper <drepper@gmail.com>
37495 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
37496 /sys/devices/system/cpu/online if it is usable.
37498 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
37499 reading the information from the /proc filesystem to once a second.
37501 2011-06-21 Andreas Jaeger <aj@suse.de>
37503 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
37504 NULL after inclusion of kernel headers.
37506 2011-06-21 Ulrich Drepper <drepper@gmail.com>
37508 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
37509 calls to internal_setent.
37512 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
37513 addresses using gethostbyname4_r ignore IPv4 addresses.
37515 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
37516 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
37518 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
37520 2011-06-20 David S. Miller <davem@davemloft.net>
37522 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
37524 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
37526 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
37527 (elf_irel): Use it.
37528 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
37529 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
37530 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
37531 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
37532 * sysdeps/x86_64/dl-irel.h: Likewise.
37534 * elf/dl-runtime.c: Use elf_ifunc_invoke.
37535 * elf/dl-sym.c: Likewise.
37537 2011-06-15 Ulrich Drepper <drepper@gmail.com>
37539 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
37540 need to dereference resplen2.
37542 2011-06-14 Andreas Schwab <schwab@redhat.com>
37544 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
37546 2011-06-15 Ulrich Drepper <drepper@gmail.com>
37548 * Makeconfig: Define vardbdir and inst_vardbdir.
37549 * nss/Makefile: Add rules to install db-Makefile.
37551 * nss/nss_db/db-XXX.c: Cleanup.
37553 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
37554 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
37556 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
37557 * nss/makedb.c: Implement -g option to specify that value strings
37558 are generated and should not be added to table iterated over for
37560 * nss/nss_db/db-initgroups.c: New file.
37562 * nss/getent.c: Add support for initgroups lookups through getgrouplist
37565 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
37566 (internal_getgrouplist): Adjust to name change.
37567 Update use_initgroups_entry if this is not the first call.
37568 * nss/databases.def: Add initgroups entry.
37570 * nss/makedb.c (compute_tables): Check result of multiple hash table
37571 sizes to minimize maximum chain length.
37573 2011-06-14 Ulrich Drepper <drepper@gmail.com>
37575 * Versions.def: Add entry for libnss_db.
37576 * shlib-versions: Likewise.
37577 * nss/Makefile: Add rules to build libnss_db.
37578 * nss/Versions: Add libnss_db information. Organize libnss_files
37580 * nss/db-Makefile: Add gshadow support. Change rules for the new
37581 makedb progra. Some minor improvements to generate smaller files.
37582 * nss/nss_db/nss_db.h: Move NSS database header data structures to
37584 * nss/makedb.c: ...here.
37585 Improve database format to be smaller and require less memory at
37587 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
37589 * nss/nss_db/db-netgrp.c: Likewise.
37590 * nss/nss_db/db-open.c: Likewise.
37591 * nss/nss_files/flies-XXX.x: Adjust comments.
37592 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
37593 * nss/nss_files/files-grp.c: Likewise.
37594 * nss/nss_files/files-hosts.c: Likewise.
37595 * nss/nss_files/files-network.c: Likewise.
37596 * nss/nss_files/files-proto.c: Likewise.
37597 * nss/nss_files/files-pwd.c: Likewise.
37598 * nss/nss_files/files-rpc.c: Likewise.
37599 * nss/nss_files/files-service.c: Likewise.
37600 * nss/nss_files/files-sgrp.c: Likewise.
37601 * nss/nss_files/files-spwd.c: Likewise.
37602 * nss/nss_db/db-alias.c: Removed.
37603 * nss/nss_db/dummy-db.h: Removed.
37605 2011-06-02 Ulrich Drepper <drepper@gmail.com>
37607 * nss/makedb.c: Rewritten to not use database library.
37608 * nss/Makefile: Update to build new makedb program.
37610 2011-06-14 Andreas Jaeger <aj@suse.de>
37612 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
37613 memset declaration.
37615 2011-06-10 Andreas Schwab <schwab@redhat.com>
37617 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
37620 2011-06-10 Roland McGrath <roland@hack.frob.com>
37622 * Makerules (shlib.lds): Fail if the linker script comes out empty.
37623 * elf/Makefile ($(objpfx)ld.so): Likewise.
37625 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
37626 Don't list ld.so twice in dependencies.
37628 * posix/bug-regex31.c: Include <stdlib.h>.
37630 * nscd/hstcache.c (cache_addhst): Remove unused variable.
37632 * nis/nss_compat/compat-spwd.c
37633 (getspent_next_nss_netgr): Remove unused variable.
37634 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
37636 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
37637 nonmembers" output to use the right array.
37639 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
37641 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
37643 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
37644 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
37645 * catgets/gencat.c (read_input_file): Likewise.
37646 * locale/programs/locarchive.c (enlarge_archive): Likewise.
37648 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
37649 variable definition inside #if's controlling its use.
37651 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
37653 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
37655 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
37657 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
37660 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
37662 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
37663 * configure: Regenerated.
37665 * Makerules: Revert last change.
37666 * elf/Makefile: Likewise.
37668 2011-06-09 Roland McGrath <roland@hack.frob.com>
37670 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
37671 * elf/Makefile ($(objpfx)librtld.os): Likewise.
37672 (reloc-link): Likewise.
37674 2011-06-09 Ulrich Drepper <drepper@gmail.com>
37676 * elf/Makefile: Add rules to build pldd.
37677 * elf/pldd.c: New file.
37678 * elf/pldd-xx.c: New file.
37680 2011-06-07 Ulrich Drepper <drepper@gmail.com>
37682 * version.h: Update for 2.15 development version.
37684 2011-06-07 David S. Miller <davem@davemloft.net>
37686 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
37688 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
37689 elf_machine_lazy_rel): Likewise.
37690 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
37691 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
37692 elf_machine_lazy_rel): Likewise.
37693 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
37694 dl_hwcap via passed in argument.
37695 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
37698 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37700 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
37702 2011-06-06 Roland McGrath <roland@hack.frob.com>
37705 * manual/fdl-1.1.texi: New file, verbatim from:
37706 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
37707 * manual/lgpl-2.1.texi: New file, verbatim from:
37708 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
37709 * manual/Makefile (licenses): New variable, list those new file names.
37711 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
37713 * manual/fdl.texi: File removed.
37714 * manual/lesser.texi: File removed.
37715 * manual/libc.texinfo (Copying, Documentation License):
37716 Use new @include file names, put @appendix directive before @include.
37718 2011-06-04 Jakub Jelinek <jakub@redhat.com>
37721 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
37722 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
37723 (mq_open): Add __NTH.
37725 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
37727 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37728 Assume Intel Core i3/i5/i7 processor if AVX is available.
37730 2011-05-31 Ulrich Drepper <drepper@gmail.com>
37732 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
37735 2011-05-31 Andreas Schwab <schwab@redhat.com>
37737 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
37738 memory. Use alloca_account. Fix memory leak when retrying.
37740 2011-05-31 Ulrich Drepper <drepper@gmail.com>
37742 * version.h (RELEASE): Bump for 2.14 release.
37743 * include/features.h (__GLIBC_MINOR__): Bump to 14.
37745 * config.make.in (RANLIB): Remove entry.
37747 2011-05-30 Ulrich Drepper <drepper@gmail.com>
37749 * po/Makefile (po-sed-cmd): Add ksh to extensions.
37750 (libc.pot): Work around missing support for .ksh extension in xgettext.
37753 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
37754 if both request failed.
37755 (send_dg): In case of server errors clear resplen or *resplen2.
37758 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
37759 when there are multiple maps.
37760 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
37761 (_dl_fini): Remove test here.
37763 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
37765 2011-05-29 Ulrich Drepper <drepper@gmail.com>
37768 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
37769 bit from old_res_options.
37770 (gaih_inet): Likewise.
37773 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
37776 * resolv/res_init.c (res_setoptions): Make the code more compact.
37779 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
37783 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
37785 * malloc/malloc.h: Mark malloc hook variables as deprecated.
37788 * malloc/malloc.h: Declare malloc hook variables as volatile.
37790 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
37794 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
37795 raise in the comment.
37796 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
37797 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
37798 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
37800 2011-05-28 Ulrich Drepper <drepper@gmail.com>
37803 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
37804 grow the buffers more if it already has to be sufficient.
37805 (build_wcs_upper_buffer): Likewise.
37806 * posix/regexec.c (check_matching): Likewise.
37807 (clean_state_log_if_needed): Likewise.
37808 (extend_buffers): Don't enlarge buffers beyond size of the input
37810 Patches mostly by Emil Wojak <emil@wojak.eu>.
37811 * posix/bug-regex32.c: New file.
37812 * posix/Makefile (tests): Add bug-regex32.
37814 * locale/findlocale.c (_nl_find_locale): Return right away if
37815 _nl_explode_name failed.
37816 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
37818 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
37820 * debug/xtrace.sh: Unify messages.
37821 * malloc/memusage.sh: Likewise.
37824 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
37825 time symbol from vDSO. Substitute with vsyscall if not available.
37826 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
37829 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
37830 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
37831 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
37832 Add sendmmsg and internal_sendmmsg.
37833 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
37834 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
37835 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
37837 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
37838 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
37839 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
37841 2011-05-27 Ulrich Drepper <drepper@gmail.com>
37844 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
37845 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
37847 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
37851 * iconvdata/Makefile (tests): Add bug-iconv9.
37852 * iconvdata/bug-iconv9.c: New file.
37854 2011-05-27 Andreas Schwab <schwab@redhat.com>
37857 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
37859 2011-05-25 Jakub Jelinek <jakub@redhat.com>
37861 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
37862 (struct user_regs_struct): Change intcs field back to cs.
37864 2011-05-25 Ulrich Drepper <drepper@gmail.com>
37866 * po/ja.po: Update from translation team.
37868 2011-05-23 Ulrich Drepper <drepper@gmail.com>
37871 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
37872 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
37874 2011-05-20 Andreas Schwab <schwab@redhat.com>
37876 * stdlib/longlong.h: Update from GCC.
37878 2011-05-23 Andreas Schwab <schwab@redhat.com>
37880 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
37882 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
37883 Add parameter name.
37884 (__sysconf): Pass it down.
37886 2011-05-22 Ulrich Drepper <drepper@gmail.com>
37889 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
37891 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
37892 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
37893 add in in __libc_use_alloca calls. Adjust callers.
37894 (glob): Use malloc in some situations.
37896 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
37897 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
37900 2011-05-21 Ulrich Drepper <drepper@gmail.com>
37902 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
37903 and CLOCK_BOOTTIME_ALARM.
37906 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
37909 * string/_strerror.c (__strerror_r): Print negative errors as signed
37913 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
37914 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
37915 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
37917 * configure.in: Fix typo in redirection and correct removal of test
37918 files in two cases.
37921 * locale/setlocale.c (new_composite_name): Fix test to check for
37922 identical name of all categories.
37925 * libio/filedoalloc.c (local_isatty): New function.
37926 (_IO_file_doallocate): Use local_isatty.
37927 * stdio-common/perror.c (perror): In case a new stream is used
37928 forward the stream error.
37929 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
37932 2011-05-20 Ulrich Drepper <drepper@gmail.com>
37935 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
37937 * include/alloca.h (extend_alloca_account): Define.
37940 * posix/regex.h: Fix comments with documentation of user-accessible
37941 fields after compilation and describe correct free'ing of pattern
37942 after re_compile_pattern.
37943 Patch by Reuben Thomas <rrt@sc3d.org>.
37945 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
37947 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
37948 and -mno-altivec to prevent the compiler from using Altivec and/or
37949 VSX instructions when the corresponding registers are not available.
37951 2011-05-19 Andreas Schwab <schwab@redhat.com>
37953 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
37955 2011-05-19 Ulrich Drepper <drepper@gmail.com>
37957 * libio/freopen.c (freopen): Use __dup2, not dup2.
37958 * libio/freopen64.c (freopen64): Likewise.
37960 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
37963 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
37964 * math/Makefile (tests): Add test-powl.
37965 (CFLAGS-test-powl.c): Define.
37966 * math/test-powl.c: New file.
37968 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
37970 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
37972 2011-05-17 Ulrich Drepper <drepper@gmail.com>
37975 * iconvdata/gb18030.c: Update to GB18020-2005.
37977 2011-05-16 Ulrich Drepper <drepper@gmail.com>
37979 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
37980 RE_SYNTAX_POSIX_AWK): Update to match recent development.
37981 Patch by Aharon Robbins <arnold@skeeve.com>.
37984 * stdlib/putenv.c (putenv): Don't always create copy of the variable
37988 * misc/pselect.c (__pselect): Handle timeout value errors hidden
37989 through underflows.
37992 * misc/error.c (error_at_line): Ensure file_name and old_file_name
37993 point to strings before performing equality test for error_one_per_line
37997 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
38000 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
38001 (struct user_fpregs_struct): Avoid __uint*_t types.
38004 * malloc/mtrace.c (tr_where): Add additional parameter to point to
38005 symbol info. Use it instead of calling _dl_addr locally.
38006 (lock_and_info): New function.
38007 (tr_freehook): Call lock_and_info and pass symbol info as additional
38008 parameter to tr_where.
38009 (tr_mallochook): Likewise.
38010 (tr_reallochook): Likewise.
38011 (tr_memalignhook): Likewise.
38013 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
38014 used and couldn't be at all thread-safe.
38016 2011-05-15 Ulrich Drepper <drepper@gmail.com>
38018 * libio/freopen.c (freopen): Don't close old file descriptor
38019 before the new one is opened. Instead dup the new file descriptor
38020 to the old one after the new stream is created.
38021 * libio/freopen64.c (freopen64): Likewise.
38022 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
38023 * libio/fileops.c (_IO_new_file_close_it): Handle new
38024 _IO_FLAGS2_NOCLOSE flag.
38025 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
38026 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
38027 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
38028 _IO_FLAGS2_NOCLOSE flag.
38029 * include/unistd.h: Add hidden_proto for dup3.
38030 Define __have_dup3.
38031 * io/dup3.c: Define hidden symbol.
38032 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
38035 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
38036 when an incomplete long option is used.
38037 * posix/tst-getopt_long1.c: New file.
38038 * posix/Makefile (tests): Add tst-getopt_long1.
38041 * scripts/config.guess: Update from autoconf-2.68.
38042 * scripts/config.sub: Likewise.
38045 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
38047 (has_cpuclock): ...this. New function.
38048 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
38049 macro here based on has_cpuclock code.
38052 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
38053 First byte (not low byte) is now always NUL.
38054 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
38056 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
38057 Use non-cancelable interfaces.
38060 * locale/iso-639.def: Add entry for Sorani.
38063 * include/stdlib.h: Move include protection to the right place.
38064 Define abort_msg_s. Declare __abort_msg with it.
38065 * stdlib/abort.c (__abort_msg): Adjust type.
38066 * assert/assert.c (__assert_fail_base): New function. Majority
38067 of code from __assert_fail. Allocate memory for __abort_msg with
38069 (__assert_fail): Now call __assert_fail_base.
38070 * assert/assert-perr.c: Remove bulk of implementation. Use
38071 __assert_fail_base.
38072 * include/assert.hL Declare __assert_fail_base.
38073 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
38075 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
38077 2011-05-14 Ulrich Drepper <drepper@gmail.com>
38081 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
38082 until all modules are registered in the DTV.
38083 * elf/Makefile: Add rules to build and run tst-tls19.
38084 * elf/tst-tls19.c: New file.
38085 * elf/tst-tls19mod1.c: New file.
38086 * elf/tst-tls19mod2.c: New file.
38087 * elf/tst-tls19mod3.c: New file.
38088 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
38091 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
38095 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
38096 two-byte sequence errors.
38097 * iconvdata/Makefile (tests): Add bug-iconv8.
38098 * iconvdata/bug-iconv8.c: New file.
38101 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
38104 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
38107 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
38108 (dummy_getcfa): New function.
38109 (init): Get _Unwind_GetCFA address, use dummy if not found.
38110 (backtrace_helper): In recursion check, also check whether CFA changes.
38111 (__backtrace): Completely initialize arg.
38113 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
38114 storing incomplete byte sequence in state object. Avoid testing for
38115 guaranteed too small input if we know there is enough data available.
38117 2011-05-11 Andreas Schwab <schwab@redhat.com>
38119 * Makeconfig (+link-pie): Indent.
38120 * Rules (binaries-pie): Define if $(have-fpie) and
38122 (binaries-shared): Also filter out $(binaries-pie).
38123 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
38124 * nscd/Makefile (others-pie): Add nscd.
38125 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
38126 ($(objpfx)nscd): Remove command override.
38127 * login/Makefile (others-pie): Add pt_chown.
38128 ($(objpfx)pt_chown): Remove command override.
38129 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
38130 remove command overrides.
38132 2011-05-13 Ulrich Drepper <drepper@gmail.com>
38134 * libio/tst_putwc.c: Fix error messages.
38137 * libio/fileops.c (_IO_new_file_close_it): Always flush when
38138 currently writing and seek to current position when not.
38139 * libio/Makefile (tests): Add bug-fclose1.
38140 * libio/bug-fclose1.c: New file.
38142 2011-05-12 Ulrich Drepper <drepper@gmail.com>
38145 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
38146 don't set DF_1_NODELETE here.
38147 (do_lookup_x): When entering new entry test for copy relocation
38148 and if necessary set DF_1_NODELETE flag.
38149 * elf/tst-unique4.cc: New file.
38150 * elf/tst-unique4.h: New file.
38151 * elf/tst-unique4lib.cc: New file.
38152 * elf/Makefile: Add rules to build and run tst-unique4.
38153 Patch by Piotr Bury <pbury@goahead.com>.
38155 2011-05-11 Ulrich Drepper <drepper@gmail.com>
38158 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
38161 * misc/mntent_r.c (addmntent): Flush the stream after the output
38164 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
38165 (is_trusted_path_normalize): Skip initial colon. Append slash
38166 to empty buffer. Duplicate is_trusted_path code but allow
38167 constructed patch to be prefix.
38168 (is_dst): Allow $ORIGIN followed by /.
38169 (_dl_dst_substitute): Correct clearing of check_for_trusted.
38170 Correct testing of result of is_trusted_path_normalize
38171 (decompose_rpath): Fix warning.
38173 2011-05-10 Ulrich Drepper <drepper@gmail.com>
38176 * grp/initgroups.c (internal_getgrouplist): When we found the service
38177 list through the initgroups entry in nsswitch.conf do not always
38178 continue on a successful lookup. Don't always use the
38179 __nss_group_database value if it is set.
38180 * nss/nsswitch.conf (initgroups): Change action for successful db
38181 lookup to continue for compatibility.
38183 2011-05-09 Ulrich Drepper <drepper@gmail.com>
38186 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
38188 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
38190 * iconvdata/tst-tables.sh: Likewise.
38191 * iconvdata/cp770.c: New file.
38192 * iconvdata/cp771.c: New file.
38193 * iconvdata/cp772.c: New file.
38194 * iconvdata/cp773.c: New file.
38195 * iconvdata/cp774.c: New file.
38196 * iconvdata/testdata/CP770: New file.
38197 * iconvdata/testdata/CP770..UTF8: New file.
38198 * iconvdata/testdata/CP771: New file.
38199 * iconvdata/testdata/CP771..UTF8: New file.
38200 * iconvdata/testdata/CP772: New file.
38201 * iconvdata/testdata/CP772..UTF8: New file.
38202 * iconvdata/testdata/CP773: New file.
38203 * iconvdata/testdata/CP773..UTF8: New file.
38204 * iconvdata/testdata/CP774: New file.
38205 * iconvdata/testdata/CP774..UTF8: New file.
38207 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
38209 * iconvdata/gen-8bit-gap.sh: Likewise.
38210 * iconvdata/gen-8bit.sh: Likewise.
38212 * locale/iso-639.def: Add ary entry.
38215 * locale/C-translit.h.in: Add U20A1 transliteration.
38218 * locale/iso-639.def: Add wae entry.
38219 Patch by Kevin Bortis <bortis@translate-wae.ch>.
38222 * locale/programs/localedef.c (construct_output_path): Use ssize_t
38226 * locale/C-translit.h.in: Add entry for U20B9.
38227 Patch by pravin.d.s@gmail.com.
38229 2011-05-08 Ulrich Drepper <drepper@gmail.com>
38232 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
38233 ENAMETOOLONG use generic getcwd.
38234 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
38235 in rtld. Use *stat64.
38236 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
38237 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
38238 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
38239 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
38240 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
38241 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
38242 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
38243 __fstatat64 macros.
38244 * include/dirent.h: Add libc_hidden_proto for rewinddir.
38245 * dirent/rewinddir.c: Add libc_hidden_def.
38246 * sysdeps/mach/hurd/rewinddir.c: Likewise.
38247 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
38249 * include/dirent.h (__alloc_dir): Add flags parameter.
38250 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
38251 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
38253 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
38254 from fdopendir if O_CLOEXEC is already set.
38256 2011-03-15 Alan Modra <amodra@gmail.com>
38258 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
38259 l_tls_firstbyte_offset non-zero. Save padding offset in
38260 l_tls_firstbyte_offset for later use.
38261 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
38262 freeing static tls block.
38264 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
38266 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
38267 where #ifdef was intended. The intent is to prevent ARG_MAX from
38268 being defined by the kernel headers.
38270 2011-05-07 Ulrich Drepper <drepper@gmail.com>
38273 * resolv/resolv.h: Define RES_NOTLDQUERY.
38274 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
38275 no-tld-query and set RES_NOTLDQUERY.
38276 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
38277 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
38278 modern BIND to search name as TLD unless forbidden.
38280 2011-05-07 Petr Baudis <pasky@suse.cz>
38281 Ulrich Drepper <drepper@gmail.com>
38284 * elf/dl-load.c (fillin_rpath): Move trusted path check...
38285 (is_trusted_path): ...to here.
38286 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
38287 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
38288 using is_trusted_path_normalize() in setuid scripts.
38290 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
38292 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
38293 __BEGIN/__END_DECLS.
38295 2011-05-06 Ulrich Drepper <drepper@gmail.com>
38297 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
38298 NSS_STATUS_NOTFOUND if no record was found.
38300 2011-05-05 Andreas Schwab <schwab@redhat.com>
38302 * sunrpc/Makefile (headers): Add rpc/netdb.h.
38303 (headers-not-in-tirpc): Remove rpc/netdb.h
38304 * resolv/netdb.h: Revert last change.
38306 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
38308 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
38309 circular dependency between libgcc.a and libc.a.
38311 2011-05-05 Andreas Schwab <schwab@redhat.com>
38313 * resolv/netdb.h: Don't include <rpc/netdb.h>.
38314 * nis/Makefile: Don't install rpcsvc/*.
38315 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
38316 instead of <rpc/types.h>.
38317 (MAXHOSTNAMELEN): Define.
38319 2011-05-03 Andreas Schwab <schwab@redhat.com>
38321 * elf/ldconfig.c (add_dir): Don't crash on empty path.
38323 2011-04-28 Maciej Babinski <mbabinski@google.com>
38326 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
38327 gethostbyname4_r when IPv6 results are possible.
38329 2011-05-02 Ulrich Drepper <drepper@gmail.com>
38332 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
38333 _PC_PIPE_BUF handling.
38335 2011-04-30 Bruno Haible <bruno@clisp.org>
38338 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
38339 * resolv/netdb.h (getnameinfo): Change type of flags parameter
38341 * inet/getnameinfo.c (getnameinfo): Likewise.
38343 2011-04-29 Ulrich Drepper <drepper@gmail.com>
38345 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
38346 to groups setting in database lookup.
38347 * nss/nsswitch.conf: Add initgroups entry.
38349 2011-04-22 Ulrich Drepper <drepper@gmail.com>
38352 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
38354 Patch by Eric Blake <eblake@redhat.com>.
38356 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
38358 * sunrpc/Makefile (need-export-routines): Add svc_run.
38359 (routines): Remove svc_run.
38360 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
38361 * sunrpc/clnt_perr.c (clnt_perrno): Export.
38362 * sunrpc/svc_run.c (svc_run): Likewise.
38363 * sunrpc/svc_udp.c (svcudp_create): Likewise.
38365 2011-04-21 Ulrich Drepper <drepper@gmail.com>
38367 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
38368 problem in reallocation in last patch.
38370 2011-04-20 Ulrich Drepper <drepper@gmail.com>
38372 * sunrpc/Makefile: Move inclusion of Rules.
38374 2011-04-19 Ulrich Drepper <drepper@gmail.com>
38376 * nss/nss_files/files-initgroups.c: New file.
38377 * nss/Makefile (libnss_files-routines): Add files-initgroups.
38378 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
38379 _nss_files_initgroups_dyn.
38381 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
38383 * elf/elf.h (R_ARM_IRELATIVE): Define.
38385 2011-04-19 Ulrich Drepper <drepper@gmail.com>
38387 * po/ru.po: Update from translation team.
38389 2011-04-17 Ulrich Drepper <drepper@gmail.com>
38391 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
38394 2011-02-06 Mike Frysinger <vapier@gentoo.org>
38397 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
38398 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
38399 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
38400 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
38401 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
38403 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
38405 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
38407 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
38408 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
38409 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
38411 2011-04-17 Ulrich Drepper <drepper@gmail.com>
38414 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
38416 * stdlib/bug-getcontext.c: New file.
38417 * stdlib/Makefile: Add rules to build and run bug-getcontext.
38419 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38421 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
38422 instructions into .machine "z9-109".
38423 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
38424 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
38426 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38428 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
38429 between environment variables and auxiliary vector.
38431 2011-04-16 Ulrich Drepper <drepper@gmail.com>
38433 * Makefile: Add rules to build linkobj/libc.so.
38434 * include/libc-symbols.h: Define libc_hidden_nolink.
38435 * include/rpc/auth.h: Mark functions which are to be hidden.
38436 * include/rpc/auth_des.h: Likewise.
38437 * include/rpc/auth_unix.h: Likewise.
38438 * include/rpc/clnt.h: Likewise.
38439 * include/rpc/des_crypt.h: Likewise.
38440 * include/rpc/key_prot.h: Likewise.
38441 * include/rpc/pmap_clnt.h: Likewise.
38442 * include/rpc/pmap_prot.h: Likewise.
38443 * include/rpc/pmap_rmt.h: Likewise.
38444 * include/rpc/rpc_msg.h: Likewise.
38445 * include/rpc/svc.h: Likewise.
38446 * include/rpc/svc_auth.h: Likewise.
38447 * include/rpc/xdr.h: Likewise.
38448 * nis/Makefile: Link all DSOs against linkobj/libc.so.
38449 * nss/Makefile: Likewise.
38450 * sunrpc/Makefile: Don't install headers. Build library with normal
38451 entry points. Don't build rpcinfo. Link RPC tests appropriately.
38452 * sunrpc/auth_des.c: Hide exported symbols by default, export some
38453 for the compat linking library. Remove use of INTDEF/INTUSE.
38454 * sunrpc/auth_none.c: Likewise.
38455 * sunrpc/auth_unix.c: Likewise.
38456 * sunrpc/authdes_prot.c: Likewise.
38457 * sunrpc/authuxprot.c: Likewise.
38458 * sunrpc/clnt_gen.c: Likewise.
38459 * sunrpc/clnt_perr.c: Likewise.
38460 * sunrpc/clnt_raw.c: Likewise.
38461 * sunrpc/clnt_simp.c: Likewise.
38462 * sunrpc/clnt_tcp.c: Likewise.
38463 * sunrpc/clnt_udp.c: Likewise.
38464 * sunrpc/clnt_unix.c: Likewise.
38465 * sunrpc/des_crypt.c: Likewise.
38466 * sunrpc/des_soft.c: Likewise.
38467 * sunrpc/get_myaddr.c: Likewise.
38468 * sunrpc/key_call.c: Likewise.
38469 * sunrpc/key_prot.c: Likewise.
38470 * sunrpc/netname.c: Likewise.
38471 * sunrpc/pm_getmaps.c: Likewise.
38472 * sunrpc/pm_getport.c: Likewise.
38473 * sunrpc/pmap_clnt.c: Likewise.
38474 * sunrpc/pmap_prot.c: Likewise.
38475 * sunrpc/pmap_prot2.c: Likewise.
38476 * sunrpc/pmap_rmt.c: Likewise.
38477 * sunrpc/publickey.c: Likewise.
38478 * sunrpc/rpc_cmsg.c: Likewise.
38479 * sunrpc/rpc_common.c: Likewise.
38480 * sunrpc/rpc_dtable.c: Likewise.
38481 * sunrpc/rpc_prot.c: Likewise.
38482 * sunrpc/rpc_thread.c: Likewise.
38483 * sunrpc/rtime.c: Likewise.
38484 * sunrpc/svc.c: Likewise.
38485 * sunrpc/svc_auth.c: Likewise.
38486 * sunrpc/svc_authux.c: Likewise.
38487 * sunrpc/svc_raw.c: Likewise.
38488 * sunrpc/svc_run.c: Likewise.
38489 * sunrpc/svc_simple.c: Likewise.
38490 * sunrpc/svc_tcp.c: Likewise.
38491 * sunrpc/svc_udp.c: Likewise.
38492 * sunrpc/svc_unix.c: Likewise.
38493 * sunrpc/svcauth_des.c: Likewise.
38494 * sunrpc/xcrypt.c: Likewise.
38495 * sunrpc/xdr.c: Likewise.
38496 * sunrpc/xdr_array.c: Likewise.
38497 * sunrpc/xdr_float.c: Likewise.
38498 * sunrpc/xdr_intXX_t.c: Likewise.
38499 * sunrpc/xdr_mem.c: Likewise.
38500 * sunrpc/xdr_rec.c: Likewise.
38501 * sunrpc/xdr_ref.c: Likewise.
38502 * sunrpc/xdr_sizeof.c: Likewise.
38503 * sunrpc/xdr_stdio.c: Likewise.
38505 2011-04-10 Ulrich Drepper <drepper@gmail.com>
38508 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
38509 * sysdeps/ia64/dl-tls.h: Likewise.
38510 * sysdeps/powerpc/dl-tls.h: Likewise.
38511 * sysdeps/s390/dl-tls.h: Likewise.
38512 * sysdeps/sh/dl-tls.h: Likewise.
38513 * sysdeps/sparc/dl-tls.h: Likewise.
38514 * sysdeps/x86_64/dl-tls.h: Likewise.
38515 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
38517 2011-03-14 Andreas Schwab <schwab@redhat.com>
38519 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
38520 rpath element also skip the following colon.
38521 (expand_dynamic_string_token): Add is_path parameter and pass
38522 down to DL_DST_REQUIRED and _dl_dst_substitute.
38523 (decompose_rpath): Call expand_dynamic_string_token with
38524 non-zero is_path. Ignore empty rpaths.
38525 (_dl_map_object_from_fd): Call expand_dynamic_string_token
38528 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
38530 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
38533 2011-04-09 Ulrich Drepper <drepper@gmail.com>
38536 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
38537 Patch by Filipe David Manana <fdmanana@apache.org>.
38539 2011-04-07 Andreas Schwab <schwab@redhat.com>
38541 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
38542 Maintain aligned stack.
38543 (CHECK_RSP): Remove unused macro.
38545 2011-04-03 Ulrich Drepper <drepper@gmail.com>
38547 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
38548 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
38550 2011-04-02 Ulrich Drepper <drepper@gmail.com>
38552 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
38554 * include/features.h: Mention __USE_XOPEN2K8 in comment.
38556 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
38559 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
38560 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
38561 * sysdeps/x86_64/memmove.c: New file.
38562 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
38563 (memcpy): Renamed to ...
38564 (__new_memcpy): This.
38565 (memcpy): Provide GLIBC_2_14 memcpy.
38566 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
38567 (memcpy): Provide GLIBC_2_2_5 memcpy.
38569 2011-04-01 Ulrich Drepper <drepper@gmail.com>
38572 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
38574 2011-03-30 Andreas Schwab <schwab@redhat.com>
38576 * misc/syncfs.c: New file.
38577 * misc/Makefile (routines): Add syncfs.
38578 * posix/unistd.h: Declare syncfs.
38579 * sysdeps/unix/syscalls.list: Add syncfs.
38581 2011-04-01 Andreas Schwab <schwab@redhat.com>
38583 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
38585 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
38586 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
38587 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
38588 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
38589 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
38590 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
38591 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
38593 2011-04-01 Ulrich Drepper <drepper@gmail.com>
38595 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
38596 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
38597 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
38598 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
38599 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
38600 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
38601 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
38603 * io/Makefile: Compile fallocate.c, fallocate64.c, and
38604 sync_file_range.c with -fexceptions.
38605 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
38606 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
38607 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
38608 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
38609 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
38610 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
38611 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
38612 sync_file_range as cancellation point
38613 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
38614 now a wrapper around __call_sync_file_range with cancellation handling.
38615 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
38616 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
38617 function name to __call_sync_file_range.
38618 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
38619 Add call_sync_file_range.
38621 2011-04-01 Andreas Schwab <schwab@redhat.com>
38623 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38626 2011-04-01 Ulrich Drepper <drepper@gmail.com>
38628 * iconv/iconv.h: Fix typo in comment.
38629 * io/fcntl.h: Likewise.
38630 * libio/stdio.h: Likewise.
38631 * posix/spawn.h: Likewise.
38632 * posix/unistd.h: Likewise.
38633 * stdlib/stdlib.h: Likewise.
38634 * time/time.h: Likewise.
38635 * wcsmbs/wchar.h: Likewise.
38637 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
38638 open_by_handle): Add.
38639 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
38640 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
38641 Augment a few comments.
38642 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
38643 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
38644 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
38645 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
38646 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
38647 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
38650 * io/fcntl.h (AT_EMPTY_PATH): Define.
38652 2011-03-30 Ulrich Drepper <drepper@gmail.com>
38654 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
38655 * sysdeps/unix/sysv/linux/bits/time.h: New file.
38656 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
38658 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
38659 * Versions.def: Add GLIBC_2.14.
38660 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
38663 2011-03-22 Ulrich Drepper <drepper@gmail.com>
38665 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
38667 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
38669 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
38672 * string/test-strncmp.c (do_page_test): New function.
38673 (check2): Likewise.
38674 (test_main): Call check2.
38675 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
38677 2011-03-20 Ulrich Drepper <drepper@gmail.com>
38680 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
38681 Handle cache information in CPU leaf 4.
38682 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
38684 2011-03-18 Ulrich Drepper <drepper@gmail.com>
38687 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
38688 character representation.
38689 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
38691 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
38693 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
38694 END(__isnan) to END(__isnanf) to match function entry point/label
38695 EALIGN(__isnanf,...).
38697 2011-03-10 Jakub Jelinek <jakub@redhat.com>
38699 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
38701 2011-03-10 Ulrich Drepper <drepper@gmail.com>
38704 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
38705 copy from the symbol referenced in the relocation to initialize the
38707 Patch by Piotr Bury <pbury@goahead.com>.
38708 * elf/Makefile: Add rules to build and tst-unique3.
38709 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
38710 * elf/tst-unique3.cc: New file.
38711 * elf/tst-unique3.h: New file.
38712 * elf/tst-unique3lib.cc: New file.
38713 * elf/tst-unique3lib2.cc: New file.
38715 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
38717 2011-03-10 Mike Frysinger <vapier@gentoo.org>
38719 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
38720 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
38723 2011-03-06 Ulrich Drepper <drepper@gmail.com>
38725 * elf/dl-load.c (_dl_map_object): If we are looking for the first
38726 to-be-loaded object along a path to loader is ld.so.
38728 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
38729 Ulrich Drepper <drepper@gmail.com>
38731 * sysdeps/x86_64/memset.S: After aligning destination, code
38732 branches to different locations depending on the value of
38733 misalignment, when multiarch is enabled. Fix this.
38735 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
38737 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
38738 Set _x86_64_preferred_memory_instruction for AMD processsors.
38739 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38740 Set bit_Prefer_SSE_for_memop for AMD processors.
38742 2011-03-04 Ulrich Drepper <drepper@gmail.com>
38744 * libio/fmemopen.c (fmemopen): Optimize a bit.
38746 2011-03-03 Andreas Schwab <schwab@redhat.com>
38748 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
38750 2011-03-03 Roland McGrath <roland@redhat.com>
38752 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
38754 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
38756 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
38757 __bzero_ultra1 instead of __memset_ultra1.
38759 2011-02-23 Andreas Schwab <schwab@redhat.com>
38760 Ulrich Drepper <drepper@gmail.com>
38763 * include/link.h (struct link_map): Add l_orig_initfini.
38764 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
38765 returning unsuccessfully.
38766 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
38767 close of a file loaded at startup, restore the original l_initfini
38769 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
38770 list, store the pointer.
38771 * elf/Makefile ($(objpfx)noload-mem): New rule.
38772 (noload-ENV): Define.
38773 (tests): Add $(objpfx)noload-mem.
38774 * elf/noload.c: Include <memcheck.h>.
38775 (main): Call mtrace. Close all opened handles.
38777 2011-02-17 Andreas Schwab <schwab@redhat.com>
38780 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
38781 dependencies are missing.
38783 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
38785 Fix __if_freereq crash: Unlike the generic version which uses free,
38787 * sysdeps/mach/hurd/ifreq.h: New file.
38789 2011-01-27 Petr Baudis <pasky@suse.cz>
38790 Ulrich Drepper <drepper@gmail.com>
38793 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
38794 to extend_alloca().
38795 * stdio-common/bug23.c: New file.
38796 * stdio-common/Makefile (tests): Add bug23.
38798 2010-09-28 Andreas Schwab <schwab@redhat.com>
38799 Ulrich Drepper <drepper@gmail.com>
38802 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
38803 before performing relro protection. At old place add assertion
38804 to make sure nothing changed.
38806 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
38807 Glauber de Oliveira Costa <glommer@gmail.com>
38809 * elf/elf.h: Add new ARM TLS relocs.
38811 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
38813 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
38814 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
38816 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
38818 * sysdeps/wordsize-64/tst-writev.c: New file.
38820 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
38822 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
38823 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
38824 insns in _dl_start to prevent a TOC reference before relocs are
38827 2011-02-15 Ulrich Drepper <drepper@gmail.com>
38830 * Makeconfig: Remove RANLIB definition.
38831 * Makerules: Don't use RANLIB.
38832 * aclocal.m4: Remove ranlib test.
38833 * configure.in: No need to check for ranlib.
38834 * elf/rtld-Rules: Don't use RANLIB.
38836 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
38838 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
38840 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
38841 inclusion protection macro.
38843 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
38844 SIGRTMIN and SIGRTMAX and print information in that case only when
38845 SIGRTMIN is defined.
38847 2011-02-11 Jakub Jelinek <jakub@redhat.com>
38849 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
38850 arginfo fn returning -1.
38852 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
38853 and thousands string is zero terminated.
38855 2011-02-03 Andreas Schwab <schwab@redhat.com>
38857 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
38858 sysdeps/unix/sysv/linux/bits/socket.h.
38860 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
38862 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
38863 (__CPU_COUNT): Remove old macros.
38864 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
38865 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
38866 (__CPU_ALLOC, __CPU_FREE): Add macros.
38867 (__sched_cpualloc, __sched_cpufree): Add declarations.
38869 2011-02-05 Ulrich Drepper <drepper@gmail.com>
38871 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
38872 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
38873 * nscd/aicache.c (addhstaiX): Return timeout of added value.
38874 (readdhstai): Return value of addhstaiX call.
38875 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
38876 (addgrbyX): Return value returned by cache_addgr.
38877 (readdgrbyname): Return value returned by addgrbyX.
38878 (readdgrbygid): Likewise.
38879 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
38880 (addpwbyX): Return value returned by cache_addpw.
38881 (readdpwbyname): Return value returned by addhstbyX.
38882 (readdpwbyuid): Likewise.
38883 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
38884 (addservbyX): Return value returned by cache_addserv.
38885 (readdservbyname): Return value returned by addservbyX:
38886 (readdservbyport): Likewise.
38887 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
38888 (addhstbyX): Return value returned by cache_addhst.
38889 (readdhstbyname): Return value returned by addhstbyX.
38890 (readdhstbyaddr): Likewise.
38891 (readdhstbynamev6): Likewise.
38892 (readdhstbyaddrv6): Likewise.
38893 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
38894 (readdinitgroups): Return value returned by addinitgroupsX.
38895 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
38896 (prune_cache): Keep track of timeout value of re-added entries.
38897 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
38898 * nscd/nscd.h: Adjust prototypes of readd* functions.
38900 2011-02-04 Roland McGrath <roland@redhat.com>
38902 * nis/nis_server.c (nis_servstate): Use the right name for 0.
38903 (nis_stats): Likewise.
38904 * nis/nis_modify.c (nis_modify): Likewise.
38905 * nis/nis_remove.c (nis_remove): Likewise.
38906 * nis/nis_add.c (nis_add): Likewise.
38908 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
38910 * posix/fnmatch_loop.c: Add some consts.
38912 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
38914 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
38917 * config.make.in (config-cflags-novzeroupper): Define.
38918 * configure.in: Substitute libc_cv_cc_novzeroupper.
38919 * elf/Makefile (AVX-CFLAGS): Define.
38920 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
38921 (CFLAGS-tst-auditmod4a.c): Likewise.
38922 (CFLAGS-tst-auditmod4b.c): Likewise.
38923 (CFLAGS-tst-auditmod6b.c): Likewise.
38924 (CFLAGS-tst-auditmod6c.c): Likewise.
38925 (CFLAGS-tst-auditmod7b.c): Likewise.
38926 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
38928 2011-02-02 Ulrich Drepper <drepper@gmail.com>
38930 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
38931 function to the callback.
38932 Patch partly by Jiri Olsa <jolsa@redhat.com>.
38934 2011-02-02 Andreas Schwab <schwab@redhat.com>
38936 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
38939 2011-01-19 Ulrich Drepper <drepper@gmail.com>
38942 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
38944 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
38946 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
38949 * elf/Makefile: Add rules to build and run new test.
38950 * elf/tst-initorder.c: New file.
38951 * elf/tst-initorder.exp: New file.
38952 * elf/tst-initordera1.c: New file.
38953 * elf/tst-initordera2.c: New file.
38954 * elf/tst-initordera3.c: New file.
38955 * elf/tst-initordera4.c: New file.
38956 * elf/tst-initorderb1.c: New file.
38957 * elf/tst-initorderb2.c: New file.
38958 * elf/tst-order-a1.c: New file.
38959 * elf/tst-order-a2.c: New file.
38960 * elf/tst-order-a3.c: New file.
38961 * elf/tst-order-a4.c: New file.
38962 * elf/tst-order-b1.c: New file.
38963 * elf/tst-order-b2.c: New file.
38964 * elf/tst-order-main.c: New file.
38965 New test case by George Gensure <werkt0@gmail.com>.
38967 2010-10-01 Andreas Schwab <schwab@redhat.com>
38969 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
38970 decoding ACE if AI_CANONIDN.
38972 2011-01-18 Ulrich Drepper <drepper@gmail.com>
38974 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
38976 2011-01-17 Ulrich Drepper <drepper@gmail.com>
38978 * version.h (RELEASE): Bump for 2.13 release.
38979 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
38981 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
38983 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
38985 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
38986 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
38987 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
38988 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
38989 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
38990 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
38992 * posix/getconf.c: Update copyright year.
38993 * catgets/gencat.c: Likewise.
38994 * csu/version.c: Likewise.
38995 * debug/catchsegv.sh: Likewise.
38996 * debug/xtrace.sh: Likewise.
38997 * elf/ldconfig.c: Likewise.
38998 * elf/ldd.bash.in: Likewise.
38999 * elf/sprof.c (print_version): Likewise.
39000 * iconv/iconv_prog.c: Likewise.
39001 * iconv/iconvconfig.c: Likewise.
39002 * locale/programs/locale.c: Likewise.
39003 * locale/programs/localedef.c: Likewise.
39004 * malloc/memusage.sh: Likewise.
39005 * malloc/mtrace.pl: Likewise.
39006 * nscd/nscd.c (print_version): Likewise.
39007 * nss/getent.c: Likewise.
39009 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
39010 PF_CAIF, and PF_ALG.
39011 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
39013 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
39015 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
39016 (modules-names): Use them.
39017 (ifunc-test-modules, ifunc-pie-tests): Define.
39018 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
39019 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
39020 (test-extras): Likewise.
39021 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
39022 $(compile-command.c).
39023 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
39024 (all-built-dso): Define.
39025 (check-textrel.out, check-execstack.out): Depend on it.
39027 * configure.in: Don't override --enable-multi-arch.
39029 2011-01-15 Ulrich Drepper <drepper@gmail.com>
39032 * nscd/hstcache.c (tryagain): Define.
39033 (cache_addhst): Return tryagain not notfound for temporary errors.
39034 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
39037 2011-01-14 Ulrich Drepper <drepper@gmail.com>
39040 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
39041 to make the syscall.
39042 * sysdeps/unix/sysv/linux/setgroups.c: New file.
39045 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
39046 and fall back to matching as normal character if the string ends before
39047 the matching ']' is found. This is what POSIX requires.
39048 * posix/testfnm.c: Adjust test result.
39049 * posix/globtest.sh: Adjust test result. Add new test.
39050 * posix/tst-fnmatch.input: Likewise.
39051 * posix/tst-fnmatch2.c: Add new test.
39053 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
39055 * elf/Makefile (check-execstack): Revert last change. Depend on
39057 (check-execstack.h): New target.
39058 (generated): Add check-execstack.h.
39059 * elf/check-execstack.c: Include "check-execstack.h".
39060 (main): Revert last change.
39061 (handle_file): Return zero if GNU_STACK is absent and
39062 DEFAULT_STACK_PERMS doesn't include PF_X.
39064 2011-01-13 Ulrich Drepper <drepper@gmail.com>
39066 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
39067 in child fails because the descriptor is already closed.
39068 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
39069 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
39070 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
39073 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
39077 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
39078 temporary buffer used to handle multi lookups locally.
39079 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
39081 2011-01-12 Ulrich Drepper <drepper@gmail.com>
39083 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
39086 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
39088 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
39089 alignment for SSE2.
39091 2011-01-12 Ulrich Drepper <drepper@gmail.com>
39094 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
39095 characters. When rounding increased number of integer digits recompute
39097 * stdio-common/tst-grouping.c: New file.
39098 * stdio-common/Makefile: Add rules to build and run tst-grouping.
39100 2011-01-09 Ulrich Drepper <drepper@gmail.com>
39102 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
39103 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
39105 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
39107 * bits/select.h: Likewise.
39109 2011-01-08 Ulrich Drepper <drepper@gmail.com>
39111 * po/ja.po: Update from translation team.
39113 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
39116 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
39117 implementation just like for lxstat, fxstatat, et al.
39119 2010-12-27 Jim Meyering <meyering@redhat.com>
39122 * posix/regexec.c (build_trtable): Return failure indication upon
39123 calloc failure. Otherwise, re_search_internal could infloop on OOM.
39125 2010-12-25 Ulrich Drepper <drepper@gmail.com>
39128 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
39129 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
39130 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
39131 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
39134 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
39137 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
39138 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
39140 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
39142 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
39143 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
39144 script has SORT_BY_INIT_PRIORITY.
39145 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
39146 NO_CTORS_DTORS_SECTIONS is defined.
39147 * elf/soinit.c: Likewise.
39148 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
39149 NO_CTORS_DTORS_SECTIONS is defined.
39150 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
39151 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
39152 * sysdeps/sh/init-first.c: Likewise.
39153 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
39155 2010-12-24 Ulrich Drepper <drepper@gmail.com>
39157 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
39158 always use the slow path.
39160 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
39162 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
39163 similar rule which adds the sysdep directories to the header search in
39164 order to pick up the correct platform stackinfo.h.
39165 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
39166 perform test if it is, otherwise return successfully without testing.
39167 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
39168 DEFAULT_STACK_PERMS define in stackinfo.h.
39169 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
39170 defined in stackinfo.h.
39171 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
39172 DEFAULT_STACK_PERMS defined in stackinfo.h.
39173 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
39174 * sysdeps/ia64/stackinfo.h: Likewise.
39175 * sysdeps/s390/stackinfo.h: Likewise.
39176 * sysdeps/sh/stackinfo.h: Likewise.
39177 * sysdeps/sparc/stackinfo.h: Likewise.
39178 * sysdeps/x86_64/stackinfo.h: Likewise.
39179 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
39180 PF_X for powerpc64. Retain PF_X for powerpc32.
39182 2010-12-19 Ulrich Drepper <drepper@gmail.com>
39184 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
39186 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
39187 GETDENTS_64BIT_ALIGNED.
39189 2010-12-14 Ulrich Drepper <dreper@gmail.com>
39191 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
39193 2010-12-10 Andreas Schwab <schwab@redhat.com>
39195 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
39198 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
39199 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
39201 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
39202 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
39204 2010-12-09 Ulrich Drepper <drepper@gmail.com>
39207 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
39210 2010-12-09 Jakub Jelinek <jakub@redhat.com>
39212 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
39214 2010-12-03 Ulrich Drepper <drepper@gmail.com>
39216 * po/it.po: Update from translation team.
39218 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
39220 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
39223 2010-11-30 Ulrich Drepper <drepper@gmail.com>
39225 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
39227 2010-11-24 Andreas Schwab <schwab@redhat.com>
39229 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
39231 (gaih_getanswer_slice): Likewise.
39233 2010-10-20 Jakub Jelinek <jakub@redhat.com>
39235 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
39237 2010-05-31 Petr Baudis <pasky@suse.cz>
39240 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
39241 silently even in the chroot mode.
39243 2010-11-22 Ulrich Drepper <drepper@gmail.com>
39245 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
39246 last patch a bit. Pretty printing
39248 2010-05-31 Petr Baudis <pasky@suse.cz>
39251 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
39252 initialization of skip_initgroups_dyn.
39254 2010-11-19 Ulrich Drepper <drepper@gmail.com>
39256 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
39257 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
39259 2010-11-16 Ulrich Drepper <drepper@gmail.com>
39261 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
39263 2010-11-11 Andreas Schwab <schwab@redhat.com>
39265 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
39266 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
39267 (tst-fnmatch-ENV): Set MALLOC_TRACE.
39268 ($(objpfx)tst-fnmatch-mem): New rule.
39269 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
39270 * posix/tst-fnmatch.c (main): Call mtrace.
39272 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
39274 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39275 Support Intel processor model 6 and model 0x2c.
39277 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
39279 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
39282 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
39285 * string/test-strncasecmp.c (check_result): New function.
39286 (do_one_test): Use it.
39287 (check1): New function.
39288 (test_main): Use it.
39289 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
39290 Support strcasecmp and strncasecmp.
39292 2010-11-08 Ulrich Drepper <drepper@gmail.com>
39295 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
39296 * sysdeps/x86_64/bits/byteswap.h: Likewise.
39298 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
39300 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
39302 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39304 * sysdeps/x86_64/multiarch/bzero.S: New file.
39305 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
39306 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
39307 * sysdeps/x86_64/multiarch/memset.S: New file.
39308 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
39309 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39310 Set bit_Prefer_SSE_for_memop for Intel processors.
39311 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
39313 (index_Prefer_SSE_for_memop): Define.
39314 (HAS_PREFER_SSE_FOR_MEMOP): Define.
39316 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
39318 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
39319 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
39321 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
39324 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
39325 (__x86_64_raw_data_cache_size_half): Likewise.
39326 (__x86_64_raw_shared_cache_size): Likewise.
39327 (__x86_64_raw_shared_cache_size_half): Likewise.
39329 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
39330 (__x86_64_raw_data_cache_size_half): Likewise.
39331 (__x86_64_raw_shared_cache_size): Likewise.
39332 (__x86_64_raw_shared_cache_size_half): Likewise.
39333 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
39334 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
39335 and __x86_64_raw_shared_cache_size_half. Round
39336 __x86_64_data_cache_size_half, __x86_64_data_cache_size
39337 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
39338 to multiple of 256 bytes.
39340 2010-11-03 Ulrich Drepper <drepper@gmail.com>
39343 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
39344 of inacessible symlinks. Verify result of symlink before returning it.
39345 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
39346 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
39348 2010-10-28 Erich Ritz <erichritz@gmail.com>
39350 * math/math.h (isinf): Fix typo in comment.
39352 2010-11-01 Ulrich Drepper <drepper@gmail.com>
39354 * po/da.po: Update from translation team.
39356 2010-10-26 Ulrich Drepper <drepper@gmail.com>
39358 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
39359 is added to the list.
39361 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39362 Ulrich Drepper <drepper@gmail.com>
39364 * elf/dl-object.c (_dl_new_object): Don't append the new object to
39365 the global list here. Move code to...
39366 (_dl_add_to_namespace_list): ...here. New function.
39367 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
39368 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
39369 * elf/dl-load.c (lose): Don't remove the element from the list.
39370 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
39371 (_dl_map_object): Likewise.
39373 2010-10-25 Ulrich Drepper <drepper@gmail.com>
39376 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
39377 into all bytes of SSE register.
39378 Patch by Richard Li <richardpku@gmail.com>.
39380 2010-10-24 Ulrich Drepper <drepper@gmail.com>
39383 * malloc/malloc.c (_int_free): Fill correct number of bytes when
39386 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
39388 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
39389 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
39390 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
39391 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
39392 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
39394 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
39396 2010-10-22 Andreas Schwab <schwab@redhat.com>
39398 * include/dlfcn.h (__RTLD_SECURE): Define.
39399 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
39400 mode & __RTLD_SECURE instead.
39401 (open_path): Rename preloaded parameter to secure.
39402 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
39403 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
39404 * elf/dl-deps.c (openaux): Likewise.
39405 * elf/rtld.c (struct map_args): Remove is_preloaded.
39406 (map_doit): Don't use it.
39407 (dl_main): Likewise.
39408 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
39409 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
39411 2010-09-09 Andreas Schwab <schwab@redhat.com>
39413 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
39414 (sysd-rules-targets): Remove duplicates.
39415 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
39416 rtld-%.$o dependency.
39418 2010-10-18 Andreas Schwab <schwab@redhat.com>
39420 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
39421 _dl_map_object do it.
39423 2010-10-19 Ulrich Drepper <drepper@gmail.com>
39425 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
39426 fast fma builtins, define the macros in the C99 standard.
39427 (FP_FAST_FMAF): Likewise.
39428 (FP_FAST_FMAL): Likewise.
39429 * sysdeps/x86_64/bits/mathdef.h: Likewise.
39431 * bits/mathdef.h: Update copyright year.
39432 * sysdeps/powerpc/bits/mathdef.h: Likewise.
39434 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
39436 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
39437 builtins, define the macros in the C99 standard.
39438 (FP_FAST_FMAF): Likewise.
39439 (FP_FAST_FMAL): Likewise.
39440 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
39442 (FP_FAST_FMAF): Likewise.
39444 2010-10-15 Jakub Jelinek <jakub@redhat.com>
39447 * math/libm-test.inc (fma_test): Some new testcases.
39448 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
39449 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
39450 y and infinite z. Do multiplication by C already in long double.
39451 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
39452 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
39453 y and infinite z. Do bitwise or of inexact bit into u.d.
39454 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
39455 * sysdeps/i386/fpu/s_fmaf.S: Removed.
39456 * sysdeps/i386/fpu/s_fma.S: Removed.
39457 * sysdeps/i386/fpu/s_fmal.S: Removed.
39459 2010-10-16 Jakub Jelinek <jakub@redhat.com>
39462 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
39463 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
39464 computation is not scheduled after fetestexcept. Fix value
39465 of minimum denormal long double.
39467 2010-10-14 Jakub Jelinek <jakub@redhat.com>
39470 * math/libm-test.inc (fma_test): Add some more tests.
39471 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
39474 2010-10-15 Andreas Schwab <schwab@redhat.com>
39476 * scripts/data/localplt-s390-linux-gnu.data: New file.
39477 * scripts/data/localplt-s390x-linux-gnu.data: New file.
39479 2010-10-13 Jakub Jelinek <jakub@redhat.com>
39482 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
39483 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
39485 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
39487 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
39488 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
39489 if one of x and y is very large and the other is subnormal.
39490 * sysdeps/s390/fpu/s_fmaf.c: New file.
39491 * sysdeps/s390/fpu/s_fma.c: New file.
39492 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
39493 * sysdeps/powerpc/fpu/s_fma.S: New file.
39494 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
39495 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
39496 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
39498 2010-10-12 Jakub Jelinek <jakub@redhat.com>
39501 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
39503 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
39504 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
39505 * sysdeps/i386/i686/multiarch/s_fma.c: Include
39506 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
39507 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
39508 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
39509 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
39511 2010-10-12 Ulrich Drepper <drepper@redhat.com>
39514 * posix/regcomp.c (parse_branch): One more memory leak plugged.
39515 * posix/bug-regex31.input: Add test case.
39517 2010-10-11 Ulrich Drepper <drepper@gmail.com>
39519 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
39520 * posix/bug-regex31.input: New file.
39523 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
39524 (parse_sub_exp): Fix last change, use postorder.
39526 * posix/bug-regex31.c: New file.
39527 * posix/Makefile: Add rules to build and run bug-regex31.
39529 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
39532 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
39535 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
39536 to have entries in sys_siglist.
39539 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
39542 2010-10-07 Jakub Jelinek <jakub@redhat.com>
39545 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
39546 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
39547 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
39548 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
39549 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
39550 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
39551 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
39552 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
39553 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
39554 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
39555 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
39556 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
39557 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
39558 * math/ftestexcept.c (fetestexcept): Likewise.
39559 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
39560 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
39561 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
39562 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
39563 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
39564 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
39565 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
39567 2010-10-11 Ulrich Drepper <drepper@gmail.com>
39570 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
39573 2010-10-06 Ulrich Drepper <drepper@gmail.com>
39575 * string/bug-strstr1.c: New file.
39576 * string/Makefile: Add rules to build and run bug-strstr1.
39578 2010-10-05 Eric Blake <eblake@redhat.com>
39581 * string/str-two-way.h (two_way_long_needle): Always clear memory
39582 when skipping input due to the shift table.
39584 2010-10-03 Ulrich Drepper <drepper@gmail.com>
39587 * malloc/mcheck.c: Handle large requests.
39590 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
39591 for strncmp and strncasecmp.
39592 * string/stratcliff.c: Add tests for strcmp and strncmp.
39593 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
39595 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
39597 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
39600 2010-09-30 Andreas Jaeger <aj@suse.de>
39602 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
39603 (CGROUP_SUPER_MAGIC): Define.
39604 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
39605 Handle btrfs and cgroup file systems.
39606 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
39609 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
39611 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
39612 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
39614 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39617 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
39618 trying to locate the ELF header.
39620 2010-09-27 Andreas Schwab <schwab@redhat.com>
39623 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
39624 Mask out sign-bit copies when constructing f_fsid.
39626 2010-09-24 Petr Baudis <pasky@suse.cz>
39628 * debug/stack_chk_fail_local.c: Add missing licence exception.
39629 * debug/warning-nop.c: Likewise.
39631 2010-09-15 Joseph Myers <joseph@codesourcery.com>
39633 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
39634 implementing getdents64 using getdents syscall, set d_type if
39635 __ASSUME_GETDENTS32_D_TYPE.
39637 2010-09-16 Andreas Schwab <schwab@redhat.com>
39639 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
39640 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
39642 2010-09-21 Ulrich Drepper <drepper@redhat.com>
39645 * posix/unistd.h: Undo change of feature selection for ftruncate from
39648 2010-09-20 Ulrich Drepper <drepper@redhat.com>
39650 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
39653 2010-09-20 Andreas Schwab <schwab@redhat.com>
39655 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
39657 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
39659 2010-09-14 Andreas Schwab <schwab@redhat.com>
39661 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
39662 variables after CHECK_SP call.
39663 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
39665 2010-09-13 Andreas Schwab <schwab@redhat.com>
39666 Ulrich Drepper <drepper@redhat.com>
39668 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
39669 re-relocationg ld.so.
39670 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
39671 _dl_init_paths call.
39672 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
39675 2010-09-14 Ulrich Drepper <drepper@redhat.com>
39677 * resolv/res_init.c (__res_vinit): Count the default server we added.
39679 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
39680 Ulrich Drepper <drepper@redhat.com>
39683 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
39684 (____longjmp_chk): Use %ebx for saving value across system call.
39687 2010-09-06 Andreas Schwab <schwab@redhat.com>
39689 * manual/Makefile: Don't mix pattern rules with normal rules.
39691 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
39693 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
39695 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
39696 * libio/iofopncook.c (_IO_cookie_init): Likewise.
39697 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
39698 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
39699 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
39702 2010-09-04 Ulrich Drepper <drepper@redhat.com>
39705 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
39706 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
39708 2010-09-02 Ulrich Drepper <drepper@redhat.com>
39710 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
39711 * sysdeps/x86_64/addmul_1.S: Likewise.
39712 * sysdeps/x86_64/lshift.S: Likewise.
39713 * sysdeps/x86_64/mul_1.S: Likewise.
39714 * sysdeps/x86_64/rshift.S: Likewise.
39715 * sysdeps/x86_64/sub_n.S: Likewise.
39716 * sysdeps/x86_64/submul_1.S: Likewise.
39718 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
39720 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
39721 Define __sched_param instead of SCHED_* and sched_param when
39722 <bits/sched.h> is included with __need_schedparam defined.
39723 * bits/sched.h [__need_schedparam]
39724 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
39725 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
39726 (__defined_schedparam): Define to 1.
39727 (__sched_param): New structure, identical to sched_param.
39728 (__need_schedparam): Undefine.
39730 2010-08-31 Mike Frysinger <vapier@gentoo.org>
39732 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
39733 (epoll_create1): Declare.
39735 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
39737 2010-08-31 Andreas Schwab <schwab@redhat.com>
39740 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
39741 shifting retval into place.
39743 2010-09-01 Ulrich Drepper <drepper@redhat.com>
39745 * nis/rpcsvc/nis.h: Update copyright notice.
39746 * nis/rpcsvc/nis.x: Likewise.
39747 * nis/rpcsvc/nis_callback.h: Likewise.
39748 * nis/rpcsvc/nis_callback.x: Likewise.
39749 * nis/rpcsvc/nis_object.x: Likewise.
39750 * nis/rpcsvc/nis_tags.h: Likewise.
39751 * nis/rpcsvc/yp.h: Likewise.
39752 * nis/rpcsvc/yp.x: Likewise.
39753 * nis/rpcsvc/ypupd.h: Likewise.
39754 * nis/yp_xdr.c: Likewise.
39755 * nis/ypupdate_xdr.c: Likewise.
39757 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
39758 mainly the body of pmap_getport. Add parameters to specify timeouts.
39759 (pmap_getport): Use __libc_rpc_getport.
39760 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
39761 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
39762 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
39764 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
39766 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
39769 2010-08-27 Roland McGrath <roland@redhat.com>
39771 * sysdeps/i386/i686/multiarch/Makefile
39772 (CFLAGS-varshift.c): New variable.
39774 2010-08-27 Ulrich Drepper <drepper@redhat.com>
39776 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
39777 * sysdeps/i386/i686/multiarch/varshift.c: New file.
39779 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
39781 * sysdeps/x86_64/strlen.S: Minimal code improvement.
39783 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
39785 * sysdeps/x86_64/strlen.S: Unroll the loop.
39786 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39787 strlen-sse2 strlen-sse2-bsf.
39788 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
39789 __strlen_no_bsf if bit_Slow_BSF is set.
39790 (__strlen_sse42): Removed.
39791 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
39792 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
39794 2010-08-25 Roland McGrath <roland@redhat.com>
39796 * sysdeps/x86_64/multiarch/varshift.S: File removed.
39797 * sysdeps/x86_64/multiarch/varshift.c: New file.
39798 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
39799 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
39800 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
39801 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
39803 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
39805 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39806 strlen-sse2 strlen-sse2-bsf.
39807 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
39808 __strlen_sse2_bsf if bit_Slow_BSF is unset.
39809 (__strlen_sse2): Removed.
39810 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
39811 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
39812 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
39813 bit_Slow_BSF for Atom.
39814 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
39815 (index_Slow_BSF): Define.
39816 (HAS_SLOW_BSF): Define.
39818 2010-08-25 Ulrich Drepper <drepper@redhat.com>
39821 * resolv/res_init.c (__res_vinit): When no server address at all
39822 is given default to loopback.
39824 2010-08-24 Roland McGrath <roland@redhat.com>
39826 * configure.in: Remove config-name.h generation.
39827 * configure: Regenerated.
39828 * config-name.in: File removed.
39829 * scripts/config-uname.sh: New file.
39830 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
39831 ($(objdir)config-name.h): New target.
39833 * sunrpc/rpc_parse.h: Avoid nested comment.
39835 2010-08-24 Richard Henderson <rth@redhat.com>
39836 Ulrich Drepper <drepper@redhat.com>
39837 H.J. Lu <hongjiu.lu@intel.com>
39839 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
39840 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
39841 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
39842 Replace _mm_srli_si128 with __m128i_shift_right. Replace
39843 _mm_alignr_epi8 with _mm_loadu_si128.
39844 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
39845 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
39846 (__m128i_shift_right): Removed.
39847 * sysdeps/i386/i686/multiarch/varshift.h: New file.
39848 * sysdeps/i386/i686/multiarch/varshift.S: New file.
39849 * sysdeps/x86_64/multiarch/varshift.h: New file.
39850 * sysdeps/x86_64/multiarch/varshift.S: New file.
39852 2010-08-21 Mike Frysinger <vapier@gentoo.org>
39854 * configure.in: Move assembler checks to before sysdep dir checking.
39856 2010-08-20 Petr Baudis <pasky@suse.cz>
39858 * LICENSES: Sync the sunrpc license.
39860 2010-08-19 Ulrich Drepper <drepper@redhat.com>
39862 * sunrpc/auth_des.c: Update copyright notice once again.
39863 * sunrpc/auth_none.c: Likewise.
39864 * sunrpc/auth_unix.c: Likewise.
39865 * sunrpc/authdes_prot.c: Likewise.
39866 * sunrpc/authuxprot.c: Likewise.
39867 * sunrpc/bindrsvprt.c: Likewise.
39868 * sunrpc/clnt_gen.c: Likewise.
39869 * sunrpc/clnt_perr.c: Likewise.
39870 * sunrpc/clnt_raw.c: Likewise.
39871 * sunrpc/clnt_simp.c: Likewise.
39872 * sunrpc/clnt_tcp.c: Likewise.
39873 * sunrpc/clnt_udp.c: Likewise.
39874 * sunrpc/clnt_unix.c: Likewise.
39875 * sunrpc/des_crypt.c: Likewise.
39876 * sunrpc/des_soft.c: Likewise.
39877 * sunrpc/get_myaddr.c: Likewise.
39878 * sunrpc/getrpcport.c: Likewise.
39879 * sunrpc/key_call.c: Likewise.
39880 * sunrpc/key_prot.c: Likewise.
39881 * sunrpc/openchild.c: Likewise.
39882 * sunrpc/pm_getmaps.c: Likewise.
39883 * sunrpc/pm_getport.c: Likewise.
39884 * sunrpc/pmap_clnt.c: Likewise.
39885 * sunrpc/pmap_prot.c: Likewise.
39886 * sunrpc/pmap_prot2.c: Likewise.
39887 * sunrpc/pmap_rmt.c: Likewise.
39888 * sunrpc/rpc/auth.h: Likewise.
39889 * sunrpc/rpc/auth_unix.h: Likewise.
39890 * sunrpc/rpc/clnt.h: Likewise.
39891 * sunrpc/rpc/des_crypt.h: Likewise.
39892 * sunrpc/rpc/key_prot.h: Likewise.
39893 * sunrpc/rpc/netdb.h: Likewise.
39894 * sunrpc/rpc/pmap_clnt.h: Likewise.
39895 * sunrpc/rpc/pmap_prot.h: Likewise.
39896 * sunrpc/rpc/pmap_rmt.h: Likewise.
39897 * sunrpc/rpc/rpc.h: Likewise.
39898 * sunrpc/rpc/rpc_des.h: Likewise.
39899 * sunrpc/rpc/rpc_msg.h: Likewise.
39900 * sunrpc/rpc/svc.h: Likewise.
39901 * sunrpc/rpc/svc_auth.h: Likewise.
39902 * sunrpc/rpc/types.h: Likewise.
39903 * sunrpc/rpc/xdr.h: Likewise.
39904 * sunrpc/rpc_clntout.c: Likewise.
39905 * sunrpc/rpc_cmsg.c: Likewise.
39906 * sunrpc/rpc_common.c: Likewise.
39907 * sunrpc/rpc_cout.c: Likewise.
39908 * sunrpc/rpc_dtable.c: Likewise.
39909 * sunrpc/rpc_hout.c: Likewise.
39910 * sunrpc/rpc_main.c: Likewise.
39911 * sunrpc/rpc_parse.c: Likewise.
39912 * sunrpc/rpc_parse.h: Likewise.
39913 * sunrpc/rpc_prot.c: Likewise.
39914 * sunrpc/rpc_sample.c: Likewise.
39915 * sunrpc/rpc_scan.c: Likewise.
39916 * sunrpc/rpc_scan.h: Likewise.
39917 * sunrpc/rpc_svcout.c: Likewise.
39918 * sunrpc/rpc_tblout.c: Likewise.
39919 * sunrpc/rpc_util.c: Likewise.
39920 * sunrpc/rpc_util.h: Likewise.
39921 * sunrpc/rpcinfo.c: Likewise.
39922 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
39923 * sunrpc/rpcsvc/key_prot.x: Likewise.
39924 * sunrpc/rpcsvc/klm_prot.x: Likewise.
39925 * sunrpc/rpcsvc/mount.x: Likewise.
39926 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
39927 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
39928 * sunrpc/rpcsvc/rex.x: Likewise.
39929 * sunrpc/rpcsvc/rstat.x: Likewise.
39930 * sunrpc/rpcsvc/rusers.x: Likewise.
39931 * sunrpc/rpcsvc/sm_inter.x: Likewise.
39932 * sunrpc/rpcsvc/spray.x: Likewise.
39933 * sunrpc/rpcsvc/yppasswd.x: Likewise.
39934 * sunrpc/rtime.c: Likewise.
39935 * sunrpc/svc.c: Likewise.
39936 * sunrpc/svc_auth.c: Likewise.
39937 * sunrpc/svc_authux.c: Likewise.
39938 * sunrpc/svc_raw.c: Likewise.
39939 * sunrpc/svc_run.c: Likewise.
39940 * sunrpc/svc_simple.c: Likewise.
39941 * sunrpc/svc_tcp.c: Likewise.
39942 * sunrpc/svc_udp.c: Likewise.
39943 * sunrpc/svc_unix.c: Likewise.
39944 * sunrpc/svcauth_des.c: Likewise.
39945 * sunrpc/xcrypt.c: Likewise.
39946 * sunrpc/xdr.c: Likewise.
39947 * sunrpc/xdr_array.c: Likewise.
39948 * sunrpc/xdr_float.c: Likewise.
39949 * sunrpc/xdr_mem.c: Likewise.
39950 * sunrpc/xdr_rec.c: Likewise.
39951 * sunrpc/xdr_ref.c: Likewise.
39952 * sunrpc/xdr_sizeof.c: Likewise.
39953 * sunrpc/xdr_stdio.c: Likewise.
39955 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
39958 2010-08-19 Andreas Schwab <schwab@redhat.com>
39960 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
39962 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
39964 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
39965 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
39966 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
39967 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
39968 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
39969 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
39970 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
39971 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
39972 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
39973 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
39974 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
39975 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
39976 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
39977 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
39979 2010-07-26 Anton Blanchard <anton@samba.org>
39981 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
39982 * malloc/arena.c (heap_trim): Likewise.
39984 2010-08-16 Ulrich Drepper <drepper@redhat.com>
39986 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
39988 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
39989 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
39991 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
39993 * sysdeps/i386/elf/Makefile: New file.
39995 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
39997 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
39998 from fanotify_init.
39999 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
40000 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
40002 2010-08-15 Ulrich Drepper <drepper@redhat.com>
40004 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
40006 * sysdeps/multiarch/strcmp.S: Likewise.
40008 2010-08-14 Ulrich Drepper <drepper@redhat.com>
40010 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
40011 strncase_l-nonascii.
40012 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
40013 Add strncase_l-ssse3.
40014 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
40015 * sysdeps/x86_64/strcmp.S: Likewise.
40016 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
40017 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
40018 * sysdeps/x86_64/strncase.S: New file.
40019 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
40020 * sysdeps/x86_64/strncase_l.S: New file.
40021 * string/Makefile (strop-tests): Add strncasecmp.
40022 * string/test-strncasecmp.c: New file.
40024 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
40027 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
40028 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
40030 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
40032 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
40034 2010-08-12 Ulrich Drepper <drepper@redhat.com>
40036 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
40037 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
40038 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
40040 2010-05-01 Alan Modra <amodra@gmail.com>
40042 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
40043 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
40044 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
40045 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
40046 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
40047 tidying. Don't tail-call __sigjmp_save for static lib.
40048 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
40050 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
40051 (CALL_MCOUNT): Add eh info, and nop after bl.
40052 (TAIL_CALL_SYSCALL_ERROR): New macro.
40053 (PSEUDO_RET): Use it.
40054 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
40055 Correct save location of integer regs and cr.
40056 (_dl_profile_resolve): Correct cr save location. Delete nops
40057 after bl when SHARED. Reduce cfi size a little by better
40058 placement of cfi directives.
40059 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
40060 make a stack frame. Instead use parm save area as a temp.
40061 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
40062 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
40063 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
40064 Don't make a stack frame for parent, use parm save area.
40065 Increase child stack frame to 112 bytes. Don't save unused reg,
40066 and adjust reg usage. Set up cfi on error recovery and
40067 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
40068 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
40069 (__makecontext): Add dummy nop after jump to exit.
40070 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
40071 Use correct parm save area and cr save, reduce stack frame.
40072 Correct cfi for possible PSEUDO_RET frame setup.
40073 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
40074 Branch to local label emitted by PSEUDO_RET rather than
40077 2010-08-12 Andreas Schwab <schwab@redhat.com>
40080 * locale/programs/locale.c (print_assignment): New function.
40081 (show_locale_vars): Use it.
40083 2010-08-11 Ulrich Drepper <drepper@redhat.com>
40085 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
40087 (struct statfs64): Likewise.
40088 (_STATFS_F_FLAGS): Define.
40089 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
40090 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
40091 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
40092 (ST_VALID): Define locally.
40093 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
40094 __statvfs_getflags, use the provided value.
40095 * sysdeps/unix/sysv/linux/kernel-features.h: Define
40096 __ASSUME_STATFS_F_FLAGS.
40098 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
40100 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
40101 Add sys/fanotify.h.
40102 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
40103 fanotify_mask for GLIBC_2.13.
40104 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
40105 fanotify_init and fanotify_mark.
40106 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
40107 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
40109 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
40111 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
40112 prlimit64 for GLIBC_2.13.
40113 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
40115 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
40117 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
40118 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
40119 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
40120 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
40121 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
40123 * sysdeps/unix/sysv/linux/prlimit.c: New file.
40126 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
40127 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
40129 * nss/Makefile: Add rules to build and run tst-nss-test1.
40130 * shlib-versions: Add entry for libnss_test1.
40131 * nss/nss_test1.c: New file.
40132 * nss/tst-nss-test1.c: New file.
40134 * nss/nsswitch.c (__nss_database_custom): Define new variable.
40135 (__nss_configure_lookup): Set appropriate entry in
40136 __nss_configure_lookup to true.
40137 * nss/nsswitch.h: Define enum with indeces of databases in
40138 databases and __nss_database_custom arrays. Declare
40139 __nss_database_custom.
40140 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
40141 to avoid using nscd when custom rules are installed.
40142 * nss/getXXbyYY_r.c: Likewise.
40143 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
40145 * nss/nss_files/files-parse.c: Whitespace fixes.
40147 2010-08-09 Ulrich Drepper <drepper@redhat.com>
40150 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
40151 * posix/fnmatch_loop.c: Likewise.
40153 2010-07-17 Andi Kleen <ak@linux.intel.com>
40155 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
40156 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
40157 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
40158 * Versions.def [GLIBC_2.13]: Add.
40160 2010-08-06 Ulrich Drepper <drepper@redhat.com>
40162 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
40163 Also fail if tpwd after pwuid call is NULL.
40165 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
40167 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
40168 when converting to ms.
40170 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
40172 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
40173 EOPNOTSUPP errors with ENOTTY.
40174 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
40175 EOPNOTSUPP errors with ENOTTY.
40177 2010-07-31 Ulrich Drepper <drepper@redhat.com>
40179 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
40180 Add strcasecmp_l-ssse3.
40181 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
40183 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
40184 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
40185 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
40187 2010-07-30 Ulrich Drepper <drepper@redhat.com>
40189 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
40191 * string/Makefile (strop-tests): Add strcasecmp.
40192 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
40193 strcasecmp_l-nonascii.
40194 (gen-as-const-headers): Add locale-defines.sym.
40195 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
40196 * sysdeps/x86_64/strcasecmp.S: New file.
40197 * sysdeps/x86_64/strcasecmp_l.S: New file.
40198 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
40199 * sysdeps/x86_64/locale-defines.sym: New file.
40200 * string/test-strcasecmp.c: New file.
40202 * string/test-strcasestr.c: Test both ends of the range of characters.
40203 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
40205 2010-07-29 Roland McGrath <roland@redhat.com>
40208 * manual/locale.texi (Yes-or-No Questions): Fix example code.
40210 2010-07-27 Ulrich Drepper <drepper@redhat.com>
40212 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
40215 2010-07-27 Andreas Schwab <schwab@redhat.com>
40217 * manual/memory.texi (Malloc Tunable Parameters): Document
40220 2010-07-26 Roland McGrath <roland@redhat.com>
40223 * configure.in (-fgnu89-inline check): Set and substitute
40224 gnu89_inline, not libc_cv_gnu89_inline.
40225 * configure: Regenerated.
40226 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
40228 2010-07-26 Ulrich Drepper <drepper@redhat.com>
40230 * string/test-strnlen.c: New file.
40231 * string/Makefile (strop-tests): Add strnlen.
40232 * string/tester.c (test_strnlen): Add a few more test cases.
40233 * string/tst-strlen.c: Better error reporting.
40235 * sysdeps/x86_64/strnlen.S: New file.
40237 2010-07-24 Ulrich Drepper <drepper@redhat.com>
40239 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
40240 lower-latency instructions.
40242 2010-07-23 Ulrich Drepper <drepper@redhat.com>
40244 * string/test-strcasestr.c: New file.
40245 * string/test-strstr.c: New file.
40246 * string/Makefile (strop-tests): Add strstr and strcasestr.
40247 * string/str-two-way.h: Don't undefine MAX.
40248 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
40250 2010-07-21 Andreas Schwab <schwab@redhat.com>
40252 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
40253 strcasestr-nonascii.
40254 (CFLAGS-strcasestr-nonascii.c): Define.
40255 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
40256 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
40257 Remove unused attribute.
40259 2010-07-20 Roland McGrath <roland@redhat.com>
40261 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
40262 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
40263 ld.so.cache was broken. With it, there is no way to disable dsocaps
40264 like LD_HWCAP_MASK can disable hwcaps.
40266 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
40268 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
40270 2010-07-16 Ulrich Drepper <drepper@redhat.com>
40272 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
40273 call in strcasestr.
40274 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
40275 __strcasestr_sse42_nonascii.
40276 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
40277 strcasestr-nonascii.c.
40278 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
40280 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
40282 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
40283 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
40284 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
40285 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
40287 2010-07-09 Ulrich Drepper <drepper@redhat.com>
40289 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
40292 2010-07-06 Andreas Schwab <schwab@redhat.com>
40295 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
40298 2010-07-06 Ulrich Drepper <drepper@redhat.com>
40300 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
40301 _PC_PIPE_BUF using F_GETPIPE_SZ.
40303 2010-07-05 Roland McGrath <roland@redhat.com>
40305 * manual/arith.texi (Rounding Functions): Fix rint description
40306 implicit in round description.
40308 2010-07-02 Ulrich Drepper <drepper@redhat.com>
40310 * elf/Makefile: Fix linking for a few tests to make recent linker
40313 2010-06-30 Andreas Schwab <schwab@redhat.com>
40315 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
40316 $(common-objpfx)libc_nonshared.a.
40318 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
40320 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
40321 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
40322 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
40323 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
40324 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
40325 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
40326 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
40327 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
40328 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
40329 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
40330 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
40331 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
40332 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
40333 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
40334 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
40335 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
40336 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
40337 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
40338 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
40339 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
40340 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
40341 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
40342 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
40343 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
40344 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
40345 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
40346 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
40347 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
40348 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
40349 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
40350 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
40351 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
40352 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
40353 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
40354 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
40355 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
40356 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
40357 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
40358 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
40359 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
40360 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
40361 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
40362 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
40363 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
40364 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
40365 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
40366 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
40367 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
40369 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
40371 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
40372 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
40373 * string/memmove.c (memmove): Renamed to ...
40374 (MEMMOVE): ...this. Default to memmove.
40375 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
40376 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
40378 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
40379 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
40380 mempcpy-ssse3-back memmove-ssse3-back.
40381 * sysdeps/x86_64/multiarch/bcopy.S: New file .
40382 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
40383 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
40384 * sysdeps/x86_64/multiarch/memcpy.S: New file.
40385 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
40386 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
40387 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
40388 * sysdeps/x86_64/multiarch/memmove.c: New file.
40389 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
40390 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
40391 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
40392 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
40393 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
40394 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
40396 (index_Fast_Copy_Backward): Define.
40397 (HAS_ARCH_FEATURE): Define.
40398 (HAS_FAST_REP_STRING): Define.
40399 (HAS_FAST_COPY_BACKWARD): Define.
40401 2010-06-21 Andreas Schwab <schwab@redhat.com>
40403 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
40404 Restore proper fallback handling.
40406 2010-06-19 Ulrich Drepper <drepper@redhat.com>
40409 * posix/group_member.c (__group_member): Correct checking loop.
40411 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
40412 OOM in getpwuid_r correctly. Return error number when the caller
40413 should return, otherwise -1.
40414 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
40415 call returning > 0 value.
40416 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
40418 2010-06-07 Andreas Schwab <schwab@redhat.com>
40420 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
40421 libc_nonshared.a from targets in modules-names.
40423 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
40425 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
40428 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
40430 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
40431 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
40432 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
40433 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
40435 2010-06-02 Andreas Schwab <schwab@redhat.com>
40437 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
40439 2010-06-14 Ulrich Drepper <drepper@redhat.com>
40441 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
40443 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
40444 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
40445 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
40446 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
40447 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
40448 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
40450 2010-06-14 Roland McGrath <roland@redhat.com>
40452 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
40454 2010-06-07 Jakub Jelinek <jakub@redhat.com>
40456 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
40457 __REDIRECT followed by __THROW.
40458 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
40459 * posix/getopt.h (getopt): Likewise.
40461 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
40463 * hurd/lookup-at.c (__file_name_lookup_at): Accept
40464 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
40465 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
40467 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
40468 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
40470 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
40472 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
40474 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
40477 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40478 Properly check family and model.
40480 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
40482 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
40484 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
40486 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
40488 2010-05-21 Ulrich Drepper <drepper@redhat.com>
40490 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
40493 2010-05-19 Andreas Schwab <schwab@redhat.com>
40495 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
40498 2010-05-21 Andreas Schwab <schwab@redhat.com>
40500 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
40501 and internal_recvmmsg.
40502 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
40503 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
40504 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
40505 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
40507 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
40508 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
40509 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
40511 2010-05-20 Andreas Schwab <schwab@redhat.com>
40513 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
40515 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
40517 POWER7 optimizations.
40518 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
40519 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
40521 2010-05-19 Ulrich Drepper <drepper@redhat.com>
40523 * version.h: Update for 2.13 development version.
40525 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
40527 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
40528 exceptions. Return 0.
40530 2010-05-07 Roland McGrath <roland@redhat.com>
40532 * elf/ldconfig.c (main): Add a const.
40534 2010-05-06 Ulrich Drepper <drepper@redhat.com>
40536 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
40537 (args_options): Add no-idn option.
40538 (ahosts_keys_int): Add idn_flags to ai_flags.
40539 (parse_option): Handle 'i' option to clear idn_flags.
40541 * malloc/malloc.c (_int_free): Possible race in the most recently
40542 added check. Only act on the data if no current modification
40545 See ChangeLog.17 for earlier changes.