1 2014-03-05 Joseph Myers <joseph@codesourcery.com>
3 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
4 individual tests in comment.
5 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
6 (prev_max_error): New variable.
7 (prev_real_max_error): Likewise.
8 (prev_imag_max_error): Likewise.
9 (compare_ulp_data): Don't refer to test names in comment.
10 (find_test_ulps): Remove function.
11 (find_function_ulps): Likewise.
12 (find_complex_function_ulps): Likewise.
13 (init_max_error): Take function name as argument. Look up ulps
15 (print_ulps): Remove function.
16 (print_max_error): Use prev_max_error instead of calling
18 (print_complex_max_error): Use prev_real_max_error and
19 prev_imag_max_error instead of calling find_complex_function_ulps.
20 (check_float_internal): Take max_ulp parameter instead of calling
21 find_test_ulps. Don't call print_ulps.
22 (check_float): Update call to check_float_internal.
23 (check_complex): Update calls to check_float_internal.
24 (START): Pass argument to init_max_error.
25 * math/gen-libm-test.pl (%results): Don't include "kind"
27 (parse_ulps): Don't handle ulps of individual tests.
28 (print_ulps_file): Likewise.
29 (output_ulps): Likewise.
30 * math/README.libm-test: Update.
31 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
33 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
34 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
35 * sysdeps/arm/libm-test-ulps: Likewise.
36 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
37 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
38 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
39 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
40 * sysdeps/microblaze/libm-test-ulps: Likewise.
41 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
42 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
43 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
44 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
45 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
46 * sysdeps/sh/libm-test-ulps: Likewise.
47 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
48 * sysdeps/tile/libm-test-ulps: Likewise.
49 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51 2014-03-04 Joseph Myers <joseph@codesourcery.com>
53 * math/libm-test.inc (print_complex_max_error): Check separately
54 whether real and imaginary errors are within allowed range and
55 pass 0 to print_complex_function_ulps instead of value within
58 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
60 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
62 (get_handles_fopen): Likewise.
63 (do_write_test): Likewise.
65 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
67 * libio/fileops.c (do_ftell): Use cached offset when
69 * libio/iofwide.c (do_ftell_wide): Likewise.
70 * libio/iofdopen.c (_IO_new_fdopen): Don't use
72 * libio/wfileops.c (_IO_fwide): Don't cache offset.
75 * libio/libioP.h (get_file_offset): New function.
76 * libio/fileops.c (get_file_offset): Likewise.
78 (_IO_new_file_seekoff): Split out ftell logic.
79 * libio/wfileops.c (do_ftell_wide): Likewise.
80 (_IO_wfile_seekoff): Split out ftell logic.
81 * libio/tst-ftell-active-handler.c: New test case.
82 * libio/Makefile (tests): Add it.
84 2014-03-03 Roland McGrath <roland@hack.frob.com>
86 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
87 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
89 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
92 * nscd/connections.c (nscd_init): Call do_exit.
93 (start_threads): Call do_exit and notify_parent.
94 (begin_drop_privileges): Call do_exit.
95 (finish_drop_privileges): Likewise.
96 * nscd/selinux.c (preserve_capabilities): Likewise.
97 (install_real_capabilities): Likewise.
98 (nscd_selinux_enabled): Likewise.
99 (avc_create_thread): Likewise.
100 (avc_alloc_lock): Likewise.
101 (nscd_avc_init): Likewise.
102 * nscd/nscd.c (parent_fd): New static variable.
103 (main): Create a pipe between parent and child processes.
104 Skip closing parent_fd.
105 (monitor_child): New function.
107 (notify_parent): Likewise.
108 * nscd/nscd.h (notify_parent): Likewise.
111 2014-03-03 Carlos O'Donell <carlos@redhat.com>
113 * malloc/malloc.c (__libc_calloc): Revert last change.
115 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
117 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
119 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
121 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
122 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
124 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
125 (__libc_ifunc_impl_list): Likewise.
126 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
127 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
128 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
129 * string/strrchr.c: Define STRRCHR.
131 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
133 * benchtest/bench-strtok.c (simple_strtok): Delete.
134 (strtok_string): Use as benchmark.
135 * string/strtok (STRTOK): New macro.
137 2014-02-28 Carlos O'Donell <carlos@redhat.com>
139 * manual/threads.texi: Add header and standard comments to all
142 * elf/dl-lookup.c (check_match): New function.
143 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
144 (do_lookup_x): Remove nested function check_match. Use non-nested
145 function check_match.
147 2014-02-28 Roland McGrath <roland@hack.frob.com>
149 * csu/Makefile (generated, before-compile): Use += rather than =.
150 * catgets/Makefile (generated, generated-dirs): Likewise.
151 * debug/Makefile (generated): Likewise.
152 * dlfcn/Makefile (generated): Likewise.
153 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
154 * iconvdata/Makefile (before-compile, generated): Likewise.
155 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
156 * libio/Makefile (generated): Likewise.
157 * malloc/Makefile (generated): Likewise.
158 * manual/Makefile (generated, generated-dirs): Likewise.
159 * misc/Makefile (generated): Likewise.
160 * posix/Makefile (generated): Likewise.
161 * resolv/Makefile (generated): Likewise.
162 * sunrpc/Makefile (generated, generated-dirs): Likewise.
163 * timezone/Makefile (generated, generated-dirs): Likewise.
165 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
167 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
169 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround power8
171 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New file:
172 POWER8 llround ifunc implementation.
173 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c (__lllround): Add
174 POWER8 implementation.
175 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
176 POWER8 llround implementation.
178 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
180 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint power8
182 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New file:
183 POWER8 llrint ifunc implementation.
184 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint): Add
185 POWER8 implementation.
186 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
187 POWER8 llrint implementation.
189 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
191 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite power8
193 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New file:
194 POWER8 finite ifunc implementation.
195 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite): Add
196 POWER8 implementation.
197 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
199 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
200 POWER8 finite implementation.
201 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
203 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
205 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf power8
207 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New file:
208 POWER8 isinf ifunc implementation.
209 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
210 POWER8 implementation.
211 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
213 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file:
214 POWER8 isinf implementation.
215 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
217 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
219 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h (INIT_ARCH):
220 Add hwcap2 initialization.
221 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan power8
223 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New file:
224 POWER8 isnan ifunc implementation.
225 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
226 POWER8 implementation.
227 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
229 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file:
230 POWER8 isnan implementation.
231 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
233 2014-02-27 Joey Ye <joey.ye@arm.com>
235 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
236 (_FP_NANFRAC_Q): Set to zero.
238 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
241 * math/auto-libm-test-in: New test inputs.
242 * math/auto-libm-test-out: Regenerate.
243 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
246 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
248 2014-02-27 Joseph Myers <joseph@codesourcery.com>
250 * scripts/evaluate-test.sh: Take new argument indicating whether
252 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
253 indicating whether failure is expected.
254 * conform/Makefile (test-xfail-run-conformtest): New variable.
255 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
257 * posix/Makefile (test-xfail-annexc): New variable.
258 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
260 2014-02-26 Joseph Myers <joseph@codesourcery.com>
262 * argp/Makefile: Include Makeconfig immediately after defining
264 * assert/Makefile: Likewise.
265 * benchtests/Makefile: Likewise.
266 * catgets/Makefile: Likewise.
267 * conform/Makefile: Likewise.
268 * crypt/Makefile: Likewise.
269 * csu/Makefile: Likewise.
270 (all): Remove target.
271 * ctype/Makefile: Include Makeconfig immediately after defining
273 * debug/Makefile: Likewise.
274 * dirent/Makefile: Likewise.
275 * dlfcn/Makefile: Likewise.
276 * gmon/Makefile: Likewise.
277 * gnulib/Makefile: Likewise.
278 * grp/Makefile: Likewise.
279 * gshadow/Makefile: Likewise.
280 * hesiod/Makefile: Likewise.
281 * hurd/Makefile: Likewise.
282 (all): Remove target.
283 * iconvdata/Makefile: Include Makeconfig immediately after
285 * inet/Makefile: Likewise.
286 * intl/Makefile: Likewise.
287 * io/Makefile: Likewise.
288 * libio/Makefile: Likewise.
289 (all): Remove target.
290 * locale/Makefile: Include Makeconfig immediately after defining
292 * login/Makefile: Likewise.
293 * mach/Makefile: Likewise.
294 (all): Remove target.
295 * malloc/Makefile: Include Makeconfig immediately after defining
297 (all): Remove target.
298 * manual/Makefile: Include Makeconfig immediately after defining
300 * math/Makefile: Likewise.
301 * misc/Makefile: Likewise.
302 * nis/Makefile: Likewise.
303 * nss/Makefile: Likewise.
304 * po/Makefile: Likewise.
305 (all): Remove target.
306 * posix/Makefile: Include Makeconfig immediately after defining
308 * pwd/Makefile: Likewise.
309 * resolv/Makefile: Likewise.
310 * resource/Makefile: Likewise.
311 * rt/Makefile: Likewise.
312 * setjmp/Makefile: Likewise.
313 * shadow/Makefile: Likewise.
314 * signal/Makefile: Likewise.
315 * socket/Makefile: Likewise.
316 * soft-fp/Makefile: Likewise.
317 * stdio-common/Makefile: Likewise.
318 * stdlib/Makefile: Likewise.
319 * streams/Makefile: Likewise.
320 * string/Makefile: Likewise.
321 * sunrpc/Makefile: Likewise.
322 (all): Remove target.
323 * sysvipc/Makefile: Include Makeconfig immediately after defining
325 * termios/Makefile: Likewise.
326 * time/Makefile: Likewise.
327 * timezone/Makefile: Likewise.
328 (all): Remove target.
329 * wcsmbs/Makefile: Include Makeconfig immediately after defining
331 * wctype/Makefile: Likewise.
333 2014-02-26 Steve Ellcey <sellcey@mips.com>
335 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
336 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
337 (libc_feholdexcept_setround_mips): Ditto.
338 (libc_feholdsetround): New.
339 (libc_feholdsetroundf): New.
340 (libc_feholdsetroundl): New.
341 (libc_feupdateenv_test_mips): New.
342 (libc_feupdateenv_test): New.
343 (libc_feupdateenv_testf): New.
344 (libc_feupdateenv_testl): New.
345 (libc_feresetround): New.
346 (libc_feresetroundf): New.
347 (libc_feresetroundl): New.
348 (libc_fetestexcept_mips): New.
349 (libc_fetestexcept): New.
350 (libc_fetestexceptf): New.
351 (libc_fetestexceptl): New.
353 (libc_feholdexcept_setround_mips_ctx): New.
354 (libc_feholdexcept_setround_ctx): New.
355 (libc_feholdexcept_setroundf_ctx): New.
356 (libc_feholdexcept_setroundl_ctx): New.
357 (libc_fesetenv_mips_ctx): New.
358 (libc_fesetenv_ctx): New.
359 (libc_fesetenv_ctxf): New.
360 (libc_fesetenv_ctxl): New.
361 (libc_feupdateenv_mips_ctx): New.
362 (libc_feupdateenv_ctx): New.
363 (libc_feupdateenvf_ctx): New.
364 (libc_feupdateenvl_ctx): New.
365 (libc_feholdsetround_mips_ctx): New.
366 (libc_feholdsetround_ctx): New.
367 (libc_feholdsetroundf_ctx): New.
368 (libc_feholdsetroundl_ctx): New.
369 (libc_feresetround_mips_ctx): New.
370 (libc_feresetround_ctx): New.
371 (libc_feresetroundf_ctx): New.
372 (libc_feresetroundl_ctx): New.
374 2014-02-26 Carlos O'Donell <carlos@redhat.com>
376 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
378 * manual/ipc.texi: New file.
379 * manual/Makefile (chapters): Add ipc.
380 * manual/job.texi: Add "Inter-Process Communication" to next.
381 * manual/process.texi: Add "Inter-Process Communication" to prev.
383 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
385 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
387 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
389 * malloc/malloc.c (__libc_calloc): Simplify implementation.
391 * manual/arith.texi: Fix spaces after sentences.
392 * manual/charset.texi: Likewise.
393 * manual/errno.texi: Likewise.
394 * manual/install.texi: Likewise.
395 * manual/llio.texi: Likewise.
396 * manual/locale.texi: Likewise.
397 * manual/maint.texi: Likewise.
398 * manual/math.texi: Likewise.
399 * manual/memory.texi: Likewise.
400 * manual/message.texi: Likewise.
401 * manual/probes.texi: Likewise.
402 * manual/resource.texi: Likewise.
403 * manual/signal.texi: Likewise.
404 * manual/socket.texi: Likewise.
405 * manual/stdio.texi: Likewise.
406 * manual/string.texi: Likewise.
407 * manual/time.texi: Likewise.
408 * manual/users.texi: Likewise.
410 2014-02-25 Carlos O'Donell <carlos@redhat.com>
413 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
414 _DEFAULT_SOURCE is defined.
416 2014-02-25 Ulrich Drepper <drepper@gmail.com>
417 Carlos O'Donell <carlos@redhat.com>
420 * elf/dl-tls.c (_dl_count_modids): New function.
421 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
422 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
423 audit library and increment generation counter.
424 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
425 * elf/tst-audit9.c: New file.
426 * elf/tst-auditmod9a.c: New file.
427 * elf/tst-auditmod9b.c: New file.
428 * elf/Makefile: Add rules to build and run tst-audit9.
430 2014-02-25 Florian Weimer <fweimer@redhat.com>
433 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
435 2014-02-25 Will Newton <will.newton@linaro.org>
437 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
438 (__longjmp): Restore sp and lr before restoring callee
439 saved registers. Add longjmp and longjmp_target
440 SystemTap probe point.
441 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
442 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
443 Define to zero to match jmpbuf layout.
444 * sysdeps/arm/setjmp.S: Include stap-probe.h.
445 (__sigsetjmp): Save sp and lr before saving callee
446 saved registers. Add setjmp SystemTap probe point.
448 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
450 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
452 2014-02-24 Andreas Schwab <schwab@suse.de>
455 * elf/pldd.c (wait_for_ptrace_stop): New function.
456 (main): Call it after attaching.
458 2014-02-22 Roland McGrath <roland@hack.frob.com>
460 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
461 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
462 Versions files is now verboten.
463 * hurd/Versions (libc: GLIBC_2.0):
464 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
465 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
466 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
467 * mach/Versions: Likewise.
469 * csu/Versions: Remove unused %include.
470 * resolv/Versions: Likewise.
472 2014-02-21 Joseph Myers <joseph@codesourcery.com>
474 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
475 ($(objpfx)check-local-headers.out): Likewise.
476 ($(objpfx)begin-end-check.out): Likewise.
477 * Makerules (check-abi-%.out): Likewise.
478 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
479 ($(objpfx)test2.cat): Likewise.
480 ($(objpfx)de/libc.cat): Likewise.
481 ($(objpfx)test-gencat.out): Likewise.
482 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
483 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
484 ($(objpfx)noload-mem): Likewise.
485 ($(objpfx)tst-pathopt.out): Likewise.
486 ($(objpfx)tst-rtld-load-self.out): Likewise.
487 ($(objpfx)tst-array1-cmp.out): Likewise.
488 ($(objpfx)tst-array1-static-cmp.out): Likewise.
489 ($(objpfx)tst-array2-cmp.out): Likewise.
490 ($(objpfx)tst-array3-cmp.out): Likewise.
491 ($(objpfx)tst-array4-cmp.out): Likewise.
492 ($(objpfx)tst-array5-cmp.out): Likewise.
493 ($(objpfx)tst-array5-static-cmp.out): Likewise.
494 ($(objpfx)check-textrel.out): Likewise.
495 ($(objpfx)check-execstack.out): Likewise.
496 ($(objpfx)check-localplt.out): Likewise.
497 ($(objpfx)order2-cmp.out): Likewise.
498 ($(objpfx)tst-leaks1-mem): Likewise.
499 ($(objpfx)tst-leaks1-static-mem): Likewise.
500 ($(objpfx)tst-initorder-cmp.out): Likewise.
501 ($(objpfx)tst-initorder2-cmp.out): Likewise.
502 ($(objpfx)tst-unused-dep.out): Likewise.
503 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
504 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
505 * iconv/Makefile (test-iconvconfig): Likewise.
506 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
507 ($(objpfx)iconv-test.out): Likewise.
508 ($(objpfx)tst-tables.out): Likewise.
509 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
510 ($(objpfx)tst-gettext.out): Likewise.
511 ($(objpfx)tst-translit.out): Likewise.
512 ($(objpfx)tst-gettext2.out): Likewise.
513 ($(objpfx)tst-gettext4.out): Likewise.
514 ($(objpfx)tst-gettext6.out): Likewise.
515 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
516 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
517 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
518 ($(objpfx)tst-fopenloc-mem.out): Likewise.
519 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
520 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
521 * posix/Makefile ($(objpfx)globtest.out): Likewise.
522 ($(objpfx)wordexp-tst.out): Likewise.
523 ($(objpfx)annexc.out): Likewise.
524 ($(objpfx)tst-fnmatch-mem): Likewise.
525 ($(objpfx)bug-regex2-mem): Likewise.
526 ($(objpfx)bug-regex14-mem): Likewise.
527 ($(objpfx)bug-regex21-mem): Likewise.
528 ($(objpfx)bug-regex31-mem): Likewise.
529 ($(objpfx)tst-vfork3-mem): Likewise.
530 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
531 ($(objpfx)tst-pcre-mem): Likewise.
532 ($(objpfx)tst-boost-mem): Likewise.
533 ($(objpfx)tst-getconf.out): Likewise.
534 ($(objpfx)bug-ga2-mem): Likewise.
535 ($(objpfx)bug-glob2-mem): Likewise.
536 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
537 ($(objpfx)mtrace-tst-leaks2): Likewise.
538 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
539 ($(objpfx)tst-printf.out): Likewise.
540 ($(objpfx)tst-setvbuf1.out): Likewise.
541 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
542 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
543 ($(objpfx)tst-fmtmsg.out): Likewise.
544 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
545 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
547 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
548 * bits/sigaction.h [__USE_MISC]: Likewise.
549 * bits/waitstatus.h: Update #endif comments.
550 * ctype/ctype.h: Likewise.
551 * dirent/dirent.h: Likewise.
552 [__USE_MISC]: Remove redundant conditionals.
553 * grp/grp.h: Update #endif comments.
554 [__USE_GNU]: Remove redundant conditionals.
555 [__USE_MISC]: Likewise.
556 * inet/netinet/in.h [__USE_GNU]: Likewise.
557 * io/sys/stat.h [__USE_MISC]: Likewise.
558 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
559 * libio/bits/stdio.h: Update #endif comments.
560 [__USE_MISC]: Remove redundant conditionals.
561 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
562 * libio/stdio.h: Update #endif comments.
563 [__USE_MISC]: Remove redundant conditionals.
564 * math/bits/math-finite.h [__USE_MISC]: Likewise.
565 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
566 * math/math.h: Update #else and #endif comments.
567 [__USE_MISC]: Remove redundant conditionals.
568 * misc/sys/uio.h: Update #endif comments.
569 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
570 * posix/glob.h [__USE_MISC]: Likewise.
571 * posix/sys/types.h: Update #endif comments.
572 [__USE_MISC]: Remove redundant conditionals.
573 * posix/sys/wait.h: Update #endif comments.
574 [__USE_MISC]: Remove redundant conditionals.
575 * posix/unistd.h: Update #endif comments.
576 [__USE_MISC]: Remove redundant conditionals.
577 * pwd/pwd.h [__USE_GNU]: Likewise.
578 [__USE_MISC]: Likewise.
579 * resolv/netdb.h [__USE_GNU]: Likewise.
580 * signal/signal.h: Update #endif comments.
581 [__USE_MISC]: Remove redundant conditionals.
582 * stdlib/stdlib.h: Update #else and #endif comments.
583 [__USE_MISC]: Remove redundant conditionals.
584 [__USE_GNU]: Likewise.
585 * string/bits/string2.h [__USE_MISC]: Likewise.
586 * string/string.h: Update #endif comments.
587 [__USE_MISC]: Remove redundant conditionals.
588 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
590 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
591 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
592 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
594 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
596 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
598 [__USE_MISC]: Remove redundant conditionals.
599 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
600 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
601 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
602 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
603 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
605 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
606 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
608 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
609 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
611 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
613 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
614 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
616 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
618 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
619 * sysdeps/x86/bits/string.h: Update #endif comments.
620 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
622 * time/sys/time.h: Update #endif comments.
623 * time/time.h: Likewise.
624 [__USE_MISC]: Remove redundant conditionals.
626 2014-02-21 Yury Gribov <y.gribov@samsung.com>
629 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
631 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
633 * Versions.def (librt): Add GLIBC_2.17.
635 2014-02-21 Adam Conrad <adconrad@0c3.net>
637 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
638 synonym for _SYS_AUXV_H to allow direct inclusion.
639 * sysdeps/sparc/bits/hwcap.h: Likewise.
640 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
641 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
642 * sysdeps/sparc/sysdep.h: Likewise.
644 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
646 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
648 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
650 * benchtests/bench-strrchr.c: Print length instead of position.
652 2014-02-20 Joseph Myers <joseph@codesourcery.com>
655 * sysdeps/unix/sysv/linux/kernel-features.h
656 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
657 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
658 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
659 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
661 [__i386__ || __powerpc__ || __sh__ || __sparc__]
662 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
663 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
664 (__ASSUME_SENDMMSG): Define instead of using previous
665 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
666 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
667 (__ASSUME_SENDMMSG_SYSCALL): Define.
668 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
669 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
671 * sysdeps/unix/sysv/linux/arm/kernel-features.h
672 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
674 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
675 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
677 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
678 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
679 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
680 [__ASSUME_SENDMMSG]: Change conditionals to
681 [__ASSUME_SENDMMSG_SOCKETCALL].
682 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
683 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
685 * sysdeps/unix/sysv/linux/mips/kernel-features.h
686 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
688 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
689 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
690 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
691 [!__ASSUME_SENDMMSG]: Change conditional to
692 [!__ASSUME_SENDMMSG_SOCKETCALL].
693 * sysdeps/unix/sysv/linux/tile/kernel-features.h
694 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
698 * sysdeps/unix/sysv/linux/kernel-features.h
699 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
700 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
701 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
702 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
703 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
704 [__i386__ || __sparc__]
705 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
706 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
707 (__ASSUME_RECVMMSG): Define instead of using previous
708 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
709 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
710 (__ASSUME_RECVMMSG_SYSCALL): Define.
711 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
712 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
714 * sysdeps/unix/sysv/linux/arm/kernel-features.h
715 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
717 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
718 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
720 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
721 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
722 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
723 [__ASSUME_RECVMMSG]: Change condition to
724 [__ASSUME_RECVMMSG_SOCKETCALL].
725 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
726 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
728 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
729 * sysdeps/unix/sysv/linux/mips/kernel-features.h
730 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
732 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
733 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
734 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
735 [!__ASSUME_RECVMMSG]: Change condition to
736 [!__ASSUME_RECVMMSG_SOCKETCALL].
737 * sysdeps/unix/sysv/linux/tile/kernel-features.h
738 (__ASSUME_RECVMMSG_SYSCALL): Define.
741 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
742 __powerpc__ || __s390__ || __sh__ || __sparc__]
743 (__ASSUME_SOCKETCALL): Define.
744 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
745 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
746 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
747 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
748 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
749 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
750 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
751 (__ASSUME_ACCEPT4): Define instead of using previous
752 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
753 __powerpc__ || __sparc__ || __s390__)] condition.
754 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
755 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
756 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
757 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
758 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
759 [!__ASSUME_ACCEPT4]: Change condition to
760 [!__ASSUME_ACCEPT4_SOCKETCALL].
761 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
762 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
763 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
764 * sysdeps/unix/sysv/linux/arm/kernel-features.h
765 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
766 __ASSUME_ACCEPT4_SYSCALL.
767 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
768 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
769 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
770 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
771 __ASSUME_ACCEPT4_SYSCALL.
772 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
773 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
774 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
775 [__ASSUME_ACCEPT4]: Change condition to
776 [__ASSUME_ACCEPT4_SOCKETCALL].
777 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
778 (__ASSUME_SOCKETCALL): Define.
779 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
780 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
781 (__ASSUME_SOCKETCALL): Define.
782 (__ASSUME_ACCEPT4): Remove.
783 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
785 * sysdeps/unix/sysv/linux/mips/kernel-features.h
786 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
788 * sysdeps/unix/sysv/linux/tile/kernel-features.h
789 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
791 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
793 (HWCAP_ARM_LPAE): Likewise.
794 (HWCAP_ARM_EVTSTRM): Likewise.
795 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
796 Add vpfd32, lpae and evtstrm.
797 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
800 2014-02-19 Joseph Myers <joseph@codesourcery.com>
802 * math/auto-libm-test-in: Add tests of clog10.
803 * math/auto-libm-test-out: Regenerated.
804 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
805 * sysdeps/i386/fpu/libm-test-ulps: Update.
806 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
808 2014-02-18 Andreas Schwab <schwab@suse.de>
811 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
812 Store non-zero if the second buffer was newly allocated.
814 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
815 to send_vc and send_dg.
816 (res_nsend): Pass NULL for ansp2_malloced.
817 * resolv/res_query.c (__libc_res_nquery): Add parameter
818 answerp2_malloced and pass it down to __libc_res_nsend.
819 (res_nquery): Pass additional NULL to __libc_res_nquery.
820 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
821 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
822 second answer buffer if answerp2_malloced was set.
823 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
824 (__libc_res_nquerydomain): Add parameter
825 answerp2_malloced and pass it down to __libc_res_nquery.
826 (res_nquerydomain): Pass additional NULL to
827 __libc_res_nquerydomain.
828 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
829 additional NULL to __libc_res_nsend and __libc_res_nquery.
830 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
831 additional NULL to __libc_res_nsearch.
832 (_nss_dns_gethostbyname4_r): Revert last change. Use new
833 parameter of __libc_res_nsearch to check for separately allocated
835 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
837 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
838 additional NULL to __libc_res_nquery.
839 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
841 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
842 * include/resolv.h: Update prototypes of __libc_res_nquery,
843 __libc_res_nsearch, __libc_res_nsend.
845 2014-02-18 Joseph Myers <joseph@codesourcery.com>
847 * math/auto-libm-test-in: Add tests of fma.
848 * math/auto-libm-test-out: Regenerated.
849 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
850 (fma_towardzero_test_data): Likewise.
851 (fma_downward_test_data): Likewise.
852 (fma_upward_test_data): Likewise.
853 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
855 (rounding_modes): Add values for new field.
856 (func_calc_method): Add value mpfr_fff_f.
857 (func_calc_desc): Add mpfr_fff_f union field.
858 (test_function): Add field exact_args.
859 (FUNC): Add macro argument EXACT_ARGS.
860 (FUNC_mpfr_f_f): Update call to FUNC.
861 (FUNC_mpfr_f_f): Likewise.
862 (FUNC_mpfr_ff_f): Likewise.
863 (FUNC_mpfr_if_f): Likewise.
864 (FUNC_mpc_c_f): Likewise.
865 (FUNC_mpc_c_c): Likewise.
866 (test_functions): Add fma. Update calls to FUNC.
867 (handle_input_arg): Add argument exact_args.
868 (add_test): Update call to handle_input_arg.
869 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
870 (output_for_one_input_case): Update call to calc_generic_results.
871 Recalculate exact zero results in each rounding mode.
873 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
874 non-negative before setting low bit.
875 * math/auto-libm-test-in: Mark one asin test possibly having
877 * math/auto-libm-test-out: Regenerated.
878 * sysdeps/i386/fpu/libm-test-ulps: Update.
879 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
881 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
883 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
884 * sysdeps/unix/sysv/linux/microblaze: Move directory from
885 ports/sysdeps/unix/sysv/linux/microblaze.
886 * README: Add missing listing for microblaze*-*-linux-gnu.
888 2014-02-16 Mike Frysinger <vapier@gentoo.org>
890 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
891 * sysdeps/unix/sysv/linux/ia64: Move directory from
892 ports/sysdeps/unix/sysv/linux/ia64.
893 * README: Update listing for ia64-*-linux-gnu.
895 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
896 Joseph Myers <joseph@codesourcery.com>
898 * Makeconfig (test-name): New variable.
899 (evaluate-test): Likewise.
900 * Makerules (do-test-clean): Remove .test-result files.
901 (common-mostlyclean): Likewise.
902 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
903 * scripts/evaluate-test.sh: New file.
905 2014-02-14 Joseph Myers <joseph@codesourcery.com>
907 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
908 separate $(objpfx)tst-fopenloc-cmp.out and
909 $(objpfx)tst-fopenloc-mem.out targets.
910 (tests): Update dependencies.
911 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
912 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
913 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
914 (tst-rxspencer-no-utf8-ARGS): New variable.
915 (tst-rxspencer-no-utf8-ENV): Likewise.
916 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
917 instead of $(objpfx)tst-rxspencer-mem.
918 ($(objpfx)tst-rxspencer-mem): Change target to
919 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
920 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
921 * posix/tst-rxspencer-no-utf8.c: New file.
923 * elf/Makefile ($(objpfx)order.out): Remove rule.
924 [$(run-built-tests) = yes] (tests): Depend on
925 $(objpfx)order-cmp.out.
926 ($(objpfx)order-cmp.out): New rule.
927 [$(run-built-tests) = yes] (tests): Depend on
928 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
929 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
930 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
931 $(objpfx)tst-array5-static-cmp.out.
932 ($(objpfx)tst-array1.out): Remove rule.
933 ($(objpfx)tst-array1-cmp.out): New rule.
934 ($(objpfx)tst-array1-static.out): Remove rule.
935 ($(objpfx)tst-array1-static-cmp.out): New rule.
936 ($(objpfx)tst-array2.out): Remove rule.
937 ($(objpfx)tst-array2-cmp.out): New rule.
938 ($(objpfx)tst-array3.out): Remove rule.
939 ($(objpfx)tst-array3-cmp.out): New rule.
940 ($(objpfx)tst-array4.out): Remove rule.
941 ($(objpfx)tst-array4-cmp.out): New rule.
942 ($(objpfx)tst-array5.out): Remove rule.
943 ($(objpfx)tst-array5-cmp.out): New rule.
944 ($(objpfx)tst-array5-static.out): Remove rule.
945 ($(objpfx)tst-array5-static-cmp.out): New rule.
946 [$(run-built-tests) = yes] (tests): Depend on
947 $(objpfx)order2-cmp.out.
948 ($(objpfx)order2.out): Remove rule.
949 ($(objpfx)order2-cmp.out): New rule.
950 ($(objpfx)tst-initorder.out): Remove rule.
951 [$(run-built-tests) = yes] (tests): Depend on
952 $(objpfx)tst-initorder-cmp.out.
953 ($(objpfx)tst-initorder-cmp.out): New rule.
954 ($(objpfx)tst-initorder2.out): Remove rule.
955 [$(run-built-tests) = yes] (tests): Depend on
956 $(objpfx)tst-initorder2-cmp.out.
957 ($(objpfx)tst-initorder2-cmp.out): New rule.
958 [$(run-built-tests) = yes] (tests): Depend on
959 $(objpfx)tst-unused-dep-cmp.out.
960 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
961 ($(objpfx)tst-unused-dep-cmp.out): New rule.
962 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
963 on $(objpfx)tst-setvbuf1-cmp.out.
964 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
965 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
966 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
967 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
968 ($(objpfx)tst-svc.out): Remove rule.
969 ($(objpfx)tst-svc-cmp.out): New rule.
971 2014-02-13 Joseph Myers <joseph@codesourcery.com>
973 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
974 * ctype/ctype.h [__USE_MISC]: Likewise.
975 * dirent/dirent.h [__USE_MISC]: Likewise.
976 * grp/grp.h [__USE_MISC]: Likewise.
977 * io/fcntl.h [__USE_MISC]: Likewise.
978 * io/sys/stat.h [__USE_MISC]: Likewise.
979 * libio/stdio.h [__USE_MISC]: Likewise.
980 * posix/unistd.h [__USE_MISC]: Likewise.
981 * pwd/pwd.h [__USE_MISC]: Likewise.
982 * stdlib.h [__USE_MISC]: Likewise.
983 * string/bits/string2.h [__USE_MISC]: Likewise.
984 * string/string.h [__USE_MISC]: Likewise.
985 * time/time.h [__USE_MISC]: Likewise.
987 2014-02-13 Andreas Schwab <schwab@suse.de>
990 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
991 second answer buffer if it was separately allocated.
993 2014-02-12 Joseph Myers <joseph@codesourcery.com>
995 * sysdeps/mips/math-tests.h: Include <features.h>.
996 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
997 (ROUNDING_TESTS_long_double): Do not define.
998 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
999 (EXCEPTION_TESTS_long_double): Likewise.
1000 * sysdeps/mips/mips64/libm-test-ulps: Update.
1002 * include/features.h (__USE_BSD): Remove macro definitions.
1003 (__USE_SVID): Likewise.
1004 (_BSD_SOURCE): Likewise.
1005 (_SVID_SOURCE): Likewise.
1006 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
1007 from definition of _DEFAULT_SOURCE.
1008 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
1010 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
1011 * bits/mman.h [__USE_BSD]: Likewise.
1012 * bits/termios.h [__USE_BSD]: Likewise.
1013 * bits/waitstatus.h [__USE_BSD]: Likewise.
1014 * ctype/ctype.h [__USE_SVID]: Likewise.
1015 * dirent/dirent.h [__USE_BSD]: Likewise.
1016 * grp/grp.h [__USE_SVID]: Likewise.
1017 [__USE_BSD]: Likewise.
1018 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
1019 * io/fcntl.h [__USE_BSD]: Likewise.
1020 * io/ftw.h [__USE_BSD]: Likewise.
1021 * io/sys/stat.h [__USE_BSD]: Likewise.
1022 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
1023 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
1024 * libio/stdio.h [__USE_SVID]: Likewise.
1025 [__USE_BSD]: Likewise.
1026 * math/math.h [__USE_SVID]: Likewise.
1027 [__USE_BSD]: Likewise.
1028 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
1029 * misc/bits/syslog.h [__USE_BSD]: Likewise.
1030 * misc/search.h [__USE_SVID]: Likewise.
1031 * misc/sys/mman.h [__USE_BSD]: Likewise.
1032 * misc/sys/syslog.h [__USE_BSD]: Likewise.
1033 * misc/sys/uio.h [__USE_BSD]: Likewise.
1034 * posix/bits/unistd.h [__USE_BSD]: Likewise.
1035 * posix/glob.h [__USE_BSD]: Likewise.
1036 * posix/regex.h [__USE_BSD]: Likewise.
1037 * posix/sys/types.h [__USE_BSD]: Likewise.
1038 [__USE_SVID]: Likewise.
1039 * posix/sys/utsname.h [__USE_SVID]: Likewise.
1040 * posix/sys/wait.h [__USE_BSD]: Likewise.
1041 [__USE_SVID]: Likewise.
1042 * posix/unistd.h [__USE_BSD]: Likewise.
1043 [__USE_SVID]: Likewise.
1044 * pwd/pwd.h [__USE_SVID]: Likewise.
1045 * resolv/netdb.h [__USE_BSD]: Likewise.
1046 * setjmp/setjmp.h [__USE_BSD]: Likewise.
1047 * signal/signal.h [__USE_BSD]: Likewise.
1048 [__USE_SVID]: Likewise.
1049 * socket/sys/socket.h [__USE_BSD]: Likewise.
1050 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
1051 * stdlib/stdlib.h [__USE_BSD]: Likewise.
1052 [__USE_SVID]: Likewise.
1053 * string/bits/string2.h [__USE_BSD]: Likewise.
1054 [__USE_SVID]: Likewise.
1055 * string/bits/string3.h [__USE_BSD]: Likewise.
1056 * string/endian.h [__USE_BSD]: Likewise.
1057 * string/string.h [__USE_SVID]: Likewise.
1058 [__USE_BSD]: Likewise.
1059 * string/strings.h [__USE_BSD]: Likewise.
1060 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
1061 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
1062 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
1063 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
1064 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
1065 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
1067 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
1069 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
1070 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
1072 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
1073 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
1075 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
1077 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
1078 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
1079 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
1081 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
1083 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
1084 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
1085 * termios/termios.h [__USE_BSD]: Likewise.
1086 * time/sys/time.h [__USE_BSD]: Likewise.
1087 * time/time.h [__USE_BSD]: Likewise.
1088 [__USE_SVID]: Likewise.
1090 * Makefile (subdir_targets): Remove subdir_lint.out.
1092 * stdio-common/Makefile (do-tst-unbputc): Remove target.
1093 (do-tst-printf): Likewise.
1094 (tests): Depend directly on $(objpfx)tst-unbputc.out and
1095 $(objpfx)tst-printf.out.
1097 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
1099 * Makerules (check-abi-%): Change target to
1100 $(objpfx)check-abi-%.out.
1101 (check-abi target): Update dependencies.
1102 (check-abi-pattern variable): Redirect output of diff to $@.
1103 (check-abi variable): Likewise.
1104 * elf/Makefile (check-abi): Update dependencies.
1106 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
1108 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
1109 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
1111 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
1112 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
1113 value has largest subnormal exponent.
1114 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
1115 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
1116 * sysdeps/aarch64/soft-fp/sfp-machine.h
1117 (_FP_TININESS_AFTER_ROUNDING): New macro.
1118 * sysdeps/alpha/soft-fp/sfp-machine.h
1119 (_FP_TININESS_AFTER_ROUNDING): Likewise.
1120 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
1122 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
1123 (_FP_TININESS_AFTER_ROUNDING): Likewise.
1124 * sysdeps/mips/soft-fp/sfp-machine.h
1125 (_FP_TININESS_AFTER_ROUNDING): Likewise.
1126 * sysdeps/powerpc/soft-fp/sfp-machine.h
1127 (_FP_TININESS_AFTER_ROUNDING): Likewise.
1128 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
1130 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
1131 (_FP_TININESS_AFTER_ROUNDING): Likewise.
1132 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
1133 (_FP_TININESS_AFTER_ROUNDING): Likewise.
1134 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
1137 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
1140 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
1143 2014-02-12 Richard Henderson <rth@redhat.com>
1145 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
1146 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
1147 * sysdeps/unix/sysv/linux/alpha: Move directory from
1148 ports/sysdeps/unix/sysv/linux/alpha.
1149 * README: Update listing for alpha-*-linux-gnu.
1151 2014-02-11 Joseph Myers <joseph@codesourcery.com>
1153 * include/features.h: Update comment documenting feature test
1155 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
1157 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
1158 (_SVID_SOURCE): Likewise.
1159 (_DEFAULT_SOURCE): Update description of default features.
1160 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
1162 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
1163 (S_ISVTX): Likewise.
1164 * manual/math.texi (Mathematical Constants): Likewise.
1165 * manual/signal.texi (Interrupted Primitives): Likewise.
1166 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
1167 * math/test-matherr.c (_SVID_SOURCE): Do not define.
1168 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
1169 Don't refer to _SVID_SOURCE in warning text.
1171 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1173 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
1175 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
1176 * sysdeps/mips/dl-lookup.c: Remove.
1177 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
1179 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
1182 * math/auto-libm-test-in: Add testcase for expl.
1183 * math/auto-libm-test-out: Regenerate.
1184 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
1185 calculation of unsafe.
1186 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
1188 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
1190 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
1191 * sysdeps/unix/sysv/linux/aarch64: Move directory from
1192 ports/sysdeps/unix/sysv/linux/aarch64.
1193 * README: Update listing for aarch64*-*-linux-gnu.
1195 2014-02-11 Will Newton <will.newton@linaro.org>
1197 * manual/probes.texi (Mathematical Function Probes): Use
1198 "triggered" instead of "hit".
1200 2014-02-11 Will Newton <will.newton@linaro.org>
1202 * manual/probes.texi (Internal Probes): Add documentation
1203 of setjmp, longjmp and longjmp_target probes.
1205 2014-02-11 Will Newton <will.newton@linaro.org>
1207 * include/stap-probe.h: Add comment about probe argument
1210 2014-02-11 Will Newton <will.newton@linaro.org>
1212 * malloc/mtrace.c (attribute_hidden): Remove unused macro
1213 definition. (tr_where, tr_freehook, tr_mallochook,
1214 tr_reallochook, tr_memalignhook): Use ANSI protoype.
1216 2014-02-11 David S. Miller <davem@davemloft.net>
1218 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
1219 processing int_tests.
1221 2014-02-10 Joseph Myers <joseph@codesourcery.com>
1223 * sysdeps/mips: Move directory from ports/sysdeps/mips.
1224 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
1225 * sysdeps/unix/sysv/linux/mips: Move directory from
1226 ports/sysdeps/unix/sysv/linux/mips.
1227 * README: Update listing for mips-*-linux-gnu and
1230 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
1232 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
1233 * sysdeps/unix/sysv/linux/m68k: Move directory from
1234 ports/sysdeps/unix/sysv/linux/m68k.
1235 * README: Update listing for m68k-*-linux-gnu.
1237 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
1239 * sysdeps/tile: Move directory from ports/sysdeps/tile.
1240 * sysdeps/unix/sysv/linux/generic: Move directory from
1241 ports/sysdeps/unix/sysv/linux/generic.
1242 * sysdeps/unix/sysv/linux/tile: Move directory from
1243 ports/sysdeps/unix/sysv/linux/tile.
1244 * README: Update listing for tile*-*-linux-gnu.
1246 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
1248 * assert/assert.c (__assert_fail_base): Use glibc_likely instead __builtin_expect.
1249 * benchtests/bench-memmem.c (simple_memmem): Likewise.
1250 * catgets/open_catalog.c (__open_catalog): Likewise.
1251 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
1252 * debug/confstr_chk.c: Likewise.
1253 * debug/fread_chk.c (__fread_chk): Likewise.
1254 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
1255 * debug/getgroups_chk.c: Likewise.
1256 * debug/mbsnrtowcs_chk.c: Likewise.
1257 * debug/mbsrtowcs_chk.c: Likewise.
1258 * debug/mbstowcs_chk.c: Likewise.
1259 * debug/memcpy_chk.c: Likewise.
1260 * debug/memmove_chk.c: Likewise.
1261 * debug/mempcpy_chk.c: Likewise.
1262 * debug/memset_chk.c: Likewise.
1263 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
1264 * debug/strcat_chk.c (__strcat_chk): Likewise.
1265 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
1266 * debug/strncat_chk.c (__strncat_chk): Likewise.
1267 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
1268 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
1269 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
1270 * debug/wcpncpy_chk.c: Likewise.
1271 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
1272 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
1273 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
1274 * debug/wcsncpy_chk.c: Likewise.
1275 * debug/wcsnrtombs_chk.c: Likewise.
1276 * debug/wcsrtombs_chk.c: Likewise.
1277 * debug/wcstombs_chk.c: Likewise.
1278 * debug/wmemcpy_chk.c: Likewise.
1279 * debug/wmemmove_chk.c: Likewise.
1280 * debug/wmempcpy_chk.c: Likewise.
1281 * debug/wmemset_chk.c: Likewise.
1282 * dirent/scandirat.c (SCANDIRAT): Likewise.
1283 * dlfcn/dladdr1.c (dladdr1): Likewise.
1284 * dlfcn/dladdr.c (dladdr): Likewise.
1285 * dlfcn/dlclose.c (dlclose_doit): Likewise.
1286 * dlfcn/dlerror.c (__dlerror): Likewise.
1287 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
1288 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
1289 * dlfcn/dlopen.c (dlopen_doit): Likewise.
1290 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
1291 * dlfcn/dlsym.c (dlsym_doit): Likewise.
1292 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
1293 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
1294 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
1296 * elf/dl-conflict.c: Likewise.
1297 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
1298 * elf/dl-dst.h: Likewise.
1299 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
1300 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
1301 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
1302 * elf/dl-init.c (call_init, _dl_init): Likewise.
1303 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
1304 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths,
1305 _dl_map_object_from_fd, open_verify, open_path,
1306 _dl_map_object): Likewise.
1307 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
1309 * elf/dl-minimal.c (__libc_memalign): Likewise.
1310 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
1311 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
1312 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
1313 * elf/dl-sym.c (do_sym): Likewise.
1314 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr, __tls_get_addr,
1315 _dl_tls_get_addr_soft): Likewise.
1316 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
1317 * elf/dl-writev.h (_dl_writev): Likewise.
1318 * elf/ldconfig.c (search_dir): Likewise.
1319 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload,
1321 * elf/setup-vdso.h (setup_vdso): Likewise.
1322 * grp/compat-initgroups.c (compat_call): Likewise.
1323 * grp/fgetgrent.c (fgetgrent): Likewise.
1324 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
1325 * grp/putgrent.c (putgrent): Likewise.
1326 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
1328 * hurd/hurdinit.c: Likewise.
1329 * iconvdata/8bit-gap.c (struct): Likewise.
1330 * iconvdata/ansi_x3.110.c : Likewise.
1331 * iconvdata/big5.c : Likewise.
1332 * iconvdata/big5hkscs.c : Likewise.
1333 * iconvdata/cp1255.c: Likewise.
1334 * iconvdata/cp1258.c : Likewise.
1335 * iconvdata/cp932.c : Likewise.
1336 * iconvdata/euc-cn.c: Likewise.
1337 * iconvdata/euc-jisx0213.c : Likewise.
1338 * iconvdata/euc-jp.c: Likewise.
1339 * iconvdata/euc-jp-ms.c : Likewise.
1340 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
1341 * iconvdata/gb18030.c : Likewise.
1342 * iconvdata/gbbig5.c (const): Likewise.
1343 * iconvdata/gbgbk.c: Likewise.
1344 * iconvdata/gbk.c : Likewise.
1345 * iconvdata/ibm1364.c : Likewise.
1346 * iconvdata/ibm930.c : Likewise.
1347 * iconvdata/ibm932.c: Likewise.
1348 * iconvdata/ibm933.c : Likewise.
1349 * iconvdata/ibm935.c : Likewise.
1350 * iconvdata/ibm937.c : Likewise.
1351 * iconvdata/ibm939.c : Likewise.
1352 * iconvdata/ibm943.c: Likewise.
1353 * iconvdata/iso_11548-1.c: Likewise.
1354 * iconvdata/iso-2022-cn.c : Likewise.
1355 * iconvdata/iso-2022-cn-ext.c : Likewise.
1356 * iconvdata/iso-2022-jp-3.c: Likewise.
1357 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
1358 * iconvdata/iso-2022-kr.c : Likewise.
1359 * iconvdata/iso646.c (gconv_end): Likewise.
1360 * iconvdata/iso_6937-2.c : Likewise.
1361 * iconvdata/iso_6937.c : Likewise.
1362 * iconvdata/iso8859-1.c: Likewise.
1363 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
1364 * iconvdata/shift_jisx0213.c : Likewise.
1365 * iconvdata/sjis.c : Likewise.
1366 * iconvdata/t.61.c : Likewise.
1367 * iconvdata/tcvn5712-1.c : Likewise.
1368 * iconvdata/tscii.c: Likewise.
1369 * iconvdata/uhc.c : Likewise.
1370 * iconvdata/unicode.c (gconv_end): Likewise.
1371 * iconvdata/utf-16.c (gconv_end): Likewise.
1372 * iconvdata/utf-32.c (gconv_end): Likewise.
1373 * iconvdata/utf-7.c (base64): Likewise.
1374 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
1375 * iconv/gconv_close.c (__gconv_close): Likewise.
1376 * iconv/gconv_open.c (__gconv_open): Likewise.
1377 * iconv/gconv_simple.c (internal_ucs4_loop_single, ucs4_internal_loop,
1378 ucs4_internal_loop_unaligned, ucs4_internal_loop_single,
1379 internal_ucs4le_loop_single, ucs4le_internal_loop,
1380 ucs4le_internal_loop_unaligned, ucs4le_internal_loop_single): Likewise.
1381 * iconv/iconv.c (iconv): Likewise.
1382 * iconv/iconv_close.c: Likewise.
1383 * iconv/loop.c (SINGLE): Likewise.
1384 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
1385 * include/atomic.h: Likewise.
1386 * inet/inet6_option.c (option_alloc): Likewise.
1387 * intl/bindtextdom.c (set_binding_values): Likewise.
1388 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
1389 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
1390 * intl/localealias.c (read_alias_file): Likewise.
1391 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
1392 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap,
1393 _IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
1394 * libio/fmemopen.c (fmemopen): Likewise.
1395 * libio/iofgets.c (_IO_fgets): Likewise.
1396 * libio/iofgets_u.c (fgets_unlocked): Likewise.
1397 * libio/iofgetws.c (fgetws): Likewise.
1398 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
1399 * libio/iogetdelim.c (_IO_getdelim): Likewise.
1400 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap,
1401 adjust_wide_data, _IO_wfile_seekoff): Likewise.
1402 * locale/findlocale.c (_nl_find_locale): Likewise.
1403 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
1404 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
1406 * locale/setlocale.c (setlocale): Likewise.
1407 * login/programs/pt_chown.c (main): Likewise.
1408 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
1409 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
1410 * malloc/memusage.c (update_data, malloc, realloc, calloc, free,
1411 mmap, mmap64, mremap, munmap): Likewise.
1412 * math/e_exp2l.c: Likewise.
1413 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
1414 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
1415 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
1416 * math/s_catan.c (__catan): Likewise.
1417 * math/s_catanf.c (__catanf): Likewise.
1418 * math/s_catanh.c (__catanh): Likewise.
1419 * math/s_catanhf.c (__catanhf): Likewise.
1420 * math/s_catanhl.c (__catanhl): Likewise.
1421 * math/s_catanl.c (__catanl): Likewise.
1422 * math/s_ccosh.c (__ccosh): Likewise.
1423 * math/s_ccoshf.c (__ccoshf): Likewise.
1424 * math/s_ccoshl.c (__ccoshl): Likewise.
1425 * math/s_cexp.c (__cexp): Likewise.
1426 * math/s_cexpf.c (__cexpf): Likewise.
1427 * math/s_cexpl.c (__cexpl): Likewise.
1428 * math/s_clog10.c (__clog10): Likewise.
1429 * math/s_clog10f.c (__clog10f): Likewise.
1430 * math/s_clog10l.c (__clog10l): Likewise.
1431 * math/s_clog.c (__clog): Likewise.
1432 * math/s_clogf.c (__clogf): Likewise.
1433 * math/s_clogl.c (__clogl): Likewise.
1434 * math/s_csin.c (__csin): Likewise.
1435 * math/s_csinf.c (__csinf): Likewise.
1436 * math/s_csinh.c (__csinh): Likewise.
1437 * math/s_csinhf.c (__csinhf): Likewise.
1438 * math/s_csinhl.c (__csinhl): Likewise.
1439 * math/s_csinl.c (__csinl): Likewise.
1440 * math/s_csqrt.c (__csqrt): Likewise.
1441 * math/s_csqrtf.c (__csqrtf): Likewise.
1442 * math/s_csqrtl.c (__csqrtl): Likewise.
1443 * math/s_ctan.c (__ctan): Likewise.
1444 * math/s_ctanf.c (__ctanf): Likewise.
1445 * math/s_ctanh.c (__ctanh): Likewise.
1446 * math/s_ctanhf.c (__ctanhf): Likewise.
1447 * math/s_ctanhl.c (__ctanhl): Likewise.
1448 * math/s_ctanl.c (__ctanl): Likewise.
1449 * math/w_pow.c: Likewise.
1450 * math/w_powf.c: Likewise.
1451 * math/w_powl.c: Likewise.
1452 * math/w_scalb.c (sysv_scalb): Likewise.
1453 * math/w_scalbf.c (sysv_scalbf): Likewise.
1454 * math/w_scalbl.c (sysv_scalbl): Likewise.
1455 * misc/error.c (error_tail): Likewise.
1456 * misc/pselect.c (__pselect): Likewise.
1457 * nis/nis_callback.c (__nis_create_callback): Likewise.
1458 * nis/nis_call.c (__nisfind_server): Likewise.
1459 * nis/nis_creategroup.c (nis_creategroup): Likewise.
1460 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
1461 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
1462 * nis/nis_getservlist.c (nis_getservlist): Likewise.
1463 * nis/nis_lookup.c (nis_lookup): Likewise.
1464 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
1465 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry,
1466 nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
1467 * nis/nis_xdr.c (xdr_endpoint): Likewise.
1468 * nis/nss_compat/compat-grp.c (getgrent_next_file, internal_getgrnam_r,
1469 internal_getgrgid_r): Likewise.
1470 * nis/nss_compat/compat-initgroups.c (add_group, internal_getgrent_r):
1472 * nis/nss_compat/compat-pwd.c (getpwent_next_file, internal_getpwnam_r,
1473 internal_getpwuid_r): Likewise.
1474 * nis/nss_compat/compat-spwd.c (getspent_next_file,
1475 internal_getspnam_r): Likewise.
1476 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r,
1477 _nss_nis_getaliasbyname_r): Likewise.
1478 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r,
1479 _nss_nis_getntohost_r): Likewise.
1480 * nis/nss_nis/nis-grp.c (internal_nis_setgrent,
1481 internal_nis_getgrent_r, _nss_nis_getgrnam_r, _nss_nis_getgrgid_r):
1483 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent,
1484 internal_nis_gethostent_r, internal_gethostbyname2_r,
1485 _nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r,
1486 _nss_nis_gethostbyname4_r): Likewise.
1487 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r,
1488 initgroups_netid): Likewise.
1489 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
1490 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r,
1491 _nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
1492 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r,
1493 _nss_nis_getprotobynumber_r): Likewise.
1494 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey,
1495 _nss_nis_getsecretkey): Likewise.
1496 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent,
1497 internal_nis_getpwent_r, _nss_nis_getpwnam_r, _nss_nis_getpwuid_r):
1499 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r,
1500 _nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
1501 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r,
1502 _nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
1503 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent, internal_nis_getspent_r,
1504 _nss_nis_getspnam_r): Likewise.
1505 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
1507 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r,
1508 _nss_nisplus_getntohost_r): Likewise.
1509 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r,
1510 _nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
1511 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r,
1512 _nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r): Likewise.
1513 * nis/nss_nisplus/nisplus-initgroups.c (_nss_nisplus_initgroups_dyn):
1515 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r,
1516 _nss_nisplus_getnetbyaddr_r): Likewise.
1517 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r,
1518 _nss_nisplus_getprotobynumber_r): Likewise.
1519 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r,
1520 _nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
1521 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
1523 * nis/nss_nisplus/nisplus-service.c (internal_nisplus_getservent_r,
1524 _nss_nisplus_getservbyname_r, _nss_nisplus_getservbyport_r): Likewise.
1525 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r,
1526 _nss_nisplus_getspnam_r): Likewise.
1527 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist): Likewise.
1528 * nscd/aicache.c (addhstaiX): Likewise.
1529 * nscd/cache.c (cache_search, prune_cache): Likewise.
1530 * nscd/connections.c (register_traced_file, send_ro_fd, handle_request,
1531 nscd_run_prune, nscd_run_worker, fd_ready, main_loop_epoll): Likewise.
1532 * nscd/grpcache.c (addgrbyX): Likewise.
1533 * nscd/hstcache.c (addhstbyX): Likewise.
1534 * nscd/initgrcache.c (addinitgroupsX): Likewise.
1535 * nscd/mem.c (gc, mempool_alloc): Likewise.
1536 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX, addinnetgrX):
1538 * nscd/nscd-client.h (__nscd_acquire_maplock, __nscd_drop_map_ref):
1540 * nscd/nscd_getai.c (__nscd_getai): Likewise.
1541 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
1542 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
1544 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
1545 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
1546 * nscd/nscd_helper.c (__readvall, open_socket,
1547 __nscd_get_mapping, __nscd_get_map_ref): Likewise.
1548 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
1549 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr): Likewise.
1550 * nscd/pwdcache.c (addpwbyX): Likewise.
1551 * nscd/selinux.c (preserve_capabilities): Likewise.
1552 * nscd/servicescache.c (addservbyX): Likewise.
1553 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
1554 * posix/fnmatch.c (fnmatch): Likewise.
1555 * posix/getopt.c (_getopt_internal_r): Likewise.
1556 * posix/glob.c (glob, glob_in_dir): Likewise.
1557 * posix/wordexp.c (exec_comm_child): Likewise.
1558 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r, getanswer_r,
1559 gaih_getanswer_slice): Likewise.
1560 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
1561 * resolv/res_init.c: Likewise.
1562 * resolv/res_mkquery.c (res_nmkquery): Likewise.
1563 * resolv/res_query.c (__libc_res_nquery): Likewise.
1564 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
1566 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
1567 * stdio-common/perror.c (perror): Likewise.
1568 * stdio-common/printf_fp.c (___printf_fp): Likewise.
1569 * stdio-common/tmpnam.c (tmpnam): Likewise.
1570 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
1571 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
1572 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl): Likewise.
1573 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
1574 * stdlib/putenv.c (putenv): Likewise.
1575 * stdlib/setenv.c (__add_to_environ): Likewise.
1576 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
1577 * stdlib/strtol_l.c (INTERNAL): Likewise.
1578 * string/memmem.c (memmem): Likewise.
1579 * string/strerror.c (strerror): Likewise.
1580 * string/strnlen.c (__strnlen): Likewise.
1581 * string/test-memmem.c (simple_memmem): Likewise.
1582 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
1583 * sunrpc/pm_getport.c (__get_socket): Likewise.
1584 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
1585 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
1586 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup,
1587 elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
1589 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
1590 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
1591 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
1592 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
1593 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
1594 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1): Likewise.
1595 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn): Likewise.
1596 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
1597 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
1598 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
1599 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
1600 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
1601 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
1602 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
1603 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
1604 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
1605 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
1606 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
1607 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
1609 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
1611 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
1613 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
1614 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
1615 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
1616 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
1617 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
1618 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
1619 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
1620 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
1621 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
1622 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
1623 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
1624 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
1625 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
1626 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
1627 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1628 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Likewise.
1629 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
1631 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
1633 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
1635 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
1636 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1637 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
1639 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
1640 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
1641 * sysdeps/posix/opendir.c (__opendirat): Likewise.
1642 * sysdeps/posix/sleep.c: Likewise.
1643 * sysdeps/posix/tempname.c: Likewise.
1644 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
1645 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
1647 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_runtime_setup,
1648 elf_machine_rela): Likewise.
1649 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
1650 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
1651 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
1652 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
1654 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
1655 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup,
1656 elf_machine_rela, elf_machine_lazy_rel): Likewise.
1657 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup,
1658 elf_machine_rela, elf_machine_lazy_rel): Likewise.
1659 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
1660 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
1661 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
1662 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
1663 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
1664 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
1665 elf_machine_lazy_rel): Likewise.
1666 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
1667 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
1668 elf_machine_lazy_rel): Likewise.
1669 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
1670 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
1671 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
1672 * sysdeps/unix/grantpt.c (grantpt): Likewise.
1673 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
1674 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
1675 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
1676 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
1678 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
1679 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
1680 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
1681 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
1682 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
1683 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
1684 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
1685 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
1686 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
1687 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
1688 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
1690 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
1691 (__posix_fallocate64_l64): Likewise.
1692 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
1693 (posix_fallocate): Likewise.
1694 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64): Likewise.
1695 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
1696 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request,
1697 getifaddrs_internal): Likewise.
1698 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
1699 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
1700 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
1701 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
1702 * sysdeps/unix/sysv/linux/posix_fallocate64.c
1703 (__posix_fallocate64_l64): Likewise.
1704 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
1706 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
1707 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
1709 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
1710 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
1711 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
1712 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
1713 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
1714 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
1715 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
1716 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
1718 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
1719 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
1720 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
1721 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
1722 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
1723 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
1724 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
1726 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
1727 (posix_fallocate): Likewise.
1728 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
1729 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
1730 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
1731 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup,
1732 elf_machine_rela, elf_machine_rela_relative, elf_machine_lazy_rel):
1734 * time/asctime.c (asctime_internal): Likewise.
1735 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
1736 * time/tzset.c (__tzset_parse_tz): Likewise.
1737 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
1738 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
1739 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
1740 * wcsmbs/wcsmbsload.h: Likewise.
1742 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
1745 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
1747 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
1749 * malloc/arena.c (grow_heap, get_free_list, reused_arena,
1750 arena_get2): Remove THREAD_STATS conditionals.
1751 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free,
1752 __malloc_stats, int): Likewise.
1754 2014-02-08 Mike Frysinger <vapier@gentoo.org>
1756 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
1757 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
1759 2014-02-08 Mike Frysinger <vapier@gentoo.org>
1761 * manual/setjmp.texi: Fix typos/grammar errors.
1763 2014-02-08 Mike Frysinger <vapier@gentoo.org>
1765 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
1766 Only return early when n is <= 0. Delete unused return statement.
1768 2014-02-08 Mike Frysinger <vapier@gentoo.org>
1770 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
1771 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
1772 * debug/tst-longjmp_chk3.c: New file.
1774 2014-02-08 Mike Frysinger <vapier@gentoo.org>
1776 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
1777 (test_main): Replace code with set_fortify_handler call.
1778 * debug/test-strcpy_chk.c: Likewise.
1779 * debug/tst-chk1.c: Likewise.
1780 * debug/tst-longjmp_chk.c: Likewise.
1781 * test-skeleton.c: Include fcntl.h & paths.h
1782 (set_fortify_handler): Define.
1784 2014-02-08 Mike Frysinger <vapier@gentoo.org>
1786 * debug/tst-longjmp_chk.c: Add header comment and include
1788 (do_test): Mark static.
1789 (TEST_FUNCTION): Define.
1791 2014-02-08 Mike Frysinger <vapier@gentoo.org>
1793 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
1794 (IP_PMTUDISC_INTERFACE): Likewise.
1795 (IP_MULTICAST_IF): Likewise.
1796 (IP_MULTICAST_TTL): Likewise.
1797 (IP_MULTICAST_LOOP): Likewise.
1798 (IP_ADD_MEMBERSHIP): Likewise.
1799 (IP_DROP_MEMBERSHIP): Likewise.
1800 (IP_UNBLOCK_SOURCE): Likewise.
1801 (IP_BLOCK_SOURCE): Likewise.
1802 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
1803 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
1804 (IP_MSFILTER): Likewise.
1805 (MCAST_JOIN_GROUP): Likewise.
1806 (MCAST_BLOCK_SOURCE): Likewise.
1807 (MCAST_UNBLOCK_SOURCE): Likewise.
1808 (MCAST_LEAVE_GROUP): Likewise.
1809 (MCAST_JOIN_SOURCE_GROUP): Likewise.
1810 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
1811 (MCAST_MSFILTER): Likewise.
1812 (IP_MULTICAST_ALL): Likewise.
1813 (IP_UNICAST_IF): Likewise.
1815 2014-02-08 Mike Frysinger <vapier@gentoo.org>
1817 * timezone/Makefile: Delete $(have-ksh) check.
1818 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
1819 * timezone/tzselect.ksh: Add +x mode bits.
1821 2014-02-08 Mike Frysinger <vapier@gentoo.org>
1823 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
1824 (ANON_INODE_FS_MAGIC): Likewise.
1825 (BDEVFS_MAGIC): Likewise.
1826 (BINFMTFS_MAGIC): Likewise.
1827 (BTRFS_TEST_MAGIC): Likewise.
1828 (CRAMFS_MAGIC_WEND): Likewise.
1829 (DEBUGFS_MAGIC): Likewise.
1830 (ECRYPTFS_SUPER_MAGIC): Likewise.
1831 (EXT3_SUPER_MAGIC): Likewise.
1832 (EXT4_SUPER_MAGIC): Likewise.
1833 (FUTEXFS_SUPER_MAGIC): Likewise.
1834 (HOSTFS_SUPER_MAGIC): Likewise.
1835 (HUGETLBFS_MAGIC): Likewise.
1836 (MINIX3_SUPER_MAGIC): Likewise.
1837 (MTD_INODE_FS_MAGIC): Likewise.
1838 (NILFS_SUPER_MAGIC): Likewise.
1839 (OPENPROM_SUPER_MAGIC): Likewise.
1840 (PIPEFS_MAGIC): Likewise.
1841 (PSTOREFS_MAGIC): Likewise.
1842 (QNX6_SUPER_MAGIC): Likewise.
1843 (RAMFS_MAGIC): Likewise.
1844 (REISERFS_SUPER_MAGIC_STRING): Likewise.
1845 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
1846 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
1847 (SECURITYFS_MAGIC): Likewise.
1848 (SELINUX_MAGIC): Likewise.
1849 (SMACK_MAGIC): Likewise.
1850 (SOCKFS_MAGIC): Likewise.
1851 (SQUASHFS_MAGIC): Likewise.
1852 (STACK_END_MAGIC): Likewise.
1853 (TMPFS_MAGIC): Likewise.
1854 (USBDEVICE_SUPER_MAGIC): Likewise.
1855 (V9FS_MAGIC): Likewise.
1856 (XENFS_SUPER_MAGIC): Likewise.
1857 (CRAMFS_MAGIC): Fix typo in comment.
1858 (EXT2_SUPER_MAGIC): Update comment.
1859 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
1861 2014-02-08 Joseph Myers <joseph@codesourcery.com>
1863 * sysdeps/arm: Move directory from ports/sysdeps/arm.
1864 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
1865 * sysdeps/unix/sysv/linux/arm: Move directory from
1866 ports/sysdeps/unix/sysv/linux/arm.
1867 * README: Update listing for arm-*-linux-gnueabi.
1869 * README: Remove mention of am33.
1871 2014-02-07 Roland McGrath <roland@hack.frob.com>
1873 * bits/sigset.h (__sigemptyset): Use a statement expression rather
1874 than the comma operator, to avoid "rhs of comma has no effect"
1876 (__sigfillset, __sigandset, __sigorset): Likewise.
1877 * include/signal.h (__sigemptyset): Likewise.
1878 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
1880 2014-02-07 Allan McRae <allan@archlinux.org>
1882 * version.h (RELEASE): Set to "development".
1883 (VERSION): Set to "2.19.90"
1884 * NEWS: Add 2.20 section.
1886 2014-02-06 Carlos O'Donell <carlos@redhat.com>
1889 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
1891 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
1893 * manual/contrib.texi: Update entry for Carlos O'Donell,
1894 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
1896 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
1898 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
1900 * sysdeps/unix/sysv/linux/kernel-features.h
1901 [__LINUX_KERNEL_VERSION >= 0x020621]
1902 (__ASSUME_PROC_PID_TASK_COMM): Define.
1904 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
1907 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
1908 conversion when destination buffer does not have enough space.
1909 * libio/tst-ftell-partial-wide.c: New test case.
1910 * libio/Makefile (tests): Add tst-ftell-partial-wide.
1912 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
1913 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
1914 Leonard and Allan McRae.
1916 2014-02-04 David S. Miller <davem@davemloft.net>
1918 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
1921 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1923 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist: New
1925 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
1927 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist: New
1929 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist: New
1931 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
1933 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist: New
1935 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist: New
1937 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
1939 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
1941 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
1943 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
1945 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
1947 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
1950 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1952 * nptl/shlib-versions: Change powerpc*le start to 2.17.
1953 * shlib-versions: Likewise.
1955 2014-02-04 Roland McGrath <roland@hack.frob.com>
1956 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1958 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
1959 (abilist-pattern): New variable, set to %-le.abilist.
1961 * Makerules (abilist-pattern): New variable.
1962 (vpath): Use $(abilist-pattern) in place of %.abilist.
1963 (check-abi-% pattern rule): Likewise.
1964 (check-abi, update-abi): Likewise.
1966 2014-02-04 Eric Wong <normalperson@yhbt.net>
1968 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1970 2014-02-04 Eric Wong <normalperson@yhbt.net>
1972 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1974 2014-02-03 Carlos O'Donell <carlos@redhat.com>
1976 * manual/startup.texi: Add next, previous, and top entries for
1977 the `Program Arguments' and `Environment Variables' nodes.
1979 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
1981 * manual/macros.texi: Add comments before MTASC-safety macros.
1983 * manual/users.texi: Document MTASC-safety properties.
1985 * manual/threads.texi (pthread_key_create, pthread_key_delete,
1986 pthread_getspecific, pthread_setspecific): Format with
1987 @deftypefun, and add @safety note.
1988 * manual/signal.texi: Move comments that analyze the above
1989 functions to their home place.
1991 2014-02-03 Allan McRae <allan@archlinux.org>
1993 * po/sl.po: Update Slovenian translation from translation project.
1995 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
1997 * manual/time.texi (timegm): Add missing blank after @c.
1998 Reported by Joseph Myers <joseph@codesourcery.com>.
2000 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
2002 * manual/check-safety.sh: New.
2003 * manual/Makefile ($(objpfx)stamp-summary): Run it.
2005 * manual/terminal.texi: Document MTASC-safety properties.
2007 * manual/filesys.texi: Document MTASC-safety properties.
2009 * manual/errno.texi: Document MTASC-safety properties.
2011 * manual/intro.texi: Document safety identifiers and
2014 * manual/string.texi (wcstok): Fix prototype.
2015 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
2017 * manual/time.texi: Document MTASC-safety properties.
2019 * manual/string.texi: Document MTASC-safety properties.
2021 * manual/threads.texi: Document MTASC-safety properties.
2023 * manual/stdio.texi: Document MTASC-safety properties.
2025 * manual/syslog.texi: Document MTASC-safety properties.
2027 * manual/sysinfo.texi: Document MTASC-safety properties.
2029 * manual/startup.texi: Document MTASC-safety properties.
2031 * manual/socket.texi: Document MTASC-safety properties.
2033 * manual/signal.texi: Document MTASC-safety properties.
2035 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
2037 * manual/setjmp.texi: Document MTASC-safety properties.
2039 * manual/search.texi: Document MTASC-safety properties.
2041 * manual/resource.texi: Document MTASC-safety properties.
2043 * manual/process.texi: Document MTASC-safety properties.
2045 * manual/platform.texi: Document MTASC-safety properties.
2047 * manual/pipe.texi: Document MTASC-safety properties.
2049 * manual/pattern.texi: Document MTASC-safety properties.
2051 * manual/message.texi: Document MTASC-safety properties.
2054 * manual/memory.texi: Document MTASC-safety properties.
2056 * manual/math.texi: Document MTASC-safety properties.
2058 * manual/locale.texi: Document MTASC-safety properties.
2060 * manual/llio.texi: Document MTASC-safety properties.
2062 * manual/libdl.texi: New.
2064 * manual/lang.texi: Document MTASC-safety properties.
2066 * manual/job.texi: Document MTASC-safety properties.
2068 * manual/getopt.texi: Document MTASC-safety properties.
2070 * manual/ctype.texi: Document MTASC-safety properties.
2072 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
2075 * csu/libc-tls.c (static_map): Remove variable.
2076 (__libc_setup_tls): Use main executable's link map for TLS data.
2077 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
2078 casing for LM_ID_BASE and GL(dl_nns).
2079 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
2080 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
2081 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
2082 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
2083 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
2085 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
2088 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
2090 * manual/debug.texi: Document MTASC-safety properties.
2092 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
2095 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
2096 of __x86_64__ when disabling x87 inline functions.
2098 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
2100 * manual/charset.texi: Document MTASC-safety properties.
2102 * manual/crypt.texi: Document MTASC-safety properties.
2104 * manual/conf.texi: Document MTASC-safety properties.
2106 * manual/arith.texi: Document MTASC-safety properties.
2108 * manual/argp.texi: Document MTASC-safety properties.
2110 * manual/macros.texi: Introduce macros to document multi
2111 thread, asynchronous signal and asynchronous cancellation
2113 * manual/intro.texi: Introduce the properties themselves.
2115 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2117 * sysdeps/sh/sh4/Makefile: New file.
2119 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
2121 * math/gen-libm-test.pl ($srcdir): New variable.
2122 ($auto_input): Use it.
2124 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2127 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
2128 access beyond array bounds when parsing netgroups file.
2130 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
2131 the old buffer before realloc.
2133 2014-01-27 Allan McRae <allan@archlinux.org>
2135 * po/fr.po: Update French translation from translation project.
2137 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2139 * sysdeps/sh/libm-test-ulps: Regenerate.
2141 2014-01-24 David S. Miller <davem@davemloft.net>
2143 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
2145 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2147 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
2148 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
2150 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
2153 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
2154 string pointers after reallocation.
2156 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2158 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
2159 __SH4A__ instead of __SH_FPU_ANY__.
2161 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2163 * sysdeps/sh/fpu_control.h: New file.
2164 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
2165 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
2166 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
2167 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
2168 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
2169 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
2170 * sysdeps/sh/sys/ucontext.h: Remove.
2171 * sysdeps/sh/sys: Remove directory.
2173 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2175 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
2176 s390/sys/ucontext.h.
2177 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
2178 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
2180 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
2183 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
2185 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2188 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
2189 Adjust the vDSO correctly for internal calls.
2190 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
2192 2014-01-20 Allan McRae <allan@archlinux.org>
2194 * po/ca.po: Update Catalan translation from translation project.
2196 2014-01-16 Mike Frysinger <vapier@gentoo.org>
2198 * sysdeps/s390/sotruss-lib.c: New file.
2200 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2203 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
2204 (__GI___gettimeofday): Alias for a different internal symbol to avoid
2205 local calls issues by not having a PLT stub required for IFUNC calls.
2206 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
2208 2014-01-16 Joseph Myers <joseph@codesourcery.com>
2210 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
2211 * math/test-fpucw-static.c: Likewise.
2213 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
2216 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
2218 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2220 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
2221 implementation for powerpc.
2223 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
2226 * sysdeps/posix/system.c (__libc_system): Do not enable
2227 asynchronous cancellation.
2229 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2232 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
2233 handling only for numbers special also in the IEEE case.
2235 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2237 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
2239 2014-01-11 Allan McRae <allan@archlinux.org>
2241 * po/bg.po: Update Bulgarian translation from translation project.
2243 * po/de.po: Update German translation from translation project.
2245 2014-01-10 Roland McGrath <roland@hack.frob.com>
2247 * sysdeps/generic/gcc-compat.h: New file.
2249 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
2251 * benchtests/asin-inputs: Correct slow inputs.
2252 * benchtests/acos-inputs: Likewise.
2254 2014-01-10 Allan McRae <allan@archlinux.org>
2256 * po:sv.po: Update Swedish translation from translation project.
2258 * po/vi.po: Update Vietnamese translation from translation project.
2260 * po/eo.po: Update Esperanto translation from translation project.
2262 * po/cs.po: Update Czech translation from translation project.
2264 * po/nl.po: Update Dutch translation from translation project.
2266 * po/pl.po: Update Polish translation from translation project.
2268 * po/ru.po: Update Russian translation from translation project.
2270 * po/uk.po: Update Ukrainian translation from translation project.
2272 2014-01-08 Brooks Moses <bmoses@google.com>
2274 * elf/dl-load.c: Fix comment typo.
2276 2014-01-08 Carlos O'Donell <carlos@redhat.com>
2278 * po/header.pot: Rename to...
2279 * po/pot.header: ... this.
2280 * po/Makefile: Use pot.header.
2282 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
2283 Maxim Kuvyrkov <maxim@kugelworks.com>
2286 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
2287 SRC and DEST against LEN.
2289 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2292 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
2294 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
2296 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2298 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2300 2014-01-08 Joseph Myers <joseph@codesourcery.com>
2303 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
2304 for large positive arguments.
2306 2014-01-07 Joseph Myers <joseph@codesourcery.com>
2308 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
2310 * math/auto-libm-test-in: Mark various tests with
2311 xfail-rounding:ldbl-128ibm.
2312 * math/auto-libm-test-out: Regenerated.
2315 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
2316 Increase overflow threshold.
2318 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
2321 * stdio-common/vfprintf.c: Check for integer overflow.
2323 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2325 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
2326 the first argument and return value of __tls_get_addr_internal.
2328 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2330 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
2331 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
2333 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2335 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
2336 * sysdeps/s390/rtld-global-offsets.sym: New file.
2337 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
2339 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
2340 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
2341 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
2343 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
2344 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
2346 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
2348 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
2350 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
2351 halfs of GPRs for high_gprs contexts.
2352 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
2353 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
2355 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
2357 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
2359 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
2360 for high GPRs (uc_high_gprs) and for future extensions
2362 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
2363 for future extensions (__reserved).
2364 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
2366 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
2367 SC_HIGHGPRS offset definition.
2368 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
2369 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
2371 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2373 * Versions.def: Add GLIBC_2.19 for libpthread.
2374 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
2375 siglongjmp for libpthread with GLIBC_2.19 symver.
2376 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
2377 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
2378 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
2379 * sysdeps/s390/__longjmp.c: New file.
2380 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
2381 * sysdeps/s390/longjmp.c: New file.
2382 * sysdeps/s390/setjmp.S: New file.
2383 * sysdeps/s390/sigjmp.S: New file.
2384 * sysdeps/s390/v1-longjmp.c: New file.
2385 * sysdeps/s390/v1-setjmp.h: New file.
2386 * sysdeps/s390/v1-sigjmp.c: New file.
2387 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
2388 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
2390 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
2391 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
2392 versioned symbols for ____longjmp_chk.
2393 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
2395 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
2397 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
2399 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
2401 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
2403 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
2404 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
2405 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
2406 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
2407 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
2408 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
2409 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
2410 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
2411 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
2412 * sysdeps/s390/rtld-__longjmp.c: New file.
2413 * sysdeps/s390/rtld-setjmp.S: New file.
2415 2014-01-06 Joseph Myers <joseph@codesourcery.com>
2418 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
2419 Return -__logl (x) for small positive arguments without evaluating
2422 2014-01-06 Mike Frysinger <vapier@gentoo.org>
2424 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
2426 (__ptrace_peeksiginfo_args): ... this.
2427 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
2428 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
2429 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
2431 2014-01-06 Allan McRae <allan@archlinux.org>
2433 * inet/netinet/in.h: Fix typo in comment.
2435 2014-01-05 Andreas Jaeger <aj@suse.de>
2437 * sysdeps/i386/fpu/libm-test-ulps: Update.
2439 2014-01-05 Allan McRae <allan@archlinux.org>
2441 * po/libc.pot: Regenerated.
2443 * malloc/memusagestat.c: Fix gettext call formatting.
2445 2014-01-04 Sami Kerola <kerolasa@iki.fi>
2447 * nscd/nscd.c: Improve usage() output.
2449 2014-01-04 Mike Frysinger <vapier@gentoo.org>
2451 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
2452 * sysdeps/unix/sysv/linux/configure: Regenerated.
2453 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
2454 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
2456 2014-01-03 Joseph Myers <joseph@codesourcery.com>
2459 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
2460 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
2462 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2464 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
2465 extra tokens at end of #undef directive.
2466 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
2467 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
2468 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
2470 2014-01-03 Joseph Myers <joseph@codesourcery.com>
2472 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
2474 * math/auto-libm-test-in: Mark various tests with
2475 xfail-rounding:ldbl-128ibm.
2476 * math/auto-libm-test-out: Regenerated.
2478 2014-01-02 Joseph Myers <joseph@codesourcery.com>
2481 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
2482 numbers with subnormal high part when calculating exponent.
2485 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
2489 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
2491 (__ieee754_acoshl): Use __log1pl not __log1p.
2493 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
2495 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all,
2496 ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry,
2497 __failing_morecore, ptmalloc_init, dump_heap, new_heap, grow_heap,
2498 heap_trim, _int_new_arena, get_free_list, reused_arena, arena_get2):
2499 Convert to GNU style.
2500 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init,
2501 mem2mem_check, mem2chunk_check, top_check, realloc_check,
2502 memalign_check, __malloc_set_state): Likewise.
2503 * malloc/mallocbug.c (main): Likewise.
2504 * malloc/malloc.c (__malloc_assert, malloc_init_state, free_perturb,
2505 do_check_malloced_chunk, do_check_malloc_state, sysmalloc, systrim,
2506 mremap_chunk, __libc_malloc, __libc_free, __libc_realloc, _mid_memalign,
2507 _int_malloc, malloc_consolidate, _int_realloc, _int_memalign, mtrim,
2508 musable, __libc_mallopt, __posix_memalign, malloc_info): Likewise.
2509 * malloc/malloc.h: Likewise.
2510 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook, mallochook,
2511 memalignhook, reallochook, mabort): Likewise.
2512 * malloc/mcheck.h: Likewise.
2513 * malloc/memusage.c (update_data, me, malloc, realloc, calloc, free, mmap,
2514 mmap64, mremap, munmap, dest): Likewise.
2515 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
2516 * malloc/morecore.c (__default_morecore): Likewise.
2517 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
2518 * malloc/obstack.c (_obstack_begin, _obstack_newchunk,
2519 _obstack_allocated_p, obstack_free, _obstack_memory_used,
2520 print_and_abort): Likewise.
2521 * malloc/obstack.h: Likewise.
2522 * malloc/set-freeres.c (__libc_freeres): Likewise.
2523 * malloc/tst-mallocstate.c (main): Likewise.
2524 * malloc/tst-mtrace.c (main): Likewise.
2525 * malloc/tst-realloc.c (do_test): Likewise.
2527 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
2530 * nscd/netgroupcache.c (do_notfound): New function.
2531 (addgetnetgrentX): Use it.
2534 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
2535 NSS_STATUS_NOTFOUND.
2537 2014-01-01 Joseph Myers <joseph@codesourcery.com>
2539 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
2540 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2542 2014-01-01 Allan McRae <allan@archlinux.org>
2544 * scripts/update-copyrights: Update configure input file suffix.
2546 * NEWS: Update copyright year.
2547 * catgets/gencat.c: Likewise.
2548 * csu/version.c: Likewise.
2549 * debug/catchsegv.sh: Likewise.
2550 * debug/pcprofiledump.c: Likewise.
2551 * debug/xtrace.sh: Likewise.
2552 * elf/ldconfig.c: Likewise.
2553 * elf/ldd.bash.in: Likewise.
2554 * elf/pldd.c: Likewise.
2555 * elf/sotruss.ksh: Likewise.
2556 * elf/sprof.c: Likewise.
2557 * iconv/iconv_prog.c: Likewise.
2558 * iconv/iconvconfig.c: Likewise.
2559 * locale/programs/locale.c: Likewise.
2560 * locale/programs/localedef.c: Likewise.
2561 * login/programs/pt_chown.c: Likewise.
2562 * malloc/memusage.sh: Likewise.
2563 * malloc/memusagestat.c: Likewise.
2564 * malloc/mtrace.pl: Likewise.
2565 * manual/libc.texinfo: Likewise.
2566 * nscd/nscd.c: Likewise.
2567 * nss/getent.c: Likewise.
2568 * nss/makedb.c: Likewise.
2569 * posix/getconf.c: Likewise.
2570 * scripts/test-installation.pl: Likewise.
2572 * All files with FSF copyright notices: Update copyright dates
2573 using scripts/update-copyrights.
2574 * intl/plural.c: Regenerated.
2575 * locale/programs/charmap-kw.h: Likewise.
2576 * locale/programs/locfile-kw.h: Likewise.
2578 2013-12-31 Mike Frysinger <vapier@gentoo.org>
2580 * sysdeps/unix/sysv/linux/configure: Regenerated.
2581 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
2582 the linux/fanotify.h header.
2583 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
2584 HAVE_LINUX_FANOTIFY_H is defined.
2586 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
2588 * benchtests/cos-inputs: New inputs.
2589 * benchtests/sin-inputs: Likewise.
2591 * benchtests/atan-inputs: New inputs. Fix name of multiple
2592 precision fallback inputs.
2594 * benchtests/atanh-inputs: New inputs.
2595 * benchtests/tanh-inputs: Likewise.
2597 * benchtests/acosh-inputs: New inputs.
2598 * benchtests/asinh-inputs: Likewise.
2600 * benchtests/cosh-inputs: New inputs.
2601 * benchtests/sinh-inputs: Likewise.
2603 * benchtests/acos-inputs: Add more inputs.
2604 * benchtests/asin-inputs: Likewise.
2606 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
2609 * manual/arith.texi: Fix spelling.
2610 * manual/charset.texi: Likewise.
2611 * manual/errno.texi: Likewise.
2612 * manual/filesys.texi: Likewise.
2613 * manual/lang.texi: Likewise.
2614 * manual/llio.texi: Likewise.
2615 * manual/locale.texi: Likewise.
2616 * manual/message.texi: Likewise.
2617 * manual/resource.texi: Likewise.
2618 * manual/search.texi: Likewise.
2619 * manual/setjmp.texi: Likewise.
2620 * manual/stdio.texi: Likewise.
2621 * manual/string.texi: Likewise.
2622 * manual/sysinfo.texi: Likewise.
2623 * manual/time.texi: Likewise.
2625 2013-12-27 Carlos O'Donell <carlos@redhat.com>
2627 * po/sl.po: New file.
2629 2013-12-27 Mike Frysinger <vapier@gentoo.org>
2631 * .gitignore: Add core/.gdbinit/.gdb_history.
2633 2013-12-27 Allan McRae <allan@archlinux.org>
2636 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
2637 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
2639 2013-12-24 Brooks Moses <bmoses@google.com>
2641 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
2642 all compilers that claim C++98 compliance, not just GCC.
2643 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
2646 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
2648 * NEWS: Restore accidentally deleted bug-fix entries.
2650 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
2651 Ondřej Bílka <neleai@seznam.cz>
2654 * malloc/malloc.c (_int_free): Perform sanity check only if we
2657 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
2660 * manual/stdio.texi (String Input Conversions): Clarify that character
2661 classes are not supported.
2663 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2665 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2667 2013-12-22 Joseph Myers <joseph@codesourcery.com>
2670 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
2671 Calculate results for small negative arguments directly rather
2672 than using reflection formula with special underflow handling.
2674 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
2675 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
2676 sysdeps/unix/bsd/bsd4.4/syscalls.list.
2677 (fchflags): Likewise.
2679 (setlogin): Likewise.
2680 (sigaltstack): Likewise.
2683 (sigsetmask): Likewise.
2685 (waitpid): Likewise.
2686 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
2687 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
2689 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
2690 * sysdeps/unix/bsd/Makefile: ... here.
2691 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
2692 * sysdeps/unix/bsd/Versions: ... here.
2693 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
2694 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
2695 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
2696 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
2697 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
2698 * sysdeps/unix/bsd/sigblock.c: ... here.
2699 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
2700 * sysdeps/unix/bsd/sigsetmask.c: ... here.
2701 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
2702 * sysdeps/unix/bsd/sigvec.c: ... here.
2703 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
2704 * sysdeps/unix/bsd/tcdrain.c: ... here.
2705 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
2706 * sysdeps/unix/bsd/tcgetattr.c: ... here.
2707 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
2708 * sysdeps/unix/bsd/tcsetattr.c: ... here.
2709 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
2710 * sysdeps/unix/bsd/wait.c: ... here.
2711 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
2712 * sysdeps/unix/bsd/wait3.c: ... here.
2713 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
2714 * sysdeps/unix/bsd/waitpid.c: ... here.
2716 2013-12-21 Joseph Myers <joseph@codesourcery.com>
2719 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
2720 round-to-nearest for [!USE_AS_EXPM1L].
2721 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
2722 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
2723 more tests of exp and exp10. Expect some exp10 tests to miss
2724 exceptions or fail in directed rounding modes.
2725 * math/auto-libm-test-out: Regenerated.
2726 * math/libm-test.inc (exp10_tonearest_test_data): New array.
2727 (exp10_test_tonearest): New function.
2728 (exp10_towardzero_test_data): New array.
2729 (exp10_test_towardzero): New function.
2730 (exp10_downward_test_data): New array.
2731 (exp10_test_downward): New function.
2732 (exp10_upward_test_data): New array.
2733 (exp10_test_upward): New function.
2734 (main): Call the new functions.
2735 * sysdeps/i386/fpu/libm-test-ulps: Update.
2736 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2738 2013-12-20 Joseph Myers <joseph@codesourcery.com>
2740 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
2741 asinh, atan, atan2, atanh, cbrt, cos and cosh.
2742 * math/auto-libm-test-out: Regenerated.
2743 * math/libm-test.inc (acosh_test_data): Add more tests.
2744 (atanh_test_data): Likewise.
2745 (ceil_test_data): Likewise.
2746 (copysign_test_data): Likewise.
2747 * sysdeps/i386/fpu/libm-test-ulps: Update.
2748 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2750 * timezone/checktab.awk: Update from tzcode 2013i.
2751 * timezone/private.h: Likewise.
2752 * timezone/scheck.c: Likewise.
2753 * timezone/tzfile.h: Likewise.
2754 * timezone/tzselect.ksh: Likewise.
2755 * timezone/zdump.c: Likewise.
2756 * timezone/zic.c: Likewise.
2758 * math/auto-libm-test-in: Add tests of cpow.
2759 * math/auto-libm-test-out: Regenerated.
2760 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
2761 * * math/gen-auto-libm-tests.c (func_calc_method): Add value
2763 (func_calc_desc): Add mpc_cc_c union field.
2764 (test_functions): Add cpow.
2765 (special_fill_2pi): New function.
2766 (special_real_inputs): Add 2pi.
2767 (calc_generic_results): Handle mpc_cc_c.
2768 * sysdeps/i386/fpu/libm-test-ulps: Update.
2769 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2771 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
2772 csqrt, ctan and ctanh.
2773 * math/auto-libm-test-out: Regenerated.
2774 * math/libm-test.inc (TEST_COND_x86_64): New macro.
2775 (TEST_COND_x86): Likewise.
2776 (ccos_test_data): Use AUTO_TESTS_c_c.
2777 (ccosh_test_data): Likewise.
2778 (cexp_test_data): Likewise.
2779 (clog_test_data): Likewise.
2780 (csqrt_test_data): Likewise.
2781 (ctan_test_data): Likewise.
2782 (ctan_tonearest_test_data): Likewise.
2783 (ctan_towardzero_test_data): Likewise.
2784 (ctan_downward_test_data): Likewise.
2785 (ctan_upward_test_data): Likewise.
2786 (ctanh_test_data): Likewise.
2787 (ctanh_tonearest_test_data): Likewise.
2788 (ctanh_towardzero_test_data): Likewise.
2789 (ctanh_downward_test_data): Likewise.
2790 (ctanh_upward_test_data): Likewise.
2791 * math/gen-auto-libm-tests.c (func_calc_method): Add value
2793 (func_calc_desc): Add mpc_c_c union field.
2794 (FUNC_mpc_c_c): New macro.
2795 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
2796 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
2798 (special_fill_min_subnorm_p120): New function.
2799 (special_real_inputs): Add min_subnorm_p120.
2800 (calc_generic_results): Handle mpc_c_c.
2801 * sysdeps/i386/fpu/libm-test-ulps: Update.
2802 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2804 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
2806 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin,
2807 do_sin_slow): New functions.
2808 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2,
2809 cslow2, csloww1, csloww2): Use the new functions.
2811 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
2812 Use M to change sign of result instead of X. Assume X is
2814 (csloww1): Likewise.
2818 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
2823 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
2825 (sloww1): Don't adjust sign of DX.
2826 (csloww1): Likewise.
2827 (sloww2): Use X directly and don't adjust sign of DX.
2828 (csloww2): Likewise.
2830 2013-12-19 Joseph Myers <joseph@codesourcery.com>
2832 * math/auto-libm-test-in: Add tests of cabs and carg.
2833 * math/auto-libm-test-out: Regenerated.
2834 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
2835 (carg_test_data): Likewise.
2836 * math/gen-auto-libm-tests.c (func_calc_method): Add value
2838 (func_calc_desc): Add mpc_c_f union field.
2839 (test_functions): Add cabs and carg.
2840 (calc_generic_results): Handle mpc_c_f.
2842 * sysdeps/powerpc/powerpc32/libgcc-compat.S
2843 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
2844 as a macro and a compat symbol.
2845 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
2846 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
2847 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
2848 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
2849 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
2850 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
2852 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
2854 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
2856 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
2858 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
2860 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
2862 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
2863 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
2866 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2868 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2870 2013-12-19 Joseph Myers <joseph@codesourcery.com>
2872 * manual/texinfo.tex: Update to version 2013-11-26.10 with
2873 trailing whitespace removed.
2874 * scripts/config.guess: Update to version 2013-11-29.
2875 * scripts/config.sub: Update to version 2013-10-01.
2877 * math/auto-libm-test-in: Add tests of sincos.
2878 * math/auto-libm-test-out: Regenerated.
2879 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
2880 * math/gen-auto-libm-tests.c (func_calc_method): Add value
2882 (func_calc_desc): Add mpfr_f_11 union field.
2883 (test_functions): Add sincos.
2884 (calc_generic_results): Handle mpfr_f_11.
2885 * sysdeps/i386/fpu/libm-test-ulps: Update.
2886 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2888 2013-12-19 Andreas Schwab <schwab@suse.de>
2890 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
2892 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
2893 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
2894 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
2896 2013-12-19 Joseph Myers <joseph@codesourcery.com>
2898 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
2899 * sysdeps/i386/fpu/libm-test-ulps: Update.
2900 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2903 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
2904 round-to-nearest mode when using frndint.
2905 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
2906 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
2907 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
2909 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
2911 * math/auto-libm-test-out: Regenerated.
2912 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
2913 (TEST_COND_x86): Likewise.
2914 (expm1_tonearest_test_data): New array.
2915 (expm1_test_tonearest): New function.
2916 (expm1_towardzero_test_data): New array.
2917 (expm1_test_towardzero): New function.
2918 (expm1_downward_test_data): New array.
2919 (expm1_test_downward): New function.
2920 (expm1_upward_test_data): New array.
2921 (expm1_test_upward): New function.
2922 (main): Run the new test functions.
2923 * sysdeps/i386/fpu/libm-test-ulps: Update.
2924 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2926 * include/features.h: Update comment documenting feature test
2927 macros. Mention _DEFAULT_SOURCE in comment.
2928 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
2929 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
2930 _BSD_SOURCE and _SVID_SOURCE.
2931 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
2932 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
2933 !_SVID_SOURCE]: Likewise.
2934 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
2935 (__USE_POSIX_IMPLICITLY): Define.
2936 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
2937 (_POSIX_SOURCE): Undefine and redefine.
2938 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
2939 (_POSIX_C_SOURCE): Likewise.
2940 * manual/creature.texi (_DEFAULT_SOURCE): Document.
2941 (Feature Test Macros): Update documentation of default features.
2943 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2945 * benchtests/Makefile: Add bench-strtok.
2946 * benchtests/bench-strtok.c: New file: strtok benchtest.
2948 2013-12-19 Allan McRae <allan@archlinux.org>
2950 * manual/install.texi: Suppress menu for plain text output.
2951 * INSTALL: Regenerated.
2953 2013-12-18 Brooks Moses <bmoses@google.com>
2956 * misc/getauxval.c: Include errno.h.
2957 (__getauxval): Set errno to ENOENT if the requested type is not
2959 * misc/sys/auxv.h (getauxval): Document that it may set errno;
2960 don't declare with __attribute_const__.
2961 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
2962 * manual/startup.texi: Document that getauxval sets errno.
2964 2013-12-18 Joseph Myers <joseph@codesourcery.com>
2966 * math/auto-libm-test-in: Add tests of jn and yn.
2967 * math/auto-libm-test-out: Regenerated.
2968 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
2969 (yn_test_data): Likewise.
2970 * math/gen-auto-libm-tests.c (func_calc_method): Add value
2972 (func_calc_desc): Add mpfr_if_f union field.
2973 (FUNC_mpfr_if_f): New macro.
2974 (test_functions): Add jn and yn.
2975 (calc_generic_results): Assert type of second input for
2976 mpfr_ff_f. Handle mpfr_if_f.
2977 (output_for_one_input_case): Disable all checking for arguments
2978 fitting floating-point types in case of an integer argument.
2979 * sysdeps/i386/fpu/libm-test-ulps: Update.
2980 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2982 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
2983 Don't expect fegetround reference in libm.so.
2985 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
2987 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
2988 $(config-cflags-nofma).
2990 2013-12-18 Joseph Myers <joseph@codesourcery.com>
2992 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
2993 * math/auto-libm-test-out: Regenerated.
2996 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
2997 to determine exponent and adjust argument to have exponent of -1.
2998 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
3000 * math/auto-libm-test-out: Regenerated.
3001 * sysdeps/i386/fpu/libm-test-ulps: Update.
3002 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3004 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
3006 * manual/probes.texi: Remove cases when per-thread arenas are
3009 2013-12-18 Andreas Schwab <schwab@suse.de>
3011 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
3012 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
3013 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
3014 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
3015 * sysdeps/i386/i686/multiarch/Makefile: Update.
3016 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
3018 2013-12-17 Joseph Myers <joseph@codesourcery.com>
3020 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
3021 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
3023 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
3026 Support TZ transition times < 00:00:00.
3027 This is needed for version-3 tz-format files; it supports time
3028 stamps past 2037 for America/Godthab (the only entry in the tz
3029 database for which this change is relevant).
3030 * manual/time.texi (TZ Variable): Document transition times
3031 from -167:59:59 through -00:00:01.
3032 * time/tzset.c (tz_rule): Time of day is now signed.
3033 (__tzset_parse_tz): Parse negative time of day.
3035 Document TZ transition times >= 25:00:00.
3036 * manual/time.texi (TZ Variable): Document transition times from
3037 25:00:00 through 167:59:59. These are already supported, and this
3038 support will help with version-3 tz-format files.
3040 * manual/time.texi (TZ Variable): Modernize North America example
3041 to reflect current (i.e., 2007-and-later) daylight saving rules.
3043 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
3045 2013-12-17 Joseph Myers <joseph@codesourcery.com>
3047 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
3048 * sysdeps/unix/bsd/bits/stat.h: Likewise.
3049 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
3050 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
3051 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
3052 * sysdeps/unix/bsd/bsdstat.h: Likewise.
3053 * sysdeps/unix/bsd/clock.c: Likewise.
3054 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
3055 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
3056 * sysdeps/unix/bsd/init-posix.c: Likewise.
3057 * sysdeps/unix/bsd/poll.c: Likewise.
3058 * sysdeps/unix/bsd/ptsname.c: Likewise.
3059 * sysdeps/unix/bsd/seekdir.c: Likewise.
3060 * sysdeps/unix/bsd/setegid.c: Likewise.
3061 * sysdeps/unix/bsd/seteuid.c: Likewise.
3062 * sysdeps/unix/bsd/setgid.c: Likewise.
3063 * sysdeps/unix/bsd/setrgid.c: Likewise.
3064 * sysdeps/unix/bsd/setruid.c: Likewise.
3065 * sysdeps/unix/bsd/setsid.c: Likewise.
3066 * sysdeps/unix/bsd/setuid.c: Likewise.
3067 * sysdeps/unix/bsd/sigaction.c: Likewise.
3068 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
3069 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
3070 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
3071 * sysdeps/unix/bsd/telldir.c: Likewise.
3072 * sysdeps/unix/bsd/times.c: Likewise.
3073 * sysdeps/unix/bsd/usleep.c: Likewise.
3075 * misc/Makefile (install-lib): Remove libbsd-compat.a.
3076 ($(objpfx)libbsd-compat.a): Remove rule.
3078 * include/features.h (__FAVOR_BSD): Do not define.
3079 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
3080 features conflicting with POSIX.
3081 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
3082 (_BSD_SOURCE): Remove description of not being a subset of other
3083 feature test macros.
3084 * manual/job.texi (getpgrp): Do not document BSD version.
3085 (getpgid): Do not document by reference to BSD getpgrp.
3086 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
3087 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
3088 * signal/signal.h [__FAVOR_BSD]: Likewise.
3089 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
3090 instead of making contents conditional on [__FAVOR_BSD].
3091 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
3093 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3095 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3097 2013-12-17 Joseph Myers <joseph@codesourcery.com>
3100 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
3101 values below 2**-450, not 2**-500.
3102 * math/auto-libm-test-in: Don't allow spurious underflow from
3104 * math/auto-libm-test-out: Regenerated.
3108 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
3109 values of ha and hb and sort them after adjusting subnormal
3111 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
3113 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
3114 values of ea and eb and sort them after adjusting subnormal
3116 * math/auto-libm-test-in: Do not expect some hypot tests of
3117 subnormals to fail. Add more hypot tests.
3118 * math/auto-libm-test-out: Regenerated.
3120 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3123 * sysdeps/sh/s_fma.c: New file.
3124 * sysdeps/sh/s_fmaf.c: New file.
3125 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
3127 * sysdeps/sh/Implies: Add sh/soft-fp.
3129 2013-12-16 Roland McGrath <roland@hack.frob.com>
3131 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
3132 level of indirection to members `objname', `errstring', `malloced'.
3133 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
3134 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
3135 it as the __longjmp argument (just pass 1 instead).
3136 (_dl_catch_error): Initialize C with argument pointers and address of
3137 volatile local ERRCODE rather than copying values out of C at return.
3139 2013-12-16 Joseph Myers <joseph@codesourcery.com>
3141 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
3142 * math/auto-libm-test-out: Regenerated.
3143 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
3144 (hypot_test_data): Likewise.
3145 (pow_test_data): Likewise.
3146 (pow_tonearest_test_data): Likewise.
3147 * math/gen-auto-libm-tests.c (func_calc_method): Add value
3149 (func_calc_desc): Add mpfr_ff_f union field.
3150 (FUNC_mpfr_ff_f): New macro.
3151 (test_functions): Add atan2, hypot and pow.
3152 (special_fill_min): New function.
3153 (special_fill_minus_min): Likewise.
3154 (special_fill_min_subnorm): Likewise.
3155 (special_fill_minus_min_subnorm): Likewise.
3156 (special_real_inputs): Add min, -min, min_subnorm and
3158 (calc_generic_results): Handle mpfr_ff_f.
3159 * sysdeps/i386/fpu/libm-test-ulps: Update.
3160 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3162 2013-12-16 Will Newton <will.newton@linaro.org>
3164 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
3165 (Aligned Memory Blocks): Add documentation for aligned_alloc
3166 and suggest it as an alternative to posix_memalign.
3167 (Hooks for Malloc): Document __memalign_hook is also called
3168 for aligned_alloc. (Summary of Malloc): Add summary for
3169 aligned alloc. Document __memalign_hook is also called
3172 2013-12-16 Will Newton <will.newton@linaro.org>
3174 * manual/memory.texi (Malloc Examples): Clarify default
3175 alignment documentation. Suggest posix_memalign rather
3176 than memalign or valloc.
3177 (Aligned Memory Blocks): Remove suggestion to use memalign
3178 or valloc. Remove obsolete comment about BSD.
3179 Document memalign errno values and mark the function obsolete.
3180 Document posix_memalign returned error codes. Mark valloc
3181 as obsolete. (Hooks for Malloc): __memalign_hook is also
3182 called for posix_memalign and valloc.
3183 (Summary of Malloc): Add posix_memalign to function summary.
3184 __memalign_hook is also called for posix_memalign and valloc.
3186 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
3188 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
3192 (sloww): Use mynumber union. Expand ternary operator into
3194 (cslow): use mynumber union.
3196 2013-12-16 Allan McRae <allan@archlinux.org>
3198 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
3199 * configure: Regenerated.
3201 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
3204 * configure.ac: Added --enable-maintainer-mode. Check for
3205 autoconf when enabled.
3206 * configure: Regenerated.
3208 * nscd/nscd.service: New file.
3209 * nscd/nscd.tmpfiles: New file.
3211 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
3214 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
3215 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
3216 * sysdeps/x86_64/multiarch/strstr.c: ... here.
3217 (strstr): Add __strstr_sse2_unaligned ifunc.
3218 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
3219 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
3220 (strcasestr): Remove __strcasestr_sse42 ifunc.
3221 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
3222 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
3223 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
3225 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3227 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
3228 * sysdeps/sh/bits/fenv.h: ... here.
3229 * sysdeps/sh/sh4/fpu/bits: Remove directory.
3231 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3233 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
3235 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3237 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
3238 hypotf multiarch implementations.
3239 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
3240 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
3241 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
3242 multiarch hypot for PPC64.
3243 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
3244 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
3245 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
3246 multiarch hypotf for PPC64.
3248 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3250 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
3251 modff multiarch implementations.
3252 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
3253 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
3254 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
3255 multiarch modf for PPC64.
3256 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
3257 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
3258 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
3259 multiarch modff for PPC64.
3261 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3263 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
3264 and logl multiarch implementations.
3265 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
3266 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
3267 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
3268 multiarch logb for PPC64.
3269 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
3270 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
3271 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
3272 multiarch logb for PPC64.
3273 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
3274 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
3275 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
3276 multiarch logb for PPC64.
3278 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3280 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
3281 isinff multiarch implementation.
3282 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
3284 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
3285 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
3286 multiarch isinf for PPC64.
3287 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
3289 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
3290 multiarch isinff for PPC64.
3292 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3294 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
3295 finitef multiarch implementation.
3296 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
3298 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
3299 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
3300 multiarch finite for PPC64.
3301 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
3303 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
3304 multiarch finitef for PPC64.
3306 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3308 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
3309 lrint multiarch implementation.
3310 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
3312 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
3313 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
3314 multiarch llrint for PPC64.
3315 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
3316 multiarch lrint for PPC64.
3318 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3320 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
3321 copysignf multiarch implementation.
3322 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
3324 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
3326 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
3327 multiarch copysign for PPC64.
3328 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
3329 multiarch copysignf for PPC64.
3331 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3333 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
3334 multiarch implementation.
3335 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
3337 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
3339 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
3341 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
3343 multiarch llround for PPC64.
3344 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
3345 multiarch trunc for PPC64.
3346 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
3347 multiarch truncf for PPC64.
3349 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3351 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
3352 multiarch implementation.
3353 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
3355 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
3357 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
3359 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
3361 multiarch llround for PPC64.
3362 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
3363 multiarch round for PPC64.
3364 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
3365 multiarch roundf for PPC64.
3367 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3369 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
3370 multiarch implementation.
3371 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
3373 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
3375 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
3377 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
3379 multiarch llround for PPC64.
3380 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
3381 multiarch floor for PPC64.
3382 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
3383 multiarch floorf for PPC64.
3385 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3387 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
3388 multiarch implementation.
3389 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
3391 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
3393 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
3395 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
3397 multiarch llround for PPC64.
3398 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
3399 multiarch ceil for PPC64.
3400 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
3401 multiarch ceilf for PPC64.
3403 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3405 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
3406 multiarch implementation.
3407 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
3409 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
3411 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
3413 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
3414 multiarch llround for PPC64.
3415 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
3416 multiarch lround for PPC64.
3418 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3420 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
3421 multiarch implementation.
3422 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
3423 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
3424 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
3426 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
3427 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
3428 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
3429 multiarch isnan for PPC64.
3430 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
3431 multiarch isnanf for PPC64.
3433 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3435 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
3436 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
3437 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
3438 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
3439 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
3440 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
3442 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3444 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
3445 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
3446 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
3447 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
3449 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3451 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
3452 multiarch implementations.
3453 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3454 (__libc_ifunc_impl_list): Likewise.
3455 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
3456 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
3457 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
3458 multiarch stpcpy for PPC64.
3460 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3462 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
3463 multiarch implementations.
3464 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3465 (__libc_ifunc_impl_list): Likewise.
3466 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
3467 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
3468 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
3469 multiarch strcpy for PPC64.
3471 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3473 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
3474 redefine function name.
3475 (_wordcopy_fwd_dest_aligned): Likewise.
3476 (_wordcopy_bwd_aligned): Likewise.
3477 (_wordcopy_bwd_dest_aligned): Likewise.
3478 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
3479 multiarch implementations.
3480 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3481 (__libc_ifunc_impl_list): Likewise.
3482 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
3483 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
3484 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
3485 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
3486 multiarch wcscpy for PPC64.
3488 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3490 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
3491 multiarch implementations.
3492 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3493 (__libc_ifunc_impl_list): Likewise.
3494 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
3495 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
3496 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
3497 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
3498 multiarch wcscpy for PPC64.
3500 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3502 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
3503 multiarch implementations.
3504 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3505 (__libc_ifunc_impl_list): Likewise.
3506 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
3507 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
3508 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
3509 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
3510 multiarch wcsrchr for PPC64.
3512 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3514 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
3515 multiarch implementations.
3516 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3517 (__libc_ifunc_impl_list): Likewise.
3518 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
3519 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
3520 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
3521 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
3522 multiarch wcschr for PPC64.
3524 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3526 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
3527 multiarch implementations.
3528 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3529 (__libc_ifunc_impl_list): Likewise.
3530 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
3531 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
3532 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
3533 multiarch strchrnul for PPC64.
3535 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3537 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
3539 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3540 (__libc_ifunc_impl_list): Likewise.
3541 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
3542 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
3543 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
3544 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
3547 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3549 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
3551 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3552 (__libc_ifunc_impl_list): Likewise.
3553 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
3554 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
3555 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
3556 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
3559 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3561 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
3562 multiarch implementations.
3563 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3564 (__libc_ifunc_impl_list): Likewise.
3565 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
3566 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
3567 strncasecmp for PPC64.
3568 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
3569 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
3570 multiarch strncasecmp_l for PPC64.
3572 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3574 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
3575 multiarch implementations.
3576 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3577 (__libc_ifunc_impl_list): Likewise.
3578 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
3579 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
3580 multiarch strcasecmp for PPC64.
3581 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
3583 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
3584 multiarch strcasecmp_l for PPC64.
3586 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3588 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
3590 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3591 (__libc_ifunc_impl_list): Likewise.
3592 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
3593 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
3594 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
3597 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3599 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
3601 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3602 (__libc_ifunc_impl_list): Likewise.
3603 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
3604 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
3605 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
3608 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3610 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
3612 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3613 (__libc_ifunc_impl_list): Likewise.
3614 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
3615 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
3616 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
3617 rawmemrchr for PPC64.
3619 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3621 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
3623 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3624 (__libc_ifunc_impl_list): Likewise.
3625 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
3626 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
3627 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
3630 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3632 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
3634 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3635 (__libc_ifunc_impl_list): Likewise.
3636 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
3637 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
3638 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
3641 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3643 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
3645 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3646 (__libc_ifunc_impl_list): Likewise.
3647 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
3648 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
3649 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
3652 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3654 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
3655 avoid cretion of __bzero symbol.
3656 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
3658 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
3660 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
3662 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
3663 multiarch implementations.
3664 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3665 (__libc_ifunc_impl_list): Likewise.
3666 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
3667 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
3668 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
3669 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
3671 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
3672 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
3673 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
3674 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
3675 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
3677 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
3679 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3681 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
3682 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
3684 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3685 (__libc_ifunc_impl_list): Likewise.
3686 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
3687 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
3688 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
3689 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
3692 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3694 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
3695 multiarch for POWER/PPC64.
3696 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
3697 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
3698 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
3699 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
3700 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
3701 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
3702 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
3703 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
3704 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
3707 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3709 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
3710 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
3711 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
3712 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
3713 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
3714 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
3715 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
3716 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
3717 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
3718 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
3719 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
3720 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
3721 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
3722 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
3723 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
3724 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
3725 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
3726 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
3727 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
3728 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
3729 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
3730 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
3732 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3734 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
3736 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
3738 * benchtests/Makefile (bench): Add exp2 and log2.
3739 (LDLIBS-bench-exp2): Add -lm.
3740 (LDLIBS-bench-log2): Likewise.
3741 * benchtests/exp2-inputs: New inputs file.
3742 * benchtests/log2-inputs: New inputs file.
3743 * benchtests/log-inputs: Add new inputs.
3744 * benchtests/tan-inputs: Likewise.
3746 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3748 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
3750 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2,
3751 csloww1, csloww2): ... from here.
3753 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
3754 instead of structures.
3755 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
3756 (POLYNOMIAL): Likewise.
3757 (TAYLOR_SLOW): Likewise.
3765 (bsloww1): Likewise.
3766 (bsloww2): Likewise.
3769 (csloww1): Likewise.
3770 (csloww2): Likewise.
3772 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
3774 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
3775 (__malloc_assert, __libc_realloc, __libc_calloc,
3776 _int_realloc): Expand MALLOC_COPY and MALLOC_ZERO to
3778 * malloc/hooks.c (realloc_check): Likewise.
3780 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
3782 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
3783 * malloc/arena.c: Remove PER_THREAD conditional.
3784 [!PER_THREAD]: Remove code.
3785 (ptmalloc_unlock_all2): Likewise.
3786 (ptmalloc_init): Likewise.
3787 (_int_new_arena): Likewise.
3788 (arena_get2): Likewise.
3789 * malloc/hooks.c (__malloc_get_state): Likewise.
3790 (__malloc_set_state): Likewise.
3791 * malloc/malloc.c: Likewise.
3792 (struct malloc_state): Likewise.
3793 (struct malloc_par): Likewise.
3794 (__libc_realloc): Likewise.
3795 (__libc_mallopt): Likewise.
3797 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3799 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
3801 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
3803 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
3804 macro to a function. Check for zero perturb_byte.
3805 (_int_malloc, _int_free): Remove zero perturb_byte checks.
3807 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
3809 * malloc/malloc.c: (force_reg): Remove.
3810 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc,
3811 _mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
3812 force_reg by atomic_forced_read.
3813 * malloc/arena.c (ptmalloc_init): Likewise.
3814 * malloc/hooks.c (top_check): Likewise.
3816 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3818 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3820 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
3822 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3824 2013-12-08 Joseph Myers <joseph@codesourcery.com>
3826 * math/auto-libm-test-in: Add tests of lgamma.
3827 * math/auto-libm-test-out: Regenerated.
3828 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
3829 (M_LOG_2_SQRT_PIl): Likewise.
3830 (lgamma_test_data): Use AUTO_TESTS_f_f1.
3831 * math/gen-auto-libm-tests.c (func_calc_method): Add value
3833 (func_calc_desc): Add mpfr_f_f1 union field.
3842 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
3843 (test_functions): Add lgamma.
3844 (calc_generic_results): Handle mpfr_f_f1.
3845 * sysdeps/i386/fpu/libm-test-ulps: Update.
3846 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3848 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3850 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
3851 __mpn_add_n for PowerPC64/POWER7.
3852 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
3853 __mpn_sub_n for PowerPC64/POWER7.
3855 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3857 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
3858 __mpn_addmul_1 for PowerPC64.
3859 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
3860 __mpn_submul_1 for PowerPC64.
3861 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
3863 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
3866 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
3869 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
3871 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3873 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
3875 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3877 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
3878 add multiarch folders.
3879 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
3880 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
3881 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
3882 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
3883 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
3884 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
3885 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
3886 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
3887 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
3888 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
3889 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
3890 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
3891 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
3892 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
3893 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
3894 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
3895 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
3897 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3899 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
3900 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
3901 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
3903 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
3905 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
3906 multiarch __ieee754_hypot for PowerPC32.
3907 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
3909 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
3911 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
3912 multiarch __ieee754_hypotf for PowerPC32.
3914 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3916 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
3917 long_double_symbol only if __logbl is defined.
3918 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
3919 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
3920 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
3921 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
3922 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
3923 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
3924 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
3925 path for implementation.
3926 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
3927 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
3928 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
3929 logb, and logbl multiarch implementations for PowerPC32.
3930 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
3932 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
3934 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
3935 multiarch logb for PowerPC32.
3936 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
3938 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
3940 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
3941 multiarch logbf for PowerPC32.
3942 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
3943 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
3945 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
3946 multiarch logbl implementation for PowerPC32.
3948 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3950 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
3951 and modff multiarch implementations.
3952 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
3954 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
3956 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
3957 multiarch modf for PowerPC32.
3958 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
3960 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
3962 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
3963 multiarch modff for PowerPC32.
3965 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3967 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
3968 and lrintf multiarch implementations.
3969 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
3971 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
3973 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
3974 multiarch lrint for PowerPC32.
3975 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
3976 file: multiarch lrintf for PowerPC32.
3978 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3980 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
3981 and lroundf multiarch implementations.
3982 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
3984 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
3986 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
3988 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
3989 multiarch lround for PowerPC32.
3990 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
3991 file: multiarch lroundf for PowerPC32.
3993 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3995 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
3996 copysign and copysignf multiarch implementations.
3997 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
3999 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
4001 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
4002 file: multiarch copysign for PowerPC32.
4003 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
4004 file: multiarch copysignf for PowerPC32.
4006 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4008 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
4009 and truncf multiarch implementations.
4010 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
4012 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
4014 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
4015 multiarch trunc for PowerPC32.
4016 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
4018 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
4020 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
4021 multiarch truncf for PowerPC32.
4023 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4025 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
4026 and roundf multiarch implementations.
4027 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
4029 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
4031 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
4032 multiarch round for PowerPC32.
4033 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
4035 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
4037 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
4038 multiarch roundf for PowerPC32.
4040 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4042 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
4043 and floorf multiarch implementations.
4044 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
4046 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
4048 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
4049 multiarch floor for PowerPC32.
4050 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
4052 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
4054 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
4055 multiarch floorf for PowerPC32.
4057 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4059 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
4060 and ceilf multiarch implementations.
4061 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
4063 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
4065 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
4066 multiarch ceil for PowerPC32.
4067 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
4069 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
4071 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
4072 multiarch ceilf for PowerPC32.
4074 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4076 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
4078 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
4080 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
4081 and finitef multiarch implementations.
4082 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
4084 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
4086 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
4087 multiarch finite for PowerPC32.
4088 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
4090 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
4091 file: multiarch finitef for PowerPC32.
4093 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4095 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
4096 and isinff multiarch implementations.
4097 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
4099 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
4101 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
4102 multiarch isinf for PowerPC32.
4103 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
4105 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
4106 multiarch isinff for PowerPC32.
4108 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4110 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
4111 alias when __isnan is defined.
4112 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
4113 and isnanf multiarch implementations.
4114 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
4116 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
4118 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
4120 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
4122 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
4123 multiarch isnan for PowerPC32.
4124 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
4126 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
4128 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
4129 multiarch isnanf for PowerPC32.
4131 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4133 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
4134 and sqrtf multiarch implementations.
4135 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
4137 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
4139 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
4140 multiarch sqrt for PowerPC32.
4141 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
4143 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
4145 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
4146 multiarch sqrtf for PowerPC32.
4148 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4150 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
4151 and llroundf multiarch implementations.
4152 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
4154 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
4156 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
4158 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
4159 file: multiarch llround for PowerPC32.
4160 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
4161 file: multiarch llroundf for PowerPC32.
4163 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4165 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
4166 multiarch PowerPC32 fpu implementations.
4167 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
4169 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
4171 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
4172 multiarch llrint for PowerPC32.
4173 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
4175 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
4177 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
4180 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4182 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
4184 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4186 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
4188 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
4190 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
4192 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
4193 multiarch wordcopy for PPC32.
4194 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
4196 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
4197 (__libc_ifunc_impl_list): Likewise.
4198 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
4199 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
4200 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
4201 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
4202 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
4203 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
4205 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4207 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
4208 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
4210 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
4212 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
4214 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
4215 multiarch wcscpy for PPC32.
4216 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
4218 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
4219 (__libc_ifunc_impl_list): Likewise.
4220 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
4221 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
4222 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
4223 sysdeps/powerpc/power6/wcscpy.c.
4225 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4227 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
4228 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
4230 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
4232 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
4234 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
4235 multiarch wcsrchr for PPC32.
4236 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
4238 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
4239 (__libc_ifunc_impl_list): Likewise.
4240 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
4241 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
4242 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
4243 sysdeps/powerpc/power6/wcsrchr.c.
4245 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4247 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
4249 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
4251 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
4252 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
4253 multiarch wcschr for PPc32.
4254 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
4256 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
4257 (__libc_ifunc_impl_list): Likewise.
4258 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
4259 * sysdeps/powerpc/power6/wcschr.c: ... to here.
4260 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
4261 sysdeps/powerpc/power6/wcschr.c.
4263 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4265 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
4266 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
4268 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
4269 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
4270 file: multiarch strchr for PPC32.
4271 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
4273 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
4274 (__libc_ifunc_impl_list): Likewise.
4276 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4278 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
4280 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
4282 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
4284 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
4285 multiarch strchrnul for PPC32.
4286 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
4288 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
4289 (__libc_ifunc_impl_list): Likewise.
4291 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4293 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
4295 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
4296 multiarch strncasecmp for PPC32.
4297 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
4299 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
4300 multiarch strncasecmp_l for PPC32.
4301 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
4302 strncasecmp multiarch objects.
4303 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
4304 (__libc_ifunc_impl_list): Likewise.
4306 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4308 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
4310 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
4311 multiarch strncasecmp for PPC32.
4312 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
4314 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
4315 multiarch strcasecmp_l for PPC32.
4316 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
4318 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
4319 (__libc_ifunc_impl_list): Likewise.
4321 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4323 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
4325 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
4327 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
4328 multiarch strncmp for PPC32.
4329 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
4331 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
4332 (__libc_ifunc_impl_list): Likewise.
4334 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4336 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
4337 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
4339 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
4340 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
4341 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
4343 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
4344 (__libc_ifunc_impl_list): Likewise.
4346 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4348 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
4350 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
4352 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
4353 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
4355 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
4356 (__libc_ifunc_impl_list): Likewise.
4358 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4360 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
4362 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
4364 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
4365 multiarch rawmemchr for PPC32.
4366 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
4368 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
4369 (__libc_ifunc_impl_list): Likewise.
4371 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4373 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
4375 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
4377 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
4378 file: memrchr multiarch for PPC32.
4379 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
4381 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
4382 (__libc_ifunc_impl_list): Likewise.
4384 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4386 * string/memchr.c (__memchr): Using macro to redefine symbol name.
4387 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
4389 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
4390 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
4391 multiarch memchr for PPC32.
4392 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
4394 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
4395 (__libc_ifunc_impl_list): Likewise.
4397 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4399 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
4400 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
4402 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
4404 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
4405 file: multiarch mempcpy for PPC32.
4406 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
4408 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
4409 (__libc_ifunc_impl_list): Likewise.
4411 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4413 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
4414 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
4415 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
4416 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
4417 multiarch bzero for PPC32.
4418 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
4420 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
4422 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
4423 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
4424 file: multiarch memset for PPC32.
4425 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
4426 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
4427 memset multiarch objects.
4428 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
4429 (__libc_ifunc_impl_list): Likewise.
4431 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4433 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
4435 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
4436 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
4438 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
4439 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
4441 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
4442 (__libc_ifunc_impl_list): Likewise.
4444 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4446 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
4447 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
4448 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
4450 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
4452 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
4454 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
4455 multiarch memcpy for PPC32.
4456 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
4458 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
4459 (__libc_ifunc_impl_list): Likewise.
4461 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4463 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
4464 support multiarch for POWER/PPC32.
4465 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
4467 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
4468 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
4469 Implies file to make multiarch folder appers before the fpu and
4470 default folder for power4 configuration.
4472 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
4474 * scripts/bench.pl: Append volatile keyword to type.
4476 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4478 * sysdeps/sh/sotruss-lib.c: New file.
4479 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
4481 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4483 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4485 2013-12-05 Joseph Myers <joseph@codesourcery.com>
4488 * math/w_tgamma.c: Include <errno.h>.
4489 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
4490 * math/w_tgammaf.c: Include <errno.h>.
4491 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
4492 * math/w_tgammal.c: Include <errno.h>.
4493 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
4494 * math/auto-libm-test-in: Do not allow missing errno on tgamma
4495 underflow. Add more tgamma tests.
4496 * math/auto-libm-test-out: Regenerated.
4497 * sysdeps/i386/fpu/libm-test-ulps: Update.
4498 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4500 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
4501 sin, sinh, tan, tanh, tgamma, y0 and y1.
4502 * math/auto-libm-test-out: Regenerated.
4503 * math/libm-test.inc (TEST_COND_x86_64): New macro.
4504 (TEST_COND_x86): Likewise.
4505 (M_E2l): Remove macro.
4507 (M_2_SQRT_PIl): Likewise.
4508 (M_SQRT_PIl): Likewise.
4509 (M_1_DIV_El): Likewise.
4510 (log_test_data): Use AUTO_TESTS_f_f.
4511 (log10_test_data): Likewise.
4512 (log1p_test_data): Likewise.
4513 (log2_test_data): Likewise.
4514 (sin_test_data): Likewise.
4515 (sin_tonearest_test_data): Likewise.
4516 (sin_towardzero_test_data): Likewise.
4517 (sin_downward_test_data): Likewise.
4518 (sin_upward_test_data): Likewise.
4519 (sinh_test_data): Likewise.
4520 (sinh_tonearest_test_data): Likewise.
4521 (sinh_towardzero_test_data): Likewise.
4522 (sinh_downward_test_data): Likewise.
4523 (sinh_upward_test_data): Likewise.
4524 (tan_test_data): Likewise.
4525 (tan_tonearest_test_data): Likewise.
4526 (tan_towardzero_test_data): Likewise.
4527 (tan_downward_test_data): Likewise.
4528 (tan_upward_test_data): Likewise.
4529 (tanh_test_data): Likewise.
4530 (tgamma_test_data): Likewise.
4531 (y0_test_data): Likewise.
4532 (y1_test_data): Likewise.
4533 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
4534 (special_real_inputs): Add pi/4.
4535 * sysdeps/i386/fpu/libm-test-ulps: Update.
4536 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4538 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4540 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
4541 "longjmp_target" static probes.
4542 (__longjmp): Rename to __longjmp_symbol.
4543 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
4544 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
4545 on which longjmp to generate.
4546 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
4547 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
4549 (__sigsetjmp): Rename to __sigsetjmp_symbol.
4550 (__sigjmp_save): Rename to __sigjmp_save_symbol.
4551 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
4552 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
4553 and __sigjmp_save_symbol based on which sigsetjmp to generated.
4554 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
4555 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
4556 __longjmp_symbol based on which __longjmp to generate.
4557 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
4559 (setjmp): Rename to setjmp_symbol.
4560 (__sigsetjmp): Rename to __sigsetjmp_symbol.
4561 (_setjmp): Rename to _setjmp_symbol.
4562 (__sigsetjmp): Rename to __sigsetjmp_symbol.
4563 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
4564 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
4565 which setjmp to generate.
4566 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
4567 "longjmp_target" static probes.
4569 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
4571 * benchtests/README: Add note about output arguments.
4572 * benchtests/bench-sincos.c: Remove file.
4573 * benchtests/sincos-inputs: New file.
4574 * scripts/bench.pl: Identify output arguments and define
4575 static variables for them.
4577 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
4580 * Makefile (INSTALL): Add install-plain.texi as the primary
4582 * manual/install-plain.texi: New file.
4583 * manual/install.texi: Include node directive only for
4584 non-plaintext output.
4586 2013-12-04 Joseph Myers <joseph@codesourcery.com>
4588 * stdlib/longlong.h: Update from GCC.
4592 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
4593 * math/w_j0f.c (y0f): Likewise.
4594 * math/w_j0l.c (__y0l): Likewise.
4595 * math/w_j1.c (y1): Likewise.
4596 * math/w_j1f.c (y1f): Likewise.
4597 * math/w_j1l.c (__y1l): Likewise
4598 * math/w_jn.c (yn): Likewise.
4599 * math/w_jnf.c (ynf): Likewise.
4600 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
4601 Bessel function pole errors in _POSIX_ mode. Use NAN as return
4602 value for Bessel function domain errors outside _SVID_ mode.
4603 Adjust sign of return value for yn (negative integer, 0).
4604 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
4605 by zero in return for negative x and set sign appropriately for
4607 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
4608 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
4609 * math/libm-test.inc (y0_test_data): Add more tests and adjust
4610 expectations in error cases.
4611 (y1_test_data): Likewise.
4612 (yn_test_data): Likewise.
4613 * sysdeps/i386/fpu/libm-test-ulps: Update.
4614 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4616 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4618 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
4619 "64" to "64-v1". Add "64-v2".
4620 (abi-64-options): Rename to ...
4621 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
4622 (abi-64-condition): Rename to ...
4623 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
4624 (abi-64-ld-soname): Rename to ...
4625 (abi-64-v1-ld-soname): ... this.
4626 (abi-64-v2-options): Define.
4627 (abi-64-v2-condition): Likewise.
4628 (abi-64-v2-ld-soname): Likewise.
4629 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
4630 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
4631 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
4632 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
4633 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
4635 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4636 Alan Modra <amodra@gmail.com>
4638 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
4639 New versions for use with the ELFv2 ABI.
4640 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
4641 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
4643 (struct La_ppc64v2_retval): Likewise.
4644 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
4645 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
4646 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
4647 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
4648 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
4649 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
4650 Do not save or restore CR.
4651 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
4652 (_dl_profile_resolve): Do no save or restore CR. Support extended
4653 return values for ELFv2 ABI. Fix location of FPR return registers.
4654 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
4655 updated values for _CALL_ELF == 2.
4656 (La_regs, La_retval, int_retval): Likewise.
4658 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4660 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
4661 (FRAME_MIN_SIZE_PARM): Likewise.
4662 (FRAME_BACKCHAIN): Likewise.
4663 (FRAME_CR_SAVE): Likewise.
4664 (FRAME_LR_SAVE): Likewise.
4665 (FRAME_TOC_SAVE): Likewise.
4666 (FRAME_PARM_SAVE): Likewise.
4667 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
4668 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
4669 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
4670 (call_mcount_parm_offset): New macro.
4671 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
4672 (PROF): Use symbolic stack frame offsets.
4673 (TAIL_CALL_SYSCALL_ERROR): Likewise.
4674 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
4675 Redefine in terms of FRAME_MIN_SIZE.
4676 (_dl_runtime_resolve): Use symbolic stack frame offsets.
4677 (_dl_profile_resolve): Likewise. Update comment.
4678 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
4679 symbols stack frame offsets.
4680 (__sigsetjmp): Likewise.
4681 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
4682 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
4683 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
4684 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
4686 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
4687 (FRAME_BACKCHAIN): Remove.
4688 (FRAME_CR_SAVE): Likewise.
4689 (FRAME_LR_SAVE): Likewise.
4690 (FRAME_COMPILER_DW): Likewise.
4691 (FRAME_LINKER_DW): Likewise.
4692 (FRAME_TOC_SAVE): Likewise.
4693 (FRAME_PARM_SAVE): Likewise.
4694 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
4695 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
4696 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
4697 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
4698 (CHECK_SP): Use symbolic stack frame offsets.
4699 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
4700 zone" instead of caller's parameter save area for temp storage.
4701 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
4702 Likewise. Also, use symbolic stack frame offsets.
4703 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
4704 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
4705 our own stack frame instead of the caller's.
4706 (__socket): Use symbolic stack frame offsets.
4708 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4709 Alan Modra <amodra@gmail.com>
4711 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
4713 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK,
4714 PPC64_LOCAL_ENTRY_OFFSET): Define.
4715 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
4717 (elf_machine_fixup_plt): Call it.
4718 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
4720 (elf_machine_rela): Update call to elf_machine_plt_conflict.
4721 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
4722 _dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
4723 r2 before calling target.
4725 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4726 Alan Modra <amodra@gmail.com>
4728 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
4729 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
4730 versions of macros to support ELFv2 ABI.
4731 (LOCALENTRY): New macro.
4732 (ENTRY, EALIGN): Use it.
4733 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
4734 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
4735 fall through into ENTRY entry point.
4736 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
4737 Only define if _CALL_ELF != 2.
4739 (elf_machine_matches_host): Verify ABI version matches.
4740 (RTLD_START): Use LOCALENTRY.
4741 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
4742 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
4743 (PLT_ENTRY_WORDS): New macro.
4744 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
4745 (elf_machine_runtime_setup): Support ELFv2 ABI.
4746 (elf_machine_fixup_plt): Likewise.
4747 (elf_machine_plt_conflict): Likewise.
4748 (resolve_ifunc): Likewise.
4749 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
4750 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
4752 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
4753 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
4754 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
4755 (makecontext): Support ELFv2 ABI.
4756 * elf/elf.h (EF_PPC64_ABI): Define.
4758 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4760 * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
4761 New assembler macro.
4762 [ASSEMBLER] (ENTRY_1): Do not switch to .text section here ...
4763 [ASSEMBLER] (ENTRY): ... but instead here ...
4764 [ASSEMBLER] (EALIGN): ... and here.
4765 [!ASSEMBLER] (PPC64_LOAD_FUNCPTR): New macro.
4766 [!ASSEMBLER] (ENTRY_1): New macro; set up .opd entry.
4767 [!ASSEMBLER] (ENTRY_2): Use it.
4768 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
4769 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
4770 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
4771 _dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
4772 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
4773 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
4774 Use PPC64_LOAD_FUNCPTR.
4776 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4778 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
4780 2013-12-04 Alan Modra <amodra@gmail.com>
4782 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
4783 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
4784 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
4785 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
4787 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
4788 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
4789 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
4790 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
4791 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
4792 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
4794 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4796 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
4797 (__makecontext): Fix incorrect CFI when backtracing out of
4798 context created via makecontext.
4799 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
4800 (__setcontext): Fix incorrect CFI during switch to new context.
4801 (__novec_setcontext): Likewise.
4803 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
4806 * time/strptime_l.c (__strptime_internal): Allow modifiers
4808 * time/tst-strptime.c (day_tests): Add testcase.
4811 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4813 * scripts/bench.pl: Skip over blank lines.
4815 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
4818 * manual/time.texi (Calendar Time): Clarify what timezone functions
4821 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4823 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4825 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
4827 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
4829 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
4830 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
4831 * debug/memset_chk.c (__memset_chk): Likewise.
4832 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
4833 * debug/strncpy_chk.c: Likewise.
4835 2013-12-03 Joseph Myers <joseph@codesourcery.com>
4839 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
4840 (__ieee754_exp): For possibly underflowing results, check size of
4841 result and force underflow exception if required.
4842 * math/auto-libm-test-in: Add more tests of exp.
4843 * math/auto-libm-test-out: Regenerated.
4844 * sysdeps/i386/fpu/libm-test-ulps: Update.
4845 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4848 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
4849 * math/w_exp2f.c (__exp2f): Likewise.
4850 * math/w_exp2l.c (__exp2l): Likewise.
4851 * math/auto-libm-test-in: Do not allow missing errno on exp2
4853 * math/auto-libm-test-out: Regenerated.
4855 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
4858 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
4859 handle filename validation.
4860 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
4863 2013-12-03 Joseph Myers <joseph@codesourcery.com>
4866 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
4867 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
4868 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
4870 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
4871 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
4872 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
4873 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
4874 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
4875 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
4876 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
4877 * math/auto-libm-test-in: Don't allow missing errno from erfc.
4878 Add more erfc tests.
4879 * math/auto-libm-test-out: Regenerated.
4880 * sysdeps/i386/fpu/libm-test-ulps: Update.
4881 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4883 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
4884 exp2, expm1, j0 and j1.
4885 * math/auto-libm-test-out: Regenerated.
4886 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
4887 (erfc_test_data): Likewise.
4888 (exp_test_data): Likewise.
4889 (exp_tonearest_test_data): Likewise.
4890 (exp_towardzero_test_data): Likewise.
4891 (exp_downward_test_data): Likewise.
4892 (exp_upward_test_data): Likewise.
4893 (exp10_test_data): Likewise.
4894 (exp2_test_data): Likewise.
4895 (expm1_test_data): Likewise.
4896 (j0_test_data): Likewise.
4897 (j1_test_data): Likewise.
4898 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
4899 (input_flag_type): Add flag_xfail_rounding.
4900 (input_flags): Add xfail-rounding.
4901 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
4902 (output_for_one_input_case): Handle flag_xfail_rounding.
4903 * sysdeps/i386/fpu/libm-test-ulps: Update.
4904 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4906 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
4909 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
4912 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
4915 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
4916 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
4917 (STAP_PROBE0): New macro.
4918 (STAP_PROBE1): Likewise.
4919 (STAP_PROBE2): Likewise.
4920 (STAP_PROBE3): Likewise.
4921 (STAP_PROBE4): Likewise.
4923 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
4925 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
4927 2013-12-02 Steve Ellcey <sellcey@mips.com>
4929 * benchtests/Makefile (bench): Add sqrt.
4930 (LDLIBS-bench-sqrt): New.
4931 * benchtests/sqrt-input: New.
4933 2013-12-02 Pavel Simerda <psimerda@redhat.com>
4935 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
4936 (GAIH_EAI): Likewise.
4937 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
4938 (gaih_inet): Likewise.
4939 (getaddrinfo): Don't use GAIH_EAI.
4941 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
4942 (struct gaih): Remove definition.
4944 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
4946 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
4947 Use HERRNOP directly.
4949 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4951 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4953 2013-11-30 Joseph Myers <joseph@codesourcery.com>
4955 * math/gen-auto-libm-tests.c (test_functions): Add more
4956 single-argument functions.
4957 (special_fill_pi_2): New function.
4958 (special_fill_minus_pi_2): Likewise.
4959 (special_fill_pi_6): Likewise.
4960 (special_fill_minus_pi_6): Likewise.
4961 (special_fill_pi_3): Likewise.
4962 (special_fill_2pi_3): Likewise.
4963 (special_fill_e): Likewise.
4964 (special_fill_1_e): Likewise.
4965 (special_fill_e_minus_1): Likewise.
4966 (special_real_inputs): Add more special inputs.
4967 (output_for_one_input_case): Do not require ERANGE on underflow to
4968 zero if round-to-nearest result does not underflow to zero, unless
4969 exact results required.
4970 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
4971 atan, atanh, cbrt, cos and cosh.
4972 * math/auto-libm-test-out: Regenerated.
4973 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
4974 (acos_tonearest_test_data): Likewise.
4975 (acos_towardzero_test_data): Likewise.
4976 (acos_downward_test_data): Likewise.
4977 (acos_upward_test_data): Likewise.
4978 (acosh_test_data): Likewise.
4979 (asin_test_data): Likewise.
4980 (asin_tonearest_test_data): Likewise.
4981 (asin_towardzero_test_data): Likewise.
4982 (asin_upward_test_data): Likewise.
4983 (asinh_test_data): Likewise.
4984 (atan_test_data): Likewise.
4985 (atanh_test_data): Likewise.
4986 (cbrt_test_data): Likewise.
4987 (cos_test_data): Likewise.
4988 (cos_tonearest_test_data): Likewise.
4989 (cos_towardzero_test_data): Likewise.
4990 (cos_downward_test_data): Likewise.
4991 (cos_upward_test_data): Likewise.
4992 (cosh_test_data): Likewise.
4993 (cosh_tonearest_test_data): Likewise.
4994 (cosh_towardzero_test_data): Likewise.
4995 (cosh_downward_test_data): Likewise.
4996 (cosh_upward_test_data): Likewise.
4997 * sysdeps/i386/fpu/libm-test-ulps: Update.
4998 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5000 2013-11-29 Joseph Myers <joseph@codesourcery.com>
5003 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
5004 * math/w_exp10f.c (__exp10f): Likewise.
5005 * math/w_exp10l.c (__exp10l): Likewise.
5006 * math/libm-test.inc (exp10_test_data): Add more tests and expect
5007 errno settings in existing tests.
5010 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
5011 precision control set to double precision.
5012 * sysdeps/i386/fpu/w_sqrt.c: New file.
5013 * math/auto-libm-test-in: Add more tests.
5014 * math/auto-libm-test-out: Update.
5016 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
5017 (sqrt_test_tonearest): New function.
5018 (sqrt_towardzero_test_data): New variable.
5019 (sqrt_test_towardzero): New function.
5020 (sqrt_downward_test_data): New variable.
5021 (sqrt_test_downward): New function.
5022 (sqrt_upward_test_data): New variable.
5023 (sqrt_test_upward): New function.
5024 (main): Call the new functions.
5026 * math/gen-auto-libm-tests.c: New file.
5027 * math/auto-libm-test-in: Likewise.
5028 * math/auto-libm-test-out: New generated file.
5029 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
5031 (%beautify): Add generated representations of zero.
5032 (top level): Set $auto_input and call parse_auto_input.
5033 (beautify): Remove trailing "f" from hex float constants.
5034 (parse_args): Handle XFAIL_TEST.
5035 (convert_condition): New function.
5036 (or_value): Likewise.
5037 (or_cond_value): Likewise.
5038 (generate_testfile): Handle AUTO_TESTS_* lines.
5039 (parse_auto_input): New function.
5040 * math/libm-test.inc (XFAIL_TEST): New macro.
5041 (ERRNO_UNCHANGED): Update value.
5042 (ERRNO_EDOM): Likewise.
5043 (ERRNO_ERANGE): Likewise.
5044 (IGNORE_RESULT): Likewise.
5045 (TEST_COND_flt_32): New macro.
5046 (TEST_COND_dbl_64): Likewise.
5047 (TEST_COND_ldbl_96_intel): Likewise.
5048 (TEST_COND_ldbl_96_m68k): Likewise.
5049 (TEST_COND_ldbl_128): Likewise.
5050 (TEST_COND_ldbl_128ibm): Likewise.
5051 (TEST_COND_long32): Likewise.
5052 (TEST_COND_long64): Likewise.
5053 (TEST_COND_before_rounding): Likewise.
5054 (TEST_COND_after_rounding): Likewise.
5055 (enable_test): Handle XFAIL_TEST flag.
5056 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
5057 with finite results.
5058 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
5061 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
5062 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5065 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
5066 __tls_get_addr_internal instead of __tls_get_offset in order to
5067 avoid GOT pointer dependency. Make rtld export
5068 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
5069 __tls_get_addr since we are a __tls_get_offset platform.
5070 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
5071 GOT pointer being set up before.
5072 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
5074 2013-11-28 Joseph Myers <joseph@codesourcery.com>
5076 * manual/math.texi (Errors in Math Functions): Document accuracy
5080 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
5081 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
5082 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
5083 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
5084 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
5085 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
5086 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
5087 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
5088 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
5089 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
5090 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
5091 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
5092 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
5093 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
5094 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
5095 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
5097 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
5098 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
5099 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
5100 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
5101 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
5103 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
5105 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
5107 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
5108 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
5109 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
5110 atomic-feupdateenv and flt-rounds.
5111 * sysdeps/powerpc/nofpu/Versions (libc): Add
5112 __atomic_feholdexcept, __atomic_feclearexcept,
5113 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
5114 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
5115 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
5116 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
5117 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
5119 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
5122 * manual/arith.texi (FP Exceptions): Document that exceptions may
5123 not be raised when matherr is used.
5124 (Math Error Reporting): Document overflow in directed rounding
5125 modes. Document that errno may not be set when finite values are
5126 returned on overflow. Document intent to set errno on underflow
5127 only for underflow to zero.
5130 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
5131 round-to-nearest then adjust result for other rounding modes.
5132 * include/fenv.h (fegetround): Use libm_hidden_proto.
5133 * math/fegetround.c (fegetround): Use libm_hidden_def.
5134 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
5135 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
5136 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
5137 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
5139 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
5140 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
5141 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
5142 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
5144 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5147 * nss/Versions (libnss_files): Add
5148 _nss_files_gethostbyname3_r.
5149 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
5151 (HOST_DB_LOOKUP): Remove macro.
5152 (_nss_files_gethostbyname_r): Implement function without the
5153 HOST_DB_LOOKUP macro.
5154 (_nss_files_gethostbyname2_r): Likewise.
5156 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
5158 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
5160 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
5162 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
5163 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
5166 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5168 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
5169 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
5170 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
5171 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
5172 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
5173 __fe_nomask_env_priv and attribute_hidden.
5174 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
5175 (libc_feupdateenv_test_ppc): Likewise.
5176 (libc_feresetround_ppc): Likewise.
5177 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
5178 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
5179 compat_symbol macro.
5180 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
5181 (__fe_nomask_env): Likewise.
5182 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
5184 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
5186 * string/Makefile: Remove ifunc tests.
5187 * string/test-string.h: Define TEST_IFUNC.
5188 * string/test-bcopy-ifunc.c: Remove.
5189 * string/test-bzero-ifunc.c: Likewise.
5190 * string/test-memccpy-ifunc.c: Likewise.
5191 * string/test-memchr-ifunc.c: Likewise.
5192 * string/test-memcmp-ifunc.c: Likewise.
5193 * string/test-memcpy-ifunc.c: Likewise.
5194 * string/test-memmem-ifunc.c: Likewise.
5195 * string/test-memmove-ifunc.c: Likewise.
5196 * string/test-mempcpy-ifunc.c: Likewise.
5197 * string/test-memrchr-ifunc.c: Likewise.
5198 * string/test-memset-ifunc.c: Likewise.
5199 * string/test-rawmemchr-ifunc.c: Likewise.
5200 * string/test-stpcpy-ifunc.c: Likewise.
5201 * string/test-stpncpy-ifunc.c: Likewise.
5202 * string/test-strcasecmp-ifunc.c: Likewise.
5203 * string/test-strcasestr-ifunc.c: Likewise.
5204 * string/test-strcat-ifunc.c: Likewise.
5205 * string/test-strchr-ifunc.c: Likewise.
5206 * string/test-strchrnul-ifunc.c: Likewise.
5207 * string/test-strcmp-ifunc.c: Likewise.
5208 * string/test-strcpy-ifunc.c: Likewise.
5209 * string/test-strcspn-ifunc.c: Likewise.
5210 * string/test-strlen-ifunc.c: Likewise.
5211 * string/test-strncasecmp-ifunc.c: Likewise.
5212 * string/test-strncat-ifunc.c: Likewise.
5213 * string/test-strncmp-ifunc.c: Likewise.
5214 * string/test-strncpy-ifunc.c: Likewise.
5215 * string/test-strnlen-ifunc.c: Likewise.
5216 * string/test-strpbrk-ifunc.c: Likewise.
5217 * string/test-strrchr-ifunc.c: Likewise.
5218 * string/test-strspn-ifunc.c: Likewise.
5219 * string/test-strstr-ifunc.c: Likewise.
5221 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
5223 * benchtests/Makefile: Remove ifunc tests.
5224 * benchtests/bench-string.h: Define TEST_IFUNC.
5225 * benchtests/bench-bcopy-ifunc.c: Remove.
5226 * benchtests/bench-bzero-ifunc.c: Likewise.
5227 * benchtests/bench-memccpy-ifunc.c: Likewise.
5228 * benchtests/bench-memchr-ifunc.c: Likewise.
5229 * benchtests/bench-memcmp-ifunc.c: Likewise.
5230 * benchtests/bench-memcpy-ifunc.c: Likewise.
5231 * benchtests/bench-memmem-ifunc.c: Likewise.
5232 * benchtests/bench-memmove-ifunc.c: Likewise.
5233 * benchtests/bench-mempcpy-ifunc.c: Likewise.
5234 * benchtests/bench-memrchr-ifunc.c: Likewise.
5235 * benchtests/bench-memset-ifunc.c: Likewise.
5236 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
5237 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
5238 * benchtests/bench-stpcpy-ifunc.c: Likewise.
5239 * benchtests/bench-stpncpy-ifunc.c: Likewise.
5240 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
5241 * benchtests/bench-strcasestr-ifunc.c: Likewise.
5242 * benchtests/bench-strcat-ifunc.c: Likewise.
5243 * benchtests/bench-strchr-ifunc.c: Likewise.
5244 * benchtests/bench-strchrnul-ifunc.c: Likewise.
5245 * benchtests/bench-strcmp-ifunc.c: Likewise.
5246 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
5247 * benchtests/bench-strcpy-ifunc.c: Likewise.
5248 * benchtests/bench-strcspn-ifunc.c: Likewise.
5249 * benchtests/bench-strlen-ifunc.c: Likewise.
5250 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
5251 * benchtests/bench-strncat-ifunc.c: Likewise.
5252 * benchtests/bench-strncmp-ifunc.c: Likewise.
5253 * benchtests/bench-strncpy-ifunc.c: Likewise.
5254 * benchtests/bench-strnlen-ifunc.c: Likewise.
5255 * benchtests/bench-strpbrk-ifunc.c: Likewise.
5256 * benchtests/bench-strrchr-ifunc.c: Likewise.
5257 * benchtests/bench-strsep-ifunc.c: Likewise.
5258 * benchtests/bench-strspn-ifunc.c: Likewise.
5259 * benchtests/bench-strstr-ifunc.c: Likewise.
5261 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
5263 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
5265 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
5267 * resolv/netdb.h: Use __glibc_reserved instead __unused.
5268 * rt/aio.h: Likewise.
5269 * sysdeps/gnu/bits/utmp.h: Likewise.
5270 * sysdeps/gnu/bits/utmpx.h: Likewise.
5271 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
5272 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
5273 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
5274 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
5275 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
5276 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
5277 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
5278 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
5279 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
5280 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
5281 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
5282 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
5283 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
5284 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
5285 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
5286 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
5287 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
5288 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
5289 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
5290 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
5291 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
5292 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
5293 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
5294 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
5295 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
5296 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
5297 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
5298 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
5299 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
5300 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
5301 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
5302 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
5303 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
5304 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
5305 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
5306 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
5307 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
5308 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
5309 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
5310 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
5311 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
5312 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
5314 2013-11-25 Carlos O'Donell <carlos@redhat.com>
5317 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
5318 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
5320 2013-11-25 Joseph Myers <joseph@codesourcery.com>
5322 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
5323 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
5326 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5328 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
5329 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
5330 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
5331 (__fesetround): Remove define.
5332 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
5333 rounding and exceptions handling.
5334 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
5335 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
5336 (__fe_nomask_env): Likewise.
5337 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
5338 __fegetround instead of fegetround.
5339 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
5340 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
5342 2013-11-21 Roland McGrath <roland@hack.frob.com>
5344 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
5347 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
5349 2013-11-21 Meador Inge <meadori@codesourcery.com>
5352 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
5353 (encrypt_r): Likewise.
5354 * malloc/obstack.h (obstack_free): Likewise.
5355 * posix/unistd.h (encrypt): Likewise.
5357 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
5359 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
5360 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
5361 DL_CALL_DT_FINI() that call the functions directly.
5362 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
5363 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
5364 * elf/dl-fini.c: Likewise.
5366 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
5368 * malloc/hooks.c (memalign_check): Add alignment rounding.
5369 * malloc/malloc.c (_mid_memalign): New function.
5370 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
5371 Implement by calling _mid_memalign.
5372 * manual/probes.texi (Memory Allocation Probes): Remove
5373 memory_valloc_retry and memory_pvalloc_retry.
5375 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
5377 * locale/programs/locarchive.c (open_archive): Add const
5378 qualifier to ARCHIVEFNAME and copy default fname to
5382 * libio/tst-widetext.input: Rename Oriya to Odia.
5383 * locale/iso-639.def: Likewise.
5385 * manual/probes.texi (Mathematical Function Probes): Add
5386 documentation for sin, cos, asin and acos probes.
5387 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
5388 (__sin32): Add slowasin probe.
5389 (__cos32): Add slowacos probe.
5390 (__mpsin): Add slowsin probe.
5391 (__mpcos): Add slowcos probe.
5393 2013-11-19 Joseph Myers <joseph@codesourcery.com>
5396 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
5397 thread-local __sim_exceptions_thread and global
5398 __sim_exceptions_global.
5399 (__sim_disabled_exceptions): Change to thread-local
5400 __sim_disabled_exceptions_thread and global
5401 __sim_disabled_exceptions_global.
5402 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
5403 and global __sim_round_mode_global.
5404 (__simulate_exceptions): Use thread-local floating-point state and
5405 set global state from it as needed.
5406 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
5407 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
5408 __sim_round_mode_thread.
5409 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
5410 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
5411 and global __sim_exceptions_global.
5412 (__sim_disabled_exceptions): Change to thread-local
5413 __sim_disabled_exceptions_thread and global
5414 __sim_disabled_exceptions_global.
5415 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
5416 and global __sim_round_mode_global.
5417 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
5418 (SIM_SET_GLOBAL): Likewise.
5419 * sysdeps/powerpc/soft-fp/sfp-machine.h
5420 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
5421 __sim_round_mode_thread.
5422 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
5423 __sim_disabled_exceptions_thread.
5424 (__sim_exceptions): Change to __sim_exceptions_thread.
5425 (__sim_disabled_exceptions): Change to
5426 __sim_disabled_exceptions_thread.
5427 (__sim_round_mode): Change to __sim_round_mode_thread.
5428 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
5429 thread-local floating-point state and set global state from it as
5431 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
5432 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
5433 (__sim_disabled_exceptions): Remove extern declaration.
5434 (feenableexcept): Use thread-local floating-point state and set
5435 global state from it as needed.
5436 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
5438 (__sim_disabled_exceptions): Likewise.
5439 (__sim_round_mode): Likewise.
5440 (__fegetenv): Use thread-local floating-point state.
5441 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
5442 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
5443 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
5444 floating-point state and set global state from it as needed.
5445 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
5446 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
5447 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
5449 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
5450 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
5452 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
5453 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
5454 Use __sim_round_mode_thread.
5455 * math/test-fenv-tls.c: New file.
5456 * math/Makefile (tests): Add test-fenv-tls.
5457 ($(objpfx)test-fenv-tls): Depend on
5458 $(common-objpfx)nptl/libpthread.so.
5460 2013-11-19 Andreas Schwab <schwab@suse.de>
5462 * locale/programs/locale.c (show_info): Decode wordarray elements.
5463 * locale/categories.def (LC_MONETARY): Add element for
5464 _NL_MONETARY_CRNCYSTR.
5465 * locale/C-monetary.c (conversion_rate): New variable.
5466 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
5469 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
5471 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
5472 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
5474 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
5476 * elf/Makefile (tst-auxv): New test.
5477 * elf/tst-auxv.c: New
5478 * elf/rtld.c (dl_main): Adjust AT_EXECFN
5480 2013-11-18 Joseph Myers <joseph@codesourcery.com>
5482 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
5483 (hidden_proto): Caller changed.
5484 (hidden_tls_proto): New macro.
5485 (libc_hidden_tls_proto): Likewise.
5486 (rtld_hidden_tls_proto): Likewise.
5487 (libm_hidden_tls_proto): Likewise.
5488 (libresolv_hidden_tls_proto): Likewise.
5489 (librt_hidden_tls_proto): Likewise.
5490 (libdl_hidden_tls_proto): Likewise.
5491 (libnss_files_hidden_tls_proto): Likewise.
5492 (libnsl_hidden_tls_proto): Likewise.
5493 (libnss_nisplus_hidden_tls_proto): Likewise.
5494 (libutil_hidden_tls_proto): Likewise.
5496 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
5499 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
5500 (decompose_rpath): Defer expansion to fillin_rpath.
5501 (_dl_init_paths): Pass linkmap to fillin_rpath.
5503 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5505 * benchtests/Makefile: Add strsep.
5506 * benchtests/bench-strsep.c: New file: strsep benchtest.
5507 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
5509 2013-11-18 Andreas Schwab <schwab@suse.de>
5511 * locale/programs/locale.c (show_info) [case byte]: Check for
5512 '\377' instead of '\177'.
5513 * locale/C-monetary.c (not_available): Always use "\377".
5514 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
5515 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
5516 detect unavailable sign_posn locale elements.
5517 * locale/localeconv.c (__localeconv): For grouping and
5518 mon_grouping handle "\177" and "\377" like no grouping.
5519 (INT_ELEM): New macro. Use it to set all numeric members.
5520 * locale/programs/ld-monetary.c (monetary_read)
5521 <tok_mon_grouping>: Normalize single -1 to the empty string.
5522 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
5525 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
5528 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
5529 when we match (nil).
5530 * stdio-common/tst-sscanf.c (struct test): Add testcase.
5532 2013-11-16 Joseph Myers <joseph@codesourcery.com>
5534 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
5535 (NO_TEST_INLINE): Update value.
5536 (ERRNO_UNCHANGED): Likewise.
5537 (ERRNO_EDOM): Likewise.
5538 (ERRNO_ERANGE): Likewise.
5539 (IGNORE_RESULT): Likewise.
5540 (check_float_internal): Check signs of NaN results if
5542 (check_complex): Pass TEST_NAN_SIGN flag through to second
5543 check_float_internal call.
5544 (copysign_test_data): Add tests with quiet NaNs as second
5545 argument. Use TEST_NAN_SIGN.
5546 (fabs_test_data): Add test of negative quiet NaN argument. Use
5548 (signbit_test_data): Add tests of quiet NaN argument.
5549 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
5551 * math/gen-libm-test.pl (show_exceptions): Take extra argument
5553 (parse_args): Handle function results specified as IGNORE.
5554 * math/libm-test.inc (IGNORE_RESULT): New macro.
5555 (check_float_internal): Do not check numerical result if flag
5557 (check_complex): Pass through IGNORE_RESULT to second
5558 check_float_internal call.
5559 (check_int): Do not check numerical result if flag IGNORE_RESULT
5561 (check_long): Likewise.
5562 (check_bool): Likewise.
5563 (check_longlong): Likewise.
5564 (lrint_test_data): Add tests of infinite and NaN arguments.
5565 (lrint_tonearest_test_data): Likewise.
5566 (lrint_towardzero_test_data): Likewise.
5567 (lrint_downward_test_data): Likewise.
5568 (lrint_upward_test_data): Likewise.
5569 (llrint_test_data): Likewise.
5570 (llrint_tonearest_test_data): Likewise.
5571 (llrint_towardzero_test_data): Likewise.
5572 (llrint_downward_test_data): Likewise.
5573 (llrint_upward_test_data): Likewise.
5574 (lround_test_data): Likewise.
5575 (llround_test_data): Likewise.
5577 * math/libm-test.inc (NO_TEST_INLINE): New macro.
5578 (ERRNO_UNCHANGED): Update value.
5579 (ERRNO_EDOM): Likewise.
5580 (ERRNO_ERANGE): Likewise.
5581 (NO_TEST_INLINE_FLOAT): New macro.
5582 (NO_TEST_INLINE_DOUBLE): Likewise.
5583 (enable_test): New function.
5584 (RUN_TEST_f_f): Check enable_test before running test.
5585 (RUN_TEST_2_f): Likewise.
5586 (RUN_TEST_fff_f): Likewise.
5587 (RUN_TEST_c_f): Likewise.
5588 (RUN_TEST_f_f1): Likewise.
5589 (RUN_TEST_fF_f1): Likewise.
5590 (RUN_TEST_fI_f1): Likewise.
5591 (RUN_TEST_ffI_f1): Likewise.
5592 (RUN_TEST_c_c): Likewise.
5593 (RUN_TEST_cc_c): Likewise.
5594 (RUN_TEST_f_i): Likewise.
5595 (RUN_TEST_f_i_tg): Likewise.
5596 (RUN_TEST_ff_i_tg): Likewise.
5597 (RUN_TEST_f_b): Likewise.
5598 (RUN_TEST_f_b_tg): Likewise.
5599 (RUN_TEST_f_l): Likewise.
5600 (RUN_TEST_f_L): Likewise.
5601 (RUN_TEST_fFF_11): Likewise.
5602 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
5604 (cosh_test_data): Likewise.
5605 (exp_test_data): Likewise.
5606 (expm1_test_data): Likewise.
5607 (hypot_test_data): Likewise.
5608 (pow_test_data): Likewise.
5609 (sinh_test_data): Likewise.
5610 (tanh_test_data): Likewise.
5611 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
5614 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
5615 tests with quiet NaN input and output.
5616 (acosh_test_data): Likewise.
5617 (asin_test_data): Likewise.
5618 (asinh_test_data): Likewise.
5619 (atan_test_data): Likewise.
5620 (atanh_test_data): Likewise.
5621 (atan2_test_data): Likewise.
5622 (cbrt_test_data): Likewise.
5623 (cos_test_data): Likewise.
5624 (cosh_test_data): Likewise.
5625 (erf_test_data): Likewise.
5626 (erfc_test_data): Likewise.
5627 (exp_test_data): Likewise.
5628 (exp10_test_data): Likewise.
5629 (exp2_test_data): Likewise.
5630 (expm1_test_data): Likewise.
5631 (hypot_test_data): Likewise.
5632 (j0_test_data): Likewise.
5633 (j1_test_data): Likewise.
5634 (jn_test_data): Likewise.
5635 (lgamma_test_data): Likewise.
5636 (log_test_data): Likewise.
5637 (log10_test_data): Likewise.
5638 (log1p_test_data): Likewise.
5639 (log2_test_data): Likewise.
5640 (pow_test_data): Likewise.
5641 (scalb_test_data): Likewise.
5642 (sin_test_data): Likewise.
5643 (sincos_test_data): Likewise.
5644 (sinh_test_data): Likewise.
5645 (tan_test_data): Likewise.
5646 (tanh_test_data): Likewise.
5647 (tgamma_test_data): Likewise.
5648 (y0_test_data): Likewise.
5649 (y1_test_data): Likewise.
5650 (yn_test_data): Likewise.
5653 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
5654 argument being NaN and avoid computations with second argument in
5656 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
5657 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
5658 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
5660 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
5662 * locale/iso-639.def: Add Chitwani Tharu (the).
5664 2013-11-14 Andreas Schwab <schwab@suse.de>
5666 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
5667 word instead of empty string.
5669 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5671 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
5672 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
5673 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
5674 (__fe_nomask_env): Likewise.
5676 2013-11-13 Steve Ellcey <sellcey@mips.com>
5678 * benchtests/bench-timing.h: Include time.h.
5680 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
5683 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
5685 * sysdeps/unix/sysv/linux/configure: Regenerated.
5687 2013-11-13 Joseph Myers <joseph@codesourcery.com>
5690 * stdlib/strtod_l.c (round_and_return): Do not consider
5691 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
5692 exponent one less than half the least subnormal exponent.
5693 * stdlib/test-strtod-round-data: Add more tests.
5694 * stdlib/tst-strtod-round.c (tests): Regenerated.
5696 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5699 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
5700 (__fe_mask_env): Likewise.
5701 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
5702 libm_hidden_proto and add function prototype.
5703 (__fe_mask_env): Add function prototype.
5704 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
5705 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
5706 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
5707 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
5708 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
5709 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
5711 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5713 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
5714 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
5716 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5718 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
5719 of htab_find_slot().
5721 2013-11-11 David S. Miller <davem@davemloft.net>
5724 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
5725 symbol in the non-vis3 case in static builds.
5726 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
5727 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
5728 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
5729 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
5731 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5734 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
5737 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5739 * benchtests/Makefile: Add bench-strtod.
5740 * benchtests/bench-strtod.c: New file: strtod benchtest
5742 2013-11-11 Andreas Schwab <schwab@suse.de>
5745 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
5746 terminating NUL in key length.
5748 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5750 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
5751 Add artificial ODP entry for vDSO symbol for PPC64.
5752 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
5753 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
5755 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
5758 * nss/getent.c (services_keys): Recognize services starting with digit.
5760 2013-11-06 David S. Miller <davem@davemloft.net>
5763 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
5764 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
5766 2013-11-06 Will Newton <will.newton@linaro.org>
5768 * manual/memory.texi (Malloc Examples): Remove register
5769 keyword from examples.
5771 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
5773 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
5775 2013-11-04 Joseph Myers <joseph@codesourcery.com>
5778 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
5779 depending on [__GCC_IEC_559 > 0].
5780 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
5781 depending on [__GCC_IEC_559_COMPLEX > 0].
5783 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
5785 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
5788 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
5790 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
5792 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
5795 * malloc/malloc (malloc_info): Do not handle first bin as
5798 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
5800 * locale/iso-639.def: Add Central Nahuatl (nhn).
5802 2013-11-01 Bruno Haible <bruno@clisp.org>
5805 * manual/math.texi (BSD Random): Specify range upper bound as
5808 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
5810 * locale/iso-639.def: Add Meadow Mari (mhr).
5812 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
5814 [BZ #14752], [BZ #15763]
5815 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
5817 * rt/tst_shm.c: Add test for escaping directory.
5819 2013-10-31 Andreas Schwab <schwab@suse.de>
5822 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
5823 followed by 'x' as part of digit sequence.
5824 * stdio-common/tst-sscanf.c (double_tests2): New tests.
5826 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
5829 * configure.ac: allow GNU Make 4.0 and greater.
5830 * configure: Regenerated.
5832 2013-10-30 Will Newton <will.newton@linaro.org>
5835 * malloc/hooks.c (memalign_check): Limit alignment to the
5836 maximum representable power of two.
5837 * malloc/malloc.c (__libc_memalign): Likewise.
5838 * malloc/tst-memalign.c (do_test): Add test for very
5839 large alignment values.
5840 * malloc/tst-posix_memalign.c (do_test): Likewise.
5842 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
5845 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
5846 (munmap_chunk): Likewise.
5847 (mremap_chunk): Likewise.
5849 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
5852 * stdlib/div.c (div): Remove obsolete code.
5853 * stdlib/ldiv.c (ldiv): Likewise.
5854 * stdlib/lldiv.c (lldiv): Likewise.
5856 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5859 * nss/nss_files/files-XXX.c (get_contents_ret): New
5861 (get_contents): New function.
5862 (internal_getent): Use it. Expand size of LINEBUFLEN.
5864 2013-10-30 Mike Frysinger <vapier@gentoo.org>
5866 * configure.in: Moved to ...
5867 * configure.ac: ... here. Change reference to configure.in
5869 * sysdeps/arm/preconfigure.ac: ... here.
5870 configure.in to configure.ac.
5871 * sysdeps/gnu/configure.in: Moved to ...
5872 * sysdeps/gnu/configure.ac: ... here.
5873 * sysdeps/i386/configure.in: Moved to ...
5874 * sysdeps/i386/configure.ac: ... here.
5875 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
5876 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
5877 * sysdeps/mach/configure.in: Moved to ...
5878 * sysdeps/mach/configure.ac: ... here.
5879 * sysdeps/mach/hurd/configure.in: Moved to ...
5880 * sysdeps/mach/hurd/configure.ac: ... here.
5881 * sysdeps/powerpc/configure.in: Moved to ...
5882 * sysdeps/powerpc/configure.ac: ... here.
5883 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
5884 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
5885 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
5886 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
5887 * sysdeps/s390/s390-32/configure.in: Moved to ...
5888 * sysdeps/s390/s390-32/configure.ac: ... here.
5889 * sysdeps/s390/s390-64/configure.in: Moved to ...
5890 * sysdeps/s390/s390-64/configure.ac: ... here.
5891 * sysdeps/sh/configure.in: Moved to ...
5892 * sysdeps/sh/configure.ac: ... here.
5893 * sysdeps/sparc/configure.in: Moved to ...
5894 * sysdeps/sparc/configure.ac: ... here.
5895 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
5896 * sysdeps/unix/sysv/linux/configure.ac: ... here.
5897 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
5898 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
5899 * sysdeps/x86_64/configure.in: Moved to ...
5900 * sysdeps/x86_64/configure.ac: ... here.
5901 * sysdeps/x86_64/preconfigure.in: Moved to ...
5902 * sysdeps/x86_64/preconfigure.ac: ... here.
5903 * aclocal.m4: Change reference to configure.in to configure.ac.
5904 * config.h.in: Likewise.
5905 * manual/install.texi: Likewise.
5906 * manual/maint.texi: Likewise.
5907 * Makefile: Likewise.
5908 * malloc/Makefile: Likewise.
5909 * nscd/Makefile: Likewise.
5910 * Makeconfig: Change reference to configure.in and
5911 preconfigure.in to configure.ac and preconfigure.ac
5913 * INSTALL: Regenerated.
5914 * configure: Likewise.
5915 * sysdeps/gnu/configure: Likewise.
5916 * sysdeps/i386/configure: Likewise.
5917 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
5918 * sysdeps/mach/configure: Likewise.
5919 * sysdeps/mach/hurd/configure: Likewise.
5920 * sysdeps/powerpc/configure: Likewise.
5921 * sysdeps/powerpc/powerpc32/configure: Likewise.
5922 * sysdeps/powerpc/powerpc64/configure: Likewise.
5923 * sysdeps/s390/s390-32/configure: Likewise.
5924 * sysdeps/s390/s390-64/configure: Likewise.
5925 * sysdeps/sh/configure: Likewise.
5926 * sysdeps/sparc/configure: Likewise.
5927 * sysdeps/unix/sysv/linux/configure: Likewise.
5928 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
5929 * sysdeps/x86_64/configure: Likewise.
5930 * sysdeps/x86_64/preconfigure: Likewise.
5932 2013-10-29 Andreas Schwab <schwab@suse.de>
5934 * stdio-common/Makefile (tst-swscanf-ENV): Define.
5936 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5938 * benchtests/pow-inputs: Add new inputs.
5940 * benchtests/exp-inputs: Add new inputs.
5942 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
5943 conditional check for return value.
5944 (__cos32): Likewise.
5946 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5948 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
5949 to provide a boost for large inputs with word alignment.
5950 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
5951 implementation based on optimized PPC64 strcpy.
5952 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
5953 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
5954 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
5955 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
5957 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
5960 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
5962 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
5965 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
5966 * time/tst-strptime.c (day_tests): Add testcase.
5968 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
5971 * manual/pattern.texi: Acknowledge that fnmatch can fail.
5973 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
5976 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
5977 MAP_FAILED on error.
5979 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
5982 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
5983 heap for large requests.
5985 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
5988 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
5989 result if the result has no associated interface.
5990 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
5991 interface for all 127.X.Y.Z addresses.
5993 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
5995 * locale/iso-639.def: Add Ligurian (lij)
5997 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
6000 * sunrpc/rpc_main.c: Document rpcgen -5.
6002 2013-10-19 Michael Stahl <mstahl@redhat.com>
6004 * elf/rtld.c (do_preload): Print the reason why preloading failed.
6006 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
6009 * posix/glob.c: Match only directories when trailing slash is present.
6010 * posix/tst-gnuglob.c (my_opendir): Do not open files.
6011 (main): Add testcase.
6013 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
6016 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
6018 2013-10-18 Carlos O'Donell <carlos@redhat.com>
6020 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
6021 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
6022 AUTH_DES and cindex for FIPS 140-2.
6023 (DES Encryption): Add cindex FIPS 46-3.
6025 * locale/locarchive.h (struct locarhandle): Add fname.
6026 * locale/programs/localedef.c (main): Pass ARGV[remaining]
6027 if an optional argument was specified to --list-archive,
6029 * locale/programs/locarchive.c (show_archive_content): Take new
6030 argument fname and pass it via ah.fname to open_archive.
6031 * locale/programs/localedef.h: Update decl.
6032 (open_archive): If AH->fname is non-null, open that file
6033 rather than the default file name, and don't ignore ENOENT.
6034 (create_archive): Set AH.fname to NULL.
6035 (delete_locales_from_archive): Likewise.
6036 (add_locales_to_archive): Likewise.
6037 * locale/programs/locfile.c (write_all_categories): Likewise.
6039 2013-10-18 Joseph Myers <joseph@codesourcery.com>
6040 Aldy Hernandez <aldyh@redhat.com>
6042 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
6043 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
6044 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
6045 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
6046 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
6047 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
6048 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
6049 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
6050 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
6051 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
6052 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
6053 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
6054 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
6055 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
6056 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
6058 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
6060 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
6062 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
6064 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
6065 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
6067 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
6068 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
6069 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
6070 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
6072 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
6073 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
6074 * sysdeps/powerpc/preconfigure: Likewise.
6075 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
6077 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
6078 Replace contents of file by #include of <fenv_libc.h>.
6079 * sysdeps/powerpc/soft-fp/sfp-machine.h
6080 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
6082 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
6083 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
6084 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
6085 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
6086 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
6087 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
6088 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
6089 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
6090 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
6091 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
6092 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
6093 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
6094 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
6095 Allow copysignl PLT reference to be missing.
6097 2013-10-18 Richard Sandiford <richard@codesourcery.com>
6098 Joseph Myers <joseph@codesourcery.com
6101 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
6103 (add_to_tablewc): Assert sequence of wide characters is nonempty.
6105 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
6107 * elf/tst-tls-dlinfo.c: Don't include tls.h.
6108 * elf/tst-tls1.c: Likewise.
6109 * elf/tst-tls10.h: Likewise.
6110 * elf/tst-tls14.c: Likewise.
6111 * elf/tst-tls2.c: Likewise.
6112 * elf/tst-tls3.c: Likewise.
6113 * elf/tst-tls4.c: Likewise.
6114 * elf/tst-tls5.c: Likewise.
6115 * elf/tst-tls6.c: Likewise.
6116 * elf/tst-tls7.c: Likewise.
6117 * elf/tst-tls8.c: Likewise.
6118 * elf/tst-tls9.c: Likewise.
6119 * elf/tst-tlsmod1.c: Likewise.
6120 * elf/tst-tlsmod13.c: Likewise.
6121 * elf/tst-tlsmod13a.c: Likewise.
6122 * elf/tst-tlsmod14a.c: Likewise.
6123 * elf/tst-tlsmod16a.c: Likewise.
6124 * elf/tst-tlsmod16b.c: Likewise.
6125 * elf/tst-tlsmod2.c: Likewise.
6126 * elf/tst-tlsmod3.c: Likewise.
6127 * elf/tst-tlsmod4.c: Likewise.
6128 * elf/tst-tlsmod5.c: Likewise.
6129 * elf/tst-tlsmod6.c: Likewise.
6131 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
6134 * malloc/malloc.c: remove checks for statistics.
6136 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
6139 * inet/inet_net.c (inet_network): Detect additional invalid strings.
6140 * inet/tst-network.c: Add testcase.
6142 2013-10-17 Andreas Schwab <schwab@suse.de>
6145 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
6146 to determine canonical name.
6148 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
6150 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
6151 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
6152 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6153 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
6154 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6155 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
6156 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
6157 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
6158 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
6159 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
6160 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
6161 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
6162 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
6163 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
6164 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
6165 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
6166 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6167 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
6168 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
6169 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
6170 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
6171 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6172 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
6173 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
6174 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
6175 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
6176 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
6177 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
6178 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
6179 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
6180 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
6181 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
6182 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
6183 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
6184 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
6185 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
6186 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
6187 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
6188 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
6189 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
6190 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
6191 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
6192 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
6193 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
6194 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
6195 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
6196 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
6197 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
6198 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
6199 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
6200 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
6201 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
6202 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
6203 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
6204 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
6205 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
6206 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
6207 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
6209 2013-10-17 Joseph Myers <joseph@codesourcery.com>
6212 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
6213 make result into a quiet NaN.
6215 2013-10-16 Joseph Myers <joseph@codesourcery.com>
6217 * soft-fp/adddf3.c: Fix horizontal whitespace.
6218 * soft-fp/addsf3.c: Likewise.
6219 * soft-fp/addtf3.c: Likewise.
6220 * soft-fp/divdf3.c: Likewise.
6221 * soft-fp/divsf3.c: Likewise.
6222 * soft-fp/divtf3.c: Likewise.
6223 * soft-fp/double.h: Likewise.
6224 * soft-fp/eqdf2.c: Likewise.
6225 * soft-fp/eqsf2.c: Likewise.
6226 * soft-fp/eqtf2.c: Likewise.
6227 * soft-fp/extenddftf2.c: Likewise.
6228 * soft-fp/extended.h: Likewise.
6229 * soft-fp/extendsfdf2.c: Likewise.
6230 * soft-fp/extendsftf2.c: Likewise.
6231 * soft-fp/extendxftf2.c: Likewise.
6232 * soft-fp/fixdfdi.c: Likewise.
6233 * soft-fp/fixdfsi.c: Likewise.
6234 * soft-fp/fixdfti.c: Likewise.
6235 * soft-fp/fixsfdi.c: Likewise.
6236 * soft-fp/fixsfsi.c: Likewise.
6237 * soft-fp/fixsfti.c: Likewise.
6238 * soft-fp/fixtfdi.c: Likewise.
6239 * soft-fp/fixtfsi.c: Likewise.
6240 * soft-fp/fixtfti.c: Likewise.
6241 * soft-fp/fixunsdfdi.c: Likewise.
6242 * soft-fp/fixunsdfsi.c: Likewise.
6243 * soft-fp/fixunsdfti.c: Likewise.
6244 * soft-fp/fixunssfdi.c: Likewise.
6245 * soft-fp/fixunssfsi.c: Likewise.
6246 * soft-fp/fixunssfti.c: Likewise.
6247 * soft-fp/fixunstfdi.c: Likewise.
6248 * soft-fp/fixunstfsi.c: Likewise.
6249 * soft-fp/fixunstfti.c: Likewise.
6250 * soft-fp/floatdidf.c: Likewise.
6251 * soft-fp/floatdisf.c: Likewise.
6252 * soft-fp/floatditf.c: Likewise.
6253 * soft-fp/floatsidf.c: Likewise.
6254 * soft-fp/floatsisf.c: Likewise.
6255 * soft-fp/floatsitf.c: Likewise.
6256 * soft-fp/floattidf.c: Likewise.
6257 * soft-fp/floattisf.c: Likewise.
6258 * soft-fp/floattitf.c: Likewise.
6259 * soft-fp/floatundidf.c: Likewise.
6260 * soft-fp/floatundisf.c: Likewise.
6261 * soft-fp/floatunditf.c: Likewise.
6262 * soft-fp/floatunsidf.c: Likewise.
6263 * soft-fp/floatunsisf.c: Likewise.
6264 * soft-fp/floatunsitf.c: Likewise.
6265 * soft-fp/floatuntidf.c: Likewise.
6266 * soft-fp/floatuntisf.c: Likewise.
6267 * soft-fp/floatuntitf.c: Likewise.
6268 * soft-fp/fmadf4.c: Likewise.
6269 * soft-fp/fmasf4.c: Likewise.
6270 * soft-fp/fmatf4.c: Likewise.
6271 * soft-fp/gedf2.c: Likewise.
6272 * soft-fp/gesf2.c: Likewise.
6273 * soft-fp/getf2.c: Likewise.
6274 * soft-fp/ledf2.c: Likewise.
6275 * soft-fp/lesf2.c: Likewise.
6276 * soft-fp/letf2.c: Likewise.
6277 * soft-fp/muldf3.c: Likewise.
6278 * soft-fp/mulsf3.c: Likewise.
6279 * soft-fp/multf3.c: Likewise.
6280 * soft-fp/negdf2.c: Likewise.
6281 * soft-fp/negsf2.c: Likewise.
6282 * soft-fp/negtf2.c: Likewise.
6283 * soft-fp/op-1.h: Likewise.
6284 * soft-fp/op-2.h: Likewise.
6285 * soft-fp/op-4.h: Likewise.
6286 * soft-fp/op-8.h: Likewise.
6287 * soft-fp/op-common.h: Likewise.
6288 * soft-fp/quad.h: Likewise.
6289 * soft-fp/single.h: Likewise.
6290 * soft-fp/soft-fp.h: Likewise.
6291 * soft-fp/sqrtdf2.c: Likewise.
6292 * soft-fp/sqrtsf2.c: Likewise.
6293 * soft-fp/sqrttf2.c: Likewise.
6294 * soft-fp/subdf3.c: Likewise.
6295 * soft-fp/subsf3.c: Likewise.
6296 * soft-fp/subtf3.c: Likewise.
6297 * soft-fp/truncdfsf2.c: Likewise.
6298 * soft-fp/trunctfdf2.c: Likewise.
6299 * soft-fp/trunctfsf2.c: Likewise.
6300 * soft-fp/trunctfxf2.c: Likewise.
6301 * soft-fp/unorddf2.c: Likewise.
6302 * soft-fp/unordsf2.c: Likewise.
6303 * soft-fp/unordtf2.c: Likewise.
6305 2013-10-15 Joseph Myers <joseph@codesourcery.com>
6307 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
6308 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
6310 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
6312 * elf/dl-libc.c: Clear initfini list after freeing.
6314 2013-10-14 Joseph Myers <joseph@codesourcery.com>
6316 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
6317 * soft-fp/addsf3.c: Likewise.
6318 * soft-fp/addtf3.c: Likewise.
6319 * soft-fp/divdf3.c: Likewise.
6320 * soft-fp/divsf3.c: Likewise.
6321 * soft-fp/divtf3.c: Likewise.
6322 * soft-fp/double.h: Likewise.
6323 * soft-fp/eqdf2.c: Likewise.
6324 * soft-fp/eqsf2.c: Likewise.
6325 * soft-fp/eqtf2.c: Likewise.
6326 * soft-fp/extenddftf2.c: Likewise.
6327 * soft-fp/extended.h: Likewise.
6328 * soft-fp/extendsfdf2.c: Likewise.
6329 * soft-fp/extendsftf2.c: Likewise.
6330 * soft-fp/extendxftf2.c: Likewise.
6331 * soft-fp/fixdfdi.c: Likewise.
6332 * soft-fp/fixdfsi.c: Likewise.
6333 * soft-fp/fixdfti.c: Likewise.
6334 * soft-fp/fixsfdi.c: Likewise.
6335 * soft-fp/fixsfsi.c: Likewise.
6336 * soft-fp/fixsfti.c: Likewise.
6337 * soft-fp/fixtfdi.c: Likewise.
6338 * soft-fp/fixtfsi.c: Likewise.
6339 * soft-fp/fixtfti.c: Likewise.
6340 * soft-fp/fixunsdfdi.c: Likewise.
6341 * soft-fp/fixunsdfsi.c: Likewise.
6342 * soft-fp/fixunsdfti.c: Likewise.
6343 * soft-fp/fixunssfdi.c: Likewise.
6344 * soft-fp/fixunssfsi.c: Likewise.
6345 * soft-fp/fixunssfti.c: Likewise.
6346 * soft-fp/fixunstfdi.c: Likewise.
6347 * soft-fp/fixunstfsi.c: Likewise.
6348 * soft-fp/fixunstfti.c: Likewise.
6349 * soft-fp/floatdidf.c: Likewise.
6350 * soft-fp/floatdisf.c: Likewise.
6351 * soft-fp/floatditf.c: Likewise.
6352 * soft-fp/floatsidf.c: Likewise.
6353 * soft-fp/floatsisf.c: Likewise.
6354 * soft-fp/floatsitf.c: Likewise.
6355 * soft-fp/floattidf.c: Likewise.
6356 * soft-fp/floattisf.c: Likewise.
6357 * soft-fp/floattitf.c: Likewise.
6358 * soft-fp/floatundidf.c: Likewise.
6359 * soft-fp/floatundisf.c: Likewise.
6360 * soft-fp/floatunsidf.c: Likewise.
6361 * soft-fp/floatunsisf.c: Likewise.
6362 * soft-fp/floatuntidf.c: Likewise.
6363 * soft-fp/floatuntisf.c: Likewise.
6364 * soft-fp/floatuntitf.c: Likewise.
6365 * soft-fp/fmadf4.c: Likewise.
6366 * soft-fp/fmasf4.c: Likewise.
6367 * soft-fp/fmatf4.c: Likewise.
6368 * soft-fp/gedf2.c: Likewise.
6369 * soft-fp/gesf2.c: Likewise.
6370 * soft-fp/getf2.c: Likewise.
6371 * soft-fp/ledf2.c: Likewise.
6372 * soft-fp/lesf2.c: Likewise.
6373 * soft-fp/letf2.c: Likewise.
6374 * soft-fp/muldf3.c: Likewise.
6375 * soft-fp/mulsf3.c: Likewise.
6376 * soft-fp/multf3.c: Likewise.
6377 * soft-fp/negdf2.c: Likewise.
6378 * soft-fp/negsf2.c: Likewise.
6379 * soft-fp/negtf2.c: Likewise.
6380 * soft-fp/op-1.h: Likewise.
6381 * soft-fp/op-2.h: Likewise.
6382 * soft-fp/op-4.h: Likewise.
6383 * soft-fp/op-8.h: Likewise.
6384 * soft-fp/op-common.h: Likewise.
6385 * soft-fp/quad.h: Likewise.
6386 * soft-fp/single.h: Likewise.
6387 * soft-fp/soft-fp.h: Likewise.
6388 * soft-fp/sqrtdf2.c: Likewise.
6389 * soft-fp/sqrtsf2.c: Likewise.
6390 * soft-fp/sqrttf2.c: Likewise.
6391 * soft-fp/subdf3.c: Likewise.
6392 * soft-fp/subsf3.c: Likewise.
6393 * soft-fp/subtf3.c: Likewise.
6394 * soft-fp/truncdfsf2.c: Likewise.
6395 * soft-fp/trunctfdf2.c: Likewise.
6396 * soft-fp/trunctfsf2.c: Likewise.
6397 * soft-fp/trunctfxf2.c: Likewise.
6398 * soft-fp/unorddf2.c: Likewise.
6399 * soft-fp/unordsf2.c: Likewise.
6400 * soft-fp/unordtf2.c: Likewise.
6402 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
6405 * misc/error.c (error_tail): Fix possible buffer overflow.
6407 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
6410 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
6413 2013-10-14 P. J. McDermott <pj@pehjota.net>
6416 * elf/ldd.bash.in (try_trace): New function. Delete previous code
6417 testing pipefail option.
6419 2013-10-12 Joseph Myers <joseph@codesourcery.com>
6421 * soft-fp/double.h: Indent preprocessor directives inside #if.
6422 * soft-fp/extended.h: Likewise.
6423 * soft-fp/op-2.h: Likewise.
6424 * soft-fp/op-4.h: Likewise.
6425 * soft-fp/op-common.h: Likewise.
6426 * soft-fp/quad.h: Likewise.
6427 * soft-fp/single.h: Likewise.
6428 * soft-fp/soft-fp.h: Likewise.
6430 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
6432 * iconv/iconv_prog.c: Fix typos.
6433 * stdio-common/psiginfo-data.h: Likewise.
6435 2013-10-12 Reuben Thomas <rrt@sc3d.org>
6438 * locale/setlocale.c: Fix typo.
6440 2013-10-12 Joseph Myers <joseph@codesourcery.com>
6443 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
6444 signaling NaN arguments.
6445 * soft-fp/unordsf2.c (__unordsf2): Likewise.
6446 * soft-fp/unordtf2.c (__unordtf2): Likewise.
6449 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
6451 * soft-fp/gesf2.c (__gesf2): Likewise.
6452 * soft-fp/getf2.c (__getf2): Likewise.
6453 * soft-fp/ledf2.c (__ledf2): Likewise.
6454 * soft-fp/lesf2.c (__lesf2): Likewise.
6455 * soft-fp/letf2.c (__letf2): Likewise.
6457 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
6458 * soft-fp/eqsf2.c (__eqsf2): Likewise.
6459 * soft-fp/eqtf2.c (__eqtf2): Likewise.
6460 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
6461 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
6462 * soft-fp/fixdfti.c (__fixdfti): Likewise.
6463 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
6464 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
6465 * soft-fp/fixsfti.c (__fixsfti): Likewise.
6466 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
6467 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
6468 * soft-fp/fixtfti.c (__fixtfti): Likewise.
6469 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
6470 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
6471 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
6472 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
6473 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
6474 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
6475 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
6476 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
6477 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
6478 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
6479 * soft-fp/floatdisf.c (__floatdisf): Likewise.
6480 * soft-fp/floatsisf.c (__floatsisf): Likewise.
6481 * soft-fp/floattidf.c (__floattidf): Likewise.
6482 * soft-fp/floattisf.c (__floattisf): Likewise.
6483 * soft-fp/floattitf.c (__floattitf): Likewise.
6484 * soft-fp/floatundidf.c (__floatundidf): Likewise.
6485 * soft-fp/floatundisf.c (__floatundisf): Likewise.
6486 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
6487 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
6488 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
6489 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
6490 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
6491 * soft-fp/gesf2.c (__gesf2): Likewise.
6492 * soft-fp/getf2.c (__getf2): Likewise.
6493 * soft-fp/ledf2.c (__ledf2): Likewise.
6494 * soft-fp/lesf2.c (__lesf2): Likewise.
6495 * soft-fp/letf2.c (__letf2): Likewise.
6497 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
6498 Undefine and redefine.
6499 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
6500 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
6501 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
6502 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
6503 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
6504 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
6505 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
6506 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
6507 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
6508 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
6509 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
6510 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
6511 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
6512 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
6513 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
6516 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
6517 without decrementing exponent if mantissa >= that for the
6519 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
6520 denominator, not >. Decrement exponent in < case instead of
6521 incrementing in >= case.
6522 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
6523 without decrementing exponent if mantissa >= that for the
6526 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
6527 computing saturated result for unsigned overflow.
6529 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6530 Jeff Law <law@redhat.com>
6532 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
6533 (atan2Mp): Add systemtap probe marker.
6534 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
6535 (__ieee754_log): Add systemtap probe marker.
6536 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
6537 (atanMp): Add systemtap probe marker.
6538 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
6539 (tanMp): Add systemtap probe marker.
6540 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
6541 (__slowexp): Add systemtap probe marker.
6542 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
6543 (__slowpow): Add systemtap probe marker.
6544 * manual/probes.texi: Document probes.
6546 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
6549 * libio/fileops.c (_IO_new_file_write): Return count of bytes
6551 (_IO_new_file_xsputn): Don't return EOF if nothing has been
6553 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
6554 written to buffer but not flushed.
6555 * libio/iofwrite_u.c: Likewise.
6556 * libio/iopadn.c: Return bytes returned even if EOF was
6558 * libio/iowpadn.c: Likewise.
6559 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
6560 if _IO_padn does not write the whole buffer.
6561 [!COMPILE_WPRINTF] (PAD): Likewise.
6563 2013-10-10 David S. Miller <davem@davemloft.net>
6565 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
6568 2013-10-10 Joseph Myers <joseph@codesourcery.com>
6570 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
6571 instead of FSF address.
6572 * soft-fp/fixdfti.c: Likewise.
6573 * soft-fp/fixsfti.c: Likewise.
6574 * soft-fp/fixtfti.c: Likewise.
6575 * soft-fp/fixunsdfti.c: Likewise.
6576 * soft-fp/fixunssfti.c: Likewise.
6577 * soft-fp/fixunstfti.c: Likewise.
6578 * soft-fp/floattidf.c: Likewise.
6579 * soft-fp/floattisf.c: Likewise.
6580 * soft-fp/floattitf.c: Likewise.
6581 * soft-fp/floatuntidf.c: Likewise.
6582 * soft-fp/floatuntisf.c: Likewise.
6583 * soft-fp/floatuntitf.c: Likewise.
6584 * soft-fp/trunctfxf2.c: Likewise.
6586 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
6587 * soft-fp/fixdfti.c: Likewise.
6588 * soft-fp/fixsfti.c: Likewise.
6589 * soft-fp/fixtfti.c: Likewise.
6590 * soft-fp/fixunsdfti.c: Likewise.
6591 * soft-fp/fixunssfti.c: Likewise.
6592 * soft-fp/fixunstfti.c: Likewise.
6593 * soft-fp/floattidf.c: Likewise.
6594 * soft-fp/floattisf.c: Likewise.
6595 * soft-fp/floattitf.c: Likewise.
6596 * soft-fp/floatuntidf.c: Likewise.
6597 * soft-fp/floatuntisf.c: Likewise.
6598 * soft-fp/floatuntitf.c: Likewise.
6599 * soft-fp/trunctfxf2.c: Likewise.
6601 2013-10-10 David S. Miller <davem@davemloft.net>
6603 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6605 2013-10-10 Joseph Myers <joseph@codsourcery.com>
6607 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
6608 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
6609 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
6610 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
6611 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
6612 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
6613 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
6615 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
6616 for NaNs before doing comparisons on argument.
6617 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
6620 2013-10-10 Will Newton <will.newton@linaro.org>
6622 * malloc/hooks.c (memalign_check): Ensure the value of bytes
6623 passed to _int_memalign does not overflow.
6625 2013-10-10 Torvald Riegel <triegel@redhat.com>
6627 * scripts/bench.pl: Add include-sources directive.
6628 * benchtests/README: Update documentation.
6630 2013-10-10 Joseph Myers <joseph@codesourcery.com>
6632 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
6633 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
6634 instead of FP_INIT_ROUNDMODE.
6635 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
6636 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
6639 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
6640 copy class of input value.
6641 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
6642 not handle exceptions.
6643 * soft-fp/negsf2.c (__negsf2): Likewise.
6644 * soft-fp/negtf2.c (__negtf2): Likewise.
6645 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
6647 2013-10-09 Joseph Myers <joseph@codesourcery.com>
6649 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
6650 semicolon. From Linux kernel.
6652 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
6654 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
6656 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
6659 * manual/socket.texi: Added statement about buffer
6660 for gethostbyname2_r.
6662 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
6664 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
6665 Use .p2align directive instead, throughout.
6666 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
6667 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
6668 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
6669 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
6670 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
6671 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
6672 * sysdeps/x86_64/strchr.S: Likewise.
6673 * sysdeps/x86_64/strrchr.S: Likewise.
6675 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
6677 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
6679 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
6681 * sysdeps/generic/math_private.h (__mpsin1): Remove
6683 (__mpcos1): Likewise.
6684 (__mpsin): New argument __range_reduce.
6685 (__mpcos): Likewise.
6686 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
6687 (slow): Use __mpsin and __mpcos.
6694 (bsloww1): Likewise.
6695 (bsloww2): Likewise.
6698 (csloww1): Likewise.
6699 (csloww2): Likewise.
6700 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
6701 range_reduce. Merge in __mpsin1.
6702 (__mpcos): Likewise.
6704 (__mpcos1): Likewise.
6706 2013-10-07 Joseph Myers <joseph@codesourcery.com>
6708 * locale/loadlocale.c (_nl_intern_locale_data): Use
6710 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
6711 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
6712 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
6713 obstack data is appropriately aligned.
6714 (obstack_int32_grow_fast): Likewise.
6715 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
6716 * locale/programs/locfile.c (add_locale_uint32): Likewise.
6717 (add_locale_uint32_array): Likewise.
6719 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
6721 * benchtests/Makefile: Remove ARGLIST and RET variables.
6722 ($(objpfx)bench-%.c): Pass only function name to the script.
6723 * benchtests/README: Update documentation.
6724 * benchtests/acos-inputs: Add new directives.
6725 * benchtests/acosh-inputs: Likewise.
6726 * benchtests/asin-inputs: Likewise.
6727 * benchtests/asinh-inputs: Likewise.
6728 * benchtests/atan-inputs: Likewise.
6729 * benchtests/atanh-inputs: Likewise.
6730 * benchtests/cos-inputs: Likewise.
6731 * benchtests/cosh-inputs: Likewise.
6732 * benchtests/exp-inputs: Likewise.
6733 * benchtests/log-inputs: Likewise.
6734 * benchtests/pow-inputs: Likewise.
6735 * benchtests/rint-inputs: Likewise.
6736 * benchtests/sin-inputs: Likewise.
6737 * benchtests/sinh-inputs: Likewise.
6738 * benchtests/tan-inputs: Likewise.
6739 * benchtests/tanh-inputs: Likewise.
6740 * scripts/bench.pl: Add support for new directives.
6742 2013-10-07 Alan Modra <amodra@gmail.com>
6744 * README: Fix careless merge.
6746 2013-10-05 Alan Modra <amodra@gmail.com>
6748 * NEWS: Mention powerpc64le support and bugs fixed.
6749 * README: Both big-endian and little-endian powerpc64 supported.
6751 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
6753 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
6754 _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
6755 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
6756 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
6758 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
6760 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
6763 2013-10-04 Joseph Myers <joseph@codesourcery.com>
6765 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
6766 Move -mhard-float appending from
6767 ports/sysdeps/powerpc/powerpc32/Makefile.
6768 [$(with-fp) = yes] (ASFLAGS): Likewise.
6769 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
6770 * sysdeps/powerpc/nofpu: Move directory from
6771 ports/sysdeps/powerpc/nofpu.
6772 * sysdeps/powerpc/soft-fp: Move directory from
6773 ports/sysdeps/powerpc/soft-fp.
6774 * sysdeps/powerpc/powerpc32/405: Move directory from
6775 ports/sysdeps/powerpc/powerpc32/405.
6776 * sysdeps/powerpc/powerpc32/440: Move directory from
6777 ports/sysdeps/powerpc/powerpc32/440.
6778 * sysdeps/powerpc/powerpc32/464: Move directory from
6779 ports/sysdeps/powerpc/powerpc32/464.
6780 * sysdeps/powerpc/powerpc32/476: Move directory from
6781 ports/sysdeps/powerpc/powerpc32/476.
6782 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
6783 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
6784 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
6785 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
6786 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
6787 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
6788 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
6789 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
6790 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
6791 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
6792 * README: Update for powerpc-*-linux-gnu software floating point
6795 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
6796 case to powerpc/powerpc32*.
6797 * sysdeps/unix/sysv/linux/configure: Regenerated.
6799 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
6800 (_FPU_MASK_OM): Define as 0x04.
6801 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
6802 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
6804 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
6806 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
6808 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
6809 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
6811 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
6812 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
6814 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
6815 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
6816 and setcontext_e500.
6818 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
6820 * locale/iso-3166.def: Update iso-1366.def and related occurrences
6822 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
6824 * manual/threads.texi (Default Thread Attributes): Fix typo.
6826 2013-10-04 Will Newton <will.newton@linaro.org>
6828 * malloc/Makefile: Add tst-memalign.
6829 * malloc/tst-memalign.c: New file.
6831 * malloc/tst-posix_memalign.c: Add comments.
6832 (do_test): Add comments and call free on all potentially
6833 allocated pointers. Add space after cast.
6835 * malloc/tst-pvalloc.c: Add comments.
6836 (do_test): Add comments and call free on all potentially
6837 allocated pointers. Remove duplicate check for NULL pointer.
6838 Add space after cast.
6840 * malloc/tst-valloc.c: Add comments.
6841 (do_test): Add comments and call free on all potentially
6842 allocated pointers. Remove duplicate check for NULL pointer.
6843 Add space after cast.
6845 2013-10-04 Alan Modra <amodra@gmail.com>
6847 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
6848 Use stdint types in rather than __attribute__((mode())).
6849 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
6851 2013-10-04 Alan Modra <amodra@gmail.com>
6853 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
6854 Correct handling of unaligned relocs for little-endian.
6855 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
6857 2013-10-04 Alan Modra <amodra@gmail.com>
6859 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
6860 * configure: Regenerate.
6861 * nptl/shlib-versions: Powerpc*le starts at 2.18.
6862 * shlib-versions: Likewise.
6864 2013-10-04 Alan Modra <amodra@gmail.com>
6866 * string/tester.c (test_memrchr): Increment reported test cycle.
6868 2013-10-04 Alan Modra <amodra@gmail.com>
6870 * string/test-memcpy.c (do_one_test): When reporting errors, print
6871 string address and don't overrun end of string.
6873 2013-10-04 Alan Modra <amodra@gmail.com>
6875 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
6876 insrdi. Make better use of reg selection to speed exit slightly.
6877 Schedule entry path a little better. Remove useless "are we done"
6878 checks on entry to main loop. Handle wrapping around zero address.
6879 Correct main loop count. Handle single left-over word from main
6880 loop inline rather than by using loop_small. Remove extra word
6881 case in loop_small caused by wrong loop count. Add little-endian
6883 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
6884 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
6886 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
6887 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
6888 support. Avoid rlwimi.
6889 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
6891 2013-10-04 Alan Modra <amodra@gmail.com>
6893 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
6895 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
6896 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
6897 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
6898 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
6899 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
6900 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
6902 2013-10-04 Alan Modra <amodra@gmail.com>
6904 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
6905 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
6906 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
6907 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
6908 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
6909 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
6910 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
6911 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
6912 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
6913 use of regs. Use power7 mtocrf. Tidy function tails.
6915 2013-10-04 Alan Modra <amodra@gmail.com>
6917 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
6918 Formatting. Consistently use rXXX register defines or rN defines.
6919 Use early exit labels that avoid restoring unused non-volatile regs.
6920 Make cr field use more consistent with rWORDn compares. Rename
6921 regs used as shift registers for unaligned loop, using rN defines
6922 for short lifetime/multiple use regs.
6923 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
6924 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
6925 addi 1,1,64 to pop stack frame. Simplify return value code.
6926 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
6928 2013-10-04 Alan Modra <amodra@gmail.com>
6930 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
6931 support. Correct typos, formatting. Optimize tail. Use insrdi
6933 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
6934 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
6935 little-endian support. Correct typos.
6936 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
6938 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
6939 in loop and entry code to keep "and." results.
6940 (strchr): Add little-endian support. Comment. Move cntlzd
6942 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
6944 2013-10-04 Alan Modra <amodra@gmail.com>
6946 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
6947 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
6948 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
6949 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
6951 2013-10-04 Alan Modra <amodra@gmail.com>
6953 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
6954 (rTMP): Define as r11.
6955 (strcmp): Add little-endian support. Optimise tail.
6956 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
6957 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
6958 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
6959 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
6960 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
6961 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
6962 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
6964 2013-10-04 Alan Modra <amodra@gmail.com>
6966 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
6967 little-endian support. Remove unnecessary "are we done" tests.
6968 Handle "s" wrapping around zero and extremely large "size".
6969 Correct main loop count. Handle single left-over word from main
6970 loop inline rather than by using small_loop. Correct comments.
6971 Delete "zero" tail, use "end_max" instead.
6972 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
6974 2013-10-04 Alan Modra <amodra@gmail.com>
6976 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
6977 support. Don't branch over align.
6978 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
6979 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
6980 support. Rearrange tmp reg use to suit. Comment.
6981 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
6983 2013-10-04 Alan Modra <amodra@gmail.com>
6985 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
6987 2013-10-04 Alan Modra <amodra@gmail.com>
6989 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
6990 conditional form of branch and link when obtaining pc.
6991 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
6993 2013-10-04 Alan Modra <amodra@gmail.com>
6995 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
6997 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
6998 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
7000 2013-10-04 Alan Modra <amodra@gmail.com>
7002 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
7003 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
7004 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
7005 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
7006 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
7007 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
7008 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
7009 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
7010 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
7011 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
7013 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
7014 Alistair Popple <alistair@ozlabs.au.ibm.com>
7015 Alan Modra <amodra@gmail.com>
7018 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
7019 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
7020 _dl_hwcap access for little-endian.
7021 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
7022 destroy vmx regs when saving unaligned.
7023 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
7024 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
7025 destroy vmx regs when saving unaligned.
7027 2013-10-04 Alan Modra <amodra@gmail.com>
7029 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
7030 Don't use a union to pack hi/low value.
7032 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
7034 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
7036 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
7037 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
7038 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
7039 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
7040 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
7042 2013-10-04 Alan Modra <amodra@gmail.com>
7044 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
7045 constants to usual value for .cst8 section, and remove redundant
7047 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
7048 constant for 0x1p52. Load little-endian words of double from
7049 correct stack offsets.
7051 2013-10-04 Alan Modra <amodra@gmail.com>
7053 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
7054 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
7055 words of double from correct stack offsets.
7056 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
7057 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
7058 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
7059 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
7060 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
7061 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
7062 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
7063 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
7064 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
7065 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
7066 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
7067 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
7068 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
7069 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
7070 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
7071 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
7072 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
7074 2013-10-04 Alan Modra <amodra@gmail.com>
7076 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
7077 64-bit int/double union.
7078 (_FPU_SETCW): Likewise.
7079 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
7080 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
7082 2013-10-04 Alan Modra <amodra@gmail.com>
7084 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
7085 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
7087 2013-10-04 Alan Modra <amodra@gmail.com>
7089 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
7090 use vector int constants.
7091 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
7093 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
7095 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
7096 array with long long.
7097 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
7098 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
7099 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
7100 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
7101 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
7102 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
7103 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
7104 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
7105 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
7106 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
7107 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
7108 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
7109 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
7111 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
7113 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
7114 (__signbit): Likewise. Correct for little-endian.
7115 (__signbitl): Call __signbit.
7116 (lrint): Correct for little-endian.
7117 (lrintf): Call lrint.
7119 2013-10-04 Alan Modra <amodra@gmail.com>
7121 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
7122 union 32-bit int array member with 64-bit int array.
7123 (t515, tm256): Double rather than long double.
7124 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
7126 2013-10-04 Alan Modra <amodra@gmail.com>
7128 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
7130 (IEEE854_LONG_DOUBLE_BIAS): Delete.
7131 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
7132 version of math_ldbl.h.
7134 2013-10-04 Alan Modra <amodra@gmail.com>
7136 [BZ #15734], [BZ #15735]
7137 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
7138 all uses of ieee875 long double macros and unions. Simplify test
7139 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
7140 ldbl_extract_mantissa value for ix,iy exponents. Properly
7141 normalize after ldbl_extract_mantissa, and don't add hidden bit
7142 already handled. Don't treat low word of ieee854 mantissa like
7143 low word of IBM long double and mask off bit when testing for
7145 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
7146 all uses of ieee875 long double macros and unions. Simplify tests
7147 for 0.0L and inf. Correct double adjustment of k. Delete dead code
7148 adjusting ha,hb. Simplify code setting kld. Delete two600 and
7149 two1022, instead use their values. Recognise that tests for large
7150 "a" and small "b" are mutually exclusive. Rename vars. Comment.
7151 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
7152 Rewrite all uses of ieee875 long double macros and unions. Simplify
7153 test for 0.0L and nan. Correct negation.
7154 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
7155 ieee875 long double macros and unions. Correct output for large
7156 magnitude x. Correct absolute value calculation.
7157 (__erfcl): Likewise.
7158 * math/libm-test.inc: Add tests for errors discovered in IBM long
7159 double versions of fmodl, remainderl, erfl and erfcl.
7161 2013-10-04 Alan Modra <amodra@gmail.com>
7163 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
7164 all uses of ieee854 long double macros and unions. Simplify tests
7165 for long doubles that are fully specified by the high double.
7166 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
7168 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
7169 Remove dead code too.
7170 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
7171 (__ieee754_ynl): Likewise.
7172 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
7173 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
7174 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
7175 Remove dead code too.
7176 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
7177 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
7178 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
7179 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
7181 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
7183 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
7184 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
7185 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
7186 Comment on variable precision.
7187 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
7188 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
7190 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
7191 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
7192 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
7193 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
7194 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
7196 2013-10-04 Alan Modra <amodra@gmail.com>
7198 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
7199 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
7200 all uses of ieee854 long double macros and unions.
7201 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
7202 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
7203 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
7204 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
7205 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
7206 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
7208 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
7209 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
7210 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
7211 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
7212 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
7213 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
7214 Simplify sign and nan test too.
7215 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
7216 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
7217 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
7218 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
7220 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
7221 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
7223 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
7224 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
7225 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
7226 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
7227 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
7228 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
7230 2013-10-04 Alan Modra <amodra@gmail.com>
7232 * stdio-common/printf_size.c (__printf_size): Don't use
7233 union ieee854_long_double in fpnum union.
7234 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
7235 signbit macro to retrieve sign from long double.
7236 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
7237 retrieve sign from long double.
7238 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
7239 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
7240 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
7241 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
7242 * math/test-misc.c (main): Don't use union ieee854_long_double.
7244 2013-10-04 Alan Modra <amodra@gmail.com>
7247 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
7248 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
7249 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
7250 calculation. Remove unnecessary test for denormal exponent.
7251 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
7252 Correct handling of denormals. Avoid undefined shift behaviour.
7253 Correct normalisation of low mantissa when low double is denormal.
7254 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
7255 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
7256 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
7257 Correct normalisation of low mantissa. Test for overflow of high
7258 mantissa and normalise.
7259 (ldbl_nearbyint): Use more readable constant for two52.
7260 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
7261 (__mpn_construct_long_double): Fix test for overflow of high
7262 mantissa and correct normalisation. Avoid undefined shift.
7264 2013-10-04 Alan Modra <amodra@gmail.com>
7266 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
7267 (union ibm_extended_long_double): Define as an array of ieee754_double.
7268 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
7269 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
7270 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
7271 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
7272 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
7273 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
7274 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
7275 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
7276 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
7277 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
7278 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
7280 2013-10-03 Joseph Myers <joseph@codesourcery.com>
7282 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
7283 page size instead of calling getpagesize.
7285 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
7286 (LOCFILE_ALIGN_MASK): Likewise.
7287 (LOCFILE_ALIGN_UP): Likewise.
7288 (LOCFILE_ALIGNED_P): Likewise.
7289 * locale/programs/ld-collate.c (collate_output): Use the new
7290 macros instead of __alignof__ (int32_t).
7291 * locale/weight.h (findidx): Likewise.
7293 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
7296 * manual/string.texi: Fix strncat and wcsncat.
7298 2013-10-03 Brooks Moses <bmoses@google.com>
7301 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
7302 * Makerules: ...here, and adjust associated comments.
7304 2013-10-02 Will Newton <will.newton@linaro.org>
7306 * malloc/Makefile: Add tst-pvalloc.
7307 * malloc/tst-pvalloc.c: New file.
7309 2013-10-02 Will Newton <will.newton@linaro.org>
7311 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
7312 improve test coverage.
7314 2013-10-02 Will Newton <will.newton@linaro.org>
7316 * malloc/Makefile: Add tst-posix_memalign.
7317 * malloc/tst-posix_memalign.c: New file.
7319 2013-10-01 Eric Blake <eblake@redhat.com>
7321 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
7322 Use __THROWNL rather than __THROW on static functions.
7324 2013-09-30 Petr Machata <pmachata@redhat.com>
7326 * elf/elf.h (R_AARCH64_ABS16): New macro.
7327 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
7328 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
7329 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
7330 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
7331 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
7332 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
7333 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
7334 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
7335 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
7336 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
7337 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
7338 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
7339 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
7340 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
7341 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
7342 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
7343 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
7344 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
7345 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
7346 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
7347 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
7348 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
7349 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
7350 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
7351 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
7352 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
7353 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
7354 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
7355 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
7356 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
7357 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
7358 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
7359 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
7360 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
7361 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
7362 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
7363 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
7364 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
7365 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
7366 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
7367 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
7368 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
7369 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
7370 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
7371 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
7372 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
7373 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
7374 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
7375 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
7376 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
7377 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
7378 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
7379 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
7380 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
7381 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
7382 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
7383 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
7384 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
7385 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
7386 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
7387 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
7388 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
7389 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
7390 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
7391 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
7392 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
7393 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
7394 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
7395 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
7396 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
7397 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
7398 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
7399 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
7400 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
7401 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
7402 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
7403 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
7404 (R_AARCH64_TLSDESC_LDR): Likewise.
7405 (R_AARCH64_TLSDESC_ADD): Likewise.
7406 (R_AARCH64_TLSDESC_CALL): Likewise.
7408 2013-09-30 Andreas Schwab <schwab@suse.de>
7411 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
7412 the nss database lookup.
7413 * nscd/initgrcache.c (addinitgroupsX): Likewise.
7414 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
7416 2013-09-28 Mike Frysinger <vapier@gentoo.org>
7418 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
7420 2013-09-28 P. J. McDermott <pj@pehjota.net>
7422 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
7423 ${Bash-specific parameter/pattern/string} parameter expansion.
7424 * sysdeps/unix/make-syscalls.sh: Likewise.
7426 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7428 * sysdeps/sh/stackguard-macros.h: New file.
7430 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
7432 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
7433 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
7434 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
7435 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
7436 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
7437 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
7439 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7441 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
7442 Fix thread ID register.
7444 2013-09-25 Joseph Myers <joseph@codesourcery.com>
7446 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
7447 [POSIX || UNIX98]: Require rather than permitting all symbols from
7449 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
7450 element of struct sched_param.
7451 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
7452 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
7453 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
7454 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
7457 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
7459 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
7460 argument calculation.
7462 2013-09-24 Joseph Myers <joseph@codesourcery.com>
7464 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
7466 [POSIX] (pthread_attr_t): Do not require type.
7467 [POSIX] (pthread_cond_t): Likewise.
7468 [POSIX] (pthread_condattr_t): Likewise.
7469 [POSIX] (pthread_key_t): Likewise.
7470 [POSIX] (pthread_mutex_t): Likewise.
7471 [POSIX] (pthread_mutexattr_t): Likewise.
7472 [POSIX] (pthread_once_t): Likewise.
7473 [POSIX] (pthread_t): Likewise.
7474 [POSIX-based standards] (pthread_atfork): Expect function.
7476 2013-09-24 Joseph Myers <joseph@codesourcery.com>
7477 Richard Sandiford <richard@codesourcery.com>
7479 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
7480 (swap_endianness_p): New extern variable.
7481 (set_big_endian): New inline function.
7482 (maybe_swap_uint32): Likewise.
7483 (maybe_swap_uint32_array): Likewise.
7484 (maybe_swap_uint32_obstack): Likewise.
7485 * locale/programs/locfile.c: Include <stdbool.h>.
7486 (swap_endianness_p): New variable.
7487 (add_locale_uint32): Call maybe_swap_uint32.
7488 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
7489 (write_locale_data): Call maybe_swap_uint32_array.
7490 * locale/programs/ld-collate.c (obstack_int32_grow): Call
7492 (obstack_int32_grow_fast): Likewise.
7493 (output_weightwc): Call maybe_swap_uint32_obstack.
7494 (collate_output): Likewise.
7495 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
7496 (OPT_LITTLE_ENDIAN): Likewise.
7497 (options): Add --little-endian and --big-endian options.
7498 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
7499 * locale/programs/locarchive.c: Include "locfile.h".
7503 (create_archive): Use the new macros to access fields of
7504 structures directly mapped from or written to locale archives.
7505 (oldlocrecentcmp): Likewise.
7506 (enlarge_archive): Likewise.
7507 (insert_name): Likewise.
7508 (add_alias): Likewise.
7509 (add_locale): Likewise.
7510 (delete_locales_from_archive): Likewise.
7511 (show_archive_content): Likewise.
7512 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
7515 2013-09-24 Roland McGrath <roland@hack.frob.com>
7517 * manual/freemanuals.texi: Updated from (newly) canonical copy at
7518 http://www.gnu.org/doc/freemanuals.texi.
7519 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
7521 2013-09-24 Will Newton <will.newton@linaro.org>
7523 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
7526 2013-09-23 Joseph Myers <joseph@codesourcery.com>
7528 * locale/hashval.h (compute_hashval): Interpret bytes of key as
7531 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
7533 * manual/threads.texi (POSIX Threads): Fix a typo.
7535 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
7538 * string/tst-strcoll-overflow.c: New test case.
7539 * string/Makefile (xtests): Add tst-strcoll-overflow.
7540 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
7541 cache if string sizes may cause integer overflow.
7544 * string/strcoll_l.c (coll_seq): New members rule, idx,
7545 save_idx and back_us.
7546 (get_next_seq_nocache): New function.
7547 (do_compare_nocache): New function.
7548 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
7551 2013-09-23 Carlos O'Donell <carlos@redhat.com>
7554 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
7555 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
7556 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
7559 * elf/Makefile (tests): Add tst-ptrguard1.
7560 (tests-static): Add tst-ptrguard1-static.
7561 (tst-ptrguard1-ARGS): Define.
7562 (tst-ptrguard1-static-ARGS): Define.
7563 * elf/tst-ptrguard1.c: New file.
7564 * elf/tst-ptrguard1-static.c: New file.
7565 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
7566 * sysdeps/i386/stackguard-macros.h: Likewise.
7567 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
7568 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
7569 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
7570 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
7571 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
7572 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
7574 2013-09-23 Hector Marco <hecmargi@upv.es>
7575 Ismael Ripoll <iripoll@disca.upv.es>
7576 Carlos O'Donell <carlos@redhat.com>
7579 * sysdeps/generic/stackguard-macros.h: Define
7580 __pointer_chk_guard_local and POINTER_CHK_GUARD.
7581 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
7582 Define __pointer_chk_guard_local.
7583 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
7584 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
7586 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
7589 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
7591 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
7593 * include/string.h (__ffs): Declare as hidden.
7594 * string/ffs.c (__ffs): Define as hidden.
7595 * sysdeps/i386/ffs.c (__ffs): Likewise.
7596 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
7597 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
7598 * sysdeps/s390/ffs.c (__ffs): Likewise.
7599 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
7601 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
7603 * NEWS: Mention malloc probes.
7605 * malloc/arena.c (new_heap): New memory_heap_new probe.
7606 (grow_heap): New memory_heap_more probe.
7607 (shrink_heap): New memory_heap_less probe.
7608 (heap_trim): New memory_heap_free probe.
7609 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
7610 (systrim): New memory_sbrk_less probe.
7611 * manual/probes.texi: Document them.
7613 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
7614 * manual/probes.texi: Document it.
7616 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
7617 (__libc_realloc): Add memory_realloc_retry probe.
7618 (__libc_memalign): Add memory_memalign_retry probe.
7619 (__libc_valloc): Add memory_valloc_retry probe.
7620 (__libc_pvalloc): Add memory_pvalloc_retry probe.
7621 (__libc_calloc): Add memory_calloc_retry probe.
7622 * manual/probes.texi: Document them.
7624 * malloc/arena.c (get_free_list): Add probe
7625 memory_arena_reuse_free_list.
7626 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
7627 and memory_arena_reuse.
7628 (arena_get2) [!PER_THREAD]: Likewise.
7629 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
7630 memory_arena_reuse_realloc.
7631 * manual/probes.texi: Document them.
7633 * malloc/malloc.c (__libc_free): Add
7634 memory_mallopt_free_dyn_thresholds probe.
7635 (__libc_mallopt): Add multiple memory_mallopt probes.
7636 * manual/probes.texi: Document them.
7638 * malloc/malloc.c: Include stap-probe.h.
7639 (__libc_mallopt): Add memory_mallopt probe.
7640 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
7641 * manual/probes.texi: New.
7642 * manual/Makefile (chapters): Add probes.
7643 * manual/threads.texi: Set next node.
7645 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
7648 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
7649 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
7650 Add `Chinese' to `nan' entry name.
7652 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
7654 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
7655 (POLYNOMIAL): Likewise.
7656 (TAYLOR_SINCOS): Likewise.
7657 (TAYLOR_SLOW): Likewise.
7658 (__sin): Use TAYLOR_SINCOS.
7660 (slow): Use TAYLOR_SLOW.
7665 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7667 * stdlib/strtod_l.c: Fix buffer overrun.
7669 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
7671 * benchtests/Makefile (bench): Add sincos.
7672 * benchtests/bench-sincos.c: New file.
7674 * math/libm-test.inc (cos_test_data): New test inputs.
7675 (sin_test_data): Likewise.
7677 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
7685 (bsloww1): Likewise.
7686 (bsloww2): Likewise.
7688 (csloww1): Likewise.
7689 (csloww2): Likewise.
7691 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
7696 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
7700 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
7702 * config.h.in (HAVE_MIPS_NAN2008): New macro.
7703 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
7704 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
7705 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
7706 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
7707 * elf/cache.c (print_entry): Handle the new cache flags.
7709 2013-09-18 Joseph Myers <joseph@codesourcery.com>
7710 Aldy Hernandez <aldyh@redhat.com>
7712 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
7713 Change condition to [_SOFT_FLOAT].
7714 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
7715 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
7716 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
7717 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
7718 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
7719 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
7720 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
7721 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
7722 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
7723 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
7724 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
7725 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
7726 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
7727 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
7728 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
7729 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
7732 2013-09-18 Joseph Myers <joseph@codesourcery.com>
7734 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
7735 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
7736 (__longjmp): Use LOAD_GP to load saved GPRs.
7737 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
7738 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
7739 (__sigsetjmp): Use SAVE_GP to save GPRs.
7741 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
7742 Do not append -msoft-float.
7743 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
7745 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
7747 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
7749 2013-09-17 Joseph Myers <joseph@codesourcery.com>
7752 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
7753 (_FPU_GETCW): Use initial "__" on variable and field names but not
7754 on macro parameter name.
7755 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
7756 parentheses around reference to macro parameter.
7758 2013-09-13 Richard Sandiford <richard@codesourcery.com>
7760 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
7762 (ctype_startup): Use uint32_t in cast and sizeof for
7765 2013-09-11 Jia Liu <proljc@gmail.com>
7767 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
7769 [__FreeBSD__]: Likewise.
7771 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
7773 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
7774 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
7775 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
7776 (strchr): Remove __strchr_sse42 ifunc selection.
7777 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
7778 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
7780 2013-09-11 Will Newton <will.newton@linaro.org>
7782 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
7783 parameter to RES. Remove hardcoded 1000 value.
7784 * benchtests/bench-skeleton.c (main): Pass RES parameter
7785 to TIMING_INIT and multiply result by 1000.
7787 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7789 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7791 2013-09-11 Andreas Schwab <schwab@suse.de>
7793 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
7795 (O_TMPFILE) [__USE_GNU]: Define.
7796 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
7799 2013-09-11 Will Newton <will.newton@linaro.org>
7802 * malloc/malloc.c (__libc_memalign): Check the value of bytes
7805 2013-09-11 Will Newton <will.newton@linaro.org>
7808 * malloc/malloc.c (__libc_valloc): Check the value of bytes
7811 2013-09-11 Will Newton <will.newton@linaro.org>
7814 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
7817 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
7819 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
7820 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
7821 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
7822 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
7823 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
7825 2013-09-10 Allan McRae <allan@archlinux.org>
7828 * manual/arith.texi (Parsing of Floats): Clarify
7832 * manual/install.texi (Running make install): Mention
7834 * INSTALL: Regenerated.
7836 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
7838 * csu/init-first.c (_init): Remove the !SHARED condition around
7839 FPU control word initialization.
7840 * elf/dl-support.c (_dl_fpu_control): New variable.
7841 (_dl_aux_init) <AT_FPUCW>: Initialize it.
7842 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
7843 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
7844 * math/test-fpucw-static.c: New file.
7845 * math/test-fpucw-ieee.c: New file.
7846 * math/test-fpucw-ieee-static.c: New file.
7847 * math/Makefile (tests): Add `test-fpucw-ieee' and
7849 (tests-static): New variable.
7850 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
7852 [($(build-shared),yes)]
7853 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
7855 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
7858 2013-09-09 Allan McRae <allan@archlinux.org>
7861 * manual/string.texi (Collation Functions): Fix typo in
7863 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
7866 * stdlib/isomac.c (get_null_defines): Fix memory leak.
7869 * libio/memstream.c (open_memstream): Fix memory leak.
7870 * libio/wmemstream.c (open_wmemstream): Likewise.
7873 * nscd/netgroupcache.c: Fix nesting of ifdefs.
7875 2013-09-09 Will Newton <will.newton@linaro.org>
7877 * malloc/Makefile: Add tst-realloc to tests.
7878 * malloc/tst-realloc.c: New file.
7880 2013-09-09 Allan McRae <allan@archlinux.org>
7883 * COPYING: Update from GNU website to fix FSF address.
7884 * COPYING.LIB: Likewise.
7886 2013-09-06 David S. Miller <davem@davemloft.net>
7888 * po/zh_TW.po: Update Chinese (traditional) translation from
7889 translation project.
7891 2013-09-06 Richard Sandiford <richard@codesourcery.com>
7892 Joseph Myers <joseph@codesourcery.com>
7894 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
7896 (obstack_chunk_alloc): New macro.
7897 (obstack_chunk_free): Likewise.
7898 (record_offset): New function.
7899 (init_locale_data): Likewise.
7900 (align_locale_data): Likewise.
7901 (add_locale_empty): Likewise.
7902 (add_locale_raw_data): Likewise.
7903 (add_locale_raw_obstack): Likewise.
7904 (add_locale_string): Likewise.
7905 (add_locale_wstring): Likewise.
7906 (add_locale_uint32): Likewise.
7907 (add_locale_uint32_array): Likewise.
7908 (add_locale_char): Likewise.
7909 (start_locale_structure): Likewise.
7910 (end_locale_structure): Likewise.
7911 (start_locale_prelude): Likewise.
7912 (end_locale_prelude): Likewise.
7913 (write_locale_data): Take locale_file structure rather than an
7915 * locale/programs/locfile.h: Include "obstack.h".
7916 (struct locale_file): Change to store locale file contents instead
7918 (init_locale_data): New prototype.
7919 (align_locale_data): Likewise.
7920 (add_locale_empty): Likewise.
7921 (add_locale_raw_data): Likewise.
7922 (add_locale_raw_obstack): Likewise.
7923 (add_locale_string): Likewise.
7924 (add_locale_wstring): Likewise.
7925 (add_locale_uint32): Likewise.
7926 (add_locale_uint32_array): Likewise.
7927 (add_locale_char): Likewise.
7928 (start_locale_structure): Likewise.
7929 (end_locale_structure): Likewise.
7930 (start_locale_prelude): Likewise.
7931 (end_locale_prelude): Likewise.
7932 (write_locale_data): Update prototype.
7933 * locale/programs/3level.h (struct TABLE): Remove result field.
7934 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
7935 Use new locale_file interface.
7936 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
7937 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
7938 * locale/programs/ld-address.c (address_output): Use new
7939 locale_file interface.
7940 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
7942 (collate_finish): Don't call collseq_table_finalize.
7943 (collate_output): Use new locale_file interface.
7944 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
7946 (NO_FINALIZE): Change to NO_ADD_LOCALE.
7947 (TABLE): Move defines earlier in file.
7948 (ELEMENT): Likewise.
7949 (DEFAULT): Likewise.
7950 (wctrans_table_add): Move macro and inline function earlier in
7952 (struct wctype_table): Move type earlier in file.
7953 (add_locale_wctype_table): New static prototype.
7954 (struct locale_ctype_t): Use logical types instead of struct iovec
7955 pointers for members.
7956 (ctype_output): Use new locale_file interface.
7957 (wctype_table_finalize): Change to add_locale_wctype_table. Use
7958 new locale_file interface.
7959 (allocate_arrays): Update for use of new locale_file interface.
7960 * locale/programs/ld-identification.c (identification_output): Use
7961 new locale_file interface.
7962 * locale/programs/ld-measurement.c (measurement_output): Likewise.
7963 * locale/programs/ld-messages.c (messages_output): Likewise.
7964 * locale/programs/ld-monetary.c (monetary_output): Likewise.
7965 * locale/programs/ld-name.c (name_output): Likewise.
7966 * locale/programs/ld-numeric.c (numeric_output): Likewise.
7967 * locale/programs/ld-paper.c (paper_output): Likewise.
7968 * locale/programs/ld-telephone.c (telephone_output): Likewise.
7969 * locale/programs/ld-time.c (time_output): Likewise.
7971 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7973 * benchtests/Makefile: Add memrchr benchmark.
7974 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
7975 benchmark as memrchr.
7976 * benchtests/bench-memrchr-ifunc.c: New file.
7977 * benchtests/bench-memrchr.c: New file.
7979 2013-09-06 Will Newton <will.newton@linaro.org>
7981 * benchtests/Makefile (string-bench): Add memcpy.
7983 2013-09-05 Carlos O'Donell <carlos@redhat.com>
7984 Cong Wang <amwang@redhat.com>
7987 * sysdeps/unix/sysv/linux/bits/in.h
7988 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
7989 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
7990 before __USE_KERNEL_IPV6_DEFS uses.
7991 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
7993 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
7994 sockaddr_in6, or ipv6_mreq.
7996 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7998 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
7999 memory access for final bytes in some large inputs.
8000 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
8002 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8004 * string/test-memrchr.c: New file.
8005 * string/test-memrchr-ifunc.c: New file.
8006 * string/Makefile: Add new memrchr testcase.
8008 2013-09-05 Mike Frysinger <vapier@gentoo.org>
8010 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
8011 fanotify_init returns EPERM.
8013 2013-09-04 Joseph Myers <joseph@codesourcery.com>
8015 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
8017 (top level): Treat second token from macro or constant entries for
8018 allowed headers as allowed.
8019 * include/complex.h: Condition internal declarations on
8021 * include/fenv.h: Condition include of <stdbool.h> and internal
8022 declarations on [!_ISOMAC].
8024 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
8027 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
8029 2013-09-04 Joseph Myers <joseph@codesourcery.com>
8031 * configure.in (--enable-versioning): Remove configure option.
8032 (libc_cv_asm_symver_directive): Remove configure test.
8033 (libc_cv_ld_version_script_option): Likewise.
8034 (VERSIONING): Remove variable and AC_SUBST.
8035 (DO_VERSIONING): Remove AC_DEFINE.
8036 * configure: Regenerated.
8037 * config.h.in (DO_VERSIONING): Remove macro.
8038 * Makerules [$(versioning) = yes]: Change conditionals to
8039 [$(build-shared) = yes].
8040 * config.make.in (versioning): Remove variable.
8041 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
8042 [$(build-shared) = yes].
8043 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
8044 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
8045 * elf/Makefile [$(versioning) = yes]: Change conditionals to
8046 [$(build-shared) = yes].
8047 * extra-lib.mk [$(versioning) = yes]: Likewise.
8048 * hurd/Makefile [$(versioning) = yes]: Likewise.
8049 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
8051 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
8053 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
8054 [SHARED && !NO_HIDDEN].
8055 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
8057 [SHARED && DO_VERSIONING]: Likewise..
8058 * libio/Makefile [$(versioning) = yes]: Change conditionals to
8059 [$(build-shared) = yes].
8060 * manual/install.texi (--disable-versioning): Remove
8062 * INSTALL: Regenerated.
8063 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
8065 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
8066 [$(build-shared) = yes].
8067 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
8068 * sysdeps/i386/i686/multiarch/strstr-c.c
8069 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
8070 [SHARED && !NO_HIDDEN].
8071 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
8072 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
8073 * sysdeps/powerpc/powerpc32/dl-machine.c
8074 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
8075 * sysdeps/powerpc/powerpc32/sysdep.h
8076 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
8077 to [SHARED && PIC && !NO_HIDDEN].
8078 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
8079 conditional to [SHARED].
8081 2013-09-04 Will Newton <will.newton@linaro.org>
8083 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
8084 * benchtests/bench-string.h: Include bench-timing.h instead
8085 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
8086 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
8087 call to HP_TIMING_DIFF_INIT.
8088 * benchtests/bench-memccpy.c: Use bench-timing.h macros
8089 instead of hp-timing.h macros.
8090 * benchtests/bench-memchr.c: Likewise.
8091 * benchtests/bench-memcmp.c: Likewise.
8092 * benchtests/bench-memcpy.c: Likewise.
8093 * benchtests/bench-memmem.c: Likewise.
8094 * benchtests/bench-memmove.c: Likewise.
8095 * benchtests/bench-memset.c: Likewise.
8096 * benchtests/bench-rawmemchr.c: Likewise.
8097 * benchtests/bench-strcasecmp.c: Likewise.
8098 * benchtests/bench-strcasestr.c: Likewise.
8099 * benchtests/bench-strcat.c: Likewise.
8100 * benchtests/bench-strchr.c: Likewise.
8101 * benchtests/bench-strcmp.c: Likewise.
8102 * benchtests/bench-strcpy.c: Likewise.
8103 * benchtests/bench-strcpy_chk.c: Likewise.
8104 * benchtests/bench-strlen.c: Likewise.
8105 * benchtests/bench-strncasecmp.c: Likewise.
8106 * benchtests/bench-strncat.c: Likewise.
8107 * benchtests/bench-strncmp.c: Likewise.
8108 * benchtests/bench-strncpy.c: Likewise.
8109 * benchtests/bench-strnlen.c: Likewise.
8110 * benchtests/bench-strpbrk.c: Likewise.
8111 * benchtests/bench-strrchr.c: Likewise.
8112 * benchtests/bench-strspn.c: Likewise.
8113 * benchtests/bench-strstr.c: Likewise.
8115 2013-09-04 Will Newton <will.newton@linaro.org>
8117 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
8119 2013-09-03 Joseph Myers <joseph@codesourcery.com>
8122 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
8123 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
8124 * math/libm-test.inc (lgamma_test_data): Add more tests.
8125 * sysdeps/i386/fpu/libm-test-ulps: Update.
8126 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8128 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
8130 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
8131 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
8133 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
8134 Add strcmp-sse2-unaligned
8135 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
8137 2013-09-02 Mike Frysinger <vapier@gentoo.org>
8139 * Versions.def (libc): Add GLIBC_2.19.
8141 2013-09-02 Mike Frysinger <vapier@gentoo.org>
8143 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
8144 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
8146 2013-09-02 Joseph Myers <joseph@codesourcery.com>
8149 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
8150 intermediate calculations in recurrence.
8151 (__ieee754_ynf): Likewise.
8152 * math/libm-test.inc (jn_test_data): Do not allow spurious
8153 underflow exception. Add more tests.
8154 (yn_test_data): Add more tests.
8155 * sysdeps/i386/fpu/libm-test-ulps: Update.
8156 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8158 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
8160 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
8162 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
8164 * csu/init-first.c: Fix then/than typos.
8165 * locale/programs/ld-collate.c: Likewise.
8166 * locale/programs/linereader.h: Likewise.
8167 * manual/charset.texi: Likewise.
8168 * manual/filesys.texi: Likewise.
8169 * manual/stdio.texi: Likewise.
8170 * manual/string.texi: Likewise.
8171 * stdlib/fmtmsg.c: Likewise.
8172 * sysdeps/i386/stpncpy.S: Likewise.
8173 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
8174 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
8175 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
8176 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
8178 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
8180 * elf/dl-open.c: Fix typos.
8181 * iconvdata/gbbig5.c: Likewise.
8182 * iconvdata/iso-2022-jp.c: Likewise.
8183 * iconv/gconv_int.h: Likewise.
8184 * iconv/loop.c: Likewise.
8185 * nis/rpcsvc/nis.h: Likewise.
8186 * resolv/ns_name.c: Likewise.
8187 * stdio-common/vfscanf.c: Likewise.
8188 * streams/stropts.h: Likewise.
8189 * sunrpc/rpc_thread.c: Likewise.
8190 * sysdeps/i386/strpbrk.S: Likewise.
8191 * sysdeps/ieee754/k_standard.c: Likewise.
8192 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
8193 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
8194 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
8195 * sysdeps/mach/hurd/profil.c: Likewise.
8196 * sysdeps/s390/dl-procinfo.h: Likewise.
8197 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
8198 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
8199 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
8200 * sysdeps/x86_64/dl-trampoline.S: Likewise.
8201 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
8203 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
8205 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
8206 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
8208 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
8210 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
8212 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
8213 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
8214 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
8215 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
8216 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
8217 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
8218 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
8219 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
8221 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
8222 Roland McGrath <roland@hack.frob.com>
8224 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
8225 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
8227 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
8229 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
8230 __executable_start symbol instead of _start.
8232 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
8234 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
8235 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
8237 * sysdeps/gnu/ldsodefs.h: ... this new file.
8239 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
8240 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
8241 instead of ELFOSABI_LINUX.
8243 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
8244 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
8245 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
8246 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
8248 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
8249 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
8250 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
8252 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
8253 (ibm_extended_long_double): Add ieee_nan member.
8254 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
8255 (do_test): New function.
8257 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
8259 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
8260 functions, renamed from truncdfsf_test, trunctfsf_test,
8262 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
8264 (do_test): Run all these.
8266 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
8268 * argp/argp-help.c: Fix typos.
8269 * argp/argp-parse.c: Likewise.
8270 * debug/backtracesyms.c: Likewise.
8271 * elf/elf.h: Likewise.
8272 * malloc/malloc.c: Likewise.
8273 * nis/nis_print.c: Likewise.
8274 * resolv/res_comp.c: Likewise.
8275 * stdlib/stdlib.h: Likewise.
8276 * sunrpc/clnt_tcp.c: Likewise.
8277 * sunrpc/clnt_udp.c: Likewise.
8278 * sunrpc/clnt_unix.c: Likewise.
8279 * sysdeps/unix/bsd/ptsname.c: Likewise.
8280 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
8281 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
8282 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
8284 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
8286 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
8288 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
8290 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8292 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
8293 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
8295 2013-08-27 Mike Frysinger <vapier@gentoo.org>
8298 * dlfcn/Makefile (tests): Add bug-dl-leaf.
8299 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
8300 ($(objpfx)bug-dl-leaf): New rule.
8301 ($(objpfx)bug-dl-leaf.so): Likewise.
8302 ($(objpfx)bug-dl-leaf.out): Likewise.
8303 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
8304 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
8305 * dlfcn/bug-dl-leaf.c: New test.
8306 * dlfcn/bug-dl-leaf-lib.c: Likewise.
8307 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
8308 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
8309 (dlclose): Likewise.
8310 (dlmopen): Likewise.
8312 2013-08-27 Roland McGrath <roland@hack.frob.com>
8314 * include/netdb.h [!_ISOMAC]:
8315 Don't include <tls.h>.
8316 (h_errno, __libc_h_errno): Move declaration and macros out of
8319 * include/resolv.h [_RESOLV_H_]:
8320 Don't include <tls.h>.
8321 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
8322 * resolv/res_libc.c: Don't include <tls.h>.
8323 (_res): Use __attribute__ ((nocommon)) in place of
8324 __attribute__ ((section (".bss"))).
8326 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
8327 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
8329 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
8331 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
8332 only under [SIOCGIFCONF && SIOCGIFNETMASK].
8334 * resolv/res_mkquery.c: Include <sys/time.h>.
8336 * inet/ifreq.c: Moved to ...
8337 * sysdeps/unix/ifreq.c: ... here.
8338 * inet/ifreq.c: New file, true stub version.
8340 * socket/sa_len.c: New file.
8341 * socket/Makefile (aux): Add it.
8342 * sysdeps/unix/sysv/linux/Makefile
8343 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
8344 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
8345 and #include <socket/sa_len.c>.
8346 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
8347 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
8349 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
8350 * bits/socket.h: ... here.
8352 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
8353 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
8354 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
8356 2013-08-27 Andreas Schwab <schwab@suse.de>
8359 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
8360 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
8361 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
8362 * string/test-strcasecmp.c (test_main): Run tests in several
8364 * string/test-strncasecmp.c (test_main): Likewise.
8366 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
8367 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
8368 to __strcasecmp_nonascii and __strncasecmp_nonascii.
8369 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
8370 (__strncasecmp_ssse3) [PIC]: Likewise.
8372 2013-08-26 Roland McGrath <roland@hack.frob.com>
8374 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
8376 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
8377 instead of explicitly declaring xdecrypt.
8378 * nis/nss_nis/nis-publickey.c: Likewise.
8380 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
8383 * nscd/aicache.c: Include res_hconf.h.
8384 (addhstaiX): Initialize res_hconf.
8386 2013-08-26 Andreas Schwab <schwab@suse.de>
8388 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
8389 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
8391 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
8393 * nscd/aicache.c (addhstaiX): Fix indentation.
8395 2013-08-25 Mike Frysinger <vapier@gentoo.org>
8397 * configure.ac: Quote $build_pt_chown test.
8398 * configure: Regenerated.
8400 2013-08-23 Joseph Myers <joseph@codesourcery.com>
8403 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
8404 * math/s_cexpf.c (__cexpf): Likewise.
8405 * math/s_cexpl.c (__cexpl): Likewise.
8406 * math/libm-test.inc (cexp_test_data): Correct expected return
8407 value for NaN + i0. Add another test.
8409 2013-08-22 David S. Miller <davem@davemloft.net>
8411 * po/ca.po: Update Catalan translation from translation project.
8412 * po/uk.po: Add Ukrainian translations from translation project.
8414 2013-08-21 Joseph Myers <joseph@codesourcery.com>
8417 * math/s_fdim.c (__fdim): Check for infinite arguments if result
8418 is infinite, not alongside NaN test.
8419 * math/s_fdimf.c (__fdimf): Likewise.
8420 * math/s_fdiml.c (__fdiml): Likewise.
8421 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
8424 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
8426 * argp/argp-help.c: Fix typos.
8427 * crypt/speeds.c: Likewise.
8428 * csu/check_fds.c: Likewise.
8429 * elf/dl-load.c: Likewise.
8430 * elf/dl-open.c: Likewise.
8431 * elf/reldep3.c: Likewise.
8432 * elf/reldep.c: Likewise.
8433 * elf/sprof.c: Likewise.
8434 * iconv/iconv_charmap.c: Likewise.
8435 * iconv/skeleton.c: Likewise.
8436 * iconv/strtab.c: Likewise.
8437 * io/lockf64.c: Likewise.
8438 * libio/libioP.h: Likewise.
8439 * resolv/gai_notify.c: Likewise.
8440 * resolv/ns_name.c: Likewise.
8441 * resolv/ns_samedomain.c: Likewise.
8442 * resolv/res_send.c: Likewise.
8443 * stdlib/random.c: Likewise.
8444 * sunrpc/rpc/xdr.h: Likewise.
8445 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
8446 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
8447 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
8448 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
8449 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
8450 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
8451 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
8452 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
8453 * sysdeps/mach/hurd/check_fds.c: Likewise.
8454 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
8455 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
8456 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
8457 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
8458 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
8459 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
8460 * sysdeps/pthread/aio_notify.c: Likewise.
8461 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
8462 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
8463 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
8464 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
8465 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
8467 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
8469 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
8470 version if bit_Slow_SSE4_2 is set.
8471 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
8472 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
8474 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8477 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
8478 trampoline stack frame information.
8479 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
8480 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
8481 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
8482 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
8483 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
8484 * sysdeps/unix/sysv/linux/powerpc/init-first.c
8485 (_libc_vdso_platform_setup): Initialize the signal trampolines.
8486 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
8488 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
8489 interrupting a syscall and set with option SA_SIGINFO.
8491 2013-08-20 Joseph Myers <joseph@codesourcery.com>
8494 * math/s_cproj.c (__cproj): Only return an infinity if one part of
8495 argument is infinite.
8496 * math/s_cprojf.c (__cprojf): Likewise.
8497 * math/s_cprojl.c (__cprojl): Likewise.
8498 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
8499 * math/libm-test.inc (cproj_test_data): Add more tests.
8501 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
8503 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
8504 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
8505 size. Use __ffs to determine corresponding shift.
8507 2013-08-20 Joseph Myers <joseph@codesourcery.com>
8508 Roland McGrath <roland@hack.frob.com>
8510 * Makefile (INSTALL): Remove trailing blank lines from output of
8513 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8515 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
8516 Align 32 bit compat elf_greg to 8 bytes.
8518 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
8520 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
8522 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
8524 * string/strcoll_l.c (coll_seq): New structure.
8525 (get_next_seq_cached): New function.
8526 (get_next_seq): New function.
8527 (do_compare): New function.
8528 (STRCOLL): Use GNU style definition. Simplify implementation
8529 by using get_next_seq, get_next_seq_cached and do_compare.
8531 2013-08-16 Florian Weimer <fweimer@redhat.com>
8535 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
8537 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
8539 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
8540 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
8541 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
8543 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
8544 GETDENTS_64BIT_ALIGNED.
8545 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
8546 * manual/filesys.texi (Reading/Closing Directory): Document
8547 ENAMETOOLONG return value of readdir_r. Recommend readdir more
8549 * manual/conf.texi (Limits for Files): Add portability note to
8551 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
8553 2013-08-13 Andreas Schwab <schwab@suse.de>
8556 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
8558 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
8559 LDBL_MAX_EXP >= 16384]: Add tests for it.
8561 2013-08-12 David S. Miller <davem@davemloft.net>
8563 * version.h (RELEASE): Set to "development".
8564 (VERSION): Set to "2.18.90".
8565 * NEWS: Add 2.19 section.
8567 2013-08-03 David S. Miller <davem@davemloft.net>
8569 * po/ko.po: Update Korean translation from translation project.
8571 2013-08-01 David S. Miller <davem@davemloft.net>
8573 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
8574 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
8577 2013-07-30 David S. Miller <davem@davemloft.net>
8579 * po/fr.po: Update French translation from translation project.
8581 2013-07-28 David S. Miller <davem@davemloft.net>
8583 * po/cs.po: Update Czech translation from translation project.
8585 * po/sv.po: Update Swedish translation from translation project.
8587 2013-07-27 David S. Miller <davem@davemloft.net>
8589 * po/eo.po: Update Esperanto translation from translation project.
8591 * po/vi.po: Update Vietnamese translation from translation project.
8593 * po/de.po: Update German translation from translation project.
8595 2013-07-26 David S. Miller <davem@davemloft.net>
8597 * po/bg.po: Update Bulgarian translation from translation project.
8599 * po/nl.po: Update Dutch translation from translation project.
8600 * po/pl.po: Update Polish translation from translation project.
8601 * po/ru.po: Update Russian translation from translation project.
8603 2013-07-24 David S. Miller <davem@davemloft.net>
8605 * po/libc.pot: Update.
8607 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8609 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
8611 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
8612 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
8613 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
8615 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8617 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
8619 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8620 Andreas Schwab <schwab@suse.de>
8621 Roland McGrath <roland@hack.frob.com>
8622 Joseph Myers <joseph@codesourcery.com>
8623 Carlos O'Donell <carlos@redhat.com>
8626 * config.h.in: Define HAVE_PT_CHOWN.
8627 * config.make.in (build-pt-chown): New variable.
8628 * configure.in (--enable-pt_chown): New configure option.
8629 * configure: Regenerate.
8630 * login/Makefile: Include Makeconfig. Build pt_chown only if
8631 build-pt-chown is enabled.
8632 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
8633 pt_chown to fix pty ownership.
8634 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
8636 * manual/install.texi (Configuring and compiling): Mention
8637 --enable-pt_chown. Add @findex for grantpt.
8638 * INSTALL: Regenerate.
8640 2013-07-20 David S. Miller <davem@davemloft.net>
8642 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
8643 difference between 32-bit and 64-bit.
8645 2013-07-15 Carlos O'Donell <carlos@redhat.com>
8648 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
8649 Avoid system header dependency with -ffreestanding.
8650 ($(objpfx)bits/syscall%d): Likewise.
8652 2013-07-13 David S. Miller <davem@davemloft.net>
8654 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
8655 underflows from atanl/atan2l due to bug 15319.
8656 (casinh_test_data): Likewise.
8658 2013-07-07 David S. Miller <davem@davemloft.net>
8660 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
8662 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
8664 * sysdeps/i386/fpu/libm-test-ulps: Update.
8665 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8667 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8669 * configure.in (--enable-lock-elision): Fix message text.
8670 * INSTALL: Regenerate.
8671 * configure: Regenerate.
8673 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8675 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8677 2013-07-03 Andreas Jaeger <aj@suse.de>
8679 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
8681 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
8682 (ptrace_peeksiginfo_args): Add.
8683 (__ptrace_peeksiginfo_flags): Add.
8684 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
8685 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
8686 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
8688 2013-07-03 Allan McRae <allan@archlinux.org>
8690 * sysdeps/i386/fpu/libm-test-ulps: Update.
8692 2013-07-02 David S. Miller <davem@davemloft.net>
8694 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8696 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
8698 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8700 2013-07-02 Joseph Myers <joseph@codesourcery.com>
8702 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
8703 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8705 2013-07-02 Andi Kleen <ak@linux.intel.com>
8707 * config.h.in (ENABLE_LOCK_ELISION): Add.
8708 * configure.in (--enable-lock-elision): Add option.
8709 * manual/install.texi: Document --enable lock elision.
8710 * configure: Regenerate
8711 * INSTALL: Regenerate.
8713 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
8715 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
8716 SSE4.2 strcasecmp for libc.a.
8717 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
8719 2013-07-02 Joseph Myers <joseph@codesourcery.com>
8722 * soft-fp/op-common.h (_FP_FMA): New macro.
8723 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
8724 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
8725 (_FP_MUL_MEAT_1_imm): ... here.
8726 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
8727 (_FP_MUL_MEAT_1_wide): ... here.
8728 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
8729 (_FP_MUL_MEAT_1_hard): ... here.
8730 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
8731 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
8732 (_FP_MUL_MEAT_2_wide): ... here.
8733 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
8734 (_FP_MUL_MEAT_2_wide_3mul): ... here.
8735 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
8736 (_FP_MUL_MEAT_2_gmp): ... here.
8737 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
8738 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
8739 (_FP_MUL_MEAT_4_wide): ... here.
8740 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
8741 (_FP_MUL_MEAT_4_gmp): ... here.
8742 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
8743 (_FP_WFRACBITS_DW_S): Likewise.
8744 (_FP_WFRACXBITS_DW_S): Likewise.
8745 (_FP_HIGHBIT_DW_S): Likewise.
8746 (FP_FMA_S): Likewise.
8747 (_FP_FRAC_HIGH_DW_S): Likewise.
8748 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
8749 (_FP_WFRACBITS_DW_D): Likewise.
8750 (_FP_WFRACXBITS_DW_D): Likewise.
8751 (_FP_HIGHBIT_DW_D): Likewise.
8752 (FP_FMA_D): Likewise.
8753 (_FP_FRAC_HIGH_DW_D): Likewise.
8754 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
8755 (_FP_WFRACBITS_DW_E): Likewise.
8756 (_FP_WFRACXBITS_DW_E): Likewise.
8757 (_FP_HIGHBIT_DW_E): Likewise.
8758 (FP_FMA_E): Likewise.
8759 (_FP_FRAC_HIGH_DW_E): Likewise.
8760 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
8761 (_FP_WFRACBITS_DW_Q): Likewise.
8762 (_FP_WFRACXBITS_DW_Q): Likewise.
8763 (_FP_HIGHBIT_DW_Q): Likewise.
8764 (FP_FMA_Q): Likewise.
8765 (_FP_FRAC_HIGH_DW_Q): Likewise.
8766 * soft-fp/fmasf4.c: New file.
8767 * soft-fp/fmadf4.c: Likewise.
8768 * soft-fp/fmatf4.c: Likewise.
8770 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
8772 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
8773 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
8775 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
8777 (index_Slow_SSE4_2): Likewise.
8778 (index_Prefer_PMINUB_for_stringop): Likewise.
8779 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
8780 bit_Slow_SSE4_2 is set.
8781 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
8782 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
8784 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
8786 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
8787 rtld_global._dl_hwcap2.
8788 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
8790 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
8791 POWER8 feature descriptions defined in _dl_hwcap2.
8792 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
8793 string handling for POWER8 feature bits.
8794 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
8795 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
8796 _dl_powerpc_cap_flags.
8797 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
8798 * sysdeps/powerpc/rtld-global-offsets.sym
8799 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
8800 _dl_hwcap2 in the rtld_global_ro structure.
8802 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
8804 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
8805 hardware capabilities in support of AT_HWCAP2.
8806 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
8807 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
8809 (_dl_show_auxv): Add support for calling _dl_procinfo to display
8810 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
8811 explicitly the unknown a_type display mechanism is used.
8812 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
8813 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
8815 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
8816 to macro prototype for AT_HWCAP2 support.
8817 * sysdeps/i386/dl-procinfo.h: Likewise.
8818 * sysdeps/s390/dl-procinfo.h: Likewise.
8819 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
8820 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
8821 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
8822 return -1 for unknown a_type display fallback.
8823 * sysdeps/sparc/dl-procinfo.h: Likewise.
8824 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
8825 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
8827 2013-06-28 Joseph Myers <joseph@codesourcery.com>
8829 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
8830 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
8832 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
8835 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
8836 mprotect making __stack_prot writable.
8838 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
8839 Joseph Myers <joseph@codesourcery.com>
8841 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
8842 as being properly aligned.
8844 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
8846 * dlfcn/modstatic5.c: New file.
8847 * dlfcn/tststatic5.c: New file.
8848 * dlfcn/Makefile (tests): Add tststatic5.
8849 (tests-static): Likewise.
8850 (modules-names): Add modstatic5.
8851 (tststatic5-ENV): New variable.
8852 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
8855 * elf/dl-support.c (_dl_main_map): New variable.
8856 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
8857 (_dl_nns, _dl_load_adds): Set to 1.
8858 (_dl_initial_searchlist): Refer to _dl_main_map.
8859 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
8860 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
8861 call to _dl_get_origin.
8862 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
8864 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
8865 * dlfcn/modstatic3.c: New file.
8866 * dlfcn/tststatic3.c: New file.
8867 * dlfcn/tststatic4.c: New file.
8868 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
8869 (tests-static): Likewise.
8870 (modules-names): Add modstatic3.
8871 (tststatic3-ENV, tststatic4-ENV): New variables.
8872 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
8873 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
8875 2013-06-26 Joseph Myers <joseph@codesourcery.com>
8877 * configure.in (CC): Require GCC version 4.4 or later.
8878 * configure: Regenerated.
8879 * manual/install.texi (Tools for Compilation): Update GCC version
8881 * INSTALL: Regenerated.
8883 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
8886 * string/test-memcmp.c (check2): New.
8887 (main): Call check2.
8889 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
8891 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
8894 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
8896 (dl_open_worker) [!SHARED]: ... here.
8898 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
8900 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
8902 2013-06-25 Richard Henderson <rth@redhat.com>
8904 * locale/programs/locarchive.c: Include <libc-internal.h>
8906 2013-06-25 Joseph Myers <joseph@codesourcery.com>
8908 * manual/texinfo.tex: Update to version 2013-06-21.17, with
8909 trailing whitespace removed.
8911 2013-06-24 Mike Frysinger <vapier@gentoo.org>
8914 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
8915 * locale/programs/locarchive.c: Include libc-mmap.h.
8916 (prepare_address_space): Take two new outputs (the mmap base and len).
8917 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
8919 (create_archive): Declare new mmap base and len values for
8920 prepare_address_space, and store the result in ah.
8921 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
8922 (enlarge_archive): If ah->mmap_base is not NULL, use that and
8923 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
8924 Declare new mmap base and len values for
8925 prepare_address_space, and store the result in new_ah.
8926 (open_archive): Declare new mmap base and len values for
8927 prepare_address_space, and store the result in ah.
8928 (close_archive): If ah->mmap_base is not NULL, use that and
8929 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
8930 * sysdeps/generic/libc-mmap.h: New file.
8932 2013-06-24 Mike Frysinger <vapier@gentoo.org>
8934 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
8935 (ALIGN_UP): Likewise.
8936 (PTR_ALIGN_DOWN): Likewise.
8937 (PTR_ALIGN_UP): Likewise.
8939 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
8941 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
8942 entry mapped to PPC_PLATFORM_POWER8.
8943 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
8945 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
8946 (_dl_string_platform): Add case for exporting platform position for
8948 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
8949 search path to sysdeps/powerpc/powerpc32/power8 directory.
8950 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
8951 search path to sysdeps/powerpc/powerpc64/power8 directory.
8952 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
8954 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
8957 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
8959 * INSTALL: Regenerate.
8961 * nscd/connections.c (nscd_init): Fix comment.
8963 2013-06-22 Joseph Myers <joseph@codesourcery.com>
8965 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
8968 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
8969 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
8971 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
8973 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
8975 (DL_DST_REQ_STATIC): Remove macro.
8977 2013-06-21 Joseph Myers <joseph@codesourcery.com>
8980 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
8981 with a shift of 0 bits.
8983 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
8985 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
8988 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8991 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
8993 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8995 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
8996 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
8997 accepts -fno-tree-loop-distribute-patterns.
8998 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
8999 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
9001 * string/memset.c (memset): Likewise.
9002 * string/test-memmove.c (simple_memmove): Disable loop transformation
9004 * string/test-memset.c (simple_memset): Likewise.
9005 * benchtests/bench-memmove.c (simple_memmove): Likewise.
9006 * benchtests/bench-memset.c (simple_memset): Likewise.
9007 * configure: Regenerated.
9009 2013-06-20 Joseph Myers <joseph@codesourcery.com>
9011 * math/test-misc.c (main): Ignore fesetround failure when failures
9012 of subsequent rounding tests would be ignored.
9015 * math/fedisblxcpt.c (fedisableexcept): Return 0.
9016 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
9017 * math/fegetenv.c (__fegetenv): Return 0.
9018 * math/fegetexcept.c (fegetexcept): Return 0.
9019 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
9021 * math/feholdexcpt.c (feholdexcept): Return 0.
9022 * math/fesetenv.c (__fesetenv): Return 0.
9023 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
9024 argument FE_TONEAREST.
9025 * math/feupdateenv.c (__feupdateenv): Return 0.
9026 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
9028 2013-06-18 Roland McGrath <roland@hack.frob.com>
9030 * elf/rtld-Rules (rtld-compile-command.S): New variable.
9031 (rtld-compile-command.s, rtld-compile-command.c): New variables.
9032 ($(objpfx)rtld-%.os rules): Use them.
9034 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9036 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
9039 2013-06-17 Roland McGrath <roland@hack.frob.com>
9041 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
9042 length of target pattern, then descending length of dependency pattern.
9043 * configure.in (AWK): Require gawk 3.1.2 or newer.
9044 * manual/install.texi (Tools for Compilation): Say that we do.
9045 * configure: Regenerated.
9047 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
9048 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
9049 * scripts/sysd-rules.awk: ... this new script.
9050 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
9051 than a glob-style pattern.
9053 2013-06-17 Joseph Myers <joseph@codesourcery.com>
9055 * math/test-misc.c (main): Do not treat incorrectly rounded
9056 conversions as failure unless ROUNDING_TESTS passes.
9058 2013-06-15 Joseph Myers <joseph@codesourcery.com>
9061 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
9062 restore exception state around main square root computation, then
9063 check for inexactness explicitly.
9065 * math/libm-test.inc (fma_test_data): Add another test.
9067 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
9069 * manual/threads.texi (Non-POSIX Extensions): New document
9070 node. Document pthread_getattr_default_np and
9071 pthread_setattr_default_np.
9073 * Versions.def (libpthread): Add GLIBC_2.18.
9074 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
9075 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
9077 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
9079 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
9081 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
9083 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
9085 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
9087 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
9089 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
9091 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
9094 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
9096 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9097 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
9099 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
9100 H.J. Lu <hjl.tools@gmail.com>
9103 * sysdeps/x86_64/rtld-memset.c: Remove file.
9104 * sysdeps/x86_64/rtld-memset.S: New file.
9106 2013-06-14 Joseph Myers <joseph@codesourcery.com>
9108 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
9109 (test_in_one_mode): Take arguments for whether the rounding mode
9110 is supported for each floating-point type.
9111 (do_test): Pass new arguments to test_in_one_mode using
9114 2013-06-13 Roland McGrath <roland@hack.frob.com>
9116 * posix/tst-waitid.c (do_test): Distinguish different instances of
9117 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
9118 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
9119 before entering the kernel for waitpid.
9121 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
9123 * NEWS: Fix note on clock function precision. Text by Roland
9126 2013-06-13 Roland McGrath <roland@hack.frob.com>
9128 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
9129 it into place only when and if the sanity check passes.
9131 2013-06-13 Joseph Myers <joseph@codesourcery.com>
9133 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
9134 output for whether conversion result is exact. Take argument
9135 indicating whether type is IBM long double.
9136 (round_for_all): Change need_exact field to ibm_ld.
9137 * stdlib/tst-strtod-round.c (struct exactness): New type.
9138 (struct test): Change bool ld_ok field to struct exactness exact.
9139 (TEST): Update all definitions for change to field.
9140 (tests): Regenerate array contents.
9141 (test_in_one_mode): Take pointer to new field instead of old ld_ok
9142 field value. Check for IBM long double here.
9143 (do_test): Update calls to test_in_one_mode.
9145 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
9148 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
9149 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
9151 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9154 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
9155 generated by the compiler on loop optimizations.
9156 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
9157 general definitions.
9159 2013-06-12 Joseph Myers <joseph@codesourcery.com>
9161 * math/bug-nextafter.c: Include <math-tests.h>.
9162 (main): Only test for exceptions if EXCEPTION_TESTS is true for
9164 * math/bug-nexttoward.c: Include <math-tests.h>.
9165 (main): Only test for exceptions if EXCEPTION_TESTS is true for
9167 * math/test-misc.c: Include <math-tests.h>.
9168 (main): Only test for exceptions if EXCEPTION_TESTS is true for
9171 2013-06-12 Andreas Jaeger <aj@suse.de>
9173 * po/ia.po: Update Interlingua translation from translation
9176 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
9178 * include/fenv.h: Include stdbool.h.
9179 (struct rm_ctx): New structure.
9180 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
9182 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
9183 (SET_RESTORE_ROUNDF): Likewise.
9184 (SET_RESTORE_ROUNDL): Likewise.
9185 (SET_RESTORE_ROUND_NOEX): Likewise.
9186 (SET_RESTORE_ROUND_NOEXF): Likewise.
9187 (SET_RESTORE_ROUND_NOEXL): Likewise.
9188 (SET_RESTORE_ROUND_53BIT): Likewise.
9189 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
9190 (libc_feresetround_noexf_ctx): Likewise.
9191 (libc_feresetround_noexl_ctx): Likewise.
9192 (libc_feholdsetround_53bit_ctx): Likewise.
9193 (libc_feresetround_53bit_ctx): Likewise.
9194 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
9195 (libc_feholdexcept_setround_sse_ctx): New function.
9196 (libc_fesetenv_sse_ctx): Likewise.
9197 (libc_feupdateenv_sse_ctx): Likewise.
9198 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
9199 (libc_feholdexcept_setround_387_ctx): Likewise.
9200 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
9201 (libc_feholdsetround_387_prec_ctx): Likewise.
9202 (libc_feholdsetround_387_ctx): Likewise.
9203 (libc_feholdsetround_387_53bit_ctx): Likewise.
9204 (libc_feholdsetround_sse_ctx): Likewise.
9205 (libc_feresetround_sse_ctx): Likewise.
9206 (libc_feresetround_387_ctx): Likewise.
9207 (libc_feupdateenv_387_ctx): Likewise.
9208 (libc_feholdexcept_setroundf_ctx): Define macro.
9209 (libc_fesetenvf_ctx): Likewise.
9210 (libc_feupdateenvf_ctx): Likewise.
9211 (libc_feholdsetroundf_ctx): Likewise.
9212 (libc_feresetroundf_ctx): Likewise.
9213 (libc_feholdexcept_setround_ctx): Likewise.
9214 (libc_fesetenv_ctx): Likewise.
9215 (libc_feupdateenv_ctx): Likewise.
9216 (libc_feholdsetround_ctx): Likewise.
9217 (libc_feresetround_ctx): Likewise.
9218 (libc_feholdexcept_setroundl_ctx): Likewise.
9219 (libc_feupdateenvl_ctx): Likewise.
9220 (libc_feholdsetroundl_ctx): Likewise.
9221 (libc_feresetroundl_ctx): Likewise.
9222 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
9223 (libc_feresetround_53bit_ctx): Likewise.
9225 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
9227 * locale/iso-639.def: Convert to UTF-8.
9229 2013-06-11 Joseph Myers <joseph@codesourcery.com>
9231 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
9232 (EXCEPTION_TESTS_double): Likewise.
9233 (EXCEPTION_TESTS_long_double): Likewise.
9234 (EXCEPTION_TESTS): Likewise.
9235 * math/libm-test.inc (test_exceptions): Only test exceptions if
9236 EXCEPTION_TESTS (FLOAT).
9238 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
9240 * benchtests/Makefile (string-bench): Add strcpy_chk and
9242 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
9243 * benchtests/bench-stpcpy_chk.c: New file.
9244 * benchtests/bench-strcpy_chk-ifunc.c: New file.
9245 * benchtests/bench-strcpy_chk.c: New file.
9246 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
9248 (do_test): Likewise.
9250 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
9252 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
9253 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
9254 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
9255 with tabs where appropriate.
9256 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
9258 [PPC_PLATFORM_PPC440]: Likewise.
9259 [PPC_PLATFORM_PPC464]: Likewise.
9260 [PPC_PLATFORM_PPC476]: Likewise.
9261 (_dl_string_platform): Add support for detecting ppc405, ppc440,
9262 ppc464, and ppc476 platform strings merging from ports/
9265 2013-06-11 Andreas Schwab <schwab@suse.de>
9268 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
9269 (from_ucs4_idx): Regenerate.
9270 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
9271 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
9272 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
9273 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
9274 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
9275 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
9276 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
9277 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
9278 from FROM_LOOP and TO_LOOP specific macros.
9279 (BODY): Handle combining characters.
9280 * iconvdata/BIG5HKSCS.irreversible: Update.
9281 * iconvdata/BIG5HKSCS.precomposed: New file.
9282 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
9284 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
9286 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
9288 * include/sys/time.h: Fix indentation and add copyright header.
9290 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
9291 (do_test): Likewise.
9292 * string/test-memchr.c (do_one_test): Likewise.
9293 (do_test): Likewise.
9294 * string/test-memcmp.c (do_one_test): Likewise.
9295 (do_test): Likewise.
9296 * string/test-memcpy.c (do_one_test): Likewise.
9297 (do_test): Likewise.
9298 * string/test-memmem.c (do_one_test): Likewise.
9299 (do_test): Likewise.
9300 (do_random_tests): Likewise.
9301 * string/test-memmove.c (do_one_test): Likewise.
9302 (do_test): Likewise.
9303 * string/test-memset.c (do_one_test): Likewise.
9304 (do_test): Likewise.
9305 * string/test-rawmemchr.c (do_one_test): Likewise.
9306 (do_test): Likewise.
9307 * string/test-strcasecmp.c (do_one_test): Likewise.
9308 (do_test): Likewise.
9309 * string/test-strcasestr.c (do_one_test): Likewise.
9310 (do_test): Likewise.
9311 * string/test-strcat.c (do_one_test): Likewise.
9312 (do_test): Likewise.
9313 * string/test-strchr.c (do_one_test): Likewise.
9314 (do_test): Likewise.
9315 * string/test-strcmp.c (do_one_test): Likewise.
9316 (do_test): Likewise.
9317 * string/test-strcpy.c (do_one_test): Likewise.
9318 (do_test): Likewise.
9319 * string/test-string.h: Likewise.
9320 (test_init): Likewise.
9321 * string/test-strlen.c (do_one_test): Likewise.
9322 (do_test): Likewise.
9323 * string/test-strncasecmp.c (do_one_test): Likewise.
9324 (do_test): Likewise.
9325 * string/test-strncat.c (do_one_test): Likewise.
9326 (do_test): Likewise.
9327 * string/test-strncmp.c (do_one_test): Likewise.
9328 (do_test_limit): Likewise.
9329 (do_test): Likewise.
9330 * string/test-strncpy.c (do_one_test): Likewise.
9331 (do_test): Likewise.
9332 * string/test-strnlen.c (do_one_test): Likewise.
9333 (do_test): Likewise.
9334 * string/test-strpbrk.c (do_one_test): Likewise.
9335 (do_test): Likewise.
9336 * string/test-strrchr.c (do_one_test): Likewise.
9337 (do_test): Likewise.
9338 * string/test-strspn.c (do_one_test): Likewise.
9339 (do_test): Likewise.
9340 * string/test-strstr.c (do_one_test): Likewise.
9341 (do_test): Likewise.
9343 * benchtests/Makefile (string-bench): Add string benchmarks.
9344 * benchtests/bench-bcopy-ifunc.c: New file.
9345 * benchtests/bench-bcopy.c: New file.
9346 * benchtests/bench-bzero-ifunc.c: New file.
9347 * benchtests/bench-bzero.c: New file.
9348 * benchtests/bench-memccpy-ifunc.c: New file.
9349 * benchtests/bench-memccpy.c: New file.
9350 * benchtests/bench-memchr-ifunc.c: New file.
9351 * benchtests/bench-memchr.c: New file.
9352 * benchtests/bench-memcmp-ifunc.c: New file.
9353 * benchtests/bench-memcmp.c: New file.
9354 * benchtests/bench-memmem-ifunc.c: New file.
9355 * benchtests/bench-memmem.c: New file.
9356 * benchtests/bench-memmove-ifunc.c: New file.
9357 * benchtests/bench-memmove.c: New file.
9358 * benchtests/bench-mempcpy-ifunc.c: New file.
9359 * benchtests/bench-mempcpy.c: New file.
9360 * benchtests/bench-memset-ifunc.c: New file.
9361 * benchtests/bench-memset.c: New file.
9362 * benchtests/bench-rawmemchr-ifunc.c: New file.
9363 * benchtests/bench-rawmemchr.c: New file.
9364 * benchtests/bench-stpcpy-ifunc.c: New file.
9365 * benchtests/bench-stpcpy.c: New file.
9366 * benchtests/bench-stpncpy-ifunc.c: New file.
9367 * benchtests/bench-stpncpy.c: New file.
9368 * benchtests/bench-strcasecmp-ifunc.c: New file.
9369 * benchtests/bench-strcasecmp.c: New file.
9370 * benchtests/bench-strcasestr-ifunc.c: New file.
9371 * benchtests/bench-strcasestr.c: New file.
9372 * benchtests/bench-strcat-ifunc.c: New file.
9373 * benchtests/bench-strcat.c: New file.
9374 * benchtests/bench-strchr-ifunc.c: New file.
9375 * benchtests/bench-strchr.c: New file.
9376 * benchtests/bench-strchrnul-ifunc.c: New file.
9377 * benchtests/bench-strchrnul.c: New file.
9378 * benchtests/bench-strcmp-ifunc.c: New file.
9379 * benchtests/bench-strcmp.c: New file.
9380 * benchtests/bench-strcpy-ifunc.c: New file.
9381 * benchtests/bench-strcpy.c: New file.
9382 * benchtests/bench-strcspn-ifunc.c: New file.
9383 * benchtests/bench-strcspn.c: New file.
9384 * benchtests/bench-strlen-ifunc.c: New file.
9385 * benchtests/bench-strlen.c: New file.
9386 * benchtests/bench-strncasecmp-ifunc.c: New file.
9387 * benchtests/bench-strncasecmp.c: New file.
9388 * benchtests/bench-strncat-ifunc.c: New file.
9389 * benchtests/bench-strncat.c: New file.
9390 * benchtests/bench-strncmp-ifunc.c: New file.
9391 * benchtests/bench-strncmp.c: New file.
9392 * benchtests/bench-strncpy-ifunc.c: New file.
9393 * benchtests/bench-strncpy.c: New file.
9394 * benchtests/bench-strnlen-ifunc.c: New file.
9395 * benchtests/bench-strnlen.c: New file.
9396 * benchtests/bench-strpbrk-ifunc.c: New file.
9397 * benchtests/bench-strpbrk.c: New file.
9398 * benchtests/bench-strrchr-ifunc.c: New file.
9399 * benchtests/bench-strrchr.c: New file.
9400 * benchtests/bench-strspn-ifunc.c: New file.
9401 * benchtests/bench-strspn.c: New file.
9402 * benchtests/bench-strstr-ifunc.c: New file.
9403 * benchtests/bench-strstr.c: New file.
9405 * benchtests/Makefile: Disable parallel execution of targets.
9406 (string-bench): Add memcpy.
9407 (benchset): New variable to store a list of benchmark sets.
9408 (bench-func): Renamed from bench.
9409 (bench-set): New target.
9410 (bench): Depend on bench-func and bench-set.
9411 * benchtests/README: Add section on benchmark sets.
9412 * benchtests/bench-memcpy-ifunc.c: New file.
9413 * benchtests/bench-memcpy.c: New file.
9414 * benchtests/bench-string.h: New file.
9416 2013-06-11 Andreas Schwab <schwab@suse.de>
9419 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
9420 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
9421 values in the triple.
9422 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
9423 terminator in the group key.
9425 2013-06-11 Andreas Jaeger <aj@suse.de>
9427 * po/zh_TW.po: Update Chinese (traditional) translation from
9428 translation project.
9430 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
9432 * include/time.h (__clock_gettime): Add libc_hidden_proto.
9433 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
9434 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
9435 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
9436 (clock_getcpuclockid): Likewise.
9437 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
9438 Add weak_alias and libc_hidden_def.
9439 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
9440 * rt/clock_gettime.c (clock_gettime): Rename to
9441 __clock_gettime. Add weak_alias and libc_hidden_def.
9442 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
9443 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
9444 __clock_nanosleep. Add weak_alias and libc_hidden_def.
9445 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
9446 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
9448 * rt/clock_settime.c (clock_settime): Rename to
9449 __clock_settime. Add weak_alias and libc_hidden_def.
9450 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
9452 2013-06-10 Joseph Myers <joseph@codesourcery.com>
9454 * mach/err_boot.sub: Remove trailing whitespace.
9455 * mach/err_ipc.sub: Likewise.
9456 * mach/err_mach.sub: Likewise.
9458 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
9459 (ROUNDING_TESTS_double): Likewise.
9460 (ROUNDING_TESTS_long_double): Likewise.
9461 (ROUNDING_TESTS): Likewise.
9462 * math/libm-test.inc: Include <math-tests.h>.
9463 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
9464 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
9465 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
9466 (IF_ROUND_INIT_FE_UPWARD): Likewise.
9468 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
9470 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
9473 2013-06-08 Joseph Myers <joseph@codesourcery.com>
9475 * sysdeps/gnu/errlist.awk: Do not generate space at end of
9476 otherwise empty TRANS lines.
9477 * sysdeps/gnu/errlist.c: Regenerated.
9479 * catgets/gencat.c (error_print): Use (void) in function
9481 * crypt/crypt_util.c (__init_des): Likewise.
9482 * crypt/speeds.c (Stop): Likewise.
9484 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
9485 * inet/ruserpass.c (token): Likewise.
9486 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
9487 * intl/localealias.c (extend_alias_table): Likewise.
9488 * intl/plural-exp.c (init_germanic_plural): Likewise.
9489 * libio/fcloseall.c (__fcloseall): Likewise.
9490 * libio/genops.c (_IO_flush_all): Likewise.
9491 (_IO_flush_all_linebuffered): Likewise.
9492 (_IO_cleanup): Likewise.
9493 (_IO_iter_begin): Likewise.
9494 (_IO_iter_end): Likewise.
9495 (_IO_list_lock): Likewise.
9496 (_IO_list_unlock): Likewise.
9497 (_IO_list_resetlock): Likewise.
9498 * libio/getchar.c (getchar): Likewise.
9499 * libio/getchar_u.c (getchar_unlocked): Likewise.
9500 * libio/getwchar.c (getwchar): Likewise.
9501 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
9502 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
9503 * login/getpt.c (__getpt): Likewise.
9504 * login/tst-utmp.c (main): Likewise.
9505 * malloc/hooks.c (__malloc_check_init): Likewise.
9506 * malloc/malloc.c (__malloc_stats): Likewise.
9507 * malloc/mtrace.c (tr_break): Likewise.
9509 (muntrace): Likewise.
9510 * misc/fstab.c (endfsent): Likewise.
9511 * misc/getclktck.c (__getclktck): Likewise.
9512 * misc/getdtsz.c (__getdtablesize): Likewise.
9513 * misc/gethostid.c (gethostid): Likewise.
9514 * misc/getpagesize.c (__getpagesize): Likewise.
9515 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
9516 (__get_nprocs): Likewise.
9517 (__get_phys_pages): Likewise.
9518 (__get_avphys_pages): Likewise.
9519 * misc/getttyent.c (getttyent): Likewise.
9520 (setttyent): Likewise.
9521 (endttyent): Likewise.
9522 * misc/getusershell.c (getusershell): Likewise.
9523 (endusershell): Likewise.
9524 (setusershell): Likewise.
9525 (initshells): Likewise.
9526 * misc/hsearch.c (__hdestroy): Likewise.
9527 * misc/sync.c (sync): Likewise.
9528 * misc/syslog.c (closelog_internal): Likewise.
9529 (closelog): Likewise.
9530 * misc/ttyslot.c (ttyslot): Likewise.
9531 * misc/vhangup.c (vhangup): Likewise.
9532 * posix/fork.c (__fork): Likewise.
9533 * posix/getegid.c (__getegid): Likewise.
9534 * posix/geteuid.c (__geteuid): Likewise.
9535 * posix/getgid.c (__getgid): Likewise.
9536 * posix/getpid.c (__getpid): Likewise.
9537 * posix/getppid.c (__getppid): Likewise.
9538 * posix/getuid.c (__getuid): Likewise.
9539 * posix/pause.c (pause): Likewise.
9540 * posix/setpgrp.c (setpgrp): Likewise.
9541 * posix/setsid.c (__setsid): Likewise.
9542 * posix/test-vfork.c (noop): Likewise.
9543 * resolv/gethnamaddr.c (_endhtent): Likewise.
9544 (_gethtent): Likewise.
9545 (ht_endhostent): Likewise.
9546 (gethostent): Likewise.
9547 (dns_service): Likewise.
9548 * stdlib/drand48.c (drand48): Likewise.
9549 * stdlib/lrand48.c (lrand48): Likewise.
9550 * stdlib/mrand48.c (mrand48): Likewise.
9551 * stdlib/rand.c (rand): Likewise.
9552 * stdlib/random.c (__random): Likewise.
9553 * stdlib/setenv.c (clearenv): Likewise.
9554 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
9555 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
9556 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
9557 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
9558 (__get_nprocs): Likewise.
9559 (__get_phys_pages): Likewise.
9560 (__get_avphys_pages): Likewise.
9561 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
9562 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
9563 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
9564 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
9565 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
9566 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
9567 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
9568 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
9569 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
9570 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
9571 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
9572 * sysdeps/mach/hurd/sync.c (sync): Likewise.
9573 * sysdeps/posix/clock.c (clock): Likewise.
9574 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
9575 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
9576 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
9577 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
9578 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
9579 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
9580 (__get_nprocs_conf): Likewise.
9581 (__get_phys_pages): Likewise.
9582 (__get_avphys_pages): Likewise.
9583 * time/clock.c (clock): Likewise.
9584 * time/tzset.c (__tzname_max): Likewise.
9586 2013-06-07 Joseph Myers <joseph@codesourcery.com>
9588 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
9589 (__bswap_32): Do not use "register".
9590 * crypt/crypt.c (_ufc_doit_r): Likewise.
9591 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
9592 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
9593 * gmon/gmon.c (__monstartup): Likewise.
9594 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
9595 * hurd/hurdmalloc.c (more_memory): Likewise.
9598 (realloc): Likewise.
9599 (malloc_fork_prepare): Likewise.
9600 (malloc_fork_parent): Likewise.
9601 (malloc_fork_child): Likewise.
9602 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
9603 (_svcauth_des): Likewise.
9604 * inet/inet_lnaof.c (inet_lnaof): Likewise.
9605 * inet/inet_net.c (inet_network): Likewise.
9606 * inet/inet_netof.c (inet_netof): Likewise.
9607 * inet/rcmd.c (__validuser2_sa): Likewise.
9608 * io/fts.c (fts_open): Likewise.
9609 (fts_load): Likewise.
9610 (fts_close): Likewise.
9611 (fts_read): Likewise.
9612 (fts_children): Likewise.
9613 (fts_build): Likewise.
9614 (fts_stat): Likewise.
9615 (fts_sort): Likewise.
9616 (fts_alloc): Likewise.
9617 (fts_lfree): Likewise.
9618 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
9619 (_IO_file_xsgetn): Likewise.
9620 (_IO_file_xsgetn_mmap): Likewise.
9621 * libio/iofopncook.c (_IO_cookie_read): Likewise.
9622 (_IO_cookie_write): Likewise.
9623 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
9624 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
9625 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
9626 * malloc/obstack.c (_obstack_begin): Likewise.
9627 (_obstack_begin_1): Likewise.
9628 (_obstack_newchunk): Likewise.
9629 (_obstack_allocated_p): Likewise.
9630 (obstack_free): Likewise.
9631 (_obstack_memory_used): Likewise.
9632 * misc/getttyent.c (getttynam): Likewise.
9633 (getttyent): Likewise.
9636 * misc/getusershell.c (initshells): Likewise.
9637 * misc/syslog.c (__vsyslog_chk): Likewise.
9638 * misc/ttyslot.c (ttyslot): Likewise.
9639 * nis/nis_hash.c (__nis_hash): Likewise.
9640 * posix/fnmatch_loop.c (FCT): Likewise.
9641 * posix/getconf.c (print_all): Likewise.
9643 * posix/getopt.c (exchange): Likewise.
9644 * posix/glob.c (globfree): Likewise.
9645 (prefix_array): Likewise.
9646 (__glob_pattern_type): Likewise.
9647 * resolv/arpa/nameser.h (NS_GET16): Likewise.
9648 (NS_GET32): Likewise.
9649 (NS_PUT16): Likewise.
9650 (NS_PUT32): Likewise.
9651 * resolv/gethnamaddr.c (getanswer): Likewise.
9652 (gethostbyname2): Likewise.
9653 (gethostbyaddr): Likewise.
9654 (_gethtent): Likewise.
9655 (_gethtbyname2): Likewise.
9656 (_gethtbyaddr): Likewise.
9657 * resolv/ns_print.c (dst_s_get_int16): Likewise.
9658 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
9659 * resolv/res_init.c (__res_vinit): Likewise.
9660 (net_mask): Likewise.
9661 * resolv/res_mkquery.c (outchar): Likewise.
9663 * stdio-common/printf_fp.c (outchar): Likewise.
9665 * stdio-common/printf_fphex.c (outchar): Likewise.
9667 * stdio-common/printf_size.c (outchar): Likewise.
9669 * stdio-common/test_rdwr.c (main): Likewise.
9670 * stdio-common/tfformat.c (matches): Likewise.
9671 * stdio-common/vfprintf.c (outchar): Likewise.
9672 (printf_unknown): Likewise.
9673 (buffered_vfprintf): Likewise.
9674 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
9675 * stdio-common/xbug.c (AppendToBuffer): Likewise.
9676 (ReadFile): Likewise.
9677 * stdlib/qsort.c (SWAP): Likewise.
9678 (_quicksort): Likewise.
9679 * stdlib/setenv.c (__add_to_environ): Likewise.
9680 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
9681 * stdlib/strtol_l.c (__strtol_l): Likewise.
9682 * stdlib/tst-strtod.c (main): Likewise.
9683 * stdlib/tst-strtol.c (main): Likewise.
9684 * stdlib/tst-strtoll.c (main): Likewise.
9685 * string/bits/string2.h (__strcmp_cc): Likewise.
9686 (__strcmp_cg): Likewise.
9687 (__strcspn_c1): Likewise.
9688 (__strcspn_c2): Likewise.
9689 (__strcspn_c3): Likewise.
9690 (__strspn_c1): Likewise.
9691 (__strspn_c2): Likewise.
9692 (__strspn_c3): Likewise.
9693 (__strsep_1c): Likewise.
9694 (__strsep_2c): Likewise.
9695 (__strsep_3c): Likewise.
9696 * string/memccpy.c (__memccpy): Likewise.
9697 * string/stpcpy.c (__stpcpy): Likewise.
9698 * string/strcmp.c (strcmp): Likewise.
9699 * string/strrchr.c (strrchr): Likewise.
9700 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
9702 * sysdeps/mach/hurd/getcwd.c
9703 (_hurd_canonicalize_directory_name_internal): Likewise.
9704 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
9705 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
9706 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
9707 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
9708 Likewise, in both definitions.
9709 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
9711 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
9712 64] (__bswap_64): Likewise.
9713 * time/test_time.c (main): Likewise.
9714 * time/tzfile.c (__tzfile_read): Likewise.
9715 (__tzfile_compute): Likewise.
9716 * time/tzset.c (__tzset_parse_tz): Likewise.
9717 (tzset_internal): Likewise.
9718 (compute_change): Likewise.
9719 * wcsmbs/wcscat.c (__wcscat): Likewise.
9720 * wcsmbs/wcschr.c (wcschr): Likewise.
9721 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
9722 * wcsmbs/wcscspn.c (wcscspn): Likewise.
9723 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
9724 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
9725 * wcsmbs/wcsspn.c (wcsspn): Likewise.
9726 * wcsmbs/wcsstr.c (wcsstr): Likewise.
9727 * wcsmbs/wmemchr.c (wmemchr): Likewise.
9728 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
9729 * wcsmbs/wmemset.c (wmemset): Likewise.
9731 2013-06-06 Joseph Myers <joseph@codesourcery.com>
9733 * scripts/config.guess: Update to version 2013-05-16.
9734 * scripts/config.sub: Update to version 2013-04-24.
9735 * scripts/install-sh: Update to version 2011-11-20.07.
9736 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
9737 * scripts/move-if-change: Update to version 2012-01-06 07:23.
9739 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
9741 * debug/fgetws_u_chk.c: Fix leading whitespaces.
9742 * elf/sln.c: Likewise.
9743 * hurd/hurd/ioctl.h: Likewise.
9744 * hurd/hurdmalloc.c: Likewise.
9745 * hurd/xattr.c: Likewise.
9746 * include/shlib-compat.h: Likewise.
9747 * inet/ruserpass.c: Likewise.
9748 * libio/iofgets_u.c: Likewise.
9749 * libio/iofgetws_u.c: Likewise.
9750 * locale/programs/ld-identification.c: Likewise.
9751 * locale/programs/ld-time.c: Likewise.
9752 * mach/msg-destroy.c: Likewise.
9753 * nss/nss_files/files-netgrp.c: Likewise.
9754 * resolv/res_data.c: Likewise.
9755 * soft-fp/op-1.h: Likewise.
9756 * soft-fp/op-2.h: Likewise.
9757 * soft-fp/op-4.h: Likewise.
9758 * soft-fp/op-common.h: Likewise.
9759 * stdio-common/printf_fphex.c: Likewise.
9760 * stdlib/strtod_l.c: Likewise.
9761 * sunrpc/rpc/clnt.h: Likewise.
9762 * sysdeps/generic/framestate.c: Likewise.
9763 * sysdeps/i386/bsd-_setjmp.S: Likewise.
9764 * sysdeps/i386/bsd-setjmp.S: Likewise.
9765 * sysdeps/i386/__longjmp.S: Likewise.
9766 * sysdeps/i386/setjmp.S: Likewise.
9767 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
9768 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
9769 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
9770 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
9771 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
9772 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
9773 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
9774 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
9775 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
9776 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
9777 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
9778 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
9779 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
9780 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
9781 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
9782 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
9783 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
9784 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
9785 * sysdeps/ieee754/support.c: Likewise.
9786 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
9787 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
9788 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
9789 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
9790 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
9791 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
9792 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
9793 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
9794 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
9795 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
9796 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
9797 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
9798 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
9799 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
9800 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
9801 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
9802 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
9803 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
9805 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
9807 * posix/transbug.c: Remove executable mode.
9809 2013-06-05 Joseph Myers <joseph@codesourcery.com>
9811 * crypt/speeds.c: Remove trailing whitespace.
9812 * dlfcn/default.c: Likewise.
9813 * elf/ifuncdep2.c: Likewise.
9814 * elf/ifuncmain1.c: Likewise.
9815 * elf/ifuncmain1vis.c: Likewise.
9816 * elf/testobj.h: Likewise.
9817 * elf/tst-stackguard1.c: Likewise.
9818 * gmon/sys/gmon.h: Likewise.
9819 * hurd/hurdmsg.c: Likewise.
9820 * hurd/new-fd.c: Likewise.
9821 * hurd/ports-get.c: Likewise.
9822 * iconvdata/ibm1008_420.c: Likewise.
9823 * inet/tst-getni1.c: Likewise.
9824 * inet/tst-getni2.c: Likewise.
9825 * libio/ioungetc.c: Likewise.
9826 * libio/wfiledoalloc.c: Likewise.
9827 * manual/libm-err-tab.pl: Likewise.
9828 * math/w_dremf.c: Likewise.
9829 * misc/ftruncate.c: Likewise.
9830 * posix/bug-glob2.c: Likewise.
9831 * posix/tst-pcre.c: Likewise.
9832 * posix/wait4.c: Likewise.
9833 * resolv/README: Likewise.
9834 * resolv/res_debug.h: Likewise.
9835 * resolv/tst-inet_ntop.c: Likewise.
9836 * setjmp/bug269-setjmp.c: Likewise.
9837 * soft-fp/extended.h: Likewise.
9838 * soft-fp/op-1.h: Likewise.
9839 * soft-fp/op-2.h: Likewise.
9840 * soft-fp/op-4.h: Likewise.
9841 * soft-fp/op-8.h: Likewise.
9842 * soft-fp/testit.c: Likewise.
9843 * stdio-common/bug16.c: Likewise.
9844 * stdlib/random.c: Likewise.
9845 * sunrpc/rpcsvc/rquota.x: Likewise.
9846 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
9847 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
9848 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
9849 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
9850 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
9851 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
9852 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
9853 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
9854 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
9855 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
9856 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
9857 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
9858 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
9859 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
9860 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
9861 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
9862 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
9863 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
9864 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
9865 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
9866 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
9867 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
9868 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
9869 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
9870 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
9871 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
9872 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
9873 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
9874 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
9875 * sysdeps/ieee754/s_lib_version.c: Likewise.
9876 * sysdeps/mach/hurd/check_fds.c: Likewise.
9877 * sysdeps/mach/hurd/getsockname.c: Likewise.
9878 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
9879 * sysdeps/mach/hurd/recvfrom.c: Likewise.
9880 * sysdeps/powerpc/bits/link.h: Likewise.
9881 * sysdeps/powerpc/dl-procinfo.c: Likewise.
9882 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
9883 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
9884 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
9885 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
9886 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
9887 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
9888 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
9889 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
9890 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
9891 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
9892 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
9893 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
9894 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
9895 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
9896 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
9897 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
9898 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
9899 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
9900 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
9901 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
9902 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
9903 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
9904 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
9905 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
9906 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
9907 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
9908 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
9909 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
9910 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
9911 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
9912 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
9913 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
9914 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
9915 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
9916 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
9917 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
9918 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
9919 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
9920 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
9921 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
9922 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
9923 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
9924 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
9925 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
9926 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
9927 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
9928 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
9929 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
9930 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
9931 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
9932 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
9933 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
9934 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
9935 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
9936 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
9937 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
9938 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
9939 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
9940 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
9941 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
9942 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
9943 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
9944 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
9945 * sysdeps/powerpc/sysdep.h: Likewise.
9946 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
9947 * sysdeps/s390/s390-64/sub_n.S: Likewise.
9948 * sysdeps/sh/dl-trampoline.S: Likewise.
9949 * sysdeps/sh/memset.S: Likewise.
9950 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
9951 * sysdeps/sh/strlen.S: Likewise.
9952 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
9953 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
9954 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
9955 * sysdeps/sparc/sparc32/rem.S: Likewise.
9956 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
9957 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
9958 * sysdeps/sparc/sparc32/strchr.S: Likewise.
9959 * sysdeps/sparc/sparc32/udiv.S: Likewise.
9960 * sysdeps/sparc/sparc32/urem.S: Likewise.
9961 * sysdeps/sparc/sparc64/add_n.S: Likewise.
9962 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
9963 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
9964 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
9965 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
9966 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
9967 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
9968 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
9969 * sysdeps/unix/bsd/times.c: Likewise.
9970 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
9971 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
9972 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
9973 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
9974 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
9975 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
9976 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
9977 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
9978 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
9979 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
9980 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
9981 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
9982 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
9983 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
9984 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
9985 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
9986 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
9987 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
9988 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
9989 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
9990 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
9991 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
9992 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
9993 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
9994 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
9995 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
9996 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
9997 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
9998 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
9999 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
10000 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
10001 * sysdeps/x86_64/strcspn.S: Likewise.
10003 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
10005 * locale/C-translit.h: Revert #include <stdint.h> because this is a
10006 generated file. Regenerate properly from gen-translit.pl.
10007 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
10008 locale/C-translit.h.
10010 2013-06-05 Andreas Schwab <schwab@suse.de>
10013 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
10014 week as 6 instead of -1.
10015 * time/tst-strptime.c (day_tests): Add test case.
10017 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
10019 * sysdeps/generic/math_private.h
10020 (libc_feholdexcept_setround_53bit): Replace with
10021 libc_feholdsetround_53bit.
10022 (libc_feupdateenv_53bit): Replace with
10023 libc_feresetround_53bit.
10024 (SET_RESTORE_ROUND_53BIT): Adjust.
10026 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
10028 * string/test-strchrnul.c: Add copyright header.
10030 * posix/tst-getaddrinfo4.c: Increase test timeout.
10032 2013-06-03 Carlos O'Donell <carlos@redhat.com>
10035 * math/libm-test.inc (MAX_EXP): Remove
10037 (ulp): Use MIN_EXP - MANT_DIG.
10038 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
10040 2013-05-31 Carlos O'Donell <carlos@redhat.com>
10042 * po/be.po: Revert last change.
10043 * po/zh_CN.po: Likewise.
10044 * po/header.pot: Likewise.
10046 2013-05-31 Joseph Myers <joseph@codesourcery.com>
10048 * Makefile ($(common-objpfx)linkobj/libc.so): Define
10049 link-libc-deps to empty as target-specific variable.
10050 * Makerules (link-libc-args): New variable.
10051 (libc-for-link): Likewise.
10052 (link-libc-deps): Likewise.
10053 (lib%.so): Depend on $(link-libc-deps). Link with
10055 (build-module): Link with $(link-libc-args).
10056 (build-module-asneeded): Likewise.
10057 (build-module-helper-objlist): Filter out $(link-libc-deps) from
10059 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
10060 target-specific variable.
10061 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
10062 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
10063 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
10065 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
10067 ($(objpfx)libpcprofile.so): Likewise.
10068 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
10070 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
10071 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
10072 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
10074 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
10075 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
10076 * login/Makefile ($(objpfx)libutil.so): Likewise.
10077 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
10078 * math/Makefile ($(objpfx)libm.so): Likewise.
10079 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
10080 $(objpfx)libnsl.so): Define libc-for-link as target-specific
10081 variable instead of depending directly on libc.
10082 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
10083 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
10085 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
10087 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
10088 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
10089 ($(objpfx)libanl.so): Likewise.
10090 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
10092 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
10094 * sysdeps/i386/fpu/Makefile: Remove file.
10095 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
10096 ($(objpfx)libm.so): Remove dependency on ld.so.
10098 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
10101 * nis/yp_xdr.c (XDRMAXNAME): Define.
10102 (XDRMAXRECORD): Define.
10103 (xdr_domainname): Use XDRMAXNAME.
10104 (xdr_mapname): Likewise.
10105 (xdr_peername): Likewise.
10106 (xdr_keydat): Use XDRMAXRECORD.
10107 (xdr_valdat): Likewise.
10109 2013-05-30 Jeff Law <law@redhat.com>
10112 * manual/errno.texi (ESTALE): Update to account for more than
10113 just NFS file systems.
10114 * sysdeps/gnu/errlist.c: Regenerated.
10116 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
10119 * elf/Makefile (tests): Add tst-null-argv.
10120 (modules-names): Add tst-null-argv-lib.
10121 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
10122 (tst-null-argv-ENV): Set environment for tst-null-argv.
10123 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
10124 (RTLD_PROGNAME): New macro.
10125 * elf/tst-null-argv.c: New test case.
10126 * elf/tst-null-argv-lib.c: Library for test case.
10127 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
10128 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
10129 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
10130 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
10131 * elf/dl-init.c (call_init): Likewise.
10132 (_dl_init): Likewise.
10133 * elf/dl-load.c (print_search_path): Likewise.
10134 (_dl_map_object): Likewise.
10135 * elf/dl-lookup.c (do_lookup_x): Likewise.
10136 (add_dependency): Likewise.
10137 (_dl_lookup_symbol_x): Likewise.
10138 (_dl_debug_bindings): Likewise.
10139 * elf/dl-open.c (_dl_show_scope): Likewise.
10140 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
10141 * elf/dl-version.c (match_symbol): Likewise.
10142 (_dl_check_map_versions): Likewise.
10143 * elf/rtld.c (dl_main): Likewise.
10144 (print_unresolved): Use RTLD_PROGNAME.
10145 (print_missing_version): Likewise.
10146 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
10147 (elf_machine_rela): Likewise.
10148 * sysdeps/powerpc/powerpc32/dl-machine.c
10149 (__process_machine_rela): Likewise.
10150 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
10152 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
10154 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
10156 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
10157 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
10159 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
10161 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
10163 2013-05-28 Carlos O'Donell <carlos@redhat.com>
10165 * po/be.po: Add descriptive title.
10166 * po/zh_CN.po: Likewise.
10167 * po/header.pot: Likewise.
10169 2013-05-28 Mike Frysinger <vapier@gentoo.org>
10171 * locale/programs/locarchive.c (create_archive): Inlucde fname in
10173 (enlarge_archive): Likewise.
10175 2013-05-28 Ben North <ben@redfrontdoor.org>
10177 * manual/arith.texi (frexp): It is the magnitude of the return
10178 value which lies in [0.5, 1), not the return value itself.
10180 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10182 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10184 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
10186 * stdio-common/bug26.c (main): Correct fscanf template.
10188 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
10189 declare _dl_skip_args.
10191 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
10194 * manual/platform.texi: Add missing @end deftypefun.
10196 2013-05-24 Joseph Myers <joseph@codesourcery.com>
10199 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
10200 bit of mantissa of 2^16382.
10201 * math/libm-test.inc (hypot_test_data): Add more tests.
10203 * math/libm-test.inc: Add drem and pow10 to list of tested
10205 (pow10_test): New function.
10206 (drem_test): Likewise.
10207 (drem_test_tonearest): Likewise.
10208 (drem_test_towardzero): Likewise.
10209 (drem_test_downward): Likewise.
10210 (drem_test_upward): Likewise.
10211 (main): Call the new functions.
10213 * math/libm-test.inc (finite_test_data): Remove.
10214 (finite_test): Run tests from isfinite_test_data.
10215 (gamma_test_data): Remove.
10216 (gamma_test): Run tests from lgamma_test_data.
10217 * sysdeps/i386/fpu/libm-test-ulps: Update.
10218 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10220 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10222 * manual/platform.texi: Add PowerPC PPR function set documentation.
10223 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
10226 2013-05-24 Carlos O'Donell <carlos@redhat.com>
10228 * math/libm-test.inc (MAX_EXP): Define.
10230 (ulp): New function.
10231 (check_float_internal): Use ULPDIFF.
10232 (cpow_test): Disable failing test.
10233 (check_ulp): Test ulp() implemetnation.
10234 (main): Call check_ulp before starting tests.
10236 2013-05-24 Joseph Myers <joseph@codesourcery.com>
10238 * math/gen-libm-test.pl (generate_testfile): Do not handle
10239 START_DATA and END_DATA.
10240 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
10242 (acos_tonearest_test_data): Likewise.
10243 (acos_towardzero_test_data): Likewise.
10244 (acos_downward_test_data): Likewise.
10245 (acos_upward_test_data): Likewise.
10246 (acosh_test_data): Likewise.
10247 (asin_test_data): Likewise.
10248 (asin_tonearest_test_data): Likewise.
10249 (asin_towardzero_test_data): Likewise.
10250 (asin_downward_test_data): Likewise.
10251 (asin_upward_test_data): Likewise.
10252 (asinh_test_data): Likewise.
10253 (atan_test_data): Likewise.
10254 (atanh_test_data): Likewise.
10255 (atan2_test_data): Likewise.
10256 (cabs_test_data): Likewise.
10257 (cacos_test_data): Likewise.
10258 (cacosh_test_data): Likewise.
10259 (carg_test_data): Likewise.
10260 (casin_test_data): Likewise.
10261 (casinh_test_data): Likewise.
10262 (catan_test_data): Likewise.
10263 (catanh_test_data): Likewise.
10264 (cbrt_test_data): Likewise.
10265 (ccos_test_data): Likewise.
10266 (ccosh_test_data): Likewise.
10267 (ceil_test_data): Likewise.
10268 (cexp_test_data): Likewise.
10269 (cimag_test_data): Likewise.
10270 (clog_test_data): Likewise.
10271 (clog10_test_data): Likewise.
10272 (conj_test_data): Likewise.
10273 (copysign_test_data): Likewise.
10274 (cos_test_data): Likewise.
10275 (cos_tonearest_test_data): Likewise.
10276 (cos_towardzero_test_data): Likewise.
10277 (cos_downward_test_data): Likewise.
10278 (cos_upward_test_data): Likewise.
10279 (cosh_test_data): Likewise.
10280 (cosh_tonearest_test_data): Likewise.
10281 (cosh_towardzero_test_data): Likewise.
10282 (cosh_downward_test_data): Likewise.
10283 (cosh_upward_test_data): Likewise.
10284 (cpow_test_data): Likewise.
10285 (cproj_test_data): Likewise.
10286 (creal_test_data): Likewise.
10287 (csin_test_data): Likewise.
10288 (csinh_test_data): Likewise.
10289 (csqrt_test_data): Likewise.
10290 (ctan_test_data): Likewise.
10291 (ctan_tonearest_test_data): Likewise.
10292 (ctan_towardzero_test_data): Likewise.
10293 (ctan_downward_test_data): Likewise.
10294 (ctan_upward_test_data): Likewise.
10295 (ctanh_test_data): Likewise.
10296 (ctanh_tonearest_test_data): Likewise.
10297 (ctanh_towardzero_test_data): Likewise.
10298 (ctanh_downward_test_data): Likewise.
10299 (ctanh_upward_test_data): Likewise.
10300 (erf_test_data): Likewise.
10301 (erfc_test_data): Likewise.
10302 (exp_test_data): Likewise.
10303 (exp_tonearest_test_data): Likewise.
10304 (exp_towardzero_test_data): Likewise.
10305 (exp_downward_test_data): Likewise.
10306 (exp_upward_test_data): Likewise.
10307 (exp10_test_data): Likewise.
10308 (exp2_test_data): Likewise.
10309 (expm1_test_data): Likewise.
10310 (fabs_test_data): Likewise.
10311 (fdim_test_data): Likewise.
10312 (finite_test_data): Likewise.
10313 (floor_test_data): Likewise.
10314 (fma_test_data): Likewise.
10315 (fma_towardzero_test_data): Likewise.
10316 (fma_downward_test_data): Likewise.
10317 (fma_upward_test_data): Likewise.
10318 (fmax_test_data): Likewise.
10319 (fmin_test_data): Likewise.
10320 (fmod_test_data): Likewise.
10321 (fpclassify_test_data): Likewise.
10322 (frexp_test_data): Likewise.
10323 (gamma_test_data): Likewise.
10324 (hypot_test_data): Likewise.
10325 (ilogb_test_data): Likewise.
10326 (isfinite_test_data): Likewise.
10327 (isgreater_test_data): Likewise.
10328 (isgreaterequal_test_data): Likewise.
10329 (isinf_test_data): Likewise.
10330 (isless_test_data): Likewise.
10331 (islessequal_test_data): Likewise.
10332 (islessgreater_test_data): Likewise.
10333 (isnan_test_data): Likewise.
10334 (isnormal_test_data): Likewise.
10335 (issignaling_test_data): Likewise.
10336 (isunordered_test_data): Likewise.
10337 (j0_test_data): Likewise.
10338 (j1_test_data): Likewise.
10339 (jn_test_data): Likewise.
10340 (ldexp_test_data): Likewise.
10341 (lgamma_test_data): Likewise.
10342 (lrint_test_data): Likewise.
10343 (lrint_tonearest_test_data): Likewise.
10344 (lrint_towardzero_test_data): Likewise.
10345 (lrint_downward_test_data): Likewise.
10346 (lrint_upward_test_data): Likewise.
10347 (llrint_test_data): Likewise.
10348 (llrint_tonearest_test_data): Likewise.
10349 (llrint_towardzero_test_data): Likewise.
10350 (llrint_downward_test_data): Likewise.
10351 (llrint_upward_test_data): Likewise.
10352 (log_test_data): Likewise.
10353 (log10_test_data): Likewise.
10354 (log1p_test_data): Likewise.
10355 (log2_test_data): Likewise.
10356 (logb_test_data): Likewise.
10357 (logb_downward_test_data): Likewise.
10358 (lround_test_data): Likewise.
10359 (llround_test_data): Likewise.
10360 (modf_test_data): Likewise.
10361 (nearbyint_test_data): Likewise.
10362 (nextafter_test_data): Likewise.
10363 (nexttoward_test_data): Likewise.
10364 (pow_test_data): Likewise.
10365 (pow_tonearest_test_data): Likewise.
10366 (pow_towardzero_test_data): Likewise.
10367 (pow_downward_test_data): Likewise.
10368 (pow_upward_test_data): Likewise.
10369 (remainder_test_data): Likewise.
10370 (remainder_tonearest_test_data): Likewise.
10371 (remainder_towardzero_test_data): Likewise.
10372 (remainder_downward_test_data): Likewise.
10373 (remainder_upward_test_data): Likewise.
10374 (remquo_test_data): Likewise.
10375 (rint_test_data): Likewise.
10376 (rint_tonearest_test_data): Likewise.
10377 (rint_towardzero_test_data): Likewise.
10378 (rint_downward_test_data): Likewise.
10379 (rint_upward_test_data): Likewise.
10380 (round_test_data): Likewise.
10381 (scalb_test_data): Likewise.
10382 (scalbn_test_data): Likewise.
10383 (scalbln_test_data): Likewise.
10384 (signbit_test_data): Likewise.
10385 (sin_test_data): Likewise.
10386 (sin_tonearest_test_data): Likewise.
10387 (sin_towardzero_test_data): Likewise.
10388 (sin_downward_test_data): Likewise.
10389 (sin_upward_test_data): Likewise.
10390 (sincos_test_data): Likewise.
10391 (sinh_test_data): Likewise.
10392 (sinh_tonearest_test_data): Likewise.
10393 (sinh_towardzero_test_data): Likewise.
10394 (sinh_downward_test_data): Likewise.
10395 (sinh_upward_test_data): Likewise.
10396 (sqrt_test_data): Likewise.
10397 (tan_test_data): Likewise.
10398 (tan_tonearest_test_data): Likewise.
10399 (tan_towardzero_test_data): Likewise.
10400 (tan_downward_test_data): Likewise.
10401 (tan_upward_test_data): Likewise.
10402 (tanh_test_data): Likewise.
10403 (tgamma_test_data): Likewise.
10404 (trunc_test_data): Likewise.
10405 (y0_test_data): Likewise.
10406 (y1_test_data): Likewise.
10407 (yn_test_data): Likewise.
10408 (significand_test_data): Likewise.
10410 * math/gen-libm-test.pl (@functions): Remove variable.
10411 (generate_testfile): Don't handle START and END lines.
10412 * math/libm-test.inc (START): New macro.
10414 (END_COMPLEX): Likewise.
10415 (acos_test): Use END macro without arguments.
10416 (acos_test_tonearest): Likewise.
10417 (acos_test_towardzero): Likewise.
10418 (acos_test_downward): Likewise.
10419 (acos_test_upward): Likewise.
10420 (acosh_test): Likewise.
10421 (asin_test): Likewise.
10422 (asin_test_tonearest): Likewise.
10423 (asin_test_towardzero): Likewise.
10424 (asin_test_downward): Likewise.
10425 (asin_test_upward): Likewise.
10426 (asinh_test): Likewise.
10427 (atan_test): Likewise.
10428 (atanh_test): Likewise.
10429 (atan2_test): Likewise.
10430 (cabs_test): Likewise.
10431 (cacos_test): Use END_COMPLEX macro without arguments.
10432 (cacosh_test): Likewise.
10433 (carg_test): Use END macro without arguments.
10434 (casin_test): Use END_COMPLEX macro without arguments.
10435 (casinh_test): Likewise.
10436 (catan_test): Likewise.
10437 (catanh_test): Likewise.
10438 (cbrt_test): Use END macro without arguments.
10439 (ccos_test): Use END_COMPLEX macro without arguments.
10440 (ccosh_test): Likewise.
10441 (ceil_test): Use END macro without arguments.
10442 (cexp_test): Use END_COMPLEX macro without arguments.
10443 (cimag_test): Use END macro without arguments.
10444 (clog_test): Use END_COMPLEX macro without arguments.
10445 (clog10_test): Likewise.
10446 (conj_test): Likewise.
10447 (copysign_test): Use END macro without arguments.
10448 (cos_test): Likewise.
10449 (cos_test_tonearest): Likewise.
10450 (cos_test_towardzero): Likewise.
10451 (cos_test_downward): Likewise.
10452 (cos_test_upward): Likewise.
10453 (cosh_test): Likewise.
10454 (cosh_test_tonearest): Likewise.
10455 (cosh_test_towardzero): Likewise.
10456 (cosh_test_downward): Likewise.
10457 (cosh_test_upward): Likewise.
10458 (cpow_test): Use END_COMPLEX macro without arguments.
10459 (cproj_test): Likewise.
10460 (creal_test): Use END macro without arguments.
10461 (csin_test): Use END_COMPLEX macro without arguments.
10462 (csinh_test): Likewise.
10463 (csqrt_test): Likewise.
10464 (ctan_test): Likewise.
10465 (ctan_test_tonearest): Likewise.
10466 (ctan_test_towardzero): Likewise.
10467 (ctan_test_downward): Likewise.
10468 (ctan_test_upward): Likewise.
10469 (ctanh_test): Likewise.
10470 (ctanh_test_tonearest): Likewise.
10471 (ctanh_test_towardzero): Likewise.
10472 (ctanh_test_downward): Likewise.
10473 (ctanh_test_upward): Likewise.
10474 (erf_test): Use END macro without arguments.
10475 (erfc_test): Likewise.
10476 (exp_test): Likewise.
10477 (exp_test_tonearest): Likewise.
10478 (exp_test_towardzero): Likewise.
10479 (exp_test_downward): Likewise.
10480 (exp_test_upward): Likewise.
10481 (exp10_test): Likewise.
10482 (exp2_test): Likewise.
10483 (expm1_test): Likewise.
10484 (fabs_test): Likewise.
10485 (fdim_test): Likewise.
10486 (finite_test): Likewise.
10487 (floor_test): Likewise.
10488 (fma_test): Likewise.
10489 (fma_test_towardzero): Likewise.
10490 (fma_test_downward): Likewise.
10491 (fma_test_upward): Likewise.
10492 (fmax_test): Likewise.
10493 (fmin_test): Likewise.
10494 (fmod_test): Likewise.
10495 (fpclassify_test): Likewise.
10496 (frexp_test): Likewise.
10497 (gamma_test): Likewise.
10498 (hypot_test): Likewise.
10499 (ilogb_test): Likewise.
10500 (isfinite_test): Likewise.
10501 (isgreater_test): Likewise.
10502 (isgreaterequal_test): Likewise.
10503 (isinf_test): Likewise.
10504 (isless_test): Likewise.
10505 (islessequal_test): Likewise.
10506 (islessgreater_test): Likewise.
10507 (isnan_test): Likewise.
10508 (isnormal_test): Likewise.
10509 (issignaling_test): Likewise.
10510 (isunordered_test): Likewise.
10511 (j0_test): Likewise.
10512 (j1_test): Likewise.
10513 (jn_test): Likewise.
10514 (ldexp_test): Likewise.
10515 (lgamma_test): Likewise.
10516 (lrint_test): Likewise.
10517 (lrint_test_tonearest): Likewise.
10518 (lrint_test_towardzero): Likewise.
10519 (lrint_test_downward): Likewise.
10520 (lrint_test_upward): Likewise.
10521 (llrint_test): Likewise.
10522 (llrint_test_tonearest): Likewise.
10523 (llrint_test_towardzero): Likewise.
10524 (llrint_test_downward): Likewise.
10525 (llrint_test_upward): Likewise.
10526 (log_test): Likewise.
10527 (log10_test): Likewise.
10528 (log1p_test): Likewise.
10529 (log2_test): Likewise.
10530 (logb_test): Likewise.
10531 (logb_test_downward): Likewise.
10532 (lround_test): Likewise.
10533 (llround_test): Likewise.
10534 (modf_test): Likewise.
10535 (nearbyint_test): Likewise.
10536 (nextafter_test): Likewise.
10537 (nexttoward_test): Likewise.
10538 (pow_test): Likewise.
10539 (pow_test_tonearest): Likewise.
10540 (pow_test_towardzero): Likewise.
10541 (pow_test_downward): Likewise.
10542 (pow_test_upward): Likewise.
10543 (remainder_test): Likewise.
10544 (remainder_test_tonearest): Likewise.
10545 (remainder_test_towardzero): Likewise.
10546 (remainder_test_downward): Likewise.
10547 (remainder_test_upward): Likewise.
10548 (remquo_test): Likewise.
10549 (rint_test): Likewise.
10550 (rint_test_tonearest): Likewise.
10551 (rint_test_towardzero): Likewise.
10552 (rint_test_downward): Likewise.
10553 (rint_test_upward): Likewise.
10554 (round_test): Likewise.
10555 (scalb_test): Likewise.
10556 (scalbn_test): Likewise.
10557 (scalbln_test): Likewise.
10558 (signbit_test): Likewise.
10559 (sin_test): Likewise.
10560 (sin_test_tonearest): Likewise.
10561 (sin_test_towardzero): Likewise.
10562 (sin_test_downward): Likewise.
10563 (sin_test_upward): Likewise.
10564 (sincos_test): Likewise.
10565 (sinh_test): Likewise.
10566 (sinh_test_tonearest): Likewise.
10567 (sinh_test_towardzero): Likewise.
10568 (sinh_test_downward): Likewise.
10569 (sinh_test_upward): Likewise.
10570 (sqrt_test): Likewise.
10571 (tan_test): Likewise.
10572 (tan_test_tonearest): Likewise.
10573 (tan_test_towardzero): Likewise.
10574 (tan_test_downward): Likewise.
10575 (tan_test_upward): Likewise.
10576 (tanh_test): Likewise.
10577 (tgamma_test): Likewise.
10578 (trunc_test): Likewise.
10579 (y0_test): Likewise.
10580 (y1_test): Likewise.
10581 (yn_test): Likewise.
10582 (significand_test): Likewise.
10584 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
10587 * libio/genops.c (_IO_no_init): Initialize wide struct info.
10589 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
10592 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
10593 __ppc_mdoio and __ppc_mdoom.
10594 * manual/platform.texi: Document new functions __ppc_yield,
10595 __ppc_mdoio and __ppc_mdoom.
10597 2013-05-22 Carlos O'Donell <carlos@redhat.com>
10599 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
10600 (main): Mention "tls" pseudo-hwcap is legacy.
10601 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
10603 2013-05-22 Joseph Myers <joseph@codesourcery.com>
10605 * math/gen-libm-test.pl (parse_args): Output only string of
10606 arguments as text for test name, not full call or descriptions of
10607 tests for extra outputs.
10608 (generate_testfile): Do not pass function name to parse_args.
10609 Generate this_func variable from START.
10610 * math/libm-test.inc (struct test_f_f_data): Rename test_name
10612 (struct test_ff_f_data): Likewise.
10613 (test_ff_f_data_nexttoward): Likewise.
10614 (struct test_fi_f_data): Likewise.
10615 (struct test_fl_f_data): Likewise.
10616 (struct test_if_f_data): Likewise.
10617 (struct test_fff_f_data): Likewise.
10618 (struct test_c_f_data): Likewise.
10619 (struct test_f_f1_data): Likewise. Remove field extra_name.
10620 (struct test_fF_f1_data): Likewise.
10621 (struct test_ffI_f1_data): Likewise.
10622 (struct test_c_c_data): Rename test_name field to arg_str.
10623 (struct test_cc_c_data): Likewise.
10624 (struct test_f_i_data): Likewise.
10625 (struct test_ff_i_data): Likewise.
10626 (struct test_f_l_data): Likewise.
10627 (struct test_f_L_data): Likewise.
10628 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
10630 (COMMON_TEST_SETUP): New macro.
10631 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
10632 (COMMON_TEST_CLEANUP): Likewise.
10633 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
10634 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
10636 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
10637 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
10639 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
10640 (RUN_TEST_fff_f): Take argument string. Call new setup and
10642 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
10643 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
10645 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
10646 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
10648 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
10649 (RUN_TEST_fF_f1): Take argument string. Call new setup and
10651 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
10652 (RUN_TEST_fI_f1): Take argument string. Call new setup and
10654 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
10655 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
10657 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
10658 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
10660 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
10661 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
10663 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
10664 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
10666 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
10667 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
10669 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
10670 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
10672 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
10673 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
10675 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
10676 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
10678 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
10679 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
10681 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
10682 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
10684 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
10685 (RUN_TEST_fFF_11): Take argument string. Call new setup and
10687 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
10689 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
10691 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
10692 to _sifields.sigfault.
10693 (si_addr_lsb): Define new macro.
10694 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
10695 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
10696 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
10698 2013-05-03 Carlos O'Donell <carlos at redhat.com>
10701 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
10703 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
10705 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
10706 loading the domain.
10708 2013-05-22 Joseph Myers <joseph@codesourcery.com>
10710 * math/gen-libm-test.pl (parse_args): Do not include expected
10711 result in test name.
10712 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
10713 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
10714 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
10715 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
10716 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
10717 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10719 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
10721 * benchtests/Makefile: Sort function entries.
10723 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
10724 tanh, asinh, acosh, atanh.
10725 * benchtests/acos-inputs: New file.
10726 * benchtests/acosh-inputs: New file.
10727 * benchtests/asin-inputs: New file.
10728 * benchtests/asinh-inputs: New file.
10729 * benchtests/atanh-inputs: New file.
10730 * benchtests/cosh-inputs: New file.
10731 * benchtests/log-inputs: New file.
10732 * benchtests/sinh-inputs: New file.
10733 * benchtests/tanh-inputs: New file.
10735 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
10738 * posix/tst-getaddrinfo4.c: New test.
10739 * posix/Makefile (tests): Add it.
10741 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
10744 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
10745 when no services were used.
10746 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
10747 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
10749 2013-05-21 Andreas Schwab <schwab@suse.de>
10752 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
10753 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
10755 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
10756 redundant variable declarations and reallocation of buffer when
10757 parsing as IPv6 address. Always set NSS status when called from
10758 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
10759 buffer too small. Correct computation of needed size.
10760 * nss/Makefile (tests): Add test-digits-dots.
10761 * nss/test-digits-dots.c: New test.
10763 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
10765 * benchtests/Makefile: Remove instructions for adding
10767 * benchtests/README: New file to explain how to execute and
10768 enhance the benchmark tests.
10770 2013-05-21 Andreas Schwab <schwab@suse.de>
10773 * setjmp/Makefile (tests): Add tst-sigsetjmp.
10774 * setjmp/tst-sigsetjmp.c: New test.
10776 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
10778 * sysdeps/x86_64/memset.S (memset): New implementation.
10779 (__bzero): Likewise.
10780 (__memset_tail): New function.
10782 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
10784 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
10785 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
10786 __memcpy_sse2_unaligned ifunc selection.
10787 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
10788 Add memcpy-sse2-unaligned.S.
10789 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
10790 Add: __memcpy_sse2_unaligned.
10792 2013-05-19 Joseph Myers <joseph@codesourcery.com>
10795 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
10796 math_force_eval before restoring floating-point envrionment.
10797 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
10798 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
10800 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
10802 (__nearbyintl): Use math_force_eval before restoring
10803 floating-point environment.
10804 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
10806 * math/gen-libm-test.pl (special_functions): Remove.
10807 (parse_args): Don't handle TEST_extra. Handle functions with no
10809 * math/libm-test.inc (struct test_sincos_data): Replace with
10810 struct test_fFF_11_data.
10811 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
10812 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
10813 (sincos_test_data): Change element type to struct
10814 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
10815 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
10816 RUN_TEST_LOOP_sincos.
10817 * math/README.libm-test: Don't mention special handling of
10818 individual functions.
10819 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
10820 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
10821 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
10822 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
10823 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
10824 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10826 * math/gen-libm-test.pl (get_variable): Remove function.
10827 (parse_args): Don't show pointer parameters to call in test
10828 names. Use "extra output N" in test names for extra outputs
10829 rather than naming variables.
10831 2013-05-18 Joseph Myers <joseph@codesourcery.com>
10834 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
10835 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
10836 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
10838 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
10840 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
10843 * math/gen-libm-test.pl (@tests): Remove variable.
10844 ($count): Likewise.
10845 (new_test): Remove function.
10846 (show_exceptions): New function.
10847 (special_functions): Use show_exceptions instead of new_test.
10848 (parse_args): Likewise.
10849 (generate_testfile): Pass only function name in generated call to
10850 print_max_error or print_complex_max_error.
10851 (get_ulps): Do not handle complex tests specially.
10852 (output_test): Rename to ...
10853 (get_all_ulps_for_test): ... this. Return a string rather than
10854 printing to a file. Require ulps to be present.
10855 (output_ulps): Generate arrays rather than #defines.
10856 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
10857 (struct ulp_data): New type.
10858 (BUILD_COMPLEX_ULP): Remove macro.
10859 (compare_ulp_data): New function.
10860 (find_ulps): Likewise.
10861 (find_test_ulps): Likewise.
10862 (find_function_ulps): Likewise.
10863 (find_complex_function_ulps): Likewise.
10864 (print_max_error): Determine allowed ulps using
10865 find_function_ulps.
10866 (print_complex_max_error): Determine allowed ulps using
10867 find_complex_function_ulps.
10868 (check_float_internal): Determine max ulps using find_test_ulps.
10869 (check_float): Do not take max_ulp parameter. Update call to
10870 check_float_internal.
10871 (check_complex): Likewise.
10872 (check_int): Do not take max_ulp parameter.
10873 (check_long): Likewise.
10874 (check_bool): Likewise.
10875 (check_longlong): Likewise.
10876 (struct test_f_f_data): Remove max_ulp field.
10877 (struct test_ff_f_data): Likewise.
10878 (struct test_ff_f_data_nexttoward): Likewise.
10879 (struct test_fi_f_data): Likewise.
10880 (struct test_fl_f_data): Likewise.
10881 (struct test_if_f_data): Likewise.
10882 (struct test_fff_f_data): Likewise.
10883 (struct test_c_f_data): Likewise.
10884 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
10885 (struct test_fF_f1_data): Likewise.
10886 (struct test_ffI_f1_data): Likewise.
10887 (struct test_c_c_data): Remove max_ulp field.
10888 (struct test_cc_c_data): Likewise.
10889 (struct test_f_i_data): Likewise.
10890 (struct test_ff_i_data): Likewise.
10891 (struct test_f_l_data): Likewise.
10892 (struct test_f_L_data): Likewise.
10893 (struct test_sincos_data): Likewise.
10894 (RUN_TEST_f_f): Do not handle ulps.
10895 (RUN_TEST_LOOP_f_f): Likewise.
10896 (RUN_TEST_2_f): Likewise.
10897 (RUN_TEST_LOOP_2_f): Likewise.
10898 (RUN_TEST_fff_f): Likewise.
10899 (RUN_TEST_LOOP_fff_f): Likewise.
10900 (RUN_TEST_c_f): Likewise.
10901 (RUN_TEST_LOOP_c_f): Likewise.
10902 (RUN_TEST_f_f1): Likewise.
10903 (RUN_TEST_LOOP_f_f1): Likewise.
10904 (RUN_TEST_fF_f1): Likewise.
10905 (RUN_TEST_LOOP_fF_f1): Likewise.
10906 (RUN_TEST_fI_f1): Likewise.
10907 (RUN_TEST_LOOP_fI_f1): Likewise.
10908 (RUN_TEST_ffI_f1): Likewise.
10909 (RUN_TEST_LOOP_ffI_f1): Likewise.
10910 (RUN_TEST_c_c): Likewise.
10911 (RUN_TEST_LOOP_c_c): Likewise.
10912 (RUN_TEST_cc_c): Likewise.
10913 (RUN_TEST_LOOP_cc_c): Likewise.
10914 (RUN_TEST_f_i): Likewise.
10915 (RUN_TEST_LOOP_f_i): Likewise.
10916 (RUN_TEST_f_i_tg): Likewise.
10917 (RUN_TEST_LOOP_f_i_tg): Likewise.
10918 (RUN_TEST_ff_i_tg): Likewise.
10919 (RUN_TEST_LOOP_ff_i_tg): Likewise.
10920 (RUN_TEST_f_b): Likewise.
10921 (RUN_TEST_LOOP_f_b): Likewise.
10922 (RUN_TEST_f_b_tg): Likewise.
10923 (RUN_TEST_LOOP_f_b_tg): Likewise.
10924 (RUN_TEST_f_l): Likewise.
10925 (RUN_TEST_LOOP_f_l): Likewise.
10926 (RUN_TEST_f_L): Likewise.
10927 (RUN_TEST_LOOP_f_L): Likewise.
10928 (RUN_TEST_sincos): Likewise.
10929 (RUN_TEST_LOOP_sincos): Likewise.
10931 2013-05-17 Joseph Myers <joseph@codesourcery.com>
10935 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
10936 main case of finite arguments, set rounding mode to FE_TONEAREST
10937 and discard exceptions.
10938 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
10940 (remainder_tonearest_test_data): New variable.
10941 (remainder_test_tonearest): New function.
10942 (remainder_towardzero_test_data): New variable.
10943 (remainder_test_towardzero): New function.
10944 (remainder_downward_test_data): New variable.
10945 (remainder_test_downward): New function.
10946 (remainder_upward_test_data): New variable.
10947 (remainder_test_upward): New function.
10948 (main): Call the new test functions.
10950 * math/libm-test.inc (struct test_f_f1_data): Remove field
10952 (struct test_fF_f1_data): Likewise.
10953 (struct test_ffI_f1_data): Likewise.
10954 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
10955 based on value of EXTRA_EXPECTED.
10956 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
10957 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
10958 EXTRA_VAR based on value of EXTRA_EXPECTED.
10959 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
10960 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
10961 EXTRA_VAR based on value of EXTRA_EXPECTED.
10962 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
10963 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
10964 EXTRA_VAR based on value of EXTRA_EXPECTED.
10965 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
10966 * math/gen-libm-test.pl (parse_args): Don't output initializers
10967 for extra output values.
10969 * math/libm-test.inc (check_int): Expect result to be exactly
10970 equal to expected value and do not handle ulps.
10971 (check_long): Likewise.
10972 (check_longlong): Likewise.
10974 * math/libm-test.inc (ceil_test_data): Test for "inexact"
10976 (cimag_test_data): Likewise.
10977 (conj_test_data): Likewise.
10978 (copysign_test_data): Likewise.
10979 (cproj_test_data): Likewise.
10980 (creal_test_data): Likewise.
10981 (fabs_test_data): Likewise.
10982 (fdim_test_data): Likewise.
10983 (finite_test_data): Likewise.
10984 (floor_test_data): Likewise.
10985 (fmax_test_data): Likewise.
10986 (fmin_test_data): Likewise.
10987 (fmod_test_data): Likewise.
10988 (fpclassify_test_data): Likewise.
10989 (frexp_test_data): Likewise.
10990 (ilogb_test_data): Likewise.
10991 (isfinite_test_data): Likewise.
10992 (isgreater_test_data): Likewise.
10993 (isgreaterequal_test_data): Likewise.
10994 (isinf_test_data): Likewise.
10995 (isless_test_data): Likewise.
10996 (islessequal_test_data): Likewise.
10997 (islessgreater_test_data): Likewise.
10998 (isnan_test_data): Likewise.
10999 (isnormal_test_data): Likewise.
11000 (issignaling_test_data): Likewise.
11001 (isunordered_test_data): Likewise.
11002 (ldexp_test_data): Likewise.
11003 (lrint_test_data): Likewise.
11004 (lrint_test_data) [TEST_FLOAT]: Disable one test.
11005 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
11006 (lrint_tonearest_test_data): Test for "inexact" exceptions.
11007 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
11008 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
11009 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
11011 (lrint_towardzero_test_data): Test for "inexact" exceptions.
11012 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
11013 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
11014 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
11016 (lrint_downward_test_data): Test for "inexact" exceptions.
11017 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
11018 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
11019 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
11021 (lrint_upward_test_data): Test for "inexact" exceptions.
11022 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
11024 (llrint_test_data): Test for "inexact" exceptions.
11025 (llrint_test_data) [TEST_FLOAT]: Disable one test.
11026 (llrint_tonearest_test_data): Test for "inexact" exceptions.
11027 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
11028 (llrint_towardzero_test_data): Test for "inexact" exceptions.
11029 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
11030 (llrint_downward_test_data): Test for "inexact" exceptions.
11031 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
11032 (llrint_upward_test_data): Test for "inexact" exceptions.
11033 (logb_test_data): Likewise.
11034 (logb_downward_test_data): Likewise.
11035 (nextafter_test_data): Likewise.
11036 (nexttoward_test_data): Likewise.
11037 (remainder_test_data): Likewise.
11038 (remquo_test_data): Likewise.
11039 (scalbn_test_data): Likewise.
11040 (scalbln_test_data): Likewise.
11041 (signbit_test_data): Likewise.
11042 (sqrt_test_data): Likewise.
11043 (significand_test_data): Likewise.
11045 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
11048 * benchtests/bench-modf.c (struct args): Mark arg0 as
11050 * scripts/bench.pl: Mark members of struct args as volatile.
11052 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11055 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
11056 negative infinity on POWER6 or lower.
11057 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
11059 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
11062 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
11063 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
11064 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
11065 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
11066 (_FP_SETQNAN): New macro.
11067 (_FP_SETQNAN_SEMIRAW): Likewise.
11068 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
11069 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
11070 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
11071 (FP_EXTEND): Use _FP_FRAC_SNANP.
11072 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
11073 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
11075 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
11077 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
11080 2013-05-16 Joseph Myers <joseph@codesourcery.com>
11082 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
11083 with DIVIDE_BY_ZERO_EXCEPTION.
11084 (gamma_test_data): Likewise.
11085 (lgamma_test_data): Likewise.
11086 (log_test_data): Likewise.
11087 (log10_test_data): Likewise.
11088 (log2_test_data): Likewise.
11089 (tgamma_test_data): Likewise.
11091 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
11092 (acos_test_tonearest): Likewise.
11093 (acos_test_towardzero): Likewise.
11094 (acos_test_downward): Likewise.
11095 (acos_test_upward): Likewise.
11096 (acosh_test): Likewise.
11097 (asin_test): Likewise.
11098 (asin_test_tonearest): Likewise.
11099 (asin_test_towardzero): Likewise.
11100 (asin_test_downward): Likewise.
11101 (asin_test_upward): Likewise.
11102 (asinh_test): Likewise.
11103 (atan_test): Likewise.
11104 (atanh_test): Likewise.
11105 (atan2_test): Likewise.
11106 (cabs_test): Likewise.
11107 (cacos_test): Likewise.
11108 (cacosh_test): Likewise.
11109 (casin_test): Likewise.
11110 (casinh_test): Likewise.
11111 (catan_test): Likewise.
11112 (catanh_test): Likewise.
11113 (cbrt_test): Likewise.
11114 (ccos_test): Likewise.
11115 (ccosh_test): Likewise.
11116 (cexp_test): Likewise.
11117 (clog_test): Likewise.
11118 (clog10_test): Likewise.
11119 (cos_test): Likewise.
11120 (cos_test_tonearest): Likewise.
11121 (cos_test_towardzero): Likewise.
11122 (cos_test_downward): Likewise.
11123 (cos_test_upward): Likewise.
11124 (cosh_test): Likewise.
11125 (cosh_test_tonearest): Likewise.
11126 (cosh_test_towardzero): Likewise.
11127 (cosh_test_downward): Likewise.
11128 (cosh_test_upward): Likewise.
11129 (cpow_test): Likewise.
11130 (csin_test): Likewise.
11131 (csinh_test): Likewise.
11132 (csqrt_test): Likewise.
11133 (ctan_test): Likewise.
11134 (ctan_test_tonearest): Likewise.
11135 (ctan_test_towardzero): Likewise.
11136 (ctan_test_downward): Likewise.
11137 (ctan_test_upward): Likewise.
11138 (ctanh_test): Likewise.
11139 (ctanh_test_tonearest): Likewise.
11140 (ctanh_test_towardzero): Likewise.
11141 (ctanh_test_downward): Likewise.
11142 (ctanh_test_upward): Likewise.
11143 (erf_test): Likewise.
11144 (erfc_test): Likewise.
11145 (exp_test): Likewise.
11146 (exp_test_tonearest): Likewise.
11147 (exp_test_towardzero): Likewise.
11148 (exp_test_downward): Likewise.
11149 (exp_test_upward): Likewise.
11150 (exp10_test): Likewise.
11151 (exp2_test): Likewise.
11152 (expm1_test): Likewise.
11153 (fmod_test): Likewise.
11154 (gamma_test): Likewise.
11155 (hypot_test): Likewise.
11156 (j0_test): Likewise.
11157 (j1_test): Likewise.
11158 (jn_test): Likewise.
11159 (lgamma_test): Likewise.
11160 (log_test): Likewise.
11161 (log10_test): Likewise.
11162 (log1p_test): Likewise.
11163 (log2_test): Likewise.
11164 (logb_test_downward): Likewise.
11165 (pow_test): Likewise.
11166 (pow_test_tonearest): Likewise.
11167 (pow_test_towardzero): Likewise.
11168 (pow_test_downward): Likewise.
11169 (pow_test_upward): Likewise.
11170 (remainder_test): Likewise.
11171 (remquo_test): Likewise.
11172 (sin_test): Likewise.
11173 (sin_test_tonearest): Likewise.
11174 (sin_test_towardzero): Likewise.
11175 (sin_test_downward): Likewise.
11176 (sin_test_upward): Likewise.
11177 (sincos_test): Likewise.
11178 (sinh_test): Likewise.
11179 (sinh_test_tonearest): Likewise.
11180 (sinh_test_towardzero): Likewise.
11181 (sinh_test_downward): Likewise.
11182 (sinh_test_upward): Likewise.
11183 (sqrt_test): Likewise.
11184 (tan_test): Likewise.
11185 (tan_test_tonearest): Likewise.
11186 (tan_test_towardzero): Likewise.
11187 (tan_test_downward): Likewise.
11188 (tan_test_upward): Likewise.
11189 (tanh_test): Likewise.
11190 (tgamma_test): Likewise.
11191 (y0_test): Likewise.
11192 (y1_test): Likewise.
11193 (yn_test): Likewise.
11195 * math/gen-libm-test.pl (adjust_arg): Remove function.
11196 (special_function): Remove argument $in_func. Only handle
11197 generating output for tables of tests, not inside functions.
11198 (parse_args): Likewise.
11199 (generate_testfile): Remove variable $in_func. Update call to
11201 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
11202 (MINUS_ZERO_INIT): Rename macro to minus_zero.
11203 (PLUS_INFTY_INIT): Rename macro to plus_infty.
11204 (MINUS_INFTY_INIT): Rename macro to minus_infty.
11205 (QNAN_VALUE_INIT): Rename macro to qnan_value.
11206 (MAX_VALUE_INIT): Rename macro to max_value.
11207 (MIN_VALUE_INIT): Rename macro to min_value.
11208 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
11209 (plus_zero): Remove variable.
11210 (minus_zero): Likewise.
11211 (plus_infty): Likewise.
11212 (minus_infty): Likewise.
11213 (qnan_value): Likewise.
11214 (max_value): Likewise.
11215 (min_value): Likewise.
11216 (min_subnorm_value): Likewise.
11218 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11220 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
11221 uint64_t or uint32_t usage.
11222 * crypt/sha256-block.c: Likewise.
11223 * crypt/sha256-crypt.c: Likewise.
11224 * crypt/sha256.c: Likewise.
11225 * crypt/sha512-block.c: Likewise.
11226 * crypt/sha512-crypt.c: Likewise.
11227 * crypt/sha512.c: Likewise.
11228 * debug/backtrace-tst.c: Likewise.
11229 * debug/pcprofiledump.c: Likewise.
11230 * elf/cache.c: Likewise.
11231 * elf/dl-cache.c: Likewise.
11232 * elf/dl-misc.c: Likewise.
11233 * elf/dl-profile.c: Likewise.
11234 * elf/dl-support.c: Likewise.
11235 * elf/ldconfig.c: Likewise.
11236 * elf/sprof.c: Likewise.
11237 * iconv/dummy-repertoire.c: Likewise.
11238 * iconv/iconv_charmap.c: Likewise.
11239 * iconv/skeleton.c: Likewise.
11240 * iconvdata/8bit-generic.c: Likewise.
11241 * iconvdata/cp737.h: Likewise.
11242 * iconvdata/cp775.h: Likewise.
11243 * iconvdata/ibm1008.h: Likewise.
11244 * iconvdata/ibm1025.h: Likewise.
11245 * iconvdata/ibm1046.h: Likewise.
11246 * iconvdata/ibm1097.h: Likewise.
11247 * iconvdata/ibm1112.h: Likewise.
11248 * iconvdata/ibm1122.h: Likewise.
11249 * iconvdata/ibm1123.h: Likewise.
11250 * iconvdata/ibm1124.h: Likewise.
11251 * iconvdata/ibm1129.h: Likewise.
11252 * iconvdata/ibm1130.h: Likewise.
11253 * iconvdata/ibm1132.h: Likewise.
11254 * iconvdata/ibm1133.h: Likewise.
11255 * iconvdata/ibm1137.h: Likewise.
11256 * iconvdata/ibm1140.h: Likewise.
11257 * iconvdata/ibm1141.h: Likewise.
11258 * iconvdata/ibm1142.h: Likewise.
11259 * iconvdata/ibm1143.h: Likewise.
11260 * iconvdata/ibm1144.h: Likewise.
11261 * iconvdata/ibm1145.h: Likewise.
11262 * iconvdata/ibm1146.h: Likewise.
11263 * iconvdata/ibm1147.h: Likewise.
11264 * iconvdata/ibm1148.h: Likewise.
11265 * iconvdata/ibm1149.h: Likewise.
11266 * iconvdata/ibm1153.h: Likewise.
11267 * iconvdata/ibm1154.h: Likewise.
11268 * iconvdata/ibm1155.h: Likewise.
11269 * iconvdata/ibm1156.h: Likewise.
11270 * iconvdata/ibm1157.h: Likewise.
11271 * iconvdata/ibm1158.h: Likewise.
11272 * iconvdata/ibm1160.h: Likewise.
11273 * iconvdata/ibm1161.h: Likewise.
11274 * iconvdata/ibm1162.h: Likewise.
11275 * iconvdata/ibm1163.h: Likewise.
11276 * iconvdata/ibm1164.h: Likewise.
11277 * iconvdata/ibm1166.h: Likewise.
11278 * iconvdata/ibm1167.h: Likewise.
11279 * iconvdata/ibm12712.h: Likewise.
11280 * iconvdata/ibm1390.h: Likewise.
11281 * iconvdata/ibm1399.h: Likewise.
11282 * iconvdata/ibm16804.h: Likewise.
11283 * iconvdata/ibm4517.h: Likewise.
11284 * iconvdata/ibm4899.h: Likewise.
11285 * iconvdata/ibm4909.h: Likewise.
11286 * iconvdata/ibm4971.h: Likewise.
11287 * iconvdata/ibm5347.h: Likewise.
11288 * iconvdata/ibm803.h: Likewise.
11289 * iconvdata/ibm856.h: Likewise.
11290 * iconvdata/ibm901.h: Likewise.
11291 * iconvdata/ibm902.h: Likewise.
11292 * iconvdata/ibm9030.h: Likewise.
11293 * iconvdata/ibm9066.h: Likewise.
11294 * iconvdata/ibm921.h: Likewise.
11295 * iconvdata/ibm922.h: Likewise.
11296 * iconvdata/ibm9448.h: Likewise.
11297 * iconvdata/isiri-3342.h: Likewise.
11298 * iconvdata/jis0201.h: Likewise.
11299 * include/link.h: Likewise.
11300 * include/netdb.h: Likewise.
11301 * inet/check_native.c: Likewise.
11302 * inet/check_pf.c: Likewise.
11303 * inet/getipv4sourcefilter.c: Likewise.
11304 * inet/getnameinfo.c: Likewise.
11305 * inet/getsourcefilter.c: Likewise.
11306 * inet/htonl.c: Likewise.
11307 * inet/setipv4sourcefilter.c: Likewise.
11308 * inet/setsourcefilter.c: Likewise.
11309 * inet/test-inet6_opt.c: Likewise.
11310 * inet/tst-network.c: Likewise.
11311 * locale/C-collate.c: Likewise.
11312 * locale/C-ctype.c: Likewise.
11313 * locale/C-time.c: Likewise.
11314 * locale/C-translit.h: Likewise.
11315 * locale/loadarchive.c: Likewise.
11316 * locale/programs/3level.h: Likewise.
11317 * locale/programs/charmap.c: Likewise.
11318 * locale/programs/charmap.h: Likewise.
11319 * locale/programs/ld-address.c: Likewise.
11320 * locale/programs/ld-collate.c: Likewise.
11321 * locale/programs/ld-ctype.c: Likewise.
11322 * locale/programs/ld-identification.c: Likewise.
11323 * locale/programs/ld-measurement.c: Likewise.
11324 * locale/programs/ld-messages.c: Likewise.
11325 * locale/programs/ld-monetary.c: Likewise.
11326 * locale/programs/ld-name.c: Likewise.
11327 * locale/programs/ld-numeric.c: Likewise.
11328 * locale/programs/ld-paper.c: Likewise.
11329 * locale/programs/ld-telephone.c: Likewise.
11330 * locale/programs/ld-time.c: Likewise.
11331 * locale/programs/linereader.c: Likewise.
11332 * locale/programs/locale.c: Likewise.
11333 * locale/programs/locarchive.c: Likewise.
11334 * locale/programs/locfile.h: Likewise.
11335 * locale/programs/repertoire.c: Likewise.
11336 * locale/programs/simple-hash.c: Likewise.
11337 * locale/programs/simple-hash.h: Likewise.
11338 * malloc/memusage.c: Likewise.
11339 * malloc/memusagestat.c: Likewise.
11340 * nis/nis_defaults.c: Likewise.
11341 * nis/nis_hash.c: Likewise.
11342 * nis/nis_print.c: Likewise.
11343 * nis/nis_xdr.c: Likewise.
11344 * nscd/connections.c: Likewise.
11345 * nscd/hstcache.c: Likewise.
11346 * nscd/nscd_gethst_r.c: Likewise.
11347 * nscd/nscd_getserv_r.c: Likewise.
11348 * nscd/nscd_helper.c: Likewise.
11349 * nscd/servicescache.c: Likewise.
11350 * nss/makedb.c: Likewise.
11351 * nss/nss_db/db-XXX.c: Likewise.
11352 * nss/nss_db/db-initgroups.c: Likewise.
11353 * nss/nss_db/db-netgrp.c: Likewise.
11354 * nss/nss_files/files-network.c: Likewise.
11355 * nss/nss_files/files-parse.c: Likewise.
11356 * posix/bug-regex5.c: Likewise.
11357 * posix/fnmatch_loop.c: Likewise.
11358 * posix/regcomp.c: Likewise.
11359 * posix/regexec.c: Likewise.
11360 * posix/tst-rfc3484-2.c: Likewise.
11361 * posix/tst-rfc3484-3.c: Likewise.
11362 * posix/tst-rfc3484.c: Likewise.
11363 * resolv/nss_dns/dns-canon.c: Likewise.
11364 * resolv/nss_dns/dns-network.c: Likewise.
11365 * resolv/res_init.c: Likewise.
11366 * resolv/res_mkquery.c: Likewise.
11367 * resolv/tst-aton.c: Likewise.
11368 * stdlib/cxa_atexit.c: Likewise.
11369 * stdlib/cxa_finalize.c: Likewise.
11370 * stdlib/gen-fpioconst.c: Likewise.
11371 * stdlib/strtol_l.c: Likewise.
11372 * string/tst-endian.c: Likewise.
11373 * sunrpc/auth_des.c: Likewise.
11374 * sunrpc/clnt_udp.c: Likewise.
11375 * sunrpc/rtime.c: Likewise.
11376 * sunrpc/svcauth_des.c: Likewise.
11377 * sunrpc/xdr.c: Likewise.
11378 * sunrpc/xdr_intXX_t.c: Likewise.
11379 * sunrpc/xdr_rec.c: Likewise.
11380 * sysdeps/generic/ldconfig.h: Likewise.
11381 * sysdeps/generic/ldsodefs.h: Likewise.
11382 * sysdeps/generic/memusage.h: Likewise.
11383 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
11384 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
11385 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
11386 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
11387 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
11388 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
11389 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
11390 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
11391 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
11392 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
11393 * sysdeps/posix/getaddrinfo.c: Likewise.
11394 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
11395 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
11396 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
11397 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
11398 * sysdeps/powerpc/test-gettimebase.c: Likewise.
11399 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
11400 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
11401 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
11402 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
11403 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
11404 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
11405 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
11406 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
11407 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
11408 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
11409 * sysdeps/x86_64/dl-tls.h: Likewise.
11410 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
11411 * time/alt_digit.c: Likewise.
11412 * time/era.c: Likewise.
11413 * wcsmbs/tst-c16c32-1.c: Likewise.
11415 2013-05-16 Joseph Myers <joseph@codesourcery.com>
11417 * math/libm-test.inc (struct test_sincos_data): New type.
11418 (RUN_TEST_LOOP_sincos): New macro.
11419 (sincos_test_data): New variable.
11420 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
11422 2013-05-16 Richard Henderson <rth@redhat.com>
11424 * math/atest-exp2.c (LIMB64): New macro.
11425 (CONSTSZ): New macro.
11426 (mp_exp1, mp_exp_m1, mp_log2): New variables.
11428 (print_mpn_fp): ... to function scope.
11429 (read_mpn_hex): Remove.
11430 (get_log2): Remove.
11431 (exp2_mpn): Use mp_log2.
11432 (main): Use mp_exp1.
11434 2013-05-16 Joseph Myers <joseph@codesourcery.com>
11436 * math/libm-test.inc: Remove comment about not testing "inexact"
11438 (INEXACT_EXCEPTION): New macro.
11439 (NO_INEXACT_EXCEPTION): Likewise.
11440 (INVALID_EXCEPTION_OK): Update value.
11441 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
11442 (OVERFLOW_EXCEPTION_OK): Likewise.
11443 (UNDERFLOW_EXCEPTION_OK): Likewise.
11444 (IGNORE_ZERO_INF_SIGN): Likewise.
11445 (ERRNO_UNCHANGED): Likewise.
11446 (ERRNO_EDOM): Likewise.
11447 (ERRNO_ERANGE): Likewise.
11448 (test_exceptions): Handle testing "inexact" exceptions.
11449 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
11450 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
11451 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
11452 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
11454 (rint_towardzero_test_data): Likewise.
11455 (rint_downward_test_data): Likewise.
11456 (rint_upward_test_data): Likewise.
11458 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
11459 with OVERFLOW_EXCEPTION.
11460 (exp10_test_data): Likewise.
11461 (exp2_test_data): Likewise.
11462 (expm1_test_data): Likewise.
11463 (lgamma_test_data): Likewise.
11464 (pow_test_data): Likewise.
11465 (tgamma_test_data): Likewise.
11466 (yn_test_data): Remove duplicate test of overflow.
11468 * math/libm-test.inc (struct test_cc_c_data): New type.
11469 (RUN_TEST_LOOP_cc_c): New macro.
11470 (cpow_test_data): New variable.
11471 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
11473 * math/libm-test.inc (struct test_f_L_data): New type.
11474 (RUN_TEST_LOOP_f_L): New macro.
11475 (llrint_test_data): New variable.
11476 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
11477 (llrint_tonearest_test_data): New variable.
11478 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
11479 (llrint_towardzero_test_data): New variable.
11480 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
11481 (llrint_downward_test_data): New variable.
11482 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
11483 (llrint_upward_test_data): New variable.
11484 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
11485 (llround_test_data): New variable.
11486 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
11488 2013-05-13 Peter Collingbourne <pcc@google.com>
11490 * math/atest-exp2.c (get_log2): Remove const attribute.
11492 2013-05-15 Joseph Myers <joseph@codesourcery.com>
11494 * math/libm-test.inc (struct test_f_l_data): New type.
11495 (RUN_TEST_LOOP_f_l): New macro.
11496 (lrint_test_data): New variable.
11497 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
11498 (lrint_tonearest_test_data): New variable.
11499 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
11500 (lrint_towardzero_test_data): New variable.
11501 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
11502 (lrint_downward_test_data): New variable.
11503 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
11504 (lrint_upward_test_data): New variable.
11505 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
11506 (lround_test_data): New variable.
11507 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
11509 2013-05-15 Peter Collingbourne <pcc@google.com>
11511 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
11512 (EXTRACT_WORDS64) Use where appropriate.
11513 (INSERT_WORDS64) Likewise.
11515 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
11516 constraints with x constraints.
11517 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
11519 * malloc/obstack.c (_obstack_compat): Add initializer.
11521 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
11523 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
11524 si_trapno and add si_addr_lsb to _sifields.sigfault.
11525 (si_trapno): Remove macro.
11526 (si_addr_lsb): Define new macro.
11527 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
11529 2013-05-15 Joseph Myers <joseph@codesourcery.com>
11531 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
11532 instead of TEST_f_l.
11533 (llrint_test_tonearest): Likewise.
11534 (llrint_test_towardzero): Likewise.
11535 (llrint_test_downward): Likewise.
11536 (llrint_test_upward): Likewise.
11537 (llround_test): Likewise.
11539 * math/libm-test.inc (struct test_f_i_data): Add comment.
11540 (RUN_TEST_LOOP_f_b): New macro.
11541 (RUN_TEST_LOOP_f_b_tg): Likewise.
11542 (finite_test_data): New variable.
11543 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
11544 (isfinite_test_data): New variable.
11545 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
11546 (isinf_test_data): New variable.
11547 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
11548 (isnan_test_data): New variable.
11549 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
11550 (isnormal_test_data): New variable.
11551 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
11552 (issignaling_test_data): New variable.
11553 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
11554 (signbit_test_data): New variable.
11555 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
11557 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
11558 with INVALID_EXCEPTION.
11559 (acosh_test_data): Likewise.
11560 (asin_test_data): Likewise.
11561 (atanh_test_data): Likewise.
11562 (fmod_test_data): Likewise.
11563 (log_test_data): Likewise.
11564 (log10_test_data): Likewise.
11565 (log2_test_data): Likewise.
11566 (pow_test_data): Likewise.
11567 (sqrt_test_data): Likewise.
11568 (y0_test_data): Likewise.
11569 (y1_test_data): Likewise.
11570 (yn_test_data): Likewise.
11572 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
11575 * math/libm-test.inc (struct test_ff_i_data): New type.
11576 (RUN_TEST_LOOP_ff_i_tg): New macro.
11577 (isgreater_test_data): New variable.
11578 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
11579 (isgreaterequal_test_data): New variable.
11580 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
11581 (isless_test_data): New variable.
11582 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
11583 (islessequal_test_data): New variable.
11584 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
11585 (islessgreater_test_data): New variable.
11586 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
11587 (isunordered_test_data): New variable.
11588 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
11590 2013-05-14 David S. Miller <davem@davemloft.net>
11592 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11594 2013-05-14 Joseph Myers <joseph@codesourcery.com>
11596 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
11598 * math/libm-test.inc (struct test_fF_f1_data): Change type of
11600 (struct test_f_i_data): Change type of max_ulp to int.
11602 * math/libm-test.inc (test_ffI_f1_data): New type.
11603 (RUN_TEST_LOOP_ffI_f1): New macro.
11604 (remquo_test_data): New variable.
11605 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
11607 * setjmp/tst-setjmp-fp.c: New file.
11608 * setjmp/Makefile (tests): Add tst-setjmp-fp.
11609 (link-libm): New variable.
11610 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
11612 * math/libm-test.inc (struct test_f_i_data): New type.
11613 (RUN_TEST_LOOP_f_i): New macro.
11614 (RUN_TEST_LOOP_f_i_tg): Likewise.
11615 (fpclassify_test_data): New variable.
11616 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
11617 (ilogb_test_data): New variable.
11618 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
11620 * math/libm-test.inc (scalbln_test): Correct function name in END
11623 * math/libm-test.inc (struct test_f_f1_data): Add comment.
11624 (RUN_TEST_LOOP_fI_f1): New macro.
11625 (frexp_test_data): New variable.
11626 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
11628 * math/libm-test.inc (struct test_fF_f1_data): New type.
11629 (RUN_TEST_LOOP_fF_f1): New macro.
11630 (modf_test_data): New variable.
11631 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
11633 * math/libm-test.inc (struct test_f_f1_data): New type.
11634 (RUN_TEST_LOOP_f_f1): New macro.
11635 (gamma_test_data): New variable.
11636 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
11637 (lgamma_test_data): New variable.
11638 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
11640 2013-05-13 Carlos O'Donell <carlos@redhat.com>
11642 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
11643 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
11644 (main): Comment "tls" pseudo-hwcap.
11646 2013-05-13 Joseph Myers <joseph@codesourcery.com>
11648 * math/libm-test.inc (struct test_fl_f_data): New type.
11649 (RUN_TEST_LOOP_fl_f): New variable.
11650 (scalbln_test_data): New variable.
11651 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
11653 * math/libm-test.inc (struct test_fi_f_data): New type.
11654 (RUN_TEST_LOOP_fi_f): New macro.
11655 (ldexp_test_data): New variable.
11656 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
11657 (scalbn_test_data): New variable.
11658 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
11660 * math/libm-test.inc (struct test_c_f_data): New type.
11661 (RUN_TEST_LOOP_c_f): New macro.
11662 (cabs_test_data): New variable.
11663 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
11664 (carg_test_data): New variable.
11665 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
11666 (cimag_test_data): New variable.
11667 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
11668 (creal_test_data): New variable.
11669 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
11671 * math/libm-test.inc (struct test_if_f_data): New type.
11672 (RUN_TEST_LOOP_if_f): New macro.
11673 (jn_test_data): New variable.
11674 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
11675 (yn_test_data): New variable.
11676 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
11678 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
11680 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11682 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
11683 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
11685 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
11687 * benchtests/Makefile (CPPFLAGS-nonlib): Add
11688 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
11689 (bench-deps): Add bench-timing.h.
11690 * benchtests-bench-skeleton.c: Include bench-timing.h.
11691 (main): Use TIMING_* macros instead of clock_gettime.
11692 * benchtests/bench-timing.h: New file.
11695 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
11696 Renamed from _LIB_VERSION.
11697 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
11699 2013-05-12 Joseph Myers <joseph@codesourcery.com>
11701 * math/libm-test.inc (struct test_fff_f_data): New type.
11702 (RUN_TEST_LOOP_fff_f): New macro.
11703 (fma_test_data): New variable.
11704 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
11705 (fma_towardzero_test_data): New variable.
11706 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
11707 (fma_downward_test_data): New variable.
11708 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
11709 (fma_upward_test_data): New variable.
11710 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
11712 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
11713 (struct test_c_c_data): New type.
11714 (RUN_TEST_LOOP_c_c): New macro.
11715 (cacos_test_data): New variable.
11716 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
11717 (cacosh_test_data): New variable.
11718 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
11719 (casin_test_data): New variable.
11720 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
11721 (casinh_test_data): New variable.
11722 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
11723 (catan_test_data): New variable.
11724 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
11725 (catanh_test_data): New variable.
11726 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
11727 (ccos_test_data): New variable.
11728 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
11729 (ccosh_test_data): New variable.
11730 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
11731 (cexp_test_data): New variable.
11732 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
11733 (clog_test_data): New variable.
11734 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
11735 (clog10_test_data): New variable.
11736 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
11737 (conj_test_data): New variable.
11738 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
11739 (cproj_test_data): New variable.
11740 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
11741 (csin_test_data): New variable.
11742 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
11743 (csinh_test_data): New variable.
11744 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
11745 (csqrt_test_data): New variable.
11746 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
11747 (ctan_test_data): New variable.
11748 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
11749 (ctan_tonearest_test_data): New variable.
11750 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
11751 (ctan_towardzero_test_data): New variable.
11752 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
11753 (ctan_downward_test_data): New variable.
11754 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
11755 (ctan_upward_test_data): New variable.
11756 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
11757 (ctanh_test_data): New variable.
11758 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
11759 (ctanh_tonearest_test_data): New variable.
11760 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
11761 (ctanh_towardzero_test_data): New variable.
11762 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
11763 (ctanh_downward_test_data): New variable.
11764 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
11765 (ctanh_upward_test_data): New variable.
11766 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
11767 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
11770 * math/libm-test.inc (struct test_ff_f_data): New type.
11771 (struct test_ff_f_data_nexttoward): Likewise.
11772 (RUN_TEST_LOOP_2_f): New macro.
11773 (RUN_TEST_LOOP_ff_f): Likewise.
11774 (atan2_test_data): New variable.
11775 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
11776 (copysign_test_data): New variable.
11777 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
11778 (fdim_test_data): New variable.
11779 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
11780 (fmax_test_data): New variable.
11781 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
11782 (fmin_test_data): New variable.
11783 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
11784 (fmod_test_data): New variable.
11785 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
11786 (hypot_test_data): New variable.
11787 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
11788 (nextafter_test_data): New variable.
11789 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
11790 (nexttoward_test_data): New variable.
11791 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
11792 (pow_test_data): New variable.
11793 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
11794 (pow_tonearest_test_data): New variable.
11795 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
11796 (pow_towardzero_test_data): New variable.
11797 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
11798 (pow_downward_test_data): New variable.
11799 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
11800 (pow_upward_test_data): New variable.
11801 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
11802 (remainder_test_data): New variable.
11803 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
11804 (scalb_test_data): New variable.
11805 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
11806 * sysdeps/i386/fpu/libm-test-ulps: Update.
11808 2013-05-11 Joseph Myers <joseph@codesourcery.com>
11810 * math/libm-test.inc (fma_test): Use max_value instead of local
11812 (nextafter_test): Likewise.
11814 * math/libm-test.inc (acos_towardzero_test_data): New variable.
11815 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
11816 (acos_downward_test_data): New variable.
11817 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11818 (acos_upward_test_data): New variable.
11819 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
11820 (acosh_test_data): New variable.
11821 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
11822 (asin_test_data): New variable.
11823 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
11824 (asin_tonearest_test_data): New variable.
11825 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
11826 (asin_towardzero_test_data): New variable.
11827 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
11828 (asin_downward_test_data): New variable.
11829 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11830 (asin_upward_test_data): New variable.
11831 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
11832 (asinh_test_data): New variable.
11833 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
11834 (atan_test_data): New variable.
11835 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
11836 (atanh_test_data): New variable.
11837 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
11838 (cbrt_test_data): New variable.
11839 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
11840 (ceil_test_data): New variable.
11841 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
11842 (cos_test_data): New variable.
11843 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
11844 (cos_tonearest_test_data): New variable.
11845 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
11846 (cos_towardzero_test_data): New variable.
11847 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
11848 (cos_downward_test_data): New variable.
11849 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11850 (cos_upward_test_data): New variable.
11851 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
11852 (cosh_test_data): New variable.
11853 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
11854 (cosh_tonearest_test_data): New variable.
11855 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
11856 (cosh_towardzero_test_data): New variable.
11857 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
11858 (cosh_downward_test_data): New variable.
11859 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11860 (cosh_upward_test_data): New variable.
11861 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
11862 (erf_test_data): New variable.
11863 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
11864 (erfc_test_data): New variable.
11865 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
11866 (exp_test_data): New variable.
11867 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
11868 (exp_tonearest_test_data): New variable.
11869 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
11870 (exp_towardzero_test_data): New variable.
11871 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
11872 (exp_downward_test_data): New variable.
11873 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11874 (exp_upward_test_data): New variable.
11875 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
11876 (exp10_test_data): New variable.
11877 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
11878 (exp2_test_data): New variable.
11879 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
11880 (expm1_test_data): New variable.
11881 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
11882 (fabs_test_data): New variable.
11883 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
11884 (floor_test_data): New variable.
11885 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
11886 (j0_test_data): New variable.
11887 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
11888 (j1_test_data): New variable.
11889 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
11890 (log_test_data): New variable.
11891 (log_test): Run tests with RUN_TEST_LOOP_f_f.
11892 (log10_test_data): New variable.
11893 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
11894 (log1p_test_data): New variable.
11895 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
11896 (log2_test_data): New variable.
11897 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
11898 (logb_test_data): New variable.
11899 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
11900 (logb_downward_test_data): New variable.
11901 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11902 (nearbyint_test_data): New variable.
11903 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
11904 (rint_test_data): New variable.
11905 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
11906 (rint_tonearest_test_data): New variable.
11907 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
11908 (rint_towardzero_test_data): New variable.
11909 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
11910 (rint_downward_test_data): New variable.
11911 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11912 (rint_upward_test_data): New variable.
11913 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
11914 (round_test_data): New variable.
11915 (round_test): Run tests with RUN_TEST_LOOP_f_f.
11916 (sin_test_data): New variable.
11917 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
11918 (sin_tonearest_test_data): New variable.
11919 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
11920 (sin_towardzero_test_data): New variable.
11921 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
11922 (sin_downward_test_data): New variable.
11923 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11924 (sin_upward_test_data): New variable.
11925 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
11926 (sinh_test_data): New variable.
11927 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
11928 (sinh_tonearest_test_data): New variable.
11929 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
11930 (sinh_towardzero_test_data): New variable.
11931 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
11932 (sinh_downward_test_data): New variable.
11933 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11934 (sinh_upward_test_data): New variable.
11935 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
11936 (sqrt_test_data): New variable.
11937 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
11938 (tan_test_data): New variable.
11939 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
11940 (tan_tonearest_test_data): New variable.
11941 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
11942 (tan_towardzero_test_data): New variable.
11943 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
11944 (tan_downward_test_data): New variable.
11945 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11946 (tan_upward_test_data): New variable.
11947 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
11948 (tanh_test_data): New variable.
11949 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
11950 (tgamma_test_data): New variable.
11951 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
11952 (trunc_test_data): New variable.
11953 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
11954 (y0_test_data): New variable.
11955 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
11956 (y1_test_data): New variable.
11957 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
11958 (significand_test_data): New variable.
11959 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
11961 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
11964 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
11966 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
11968 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
11970 2013-05-10 Andreas Jaeger <aj@suse.de>
11973 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
11974 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
11976 2013-05-10 Joseph Myers <joseph@codesourcery.com>
11978 * math/gen-libm-test.pl (adjust_arg): New function.
11979 (special_functions): Handle generating output in both functions
11981 (parse_args): Likewise.
11982 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
11983 $in_func argument to parse_args.
11984 * math/libm-test.inc (struct test_f_f_data): New type.
11985 (IF_ROUND_INIT_): New macro.
11986 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
11987 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
11988 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
11989 (IF_ROUND_INIT_FE_UPWARD): Likewise.
11990 (ROUND_RESTORE_): Likewise.
11991 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
11992 (ROUND_RESTORE_FE_TONEAREST): Likewise.
11993 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
11994 (ROUND_RESTORE_FE_UPWARD): Likewise.
11995 (RUN_TEST_LOOP_f_f): New macro.
11996 (acos_test_data): New variable.
11997 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
11998 (acos_tonearest_test_data): New variable.
11999 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
12001 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
12003 * benchtests/bench-skeleton.c (startup): Fix coding style.
12005 2013-05-10 Joseph Myers <joseph@codesourcery.com>
12008 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
12009 negative infinity argument.
12010 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
12011 negative infinity argument.
12012 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
12013 negative infinity argument.
12014 * math/libm-test.inc (tgamma_test): Expect errno to be set for
12017 2013-05-10 Florian Weimer <fweimer@redhat.com>
12019 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
12020 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
12021 * iconv/iconv_prog.c (main): Likewise.
12022 * locale/programs/charmap-dir.c (charmap_readdir)
12023 (fopen_uncompressed): Likewise.
12024 * locale/programs/locfile.c (siblings_uncached)
12025 (write_locale_data): Use lstat64 instead of lstat.
12026 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
12029 2013-05-10 Andreas Jaeger <aj@suse.de>
12032 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
12034 Include <locale.h>.
12036 2013-05-09 Carlos O'Donell <carlos@redhat.com>
12038 * elf/dl-close.c (_dl_close_worker): Add comments.
12040 2013-05-09 Joseph Myers <joseph@codesourcery.com>
12043 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
12045 (__ieee754_rem_pio2l): Update comments.
12048 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
12050 (__ieee754_rem_pio2l): Update comments.
12052 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
12053 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
12055 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
12058 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
12059 (M_PI_34_LOG10El): Likewise.
12060 (M_PI2_LOG10El): Likewise.
12061 (M_PI4_LOG10El): Likewise.
12062 (M_PI_LOG10El): Likewise.
12064 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12066 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12068 2013-05-08 Joseph Myers <joseph@codesourcery.com>
12070 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
12071 (MINUS_ZERO_INIT): Likewise.
12072 (PLUS_INFTY_INIT): Likewise.
12073 (MINUS_INFTY_INIT): Likewise.
12074 (QNAN_VALUE_INIT): Likewise.
12075 (MAX_VALUE_INIT): Likewise.
12076 (MIN_VALUE_INIT): Likewise.
12077 (MIN_SUBNORM_VALUE_INIT): Likewise.
12078 (plus_zero): Initialize with PLUS_ZERO_INIT.
12079 (minus_zero): Initialize with MINUS_ZERO_INIT.
12080 (plus_infty): Initialize with PLUS_INFTY_INIT.
12081 (minus_infty): Initialize with MINUS_INFTY_INIT.
12082 (qnan_value): Initialize with QNAN_VALUE_INIT.
12083 (max_value): Initialize with MAX_VALUE_INIT.
12084 (min_value): Initialize with MIN_VALUE_INIT.
12085 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
12087 * math/libm-test.inc (RUN_TEST_if_f): New macro.
12088 (jn_test): Use TEST_if_f instead of TEST_ff_f.
12089 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
12090 (yn_test): Use TEST_if_f instead of TEST_ff_f.
12092 * math/libm-test.inc (RUN_TEST_f_f): New macro.
12093 (RUN_TEST_2_f): Likewise.
12094 (RUN_TEST_ff_f): Likewise.
12095 (RUN_TEST_fi_f): Likewise.
12096 (RUN_TEST_fl_f): Likewise.
12097 (RUN_TEST_fff_f): Likewise.
12098 (RUN_TEST_c_f): Likewise.
12099 (RUN_TEST_f_f1): Likewise.
12100 (RUN_TEST_fF_f1): Likewise.
12101 (RUN_TEST_fI_f1): Likewise.
12102 (RUN_TEST_ffI_f1): Likewise.
12103 (RUN_TEST_c_c): Likewise.
12104 (RUN_TEST_cc_c): Likewise.
12105 (RUN_TEST_f_i): Likewise.
12106 (RUN_TEST_f_i_tg): Likewise.
12107 (RUN_TEST_ff_i_tg): Likewise.
12108 (RUN_TEST_f_b): Likewise.
12109 (RUN_TEST_f_b_tg): Likewise.
12110 (RUN_TEST_f_l): Likewise.
12111 (RUN_TEST_f_L): Likewise.
12112 (RUN_TEST_sincos): Likewise.
12113 * math/gen-libm-test.pl (new_test): Take new argument to indicate
12114 whether to show exceptions. Do not include ");\n" in return
12116 (special_functions): Output call to RUN_TEST_sincos instead of
12117 check_float calls. Update calls to new_test.
12118 (parse_args): Output call to single RUN_TEST_* macro instead of
12119 check_* calls and other assignments. Update calls to new_test.
12125 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
12126 input to result for tgamma overflow.
12127 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
12128 (gamma_coeff): New variable.
12129 (NCOEFF): New macro.
12130 (gamma_positive): New function.
12131 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
12132 underflow here. Use gamma_positive instead of exp (lgamma) for
12134 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
12135 (gamma_coeff): New variable.
12136 (NCOEFF): New macro.
12137 (gammaf_positive): New function.
12138 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
12139 underflow here. Use gamma_positive instead of exp (lgamma) for
12141 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
12142 (gamma_coeff): New variable.
12143 (NCOEFF): New macro.
12144 (gammal_positive): New function.
12145 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
12146 underflow here. Use gamma_positive instead of exp (lgamma) for
12148 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
12149 (gamma_coeff): New variable.
12150 (NCOEFF): New macro.
12151 (gammal_positive): New function.
12152 (__ieee754_gammal_r): Handle positive infinity, overflow and
12153 underflow here. Handle NaN the same as positive infinity. Remove
12154 check x < 0xffffffff for negative integers. Use gamma_positive
12155 instead of exp (lgamma) for other arguments.
12156 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
12157 (gamma_coeff): New variable.
12158 (NCOEFF): New macro.
12159 (gammal_positive): New function.
12160 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
12161 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
12162 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
12163 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
12164 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
12165 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
12166 * sysdeps/generic/math_private.h (__gamma_productf): New
12168 (__gamma_product): Likewise.
12169 (__gamma_productl): Likewise.
12170 * math/Makefile (libm-calls): Add gamma_product.
12171 * math/libm-test.inc (tgamma_test): Add more tests.
12172 * sysdeps/i386/fpu/libm-test-ulps: Update.
12173 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12175 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
12177 * benchtests/bench-skeleton.c (main): Preheat CPU.
12179 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
12181 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
12183 2013-05-07 Roland McGrath <roland@hack.frob.com>
12185 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
12186 and _dl_skip_args_internal.
12188 2013-05-07 Carlos O'Donell <carlos@redhat.com>
12190 * manual/message.texi (Message Translation): Talk about users.
12191 Message to key mapping impacts design.
12193 2013-05-06 Roland McGrath <roland@hack.frob.com>
12195 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
12197 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
12199 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
12200 * sysdeps/wordsize-64/glob64.c: ... here.
12202 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
12203 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
12206 * debug/getlogin_r_chk.c: Moved to ...
12207 * login/getlogin_r_chk.c: ... here.
12208 * debug/Makefile (routines): Move getlogin_r_chk to ...
12209 * login/Makefile (routines): ... here.
12210 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
12211 * login/Versions (libc: GLIBC_2.4): ... here.
12213 * io/poll.c (__poll): Renamed from poll.
12214 Add libc_hidden_def.
12215 (poll): Define as weak alias.
12217 * debug/ptsname_r_chk.c: Moved to ...
12218 * login/ptsname_r_chk.c: ... here.
12219 * debug/Makefile (routines): Move ptsname_r_chk to ...
12220 * login/Makefile (routines): ... here.
12221 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
12222 * login/Versions (libc: GLIBC_2.4): ... here.
12224 * posix/getlogin.c: Moved to ...
12225 * login/getlogin.c: ... here.
12226 * posix/getlogin_r.c: Moved to ...
12227 * login/getlogin_r.c: ... here.
12228 * posix/getlogin_r.c: Moved to ...
12229 * login/getlogin_r.c: ... here.
12230 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
12231 * login/Makefile (routines): ... here.
12232 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
12233 * login/Versions (libc: GLIBC_2.0): ... here.
12235 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
12236 (setrlimit): Define as weak alias.
12238 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
12239 Call __ names for open, ftruncate, and close.
12240 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
12241 (truncate): Define as weak alias.
12243 2013-05-06 Joseph Myers <joseph@codesourcery.com>
12245 * math/gen-libm-test.pl (parse_args): Initialize x before each
12246 test of frexp, modf and remquo.
12248 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
12249 test signgam value.
12251 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12255 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
12257 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
12259 2013-05-06 Roland McGrath <roland@hack.frob.com>
12261 * elf/dl-writev.h: New file.
12262 * elf/dl-misc.c: Include it.
12263 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
12264 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
12266 2013-05-04 Joseph Myers <joseph@codesourcery.com>
12268 * math/libm-test.inc (noXFails): Remove variable.
12269 (noXPasses): Likewise.
12270 (BUILD_COMPLEX_INT): Remove macro.
12271 (print_screen): Remove xfail argument.
12272 (print_screen_max_error): Likewise.
12273 (update_stats): Likewise.
12274 (print_max_error): Likewise. Update calls to other affected
12276 (print_complex_max_error): Likewise.
12277 (test_single_exception): Update calls to print_screen.
12278 (test_single_errno): Likewise.
12279 (check_float_internal): Remove xfail argument. Update calls to
12280 other affected functions.
12281 (check_float): Likewise.
12282 (check_complex): Likewise.
12283 (check_int): Likewise.
12284 (check_long): Likewise.
12285 (check_bool): Likewise.
12286 (check_longlong): Likewise.
12287 (main): Don't print noXFails and noXPasses.
12288 * math/gen-libm-test.pl (top level): Don't mention expected
12289 failure handling in comment.
12290 (new_test): Don't handle expected failures.
12291 (parse_args): Don't mention expected failure handling in comment.
12292 (generate_testfile): Don't handle expected failures.
12293 (parse_ulps): Likewise.
12294 (print_ulps_file): Likewise.
12295 (get_failure): Remove function.
12296 (output_test): Don't handle expected failures.
12297 * make/README.libm-test: Don't mention expected failure handling.
12299 * math/libm-test.inc (plus_zero): Make const. Add initializer.
12300 (minus_zero): Likewise.
12301 (plus_infty): Likewise.
12302 (minus_infty): Likewise.
12303 (qnan_value): Likewise.
12304 (max_value): Likewise.
12305 (min_value): Likewise.
12306 (min_subnorm_value): Likewise.
12307 (initialize): Do not initialize those variables dynamically.
12309 2013-05-03 Roland McGrath <roland@hack.frob.com>
12311 * io/open.c (__open_2): Moved to ...
12312 * io/open_2.c: ... this new file.
12313 * io/open64.c (__open64_2): Moved to ...
12314 * io/open64_2.c: ... this new file.
12315 * io/openat.c (__openat_2): Moved to ...
12316 * io/openat_2.c: ... this new file.
12317 * io/openat64.c (__openat64_2): Moved to ...
12318 * io/openat64_2.c: ... this new file.
12319 * io/Makefile (routines): Add them.
12320 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
12321 * sysdeps/unix/sysv/linux/open_2.c: File removed.
12322 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
12323 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
12324 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
12325 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
12326 (__openat64): Add hidden_ver.
12327 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
12328 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
12330 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
12331 Separately conditionalize setting of GLRO(dl_sysinfo) so
12332 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
12333 as well, but the actual setting is only under [NEED_DL_SYSINFO].
12335 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12337 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
12338 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
12340 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
12341 * sysdeps/unix/sysv/linux/powerpc/init-first.c
12342 (_libc_vdso_platform_setup): Add __vdso_time initialization.
12343 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
12344 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
12346 2013-05-03 Joseph Myers <joseph@codesourcery.com>
12348 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
12349 test signgam value.
12351 * math/libm-test.inc (hypot_test): Do not use
12352 IGNORE_ZERO_INF_SIGN.
12354 2013-05-03 Andreas Jaeger <aj@suse.de>
12356 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
12358 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
12359 (PF_MAX): Adjust for VSOCK change.
12361 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12363 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12365 2013-05-02 Carlos O'Donell <carlos@redhat.com>
12368 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
12369 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
12370 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
12372 2013-05-02 David S. Miller <davem@davemloft.net>
12374 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12376 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
12378 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
12380 2013-05-01 Roland McGrath <roland@hack.frob.com>
12382 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
12384 2013-05-01 Richard Smith <richard@metafoo.co.uk>
12387 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
12388 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
12389 Use __attribute__ ((__gnu_inline__)).
12390 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
12391 Don't use __attribute__ ((__gnu_inline__)).
12393 2013-05-01 Joseph Myers <joseph@codesourcery.com>
12396 * math/s_catan.c (__catan): Handle small real or imaginary part of
12397 input specially to avoid spurious underflow.
12398 * math/s_catanf.c (__catanf): Likewise.
12399 * math/s_catanh.c (__catanh): Likewise.
12400 * math/s_catanhf.c (__catanhf): Likewise.
12401 * math/s_catanhl.c (__catanhl): Likewise.
12402 * math/s_catanl.c (__catanl): Likewise.
12403 * math/libm-test.inc (catan_test): Add more tests.
12404 (catanh_test): Likewise.
12405 * sysdeps/i386/fpu/libm-test-ulps: Update.
12406 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12408 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12410 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12412 2013-04-30 Joseph Myers <joseph@codesourcery.com>
12415 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
12416 accurately for denominator in atan2.
12417 * math/s_catanf.c (__catanf): Likewise.
12418 * math/s_catanh.c (__catanh): Likewise.
12419 * math/s_catanhf.c (__catanhf): Likewise.
12420 * math/s_catanhl.c (__catanhl): Likewise.
12421 * math/s_catanl.c (__catanl): Likewise.
12422 * math/libm-test.inc (catan_test): Add more tests.
12423 (catanh_test): Likewise.
12424 * sysdeps/i386/fpu/libm-test-ulps: Update.
12425 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12427 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
12429 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
12431 * benchtests/Makefile (bench): Remove slow benchmarks.
12432 * benchtests/atan-inputs: Add slow benchmark inputs.
12433 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
12434 (BENCH_FUNC): Accept variant offset.
12436 * benchtests/bench-skeleton.c (main): Run benchmark for each
12438 * benchtests/cos-inputs: Add slow benchmark inputs.
12439 * benchtests/exp-inputs: Likewise.
12440 * benchtests/pow-inputs: Likewise.
12441 * benchtests/sin-inputs: Likewise.
12442 * benchtests/slowatan-inputs: Remove.
12443 * benchtests/slowatan.c: Remove.
12444 * benchtests/slowcos-inputs: Remove.
12445 * benchtests/slowcos.c: Remove.
12446 * benchtests/slowexp-inputs: Remove.
12447 * benchtests/slowexp.c: Remove.
12448 * benchtests/slowpow-inputs: Remove.
12449 * benchtests/slowpow.c: Remove.
12450 * benchtests/slowsin-inputs: Remove.
12451 * benchtests/slowsin.c: Remove.
12452 * benchtests/slowtan-inputs: Remove.
12453 * benchtests/slowtan.c: Remove.
12454 * benchtests/tan-inputs: Add slow benchmark inputs.
12455 * scripts/bench.pl: Parse comments and directives.
12457 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
12459 ($(objpfx)bench-%.c): Remove *-ITER.
12460 * benchtests/bench-modf.c: Remove definition of ITER.
12461 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
12462 (main): Loop for DURATION seconds instead of fixed number of
12464 * scripts/bench.pl: Don't expect iterations in parameters.
12466 2013-04-29 Roland McGrath <roland@hack.frob.com>
12468 * io/fchdir.c (__fchdir): Renamed from fchdir.
12469 (fchdir): Define as weak alias.
12471 2013-04-29 Joseph Myers <joseph@codesourcery.com>
12473 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
12474 (ERRNO_EDOM): Likewise.
12475 (ERRNO_ERANGE): Likewise.
12476 (noErrnoTests): New variable.
12477 (init_max_error): Set errno to 0.
12478 (test_single_errno): New function.
12479 (test_errno): Likewise.
12480 (check_float_internal): Call test_errno. Set errno to 0.
12481 (check_complex): Refer to errno tests in comment.
12482 (check_int): Call test_errno. Set errno to 0.
12483 (check_long): Likewise.
12484 (check_bool): Likewise.
12485 (check_longlong): Likewise.
12486 (cos_test): Use ERRNO_* flags for errno tests instead of
12488 (expm1_test): Likewise.
12489 (fmod_test): Likewise.
12490 (ilogb_test): Likewise.
12491 (lgamma_test): Likewise.
12492 (pow_test): Likewise.
12493 (remainder_test): Likewise.
12494 (sin_test): Likewise.
12495 (tan_test): Likewise.
12496 (yn_test): Likewise.
12497 (initialize): Set errno to 0.
12498 (main): Print number of errno tests.
12499 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
12501 2013-04-29 Andreas Jaeger <aj@suse.de>
12504 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
12508 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
12509 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
12513 * stdlib/random.c (__initstate): Return NULL if
12517 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
12518 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
12521 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12523 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12525 2013-04-29 Joseph Myers <joseph@codesourcery.com>
12527 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
12528 of individual tests.
12529 (casin_test): Likewise.
12530 (casinh_test): Likewise.
12532 2013-04-27 Joseph Myers <joseph@codesourcery.com>
12535 * math/s_catan.c (__catan): Handle arguments with large real or
12536 imaginary part separately without squaring.
12537 * math/s_catanf.c (__catanf): Likewise.
12538 * math/s_catanh.c (__catanh): Likewise.
12539 * math/s_catanhf.c (__catanhf): Likewise.
12540 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
12542 (__catanhl): Handle arguments with large real or imaginary part
12543 separately without squaring.
12544 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
12546 (__catanl): Handle arguments with large real or imaginary part
12547 separately without squaring.
12548 * math/libm-test.inc (catan_test): Add more tests.
12549 (catanh_test): Likewise.
12550 * sysdeps/i386/fpu/libm-test-ulps: Update.
12551 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12553 2013-04-27 Andreas Jaeger <aj@suse.de>
12556 * stdlib/stdlib.h: Update guards for qecvt.
12557 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
12560 2013-04-27 Allan McRae <allan@archlinux.org>
12562 * sysdeps/i386/fpu/libm-test-ulps: Update.
12564 2013-04-26 Joseph Myers <joseph@codesourcery.com>
12567 * math/s_catan.c: Include <float.h>.
12568 (__catan): Ensure underflow exception occurs for underflowed
12570 * math/s_catanf.c: Include <float.h>.
12571 (__catanf): Ensure underflow exception occurs for underflowed
12573 * math/s_catanh.c: Include <float.h>.
12574 (__catanh): Ensure underflow exception occurs for underflowed
12576 * math/s_catanhf.c: Include <float.h>.
12577 (__catanhf): Ensure underflow exception occurs for underflowed
12579 * math/s_catanhl.c: Include <float.h>.
12580 (__catanhl): Ensure underflow exception occurs for underflowed
12582 * math/s_catanl.c: Include <float.h>.
12583 (__catanl): Ensure underflow exception occurs for underflowed
12585 * math/libm-test.inc (catan_test): Add more tests.
12586 (catanh_test): Likewise.
12589 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
12590 underflowed result.
12591 * math/s_ccoshf.c (__ccoshf): Likewise.
12592 * math/s_ccoshl.c (__ccoshl): Likewise.
12593 * math/s_csin.c (__csin): Likewise.
12594 * math/s_csinf.c (__csinf): Likewise.
12595 * math/s_csinh.c (__csinh): Likewise.
12596 * math/s_csinhf.c (__csinhf): Likewise.
12597 * math/s_csinhl.c (__csinhl): Likewise.
12598 * math/s_csinl.c (__csinl): Likewise.
12599 * math/libm-test.inc (ccos_test): Add more tests.
12600 (ccosh_test): Likewise.
12601 (csin_test): Likewise.
12602 (csinh_test): Likewise.
12604 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12606 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
12607 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
12608 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
12609 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
12610 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
12611 powerpc/power5+/fpu folders.
12612 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
12615 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
12617 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12619 2013-04-25 Joseph Myers <joseph@codesourcery.com>
12621 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
12622 additions to variable.
12623 [$(config-machine) = x86_64] (modules-names): Likewise.
12624 ($(objpfx)tst-audit3): Remove dependency.
12625 ($(objpfx)tst-audit3.out): Likewise.
12626 ($(objpfx)tst-audit4): Likewise.
12627 ($(objpfx)tst-audit4.out): Likewise.
12628 ($(objpfx)tst-audit5): Likewise.
12629 ($(objpfx)tst-audit5.out): Likewise.
12630 ($(objpfx)tst-audit6): Likewise.
12631 ($(objpfx)tst-audit6.out): Likewise.
12632 ($(objpfx)tst-audit7): Likewise.
12633 ($(objpfx)tst-audit7.out): Likewise.
12634 (tst-audit3-ENV): Remove variable.
12635 (tst-audit4-ENV): Likewise.
12636 (tst-audit5-ENV): Likewise.
12637 (tst-audit6-ENV): Likewise.
12638 (tst-audit7-ENV): Likewise.
12639 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
12640 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
12641 addition to variable.
12642 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
12643 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
12644 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
12645 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
12646 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
12647 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
12648 tst-audit3, tst-audit4 and tst-audit5.
12649 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
12650 tst-audit6 and tst-audit7.
12651 [$(subdir) = elf] (modules-names): Add audit modules for those
12653 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
12654 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
12655 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
12656 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
12657 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
12658 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
12659 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
12660 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
12661 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
12662 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
12663 [$(subdir) = elf] (tst-audit3-ENV): New variable.
12664 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
12665 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
12666 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
12667 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
12668 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
12670 [$(subdir) = elf && $(config-cflags-avx) = yes]
12671 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
12672 [$(subdir) = elf && $(config-cflags-avx) = yes]
12673 (CFLAGS-tst-auditmod4a.c): Likewise.
12674 [$(subdir) = elf && $(config-cflags-avx) = yes]
12675 (CFLAGS-tst-auditmod4b.c): Likewise.
12676 [$(subdir) = elf && $(config-cflags-avx) = yes]
12677 (CFLAGS-tst-auditmod6b.c): Likewise.
12678 [$(subdir) = elf && $(config-cflags-avx) = yes]
12679 (CFLAGS-tst-auditmod6c.c): Likewise.
12680 [$(subdir) = elf && $(config-cflags-avx) = yes]
12681 (CFLAGS-tst-auditmod7b.c): Likewise.
12682 * elf/tst-audit3.c: Move to ...
12683 * sysdeps/x86_64/tst-audit3.c: ... here.
12684 * elf/tst-audit4.c: Move to ...
12685 * sysdeps/x86_64/tst-audit4.c: ... here.
12686 * elf/tst-audit5.c: Move to ...
12687 * sysdeps/x86_64/tst-audit5.c: ... here.
12688 * elf/tst-audit6.c: Move to ...
12689 * sysdeps/x86_64/tst-audit6.c: ... here.
12690 * elf/tst-audit7.c: Move to ...
12691 * sysdeps/x86_64/tst-audit7.c: ... here.
12692 * elf/tst-auditmod3a.c: Move to ...
12693 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
12694 * elf/tst-auditmod3b.c: Move to ...
12695 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
12696 * elf/tst-auditmod4a.c: Move to ...
12697 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
12698 * elf/tst-auditmod4b.c: Move to ...
12699 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
12700 * elf/tst-auditmod5a.c: Move to ...
12701 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
12702 * elf/tst-auditmod5b.c: Move to ...
12703 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
12704 * elf/tst-auditmod6a.c: Move to ...
12705 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
12706 * elf/tst-auditmod6b.c: Move to ...
12707 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
12708 * elf/tst-auditmod6c.c: Move to ...
12709 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
12710 * elf/tst-auditmod7a.c: Move to ...
12711 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
12712 * elf/tst-auditmod7b.c: Move to ...
12713 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
12715 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
12718 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
12719 define unconditionally.
12720 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
12721 define unconditionally.
12722 (INT8_C, INT16_C, etc.): Likewise.
12724 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
12726 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
12727 __ehdr_start with hidden visibility.
12729 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
12731 2013-04-24 Carlos O'Donell <carlos@redhat.com>
12733 * math/libm-test.inc (cos_test): Use accurate hex constants.
12734 (sincost_test): Likewise.
12736 2013-04-24 Joseph Myers <joseph@codesourcery.com>
12738 * math/libm-test.inc (catan_test): Add more tests.
12739 (catanh_test): Likewise.
12741 * math/s_catanf.c (__catanf): Use suffixed floating-point
12743 * math/s_catanhf.c (__catanhf): Likewise.
12744 * math/s_catanhl.c (__catanhl): Likewise.
12745 * math/s_catanl.c (__catanl): Likewise.
12748 * math/s_catan.c (__catan): Calculate imaginary part of result
12749 with log1p not log unless computing log of number close to 0.
12750 * math/s_catanf.c (__catanf): Likewise.
12751 * math/s_catanl.c (__catanl): Likewise.
12752 * math/s_catanh.c (__catanh): Calculate real part of result with
12753 log1p not log unless computing log of number close to 0.
12754 * math/s_catanhf.c (__catanhf): Likewise.
12755 * math/s_catanhl.c (__catanhl): Likewise.
12756 * math/libm-test.inc (catan_test): Add more tests.
12757 (catanh_test): Likewise.
12758 * sysdeps/i386/fpu/libm-test-ulps: Update.
12759 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12761 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
12763 * benchtests/Makefile: Mention files in which fast and slow
12764 paths of math functions are implemented.
12766 2013-04-23 Roland McGrath <roland@hack.frob.com>
12768 * sysdeps/posix/timespec_get.c: New file.
12770 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12772 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
12774 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
12776 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
12777 powerpc/power5/fpu folders.
12778 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
12779 * benchtests/Makefile: Add modf testcase.
12780 * benchtests/bench-modf.c: New file: Benchmark test for mo
12782 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
12785 * time/Makefile (tests): Add tst-strptime-whitespace.
12786 * time/strptime_l.c (get_number): Use ISSPACE.
12787 (__strptime_internal): Likewise.
12788 * time/tst-strptime-whitespace.c: New test case.
12790 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
12792 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
12794 (_nss_files_init): Set it here.
12796 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
12798 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
12799 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
12802 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
12804 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
12806 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
12808 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
12811 2013-04-21 David S. Miller <davem@davemloft.net>
12813 * po/ru.po: Update Russion translation from translation project.
12815 2013-04-17 Adam Conrad <adconrad@0c3.net>
12817 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
12820 2013-04-17 Carlos O'Donell <carlos@redhat.com>
12822 * configure.in: Remove i386 configure warning. Remove i386 case.
12823 * configure: Regenerate.
12824 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
12825 Add example to error message.
12826 * sysdeps/i386/configure: Regenerate.
12828 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
12830 * benchtests/Makefile (bench): Add cos, tan, slowcos and
12832 * benchtests/cos-inputs: New file.
12833 * benchtests/slowcos-inputs: New file.
12834 * benchtests/slowcos.c: New file.
12835 * benchtests/slowtan-inputs: New file.
12836 * benchtests/slowtan.c: New file.
12837 * benchtests/tan-inputs: New file.
12839 2013-04-16 Roland McGrath <roland@hack.frob.com>
12841 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
12844 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
12846 * benchtests/Makefile: Include cppflags-iterator.mk to add
12847 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
12849 * Makefile.in (bench-clean): New target.
12850 * benchtests/Makefile (bench-clean): Likewise.
12852 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
12854 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
12856 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
12858 * stdio-common/tstdiomisc.c: Fix coding-style violation.
12860 2013-04-15 Andreas Schwab <schwab@suse.de>
12862 * nscd/grpcache.c (cache_addgr): Properly check for short write.
12863 * nscd/initgrcache.c (addinitgroupsX): Likewise.
12864 * nscd/pwdcache.c (cache_addpw): Likewise.
12865 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
12868 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
12870 * benchtests/Makefile (bench): Write all output to
12871 bench-out.tmp together.
12873 2013-04-15 Andreas Schwab <schwab@suse.de>
12875 * nscd/nscd.c (main): Don't fork again after closing files.
12877 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
12879 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
12881 * benchtests/Rules (bench-deps): Collect dependencies into a
12882 single variable. Add Makefile to dependencies.
12883 ($(objpfx)bench-%.c): Depend on bench-deps.
12885 2013-04-12 Roland McGrath <roland@hack.frob.com>
12886 Xavier Roche <roche+kml2@exalead.com>
12889 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
12890 just that it's a file descriptor.
12891 * manual/llio.texi (Synchronizing AIO Operations): Update description
12892 for EBADF error from aio_fsync.
12894 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
12896 * Rules (bench): Move target definition...
12897 * benchtests/Makefile: ... here.
12899 2013-04-11 Carlos O'Donell <carlos@redhat.com>
12901 * math/libm-test.inc (cos_test): Fix PI/2 test.
12902 (sincos_test): Likewise.
12903 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
12904 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
12906 2013-04-11 Andreas Schwab <schwab@suse.de>
12909 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
12910 accept exponent character only when digits were seen.
12911 * stdio-common/Makefile (tests): Add bug26.
12912 * stdio-common/bug26.c: New file.
12915 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
12918 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12920 * Makeconfig (rtld-prefix): Define built linker prefix.
12921 * Rules (run-bench): Use it.
12922 * math/Makefile (run-regen-ulps): Likewise.
12924 * Rules (bench): Remove eval.
12926 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
12927 Roland McGrath <roland@hack.frob.com>
12928 Ondrej Bilka <neleai@seznam.cz>
12931 * time/getdate.c: Include ctype.h and alloca.h.
12932 (__getdate_r): Trim leading and trailing spaces of input.
12933 * time/tst-getdate.c (tests): Add tests with leading and
12936 2013-04-08 Roland McGrath <roland@hack.frob.com>
12939 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
12940 when computing value.
12942 2013-04-06 Carlos O'Donell <carlos@redhat.com>
12944 * math/README.libm-test (How can I generate "libm-test-ulps"?):
12945 Use testrun.sh to run libm tests.
12948 * elf/dl-open.c (dl_open_worker): memset all of seen array.
12950 2013-04-06 Marko Myllynen <myllynen@redhat.com>
12953 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
12955 2013-04-06 Carlos O'Donell <carlos@redhat.com>
12957 * Makefile.in (regen-ulps): New target.
12958 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
12959 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
12960 [ifneq (no,$(PERL)] (regen-ulps): New target.
12961 [ifeq (no,$(PERL)] (regen-ulps): New target.
12962 * math/libm-test.inc (ulps_file_name): Define.
12963 (output_dir): New variable.
12964 (options): Add "output-dir" option.
12965 (parse_opt): Handle 'o' case.
12966 (main): If output_dir is non-NULL use it as a prefix
12968 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
12970 2013-04-06 Carlos O'Donell <carlos@redhat.com>
12972 [BZ #10060, #10062]
12973 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
12974 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
12975 fail configure if __sync_val_compare_and_swap is not inlined.
12976 * sysdeps/i386/configure: Regenerate.
12977 * configure.in: Build for i686 when configured for i386.
12978 * configure: Regenerate.
12979 * README: Remove i386 reference.
12981 2013-04-06 Carlos O'Donell <carlos@redhat.com>
12983 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
12984 * sysdeps/s390/s390-64/sysdep.h: Likewise.
12986 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
12988 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
12989 (lmsnanval): New variables.
12990 (F): Add conversion tests.
12991 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
12992 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
12994 * stdio-common/tstdiomisc.c (F): Properly collect individual
12997 [BZ #14686, #15336]
12998 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
12999 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
13000 Instead, use input NaN values or generate a qNaN by arithmetic
13001 operation. Also fix bugs to comply with the standard.
13002 * math/libm-test.inc (remainder_test): Add more tests.
13004 [BZ #15335, #15342]
13005 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
13006 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
13007 input NaN values or generate a qNaN by arithmetic operation.
13009 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
13012 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
13015 2013-04-03 Joseph Myers <joseph@codesourcery.com>
13018 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
13019 underflowed result.
13020 * math/s_cexpf.c (__cexpf): Likewise.
13021 * math/s_cexpl.c (__cexpl): Likewise.
13022 * math/libm-test.inc (cexp_test): Add more tests.
13024 2013-04-03 Andreas Schwab <schwab@suse.de>
13027 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
13028 order arrays from heap if bigger than alloca cutoff.
13030 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
13032 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
13033 (SNAN_TESTS_double): Refer to GCC PR56831.
13034 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
13037 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
13039 * Rules (bench): Move bench.out after the run is complete.
13041 * Rules (bench): Echo currently running benchmark.
13043 * benchtests/Makefile (bench): Add atan and slowatan.
13044 * benchtests/atan-inputs: New file.
13045 * benchtests/slowatan-inputs: New file.
13046 * benchtests/slowatan.c: New file.
13048 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
13049 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
13053 * sysdeps/unix/sysv/linux/kernel-features.h
13054 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
13055 __ASSUME_XFS_RESTRICTED_CHOWN.
13056 * sysdeps/unix/sysv/linux/pathconf.c
13057 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
13058 Save and restore errno.
13060 2013-04-02 Joseph Myers <joseph@codesourcery.com>
13063 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
13064 arguments using __kernel_casinh.
13065 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
13066 arguments using __kernel_casinhf.
13067 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
13068 arguments using __kernel_casinhl.
13069 * math/libm-test.inc (cacosh_test): Add more tests.
13070 * sysdeps/i386/fpu/libm-test-ulps: Update.
13071 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13073 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
13075 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
13076 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
13078 * bench/Makefile (bench): Add sin and slowsin.
13079 * benchtests/sin-inputs: New file.
13080 * benchtests/slowsin-inputs: New file.
13081 * benchtests/slowsin.c: New file.
13083 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
13084 (bench): Add slowexp and slowpow.
13085 (exp-ITER): Increase iterations.
13086 (pow-ITER): Likewise.
13087 * benchtests/exp-inputs: Change input.
13088 * benchtests/pow-inputs: Likewise.
13089 * benchtests/slowexp-inputs: New file.
13090 * benchtests/slowexp.c: New file.
13091 * benchtests/slowpow-inputs: New file.
13092 * benchtests/slowpow.c: New file.
13094 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13096 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
13098 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
13099 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
13100 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
13101 * benchtests/Makefile: Add rint benchtest.
13102 * benchtests/rint-inputs: Input for rint benchtest.
13104 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
13106 * Versions.def (libm): Add GLIBC_2.18.
13107 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
13108 hidden libm prototypes.
13109 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
13110 * math/Makefile (libm-calls): Add s_issignaling.
13111 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
13112 __issignalingf, __issignalingl. Adjust all libm.abilist files.
13113 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
13115 * math/math.h [__USE_GNU] (issignaling): New macro.
13116 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
13117 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
13118 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
13119 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
13120 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
13121 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
13122 * manual/arith.texi (issignaling): New section.
13123 * manual/libm-err-tab.pl (@all_functions): Update comment.
13124 * math/gen-libm-test.pl (parse_args): Apply special handling for
13126 * math/libm-test.inc (print_float, issignaling_test): New
13128 (check_float_internal): Add issignaling checks.
13129 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
13130 default definition.
13131 * sysdeps/powerpc/math-tests.h: New file.
13132 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
13134 * math/test-snan.c (TEST_FUNC): Likewise.
13136 2013-03-30 David S. Miller <davem@davemloft.net>
13138 * po/de.po: Update from translation team.
13140 2013-03-30 Joseph Myers <joseph@codesourcery.com>
13143 * math/k_casinh.c (__kernel_casinh): Handle arguments with
13144 imaginary part less than 1.0 and real part less than 0.5
13146 * math/k_casinhf.c (__kernel_casinhf): Likewise.
13147 * math/k_casinhl.c (__kernel_casinhl): Likewise.
13148 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
13149 (cacos_test): Add more tests.
13150 (casin_test): Likewise.
13151 (casinh_test): Likewise.
13152 * sysdeps/i386/fpu/libm-test-ulps: Update.
13153 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13155 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
13157 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
13158 ONE with its value.
13160 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
13161 (__pow_mp): Replace ONE and MONE with their values.
13162 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
13163 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
13164 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
13165 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
13166 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
13167 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
13169 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
13171 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
13172 (__pow_mp): Replace ZERO and MZERO with their values.
13173 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
13174 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
13175 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
13176 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
13177 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
13178 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
13181 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
13183 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
13185 2013-03-28 Roland McGrath <roland@hack.frob.com>
13187 * include/stdlib.h [!SHARED] (__call_tls_dtors):
13188 Declare with __attribute__ ((weak)).
13189 * stdlib/exit.c (__libc_atexit) [!SHARED]:
13190 Call __call_tls_dtors only if it's not NULL.
13192 2013-03-28 Roland McGrath <roland@hack.frob.com>
13194 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
13195 didn't do it already, then set _dl_phdr and _dl_phnum based on the
13196 magic __ehdr_start linker symbol if it's defined.
13197 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
13198 them up here if it was already done.
13200 * elf/dl-support.c (_dl_phdr): Make pointer to const.
13201 (_dl_aux_init): Use const in cast when setting it.
13202 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
13203 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
13204 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
13206 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
13208 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
13209 * csu/libc-tls.c: Nor here.
13210 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
13212 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
13213 (__libc_message): Never call vsyslog.
13215 2013-03-28 Alan Modra <amodra@gmail.com>
13217 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
13219 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
13222 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13225 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
13227 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13229 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13232 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
13233 Don't add gid passed as argument.
13235 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
13237 2013-03-27 Joseph Myers <joseph@codesourcery.com>
13240 * math/k_casinh.c (__kernel_casinh): Handle arguments with
13241 imaginary part between 1.0 and 1.5 and real part less than 0.5
13243 * math/k_casinhf.c (__kernel_casinhf): Likewise.
13244 * math/k_casinhl.c (__kernel_casinhl): Likewise.
13245 * math/libm-test.inc (cacos_test): Add more tests.
13246 (casin_test): Likewise.
13247 (casinh_test): Likewise.
13248 * sysdeps/i386/fpu/libm-test-ulps: Update.
13249 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13251 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
13253 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
13256 (denorm): Likewise.
13257 (__dbl_mp): Likewise.
13258 (add_magnitudes): Likewise.
13259 (sub_magnitudes): Likewise.
13267 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
13269 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
13270 (__dubcos): Likewise.
13271 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
13272 (__ieee754_acos): Likewise.
13273 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
13274 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
13275 (__exp1): Likewise.
13276 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
13277 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
13279 (my_log2): Likewise.
13280 (checkint): Likewise.
13281 * sysdeps/ieee754/dbl-64/e_remainder.c
13282 (__ieee754_remainder): Likewise.
13283 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
13284 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
13285 (bsloww): Likewise.
13286 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
13288 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
13289 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
13290 MANTISSA_STORE_T to store computations on mantissa. Use
13291 macros for rounding and division.
13292 (denorm): Likewise.
13293 (__dbl_mp): Likewise.
13294 (add_magnitudes): Likewise.
13295 (sub_magnitudes): Likewise.
13298 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
13299 powers of two in terms of TWOPOW macro.
13300 (mp_no): Make type of mantissa as MANTISSA_T.
13301 [!RADIXI]: Define RADIXI.
13302 [!TWO52]: Define TWO52.
13303 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
13305 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13307 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
13308 llroundl symbol when building for PPC32.
13310 2013-03-24 Mark H Weaver <mhw@netris.org>
13312 * manual/arith.texi (Normalization Functions): Fix prototypes for
13313 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
13315 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13318 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
13319 high value to check if expl overflow.
13320 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
13321 to check for underflow and overflow.
13322 * math/libm-test.inc: Add exp test.
13324 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
13327 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
13330 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13332 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
13335 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
13337 * math/gen-libm-test.pl (parse_args, special_functions): Properly
13338 wrap blocks consisting of several statements.
13340 * sysdeps/generic/math-tests.h: New file.
13341 * sysdeps/i386/fpu/math-tests.h: Likewise.
13342 * math/test-snan.c: Include it.
13343 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
13345 2013-03-21 Joseph Myers <joseph@codesourcery.com>
13348 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
13349 (__ieee754_j0l): Do not improve calculations using cos of twice
13350 input for inputs above LDBL_MAX / 2.0L.
13351 (__ieee754_y0l): Likewise.
13352 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
13353 (__ieee754_j1l): Do not improve calculations using cos of twice
13354 input for inputs above LDBL_MAX / 2.0L.
13355 (__ieee754_y1l): Likewise.
13356 * math/libm-test.inc (j0_test): Add another test.
13357 (j1_test): Likewise.
13358 (y0_test): Likewise.
13359 (y1_test): Likewise.
13360 * sysdeps/i386/fpu/libm-test-ulps: Update.
13362 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
13364 * Rules ($(objpfx)bench-%.c): Include code from a C source
13367 2013-03-21 Joseph Myers <joseph@codesourcery.com>
13370 * math/k_casinh.c (__kernel_casinh): Handle arguments with
13371 imaginary part 1.0 and real part less than 0.5 specially.
13372 * math/k_casinhf.c (__kernel_casinhf): Likewise.
13373 * math/k_casinhl.c (__kernel_casinhl): Likewise.
13374 * math/libm-test.inc (cacos_test): Add more tests.
13375 (casin_test): Likewise.
13376 (casinh_test): Likewise.
13377 * sysdeps/i386/fpu/libm-test-ulps: Update.
13378 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13380 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
13382 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
13383 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
13385 2013-03-20 Joseph Myers <joseph@codesourcery.com>
13387 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
13388 * config.make.in (config-cflags-sse4): Remove variable.
13389 (config-cflags-avx): Likewise.
13390 (config-cflags-sse2avx): Likewise.
13391 (config-cflags-novzeroupper): Likewise.
13392 (config-asflags-i686): Likewise.
13393 (have-mfma4): Likewise.
13394 (have-as-vis3): Likewise.
13396 * configure.in (MIG): Do not AC_SUBST.
13397 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
13398 (libc_cv_cc_sse4): Do not AC_SUBST.
13399 (libc_cv_cc_avx): Likewise.
13400 (libc_cv_cc_sse2avx): Likewise.
13401 (libc_cv_cc_novzeroupper): Likewise.
13402 (libc_cv_cc_fma4): Likewise.
13403 (libc_cv_as_i686): Likewise.
13404 (libc_cv_sparc_as_vis3): Likewise.
13405 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
13407 (config-asflags-i686): Likewise.
13408 (config-cflags-avx): Likewise.
13409 (config-cflags-sse2avx): Likewise.
13410 (have-mfma4): Likewise.
13411 (config-cflags-novzeroupper): Likewise.
13412 * sysdeps/mach/configure.in (MIG): Likewise.
13413 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
13414 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
13416 (config-cflags-avx): Likewise.
13417 (config-cflags-sse2avx): Likewise.
13418 (have-mfma4): Likewise.
13419 (config-cflags-novzeroupper): Likewise.
13420 * configure: Regenerated.
13421 * sysdeps/i386/configure: Likewise.
13422 * sysdeps/mach/configure: Likewise.
13423 * sysdeps/sparc/configure: Likewise.
13424 * sysdeps/x86_64/configure: Likewise.
13426 2013-03-20 Roland McGrath <roland@hack.frob.com>
13429 * locale/programs/localedef.c (options): Put N_ translation marker
13430 on argument names, not just descriptions.
13432 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
13434 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
13436 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
13439 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
13441 2013-03-19 Roland McGrath <roland@hack.frob.com>
13443 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
13444 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
13445 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
13446 [!BEFORE_ABORT] (before_abort): New function.
13447 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
13448 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
13449 (writev_for_fatal): New function.
13450 (WRITEV_FOR_FATAL): New macro; call that.
13451 (backtrace_and_maps): New function.
13452 (BEFORE_ABORT): New macro; call that.
13453 (struct str_list): Type removed.
13454 (__libc_message, __libc_fatal): Functions removed.
13455 Include <sysdeps/posix/libc_fatal.c> instead.
13457 2013-03-19 Joseph Myers <joseph@codesourcery.com>
13459 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
13461 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
13464 2013-03-19 Andreas Schwab <schwab@suse.de>
13466 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
13467 * sysdeps/gnu/configure: Regenerate.
13469 * configure.in: Substitute libc_cv_rtlddir.
13470 * configure: Regenerate.
13471 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
13472 * Makeconfig (rtlddir, inst_rtlddir): New variables.
13473 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
13474 * elf/Makefile (install-others, CFLAGS-interp.c)
13475 (ldso_install, common-ldd-rewrite): Likewise.
13476 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
13477 $(inst_slibdir)/$(rtld-installed-name).
13478 * scripts/rellns-sh: Add -p option.
13479 * Makerules (make-shlib-link): Use rellns-sh to get relative name
13482 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
13484 * manual/nptl.texi: Renamed to ...
13485 * manual/threads.texi: ... this.
13486 * manual/Makefile (chapters): Update.
13488 2013-03-18 Roland McGrath <roland@hack.frob.com>
13491 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
13492 on argument names, not just descriptions.
13493 * malloc/memusagestat.c (options): Likewise.
13494 * nss/getent.c (options): Likewise.
13496 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
13499 * iconv/iconv_prog.c (options): Put N_ translation marker
13500 on argument names, not just descriptions.
13501 * iconv/iconvconfig.c (options): Likewise.
13503 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
13505 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
13506 implementation which is faster on all x86_64 architectures.
13507 Tested on AMD, Intel Nehalem, SNB, IVB.
13508 * sysdeps/x86_64/strnlen.S: Likewise.
13510 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
13511 Remove all multiarch strlen and strnlen versions.
13512 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
13513 Remove strlen and strnlen related parts.
13515 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
13516 Inline strlen part.
13517 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
13519 * sysdeps/x86_64/multiarch/strlen.S: Remove.
13520 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
13521 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
13522 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
13523 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
13524 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
13526 2013-03-17 Carlos O'Donell <carlos@redhat.com>
13528 * manual/memory.texi (Malloc Tunable Parameters):
13529 Sort parameters alphabetically. Add comments for missing entries.
13531 2013-03-17 David S. Miller <davem@davemloft.net>
13533 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13535 2013-03-16 Joseph Myers <joseph@codesourcery.com>
13538 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
13539 for arguments at most half maximum finite value.
13540 * math/libm-test.inc (j0_test): Add more tests.
13541 (j1_test): Likewise.
13542 (y0_test): Likewise.
13543 (y1_test): Likewise.
13544 * sysdeps/i386/fpu/libm-test-ulps: Update.
13545 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13548 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
13549 1 / x and functions P and Q for arguments above 0x1p256L.
13550 (__ieee754_y0l): Likewise.
13551 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
13552 (__ieee754_y1l): Likewise.
13553 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
13554 (j1_test): Likewise.
13555 (y0_test): Likewise.
13556 (y1_test): Likewise.
13558 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
13560 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
13563 2013-03-15 Roland McGrath <roland@hack.frob.com>
13565 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
13566 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
13567 zero since it's initialized to EXEC_PAGESIZE.
13569 * sysdeps/unix/sysv/linux/ldsodefs.h
13570 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
13571 * sysdeps/generic/ldsodefs.h: ... here.
13573 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
13575 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
13577 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
13579 * math/test-snan.c: Renamed from
13580 sysdeps/powerpc/fpu/test-powerpc-snan.c.
13581 * math/Makefile (tests): Add test-snan.
13582 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
13585 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
13586 SUFFIX. Initialize qNaN_var with __builtin_nan family of
13588 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
13589 __builtin_nan family of functions.
13590 * math/libm-test.inc (initialize): Initialize qnan_value with
13591 __builtin_nan family of functions.
13592 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
13594 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
13596 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
13597 storage class. Initialize qNaN_var and sNaN_var with
13598 __builtin_nan and __builtin_nans families of functions,
13601 * math/libm-test.inc (acosh_test): Also test with qNaN input.
13602 (sqrt_test): Remove duplicate test with qNaN input.
13603 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
13604 (round_test, signbit_test, significand_test): Note missing +/-Inf
13605 as well as qNaN tests.
13607 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
13608 qNaN_var. Fix a few strings, too.
13609 * math/libm-test.inc (nan_value): Rename to qnan_value.
13610 * math/gen-libm-test.pl (%beautify): Adjust to that.
13611 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
13612 * math/test-misc.c (main): Likewise.
13613 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
13614 to __qnan_bytes, and __qnan_union, respectively.
13615 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
13617 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
13618 and lqnanval, respectively.
13619 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
13620 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
13621 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
13622 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
13624 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
13625 * math/test-misc.c (main) [__x86_64__]: Enable test for long
13628 * math/test-misc.c (main): Fix copy'n'pastos.
13629 * misc/tst-efgcvt.c (special): Likewise.
13631 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
13632 Remove declarations.
13634 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
13636 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
13637 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
13638 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
13639 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
13641 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13643 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
13644 macro to return vdso values correctly in IFUNC implementations.
13645 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
13646 Optimization by using IFUNC.
13648 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
13649 Richard Henderson <rth@redhat.com>
13650 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13652 * Makefile.in (bench): New target.
13653 * NEWS: Mention the benchmark framework.
13654 * Rules (bench): Likewise.
13655 (binaries-bench): Generate binaries for functions to
13657 * benchtests/Makefile: New makefile for benchmark tests.
13658 * benchtests/bench-skeleton.c: New skeleton file for benchmark
13660 * benchtests/exp-inputs: New input file for EXP function.
13661 * benchtests/pow-inputs: New input file for POW function.
13662 * scripts/bench.pl: New script to generate source files for
13663 benchmark programs.
13665 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
13667 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
13668 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
13669 computations on mantissa. Use macros for rounding and
13671 (denorm): Likewise.
13672 (__dbl_mp): Likewise.
13673 (add_magnitudes): Likewise.
13674 (sub_magnitudes): Likewise.
13677 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
13678 powers of two in terms of TWOPOW macro.
13679 (mp_no): Make type of mantissa as MANTISSA_T.
13680 [!RADIXI]: Define RADIXI.
13681 [!TWO52]: Define TWO52.
13682 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
13684 * manual/nptl.texi (cindex): Modify threads to pthreads.
13686 2013-03-15 Joseph Myers <joseph@codesourcery.com>
13688 * sysdeps/x86_64/preconfigure: Regenerated.
13690 2013-03-14 Joseph Myers <joseph@codesourcery.com>
13693 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
13695 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
13696 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
13698 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
13699 * math/libm-test.inc (j0_test): Do not allow one spurious
13700 underflow exception.
13701 (y1_test): Likewise.
13703 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
13705 * manual/Makefile (chapters): Add nptl.
13706 * manual/debug.texi (Debugging Support): Add link to Threads
13708 * manual/nptl.texi: New file.
13710 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
13712 2013-03-14 Petr Baudis <pasky@ucw.cz>
13714 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
13715 for non-NULL pointer before the memory validity test. Pointed
13716 out by Holger Brunck <holger.brunck@keymile.com>.
13718 2013-03-13 Andreas Schwab <schwab@suse.de>
13720 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
13723 2013-03-13 Joseph Myers <joseph@codesourcery.com>
13725 * timezone/zic.c: Update from tzcode 2013b.
13727 2013-03-12 Carlos O'Donell <carlos@redhat.com>
13729 * manual/install.texi (Configuring and compiling):
13730 Mention i686 and i586.
13731 * INSTALL: Regenerate.
13733 2013-03-12 Roland McGrath <roland@hack.frob.com>
13735 * sysdeps/init_array/elf-init.c: New file.
13737 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
13738 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
13740 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
13741 __gmon_start__ as global, but as static with a .preinit_array pointer.
13742 * sysdeps/init_array/gmon-start.c: New file. Use that.
13743 * sysdeps/init_array/crti.S: New file, empty except for comments.
13744 * sysdeps/init_array/crtn.S: Likewise.
13746 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
13748 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
13750 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13751 Remove Prefer_SSE_for_memop.
13752 * sysdeps/x86_64/multiarch/init-arch.h: Remove
13753 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
13754 HAS_PREFER_SSE_FOR_MEMOP.
13755 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
13757 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
13758 Remove bzero, memset ifunc support.
13759 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
13760 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
13761 * sysdeps/x86_64/multiarch/memset.S: Likewise.
13762 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
13764 2013-03-11 Andreas Schwab <schwab@suse.de>
13767 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
13769 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
13770 (GLIBC_2.16): Remove pthread_atfork.
13772 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
13774 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
13775 (ptestcases.h): Likewise.
13777 2013-03-08 Roland McGrath <roland@hack.frob.com>
13779 * Makeconfig ($(common-objpfx)config.status): Depend on
13780 sysdeps/*/preconfigure{,.in} too.
13782 2013-03-08 Joseph Myers <joseph@codesourcery.com>
13784 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
13785 (__free_hook): Use void * instead of __malloc_ptr_t.
13786 (__malloc_hook): Likewise.
13787 (__realloc_hook): Likewise.
13788 (__memalign_hook): Likewise.
13789 (__after_morecore_hook): Likewise.
13790 * malloc/arena.c (save_malloc_hook): Likewise.
13791 (save_free_hook): Likewise.
13792 * malloc/hooks.c (malloc_hook_ini): Likewise.
13793 (realloc_hook_ini): Likewise.
13794 (memalign_hook_ini): Likewise.
13795 * malloc/malloc.c (malloc_hook_ini): Likewise.
13796 (realloc_hook_ini): Likewise.
13797 (memalign_hook_ini): Likewise.
13798 (__free_hook): Likewise.
13799 (__malloc_hook): Likewise.
13800 (__realloc_hook): Likewise.
13801 (__memalign_hook): Likewise.
13802 (__libc_malloc): Likewise.
13803 (__libc_free): Likewise.
13804 (__libc_realloc): Likewise.
13805 (__libc_memalign): Likewise.
13806 (__libc_valloc): Likewise.
13807 (__libc_pvalloc): Likewise.
13808 (__libc_calloc): Likewise.
13809 (__posix_memalign): Likewise.
13810 * malloc/morecore.c (__sbrk): Likewise.
13811 (__default_morecore): Likewise.
13813 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
13815 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
13816 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
13817 __malloc_ptrdiff_t.
13819 * malloc/malloc.h (__malloc_size_t): Remove macro.
13820 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
13822 (old_memalign_hook): Likewise.
13823 (old_realloc_hook): Likewise.
13824 (struct hdr): Likewise.
13826 (mallochook): Likewise.
13827 (memalignhook): Likewise.
13828 (reallochook): Likewise.
13829 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
13830 (tr_old_realloc_hook): Likewise.
13831 (tr_old_memalign_hook): Likewise.
13832 (tr_mallochook): Likewise.
13833 (tr_reallochook): Likewise.
13834 (tr_memalignhook): Likewise.
13836 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13838 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
13839 default_ldbl_pack and using as default implementation.
13840 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
13842 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
13843 redundant definition.
13844 (ldbl_insert_mantissa): Likewise.
13845 (ldbl_canonicalize): Likewise.
13846 (ldbl_nearbyint): Likewise.
13847 (ldbl_pack): Rename to ldbl_pack_ppc.
13848 (ldbl_unpack): Rename to ldbl_unpack_ppc.
13849 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
13850 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
13852 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
13854 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
13855 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
13856 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
13857 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
13858 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
13859 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
13860 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
13861 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
13863 2013-03-07 Andreas Jaeger <aj@suse.de>
13865 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13868 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
13870 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
13871 Include mpa.h and declare __MPEXP.
13872 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
13873 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
13874 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
13875 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
13876 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
13877 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
13878 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
13880 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
13881 (__slowpow): Use long double EXPL and LOGL functions to
13883 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
13884 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
13885 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
13886 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
13887 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
13888 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
13890 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
13891 intermediate variable to calculate exponent.
13893 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
13897 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
13898 [!NO__SQR]: Define __sqr.
13899 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
13900 and NO__SQR. Remove all code except __mul and __sqr. Include
13901 sysdeps/ieee754/dbl-64/mpa.c.
13902 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
13905 * posix/Makefile (tests): Add tst-pathconf.
13906 * posix/tst-pathconf.c: New test case.
13907 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
13909 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
13911 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
13913 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
13915 2013-03-06 Andreas Jaeger <aj@suse.de>
13917 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
13918 definition via __MAP_ANONYMOUS.
13920 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
13921 it's not part of Linux headers.
13923 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
13924 (MAP_HUGE_MASK): Define.
13926 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
13928 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
13929 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
13931 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
13932 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
13934 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
13935 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
13937 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
13939 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
13940 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
13941 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
13942 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
13943 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
13944 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
13946 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
13949 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
13950 Handle f2fs and efivarfs.
13952 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
13955 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
13956 (EFIVARFS_MAGIC): Add.
13957 (F2FS_LINK_MAX): Add.
13959 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
13961 * stdio-common/vfprintf.c: Replace __builtin_expect with
13964 2013-03-06 Joseph Myers <joseph@codesourcery.com>
13967 * sysdeps/generic/bp-sym.h: Remove file.
13968 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
13969 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
13970 <bp-sym.h> and <bp-asm.h>.
13971 (__longjmp): Don't use BP_SYM.
13972 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
13974 (memcpy): Don't use BP_SYM.
13975 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
13976 <bp-sym.h> and <bp-asm.h>.
13977 (memcpy): Don't use BP_SYM.
13978 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
13980 (memcpy): Don't use BP_SYM.
13981 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
13983 (memset): Don't use BP_SYM.
13984 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
13985 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
13986 (__bzero): Don't use BP_SYM.
13987 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
13988 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
13989 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
13990 <bp-sym.h> and <bp-asm.h>.
13991 (memcmp): Don't use BP_SYM. Remove comment about bounded
13993 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
13994 <bp-sym.h> and <bp-asm.h>.
13995 (memcpy): Don't use BP_SYM.
13996 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
13997 <bp-sym.h> and <bp-asm.h>.
13998 (memset): Don't use BP_SYM.
13999 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
14000 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
14001 (__bzero): Don't use BP_SYM.
14002 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
14003 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
14004 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
14005 <bp-sym.h> and <bp-asm.h>.
14006 (strncmp): Don't use BP_SYM. Remove comment about bounded
14008 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
14009 <bp-sym.h> and <bp-asm.h>.
14010 (memcpy): Don't use BP_SYM.
14011 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
14012 <bp-sym.h> and <bp-asm.h>.
14013 (memset): Don't use BP_SYM.
14014 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
14015 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
14016 (__bzero): Don't use BP_SYM.
14017 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
14018 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
14019 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
14020 <bp-sym.h> and <bp-asm.h>.
14021 (__memchr): Don't use BP_SYM.
14022 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
14023 <bp-sym.h> and <bp-asm.h>.
14024 (memcmp): Don't use BP_SYM. Remove comment about bounded
14026 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
14027 <bp-sym.h> and <bp-asm.h>.
14028 (memcpy): Don't use BP_SYM.
14029 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
14030 <bp-sym.h> and <bp-asm.h>.
14031 (__mempcpy): Don't use BP_SYM.
14032 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
14033 <bp-sym.h> and <bp-asm.h>.
14034 (__memrchr): Don't use BP_SYM.
14035 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
14036 <bp-sym.h> and <bp-asm.h>.
14037 (memset): Don't use BP_SYM.
14038 (__bzero): Likewise.
14039 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
14040 <bp-sym.h> and <bp-asm.h>.
14041 (__rawmemchr): Don't use BP_SYM.
14042 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
14043 <bp-sym.h> and <bp-asm.h>.
14044 (__STRCMP): Don't use BP_SYM.
14045 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
14046 <bp-sym.h> and <bp-asm.h>.
14047 (strchr): Don't use BP_SYM.
14048 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
14049 <bp-sym.h> and <bp-asm.h>.
14050 (__strchrnul): Don't use BP_SYM.
14051 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
14052 <bp-sym.h> and <bp-asm.h>.
14053 (strlen): Don't use BP_SYM.
14054 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
14055 <bp-sym.h> and <bp-asm.h>.
14056 (strncmp): Don't use BP_SYM. Remove comment about bounded
14058 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
14059 <bp-sym.h> and <bp-asm.h>.
14060 (__strnlen): Don't use BP_SYM.
14061 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
14062 <bp-sym.h> and <bp-asm.h>.
14063 (__GI__setjmp): Don't use BP_SYM.
14064 (_setjmp): Likewise.
14065 (__sigsetjmp): Likewise.
14066 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
14067 (L(start_addresses)): Don't use BP_SYM.
14068 (_start): Likewise.
14069 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
14071 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
14072 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
14073 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
14074 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
14075 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
14077 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
14078 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
14079 about bounded pointers.
14080 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
14081 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
14082 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
14084 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
14085 about bounded pointers. Remove GKM FIXME comments.
14086 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
14087 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
14089 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
14090 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
14091 Remove GKM FIXME comments.
14092 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
14093 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
14094 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
14096 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
14097 about bounded pointers. Remove GKM FIXME comment.
14098 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
14100 (strncmp): Don't use BP_SYM. Remove comment about bounded
14102 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
14103 <bp-sym.h> and <bp-asm.h>.
14104 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
14105 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
14106 <bp-sym.h> and <bp-asm.h>.
14107 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
14110 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
14112 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
14115 2013-03-05 David S. Miller <davem@davemloft.net>
14117 * po/es.po: Update from translation team.
14119 2013-03-05 Andreas Jaeger <aj@suse.de>
14121 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
14122 <bits/mman-linux.h>.
14123 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
14125 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
14126 <bits/mman-linux.h> to end of file.
14127 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
14129 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
14130 <bits/mman-linux.h> to end of file.
14131 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
14133 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
14134 <bits/mman-linux.h> to end of file.
14136 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
14137 (MCL_CURRENT, MCL_FUTURE): Define here.
14139 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14142 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
14144 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
14146 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14148 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
14149 fourth parameter needed for rt_sigprocmask syscall.
14150 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
14151 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
14152 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
14153 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
14154 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
14155 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
14157 2013-03-04 Joseph Myers <joseph@codesourcery.com>
14160 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
14161 comment about bounded pointers.
14162 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
14163 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
14165 2013-03-04 Andreas Jaeger <aj@suse.de>
14167 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
14168 common definitions.
14170 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
14171 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
14172 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
14173 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
14174 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
14175 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
14177 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14180 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
14181 __ieee754_sqrl instead of __sqrl.
14183 2013-03-01 Joseph Myers <joseph@codesourcery.com>
14185 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
14186 * sysdeps/powerpc/fpu_control.h: ... here.
14187 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
14188 * sysdeps/powerpc/bits/fenvinline.h: ... here.
14189 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
14190 * sysdeps/powerpc/bits/mathinline.h: ... here.
14192 2013-03-01 Roland McGrath <roland@hack.frob.com>
14194 * elf/dl-hwcaps.c (_dl_important_hwcaps):
14195 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
14196 to just [NEED_DL_SYSINFO_DSO].
14197 * elf/dl-support.c: Likewise.
14198 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
14199 * elf/rtld.c (dl_main): Likewise.
14200 * elf/setup-vdso.h (setup_vdso): Likewise.
14201 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
14202 * sysdeps/unix/sysv/linux/dl-sysdep.c
14203 (_dl_discover_osversion): Likewise.
14205 2013-03-01 Carlos O'Donell <carlos@redhat.com>
14207 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
14208 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
14210 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
14212 * NEWS: Mention libm performance improvements and non-x86 PI
14215 * csu/libc-start.c (__pthread_initialize_minimal): Change
14216 function arguments.
14217 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
14219 2013-02-28 Joseph Myers <joseph@codesourcery.com>
14222 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
14223 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
14224 <bp-sym.h> and <bp-asm.h>.
14225 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
14226 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
14228 (memcpy): Don't use BP_SYM.
14229 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
14231 (__mpn_add_n): Don't use BP_SYM.
14232 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
14233 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
14235 (__mpn_addmul_1): Don't use BP_SYM.
14236 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
14237 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
14239 (_setjmp): Don't use BP_SYM.
14240 (__novmx_setjmp): Likewise.
14241 (__GI__setjmp): Likewise.
14242 (__vmx_setjmp): Likewise.
14243 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
14245 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
14246 (__bzero): Don't use BP_SYM.
14247 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
14248 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
14249 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
14250 <bp-sym.h> and <bp-asm.h>.
14251 (memcpy): Don't use BP_SYM.
14252 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
14253 <bp-sym.h> and <bp-asm.h>.
14254 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
14255 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
14256 <bp-sym.h> and <bp-asm.h>.
14257 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
14258 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
14260 (__mpn_lshift): Don't use BP_SYM.
14261 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
14262 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
14264 (memset): Don't use BP_SYM.
14265 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
14266 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
14267 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
14269 (__mpn_mul_1): Don't use BP_SYM.
14270 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
14271 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
14272 <bp-sym.h> and <bp-asm.h>.
14273 (memcmp): Don't use BP_SYM.
14274 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
14275 <bp-sym.h> and <bp-asm.h>.
14276 (memcpy): Don't use BP_SYM.
14277 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
14278 <bp-sym.h> and <bp-asm.h>.
14279 (memset): Don't use BP_SYM.
14280 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
14281 <bp-sym.h> and <bp-asm.h>.
14282 (strncmp): Don't use BP_SYM.
14283 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
14284 <bp-sym.h> and <bp-asm.h>.
14285 (memcpy): Don't use BP_SYM.
14286 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
14287 <bp-sym.h> and <bp-asm.h>.
14288 (memset): Don't use BP_SYM.
14289 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
14290 <bp-sym.h> and <bp-asm.h>.
14291 (__memchr): Don't use BP_SYM.
14292 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
14293 <bp-sym.h> and <bp-asm.h>.
14294 (memcmp): Don't use BP_SYM.
14295 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
14296 <bp-sym.h> and <bp-asm.h>.
14297 (memcpy): Don't use BP_SYM.
14298 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
14299 <bp-sym.h> and <bp-asm.h>.
14300 (__mempcpy): Don't use BP_SYM.
14301 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
14302 <bp-sym.h> and <bp-asm.h>.
14303 (__memrchr): Don't use BP_SYM.
14304 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
14305 <bp-sym.h> and <bp-asm.h>.
14306 (memset): Don't use BP_SYM.
14307 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
14308 <bp-sym.h> and <bp-asm.h>.
14309 (__rawmemchr): Don't use BP_SYM.
14310 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
14311 <bp-sym.h> and <bp-asm.h>.
14312 (__STRCMP): Don't use BP_SYM.
14313 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
14314 <bp-sym.h> and <bp-asm.h>.
14315 (strchr): Don't use BP_SYM.
14316 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
14317 <bp-sym.h> and <bp-asm.h>.
14318 (__strchrnul): Don't use BP_SYM.
14319 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
14320 <bp-sym.h> and <bp-asm.h>.
14321 (strlen): Don't use BP_SYM.
14322 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
14323 <bp-sym.h> and <bp-asm.h>.
14324 (strncmp): Don't use BP_SYM.
14325 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
14326 <bp-sym.h> and <bp-asm.h>.
14327 (__strnlen): Don't use BP_SYM.
14328 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
14330 (__mpn_rshift): Don't use BP_SYM.
14331 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
14332 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
14333 <bp-sym.h> and <bp-asm.h>.
14334 (__sigsetjmp): Don't use BP_SYM.
14335 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
14336 (L(start_addresses)): Don't use BP_SYM.
14337 (_start): Likewise.
14338 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
14340 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
14341 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
14342 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
14343 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
14345 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
14346 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
14347 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
14348 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
14350 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
14352 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
14353 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
14355 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
14357 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
14358 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
14359 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
14361 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
14363 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
14365 (strncmp): Don't use BP_SYM,
14366 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
14368 (__mpn_sub_n): Don't use BP_SYM.
14369 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
14370 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
14372 (__mpn_submul_1): Don't use BP_SYM.
14373 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
14374 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
14375 <bp-sym.h> and <bp-asm.h>.
14376 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
14377 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
14378 <bp-sym.h> and <bp-asm.h>.
14379 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
14382 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14384 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
14385 Use ZK to minimize writes to Z.
14386 (sub_magnitudes): Simplify code a bit.
14387 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
14388 Use ZK to minimize writes to Z.
14389 (sub_magnitudes): Simplify code a bit.
14391 2013-02-27 Roland McGrath <roland@hack.frob.com>
14393 * csu/gmon-start.c: Add special exception to license text.
14395 2013-02-27 Richard Henderson <rth@redhat.com>
14397 * scripts/config.guess: Update from config.git.
14398 * scripts/config.sub: Likewise.
14400 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
14402 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
14404 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
14406 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
14408 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
14410 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
14412 2013-02-26 Roland McGrath <roland@hack.frob.com>
14414 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
14415 [$(build-shared = yes].
14417 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
14419 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
14420 (__mul): Reduce iterations for calculating mantissa.
14422 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
14424 (__mpranred): Likewise.
14427 * malloc/memusagestat.c (main): Draw graphs for heap and stack
14428 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
14430 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
14432 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
14433 Define __attribute__.
14435 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
14437 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
14439 * posix/regex_internal.h (__attribute): Remove.
14440 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
14441 (re_string_context_at): Likewise.
14442 (bitset_not): Use __attribute__ and mark function as possibly
14444 (bitset_merge): Likewise.
14445 (bitset_mask): Likewise.
14446 (re_string_char_size_at): Likewise.
14447 (re_string_wchar_at): Likewise.
14448 (re_string_elem_size_at): Likewise.
14450 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
14452 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
14456 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
14460 (denorm): Likewise.
14461 (__dbl_mp): Likewise.
14462 (add_magnitudes): Likewise.
14463 (sub_magnitudes): Likewise.
14467 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
14470 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
14473 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
14476 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
14477 up changes with default code.
14478 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
14481 2013-02-24 Allan McRae <allan@archlinux.org>
14483 * manual/socket.texi (The Internet Namespace): Order menu items
14484 to match that in the file.
14486 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
14487 node listing of the info page menu.
14489 2013-02-21 Joseph Myers <joseph@codesourcery.com>
14492 * sysdeps/i386/bp-asm.h: Remove file.
14493 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
14494 (PARMS): Do not use macros from bp-asm.h.
14498 (__mpn_add_n): Do not use BP_SYM
14499 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
14501 (PARMS): Do not use macros from bp-asm.h.
14504 (__mpn_addmul_1): Do not use BP_SYM
14505 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
14507 (PARMS): Do not use macros from bp-asm.h.
14508 (SIGMSK): Likewise.
14509 (_setjmp): Likewise. Do not use BP_SYM.
14510 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
14512 (PARMS): Do not use macros from bp-asm.h.
14513 (SIGMSK): Likewise.
14514 (setjmp): Likewise. Do not use BP_SYM.
14515 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
14517 (PARMS): Do not use macros from bp-asm.h.
14518 (__frexp): Do not use BP_SYM.
14520 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
14522 (PARMS): Do not use macros from bp-asm.h.
14523 (__frexpf): Do not use BP_SYM.
14524 (frexpf): Likewise.
14525 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
14527 (PARMS): Do not use macros from bp-asm.h.
14528 (__frexpl): Do not use BP_SYM.
14529 (frexpl): Likewise.
14530 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
14532 (PARMS): Do not use macros from bp-asm.h.
14533 (__remquo): Do not use BP_SYM.
14534 (remquo): Likewise.
14535 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
14537 (PARMS): Do not use macros from bp-asm.h.
14538 (__remquof): Do not use BP_SYM.
14539 (remquof): Likewise.
14540 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
14542 (PARMS): Do not use macros from bp-asm.h.
14543 (__remquol): Do not use BP_SYM.
14544 (remquol): Likewise.
14545 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
14547 (PARMS): Do not use macros from bp-asm.h.
14550 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
14551 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
14553 (PARMS): Do not use macros from bp-asm.h.
14554 (strlen): Do not use BP_SYM.
14555 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
14557 (PARMS): Do not use macros from bp-asm.h.
14561 (__mpn_add_n): Do not use BP_SYM.
14562 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
14564 (PARMS): Do not use macros from bp-asm.h.
14567 (__mpn_addmul_1): Do not use BP_SYM.
14568 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
14571 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
14573 (PARMS): Do not use macros from bp-asm.h.
14576 (__mpn_lshift): Do not use BP_SYM.
14577 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
14579 (PARMS): Do not use macros from bp-asm.h.
14583 (memcpy): Likewise. Do not use BP_SYM.
14584 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
14585 libc_hidden_def and weak_alias.
14586 (mempcpy): Do not use BP_SYM in weak_alias.
14587 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
14589 (PARMS): Do not use macros from bp-asm.h.
14592 [!BZERO_P] (CHR): Likewise.
14593 (memset): Likewise. Do not use BP_SYM.
14594 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
14596 (PARMS): Do not use macros from bp-asm.h.
14599 (__mpn_mul_1): Do not use BP_SYM.
14600 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
14602 (PARMS): Do not use macros from bp-asm.h.
14605 (__mpn_rshift): Do not use BP_SYM.
14606 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
14608 (PARMS): Do not use macros from bp-asm.h.
14611 (strchr): Likewise. Do not use BP_SYM.
14612 (index): Do not use BP_SYM in weak_alias.
14613 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
14615 (PARMS): Do not use macros from bp-asm.h.
14618 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
14619 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
14621 (PARMS): Do not use macros from bp-asm.h.
14622 (strlen): Do not use BP_SYM.
14623 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
14625 (PARMS): Do not use macros from bp-asm.h.
14629 (__mpn_sub_n): Do not use BP_SYM.
14630 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
14632 (PARMS): Do not use macros from bp-asm.h.
14635 (__mpn_submul_1): Do not use BP_SYM.
14636 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
14638 (PARMS): Do not use macros from bp-asm.h.
14642 (__mpn_add_n): Do not use BP_SYM.
14643 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
14646 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
14648 (PARMS): Do not use macros from bp-asm.h.
14651 (memcmp): Do not use BP_SYM.
14652 (bcmp): Do not use BP_SYM in weak_alias.
14653 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
14655 (PARMS): Do not use macros from bp-asm.h.
14659 (memcpy): Likewise. Do not use BP_SYM.
14660 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
14662 (PARMS): Do not use macros from bp-asm.h.
14666 (memmove): Likewise. Do not use BP_SYM.
14667 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
14669 (PARMS): Do not use macros from bp-asm.h.
14673 (__mempcpy): Likewise. Do not use BP_SYM.
14674 (mempcpy): Do not use BP_SYM in weak_alias.
14675 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
14677 (PARMS): Do not use macros from bp-asm.h.
14680 [!BZERO_P] (CHR): Likewise.
14681 (memset): Likewise. Do not use BP_SYM.
14682 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
14684 (PARMS): Do not use macros from bp-asm.h.
14686 (strcmp): Do not use BP_SYM.
14687 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
14689 (PARMS): Do not use macros from bp-asm.h.
14692 [USE_AS_STRTOK_R] (SAVE): Likewise.
14693 (FUNCTION): Likewise. Do not use BP_SYM.
14694 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
14696 (strtok_r): Likewise.
14697 (__GI___strtok_r): Likewise.
14698 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
14699 (PARMS): Do not use macros from bp-asm.h.
14702 (__mpn_lshift): Do not use BP_SYM.
14703 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
14704 (PARMS): Do not use macros from bp-asm.h.
14707 (__memchr): Do not use BP_SYM.
14708 (memchr): Do not use BP_SYM in weak_alias.
14709 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
14710 (PARMS): Do not use macros from bp-asm.h.
14713 (memcmp): Do not use BP_SYM.
14714 (bcmp): Do not use BP_SYM in weak_alias.
14715 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
14716 (PARMS): Do not use macros from bp-asm.h.
14719 (__mpn_mul_1): Do not use BP_SYM.
14720 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
14722 (PARMS): Do not use macros from bp-asm.h.
14725 (__rawmemchr): Do not use BP_SYM.
14726 (rawmemchr): Do not use BP_SYM in weak_alias.
14727 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
14728 (PARMS): Do not use macros from bp-asm.h.
14731 (__mpn_rshift): Do not use BP_SYM.
14732 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
14733 (PARMS): Do not use macros from bp-asm.h.
14734 (SIGMSK): Likewise.
14735 (__sigsetjmp): Likewise. Do not use BP_SYM.
14736 * sysdeps/i386/start.S: Do not include "bp-sym.h".
14737 (_start): Do not use BP_SYM.
14738 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
14739 (PARMS): Do not use macros from bp-asm.h.
14742 (__stpcpy): Likewise. Do not use BP_SYM.
14743 (stpcpy): Do not use BP_SYM in weak_alias.
14744 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
14746 (PARMS): Do not use macros from bp-asm.h.
14750 (__stpncpy): Likewise. Do not use BP_SYM.
14751 (stpncpy): Do not use BP_SYM in weak_alias.
14752 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
14753 (PARMS): Do not use macros from bp-asm.h.
14756 (strchr): Likewise. Do not use BP_SYM.
14757 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
14759 (PARMS): Do not use macros from bp-asm.h.
14762 (__strchrnul): Likewise. Do not use BP_SYM.
14763 (strchrnul): Do not use BP_SYM in weak_alias.
14764 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
14766 (PARMS): Do not use macros from bp-asm.h.
14768 (strcspn): Do not use BP_SYM.
14769 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
14771 (PARMS): Do not use macros from bp-asm.h.
14774 (strpbrk): Likewise. Do not use BP_SYM.
14775 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
14777 (PARMS): Do not use macros from bp-asm.h.
14780 (strrchr): Likewise. Do not use BP_SYM.
14781 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
14782 (PARMS): Do not use macros from bp-asm.h.
14784 (strspn): Do not use BP_SYM.
14785 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
14786 (PARMS): Do not use macros from bp-asm.h.
14790 (FUNCTION): Likewise. Do not use BP_SYM.
14791 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
14793 (strtok_r): Likewise.
14794 (__GI___strtok_r): Likewise.
14795 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
14796 (PARMS): Do not use macros from bp-asm.h.
14800 (__mpn_sub_n): Do not use BP_SYM.
14801 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
14803 (PARMS): Do not use macros from bp-asm.h.
14806 (__mpn_submul_1): Do not use BP_SYM.
14807 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
14809 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
14811 (PARMS): Do not use macros from bp-asm.h.
14816 (__clone): Do not use BP_SYM.
14817 (clone): Do not use BP_SYM in weak_alias.
14818 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
14820 (PARMS): Do not use macros from bp-asm.h.
14822 (__mmap64): Do not use BP_SYM.
14823 (mmap64): Do not use BP_SYM in weak_alias.
14824 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
14825 <bp-sym.h> and <bp-asm.h>.
14826 (PARMS): Do not use macros from bp-asm.h.
14827 (__posix_fadvise64_l64): Do not use BP_SYM.
14828 * sysdeps/unix/sysv/linux/i386/semtimedop.S
14829 (PARMS): Do not use macros from bp-asm.h.
14831 (semtimedop): Do not use BP_SYM.
14832 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
14835 2013-02-21 Allan McRae <allan@archlinux.org>
14837 * manual/message.texi (Charset conversion in gettext):
14838 Move @end statement to beginning of line.
14840 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
14842 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
14844 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
14847 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
14848 (denorm): Likewise.
14849 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
14850 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
14852 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14854 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
14855 tail-call to the resolved function if pltexit isn't needed.
14857 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
14859 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
14860 or Y being zero as being unlikely.
14861 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
14864 2013-02-20 Carlos O'Donell <carlos@redhat.com>
14866 * manual/nss.texi (System Databases and Name Service Switch):
14867 Remove frobnicate @pxref.
14869 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
14871 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
14872 __attribute__ ((unused)) to __attribute__ ((__unused__)).
14874 2013-02-20 Petr Machata <pmachata@redhat.com>
14876 * elf/elf.h (R_ARM_TARGET1): New macro.
14877 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
14878 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
14879 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
14880 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
14881 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
14882 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
14883 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
14884 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
14885 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
14886 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
14887 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
14888 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
14889 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
14890 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
14891 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
14892 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
14893 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
14894 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
14895 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
14896 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
14897 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
14898 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
14899 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
14900 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
14901 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
14902 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
14903 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
14904 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
14905 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
14906 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
14907 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
14908 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
14909 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
14910 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
14911 (R_ARM_THM_GOT_BREL12): Likewise.
14912 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
14913 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
14914 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
14915 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
14916 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
14917 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
14918 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
14919 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
14920 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
14922 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
14924 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
14925 __attribute_used__ to __attribute__ ((unused)).
14927 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
14929 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
14931 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
14932 comment formatting.
14933 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
14935 2013-02-19 Joseph Myers <joseph@codesourcery.com>
14938 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
14940 (ENTER): Remove both macro definitions.
14942 (CHECK_BOUNDS_LOW): Likewise.
14943 (CHECK_BOUNDS_HIGH): Likewise.
14944 (CHECK_BOUNDS_BOTH): Likewise.
14945 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
14946 (RETURN_BOUNDED_POINTER): Likewise.
14947 (RETURN_NULL_BOUNDED_POINTER): Likewise.
14948 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
14949 (POP_ERRNO_LOCATION_RETURN): Likewise.
14950 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
14951 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
14952 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
14954 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
14955 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
14956 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
14957 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
14958 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
14959 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
14960 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
14961 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
14962 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
14963 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
14964 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
14965 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
14966 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
14967 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
14969 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
14970 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
14972 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
14973 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
14974 * sysdeps/i386/i586/memset.S (memset): Likewise.
14975 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
14976 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
14977 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
14979 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
14980 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
14981 Change uses of L(2) to L(out).
14982 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
14983 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
14984 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
14985 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
14986 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
14988 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
14989 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
14991 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
14992 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
14993 (RETURN): Do not use macro LEAVE.
14994 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
14995 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
14996 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
14997 * sysdeps/i386/i686/memset.S (memset): Likewise.
14998 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
14999 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
15000 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
15001 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
15003 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
15004 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
15005 L(1_2) and L(1_3) into L(1).
15006 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
15007 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
15008 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
15009 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
15010 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
15011 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
15012 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
15013 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
15014 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
15016 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
15017 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
15018 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
15019 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
15020 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
15021 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
15022 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
15023 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
15024 * sysdeps/i386/strcspn.S (strcspn): Likewise.
15025 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
15026 * sysdeps/i386/strrchr.S (strrchr): Likewise.
15027 * sysdeps/i386/strspn.S (strspn): Likewise.
15028 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
15030 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
15031 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
15032 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
15033 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
15034 L(1_3) into L(1_1).
15035 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
15036 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
15037 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
15039 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
15041 2013-02-19 Jakub Jelinek <jakub@redhat.com>
15043 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
15046 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
15048 * math/atest-exp.c (exp_mpn): Remove ROUND.
15049 * math/atest-exp2.c (exp_mpn): Likewise.
15050 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
15052 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
15053 * stdlib/tst-tls-atexit-lib.c: Likewise.
15054 * stdlib/tst-tls-atexit.c: Likewise.
15056 2013-02-18 Mike Frysinger <vapier@gentoo.org>
15058 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
15059 and __attribute_alloc_size__.
15061 2013-02-18 Mike Frysinger <vapier@gentoo.org>
15063 * include/programs/xmalloc.h: Change __attribute_alloc_size to
15064 __attribute_alloc_size__.
15065 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
15066 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
15068 2013-02-18 Mike Frysinger <vapier@gentoo.org>
15070 * include/programs/xmalloc.h: New file.
15071 * catgets/gencat.c: Include it.
15072 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
15073 * elf/pldd.c: Likewise.
15074 * iconv/iconv_charmap.c: Likewise.
15075 * iconv/iconvconfig.c: Likewise.
15076 * iconv/strtab.c: Likewise.
15077 * locale/programs/locale.c: Likewise.
15078 * locale/programs/localedef.h: Likewise.
15079 * locale/programs/simple-hash.c: Likewise.
15080 * nscd/nscd.h: Likewise.
15081 * nss/makedb.c: Likewise.
15082 * sysdeps/generic/ldconfig.h: Likewise.
15084 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
15086 * Versions.def: Add GLIBC_2.18.
15087 * include/link.h (struct link_map): New member l_tls_dtor_count.
15088 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
15089 (__call_tls_dtors): Likewise.
15090 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
15091 __cxa_thread_atexit_impl.
15092 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
15094 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
15096 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
15098 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
15100 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
15101 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
15103 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
15105 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
15106 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
15108 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
15109 (tests): Add test case tst-tls-atexit.
15110 (modules-names): Add shared library for tst-tls-atexit.
15111 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
15112 (GLIBC_PRIVATE): Add __call_tls_dtors.
15113 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
15115 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
15116 * stdlib/tst-tls-atexit.c: New test case.
15117 * stdlib/tst-tls-atexit-lib.c: New test case.
15119 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
15121 * elf/Versions (ld): Add _dl_find_dso_for_object.
15122 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
15123 * elf/dl-open.c (_dl_find_dso_for_object): New function.
15124 (dl_open_worker): Use _dl_find_dso_for_object.
15125 * elf/dl-sym.c (do_sym): Likewise.
15126 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
15128 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15130 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
15131 Syntactic changes only.
15132 (_dl_runtime_profile): Do a tail-call to the resolved function.
15134 2013-02-17 Joseph Myers <joseph@codesourcery.com>
15137 * sysdeps/x86_64/bp-asm.h: Remove file.
15138 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
15139 <bp-sym.h> and <bp-asm.h>.
15140 (__clone): Do not use BP_SYM.
15141 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
15142 <bp-sym.h> and <bp-asm.h>.
15143 * sysdeps/unix/x86_64/sysdep.S: Likewise.
15144 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
15146 (_setjmp): Do not use BP_SYM.
15147 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
15149 (setjmp): Do not use BP_SYM.
15150 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
15152 (mempcpy): Do not use BP_SYM in weak_alias.
15153 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
15155 (strchr): Do not use BP_SYM.
15156 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
15158 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
15159 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
15160 (_start): Do not use BP_SYM.
15161 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
15163 (strcat): Do not use BP_SYM.
15164 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
15166 (STRCMP): Do not use BP_SYM.
15167 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
15169 (STRCPY): Do not use BP_SYM.
15170 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
15172 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
15174 (FUNCTION): Do not use BP_SYM.
15175 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
15177 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
15179 2013-02-17 Andreas Jaeger <aj@suse.de>
15181 * time/Versions: Sort entries.
15182 * string/Versions: Likewise.
15183 * resolv/Versions: Likewise.
15184 * posix/Versions: Likewise.
15185 * iconv/Versions: Likewise.
15186 * elf/Versions: Likewise.
15187 * wcsmbs/Versions: Likewise.
15189 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15191 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
15192 loop termination condition.
15194 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
15195 variable to calculate EZ.
15198 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
15199 the lower precision input.
15201 2013-02-15 Joseph Myers <joseph@codesourcery.com>
15204 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
15205 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
15206 (run-via-rtld-prefix): Do not handle %-bp tests.
15207 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
15208 (all-object-suffixes): Remove .ob.
15209 (bppfx): Remove variable.
15210 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
15211 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
15212 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
15213 [$(build-bounded) = yes] (libtype.ob): Likewise.
15214 * Makerules (elide-routines.ob): Remove variable.
15215 (do-tests-clean): Do not handle *-bp.out.
15216 (common-mostlyclean): Do not handle *-bp and *-bp.out.
15217 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
15218 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
15219 (tests): Do not include $(tests-bp.out).
15220 (xtests): Do not include $(xtests-bp.out).
15221 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
15222 [$(build-bounded) = yes] ($(addprefix
15223 $(objpfx),$(binaries-bounded))): Remove rule.
15224 ($(objpfx)%-bp.out): Remove rule.
15225 * config.make.in (build-bounded): Remove variable.
15226 * crypt/Makefile [$(build-bounded) = yes]
15227 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
15228 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
15229 append to variable.
15230 [$(build-bounded) = yes] (install-lib): Likewise.
15231 [$(build-bounded) = yes] (generated): Likewise.
15232 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
15234 * intl/Makefile [$(build-bounded) = yes]
15235 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
15236 * math/Makefile [$(build-bounded) = yes]
15237 ($(tests:%=$(objpfx)%-bp): Likewise.
15238 * misc/Makefile [$(build-bounded) = yes]
15239 ($(objpfx)tst-tsearch-bp): Likewise.
15240 * nptl/Makeconfig (bounded-thread-library): Remove variable.
15241 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
15243 * string/Makefile (o-objects.ob): Remove variable.
15244 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
15245 (CFLAGS-.ob): Remove variable.
15246 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
15247 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
15248 both definitions of variable.
15249 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
15250 (ASFLAGS-.ob): Remove variable.
15252 2013-02-14 Joseph Myers <joseph@codesourcery.com>
15255 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
15256 Remove __BOUNDED_POINTERS__ from condition.
15257 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
15258 * string/bits/string2.h [!__NO_STRING_INLINES &&
15259 !__BOUNDED_POINTERS__]: Likewise.
15260 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
15262 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
15263 Remove conditional code.
15264 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
15265 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
15266 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
15270 * csu/libc-start.c: Do not include <bp-sym.h>.
15271 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
15272 * elf/dl-open.c: Do not include <bp-sym.h>.
15273 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
15274 * math/fegetenv.c: Do not include <bp-sym.h>.
15275 (fegetenv): Do not use BP_SYM in versioned symbols.
15276 * nptl/sysdeps/pthread/bits/libc-lockP.h
15277 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
15279 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15280 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
15281 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15282 (__pthread_mutex_destroy): Likewise.
15283 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15284 (__pthread_mutex_lock): Likewise.
15285 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15286 (__pthread_mutex_trylock): Likewise.
15287 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15288 (__pthread_mutex_unlock): Likewise.
15289 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15290 (__pthread_mutexattr_init): Likewise.
15291 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15292 (__pthread_mutexattr_destroy): Likewise.
15293 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15294 (__pthread_mutexattr_settype): Likewise.
15295 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15296 (__pthread_rwlock_init): Likewise.
15297 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15298 (__pthread_rwlock_destroy): Likewise.
15299 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15300 (__pthread_rwlock_rdlock): Likewise.
15301 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15302 (__pthread_rwlock_tryrdlock): Likewise.
15303 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15304 (__pthread_rwlock_wrlock): Likewise.
15305 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15306 (__pthread_rwlock_trywrlock): Likewise.
15307 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15308 (__pthread_rwlock_unlock): Likewise.
15309 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15310 (__pthread_key_create): Likewise.
15311 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15312 (__pthread_setspecific): Likewise.
15313 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15314 (__pthread_getspecific): Likewise.
15315 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
15317 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15318 (_pthread_cleanup_push_defer): Likewise.
15319 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15320 (_pthread_cleanup_pop_restore): Likewise.
15321 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15322 (pthread_setcancelstate): Likewise.
15323 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
15325 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
15326 (memchr): Do not use BP_SYM in weak_alias.
15327 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
15328 (fegetenv): Do not use BP_SYM in versioned symbols.
15329 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
15330 (fesetenv): Do not use BP_SYM in versioned symbols.
15331 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
15332 (feupdateenv): Do not use BP_SYM in versioned symbols.
15333 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
15334 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
15335 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
15336 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
15337 (open64): Do not use BP_SYM in weak_alias.
15338 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
15339 (fegetenv): Do not use BP_SYM in versioned symbols.
15340 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
15341 (fesetenv): Do not use BP_SYM in versioned symbols.
15342 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
15343 (feupdateenv): Do not use BP_SYM in versioned symbols.
15344 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
15345 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
15346 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
15347 (feraiseexcept): Do not use BP_SYM in versioned symbols.
15348 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
15349 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
15350 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
15352 (__libc_start_main): Do not use BP_SYM.
15354 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
15356 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
15357 redundant return line.
15359 (denorm): Likewise.
15360 (dbl_mp): Likewise.
15361 (sub_magnitudes): Likewise.
15367 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
15369 (denorm): Likewise.
15370 (dbl_mp): Likewise.
15371 (sub_magnitudes): Likewise.
15378 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
15380 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
15381 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
15384 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
15385 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
15386 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
15387 of __mul for squares.
15388 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
15390 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
15392 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
15393 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
15395 2013-02-13 Joseph Myers <joseph@codesourcery.com>
15398 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
15400 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
15401 prototype or function definition. Rename ubp_* variables and
15402 parameters. Remove argv definitions conditional on
15403 [__BOUNDED_POINTERS__].
15404 * debug/backtrace.c (__backtrace): Do not use __unbounded.
15405 * elf/dl-runtime.c (_dl_fixup): Likewise.
15406 * include/set-hooks.h (RUN_HOOK): Likewise.
15407 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
15409 * string/strcpy.c (strcpy): Do not use __unbounded.
15410 * sysdeps/generic/frame.h (struct layout): Likewise.
15411 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
15412 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
15413 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
15414 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
15415 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
15416 (__backtrace): Likewise.
15417 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
15419 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
15420 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
15421 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
15423 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
15424 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
15425 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
15426 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
15427 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
15428 Do not use __unbounded.
15429 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
15430 Rename __unboundedrlimits parameter to rlimits in prototype.
15431 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
15432 Do not use __unbounded.
15433 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
15434 not use __ptrvalue.
15435 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
15436 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
15437 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
15438 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
15439 __ptrvalue or __unbounded.
15440 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
15441 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
15443 (__new_msgctl): Do not use __ptrvalue.
15444 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
15446 (__libc_msgrcv): Do not use __ptrvalue.
15447 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
15448 startup_info): Do not use __unbounded.
15449 (__libc_start_main): Likewise. Rename ubp_* variables and
15450 parameters. Remove argv definitions conditional on
15451 [__BOUNDED_POINTERS__].
15452 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
15454 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
15456 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
15458 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
15460 (__new_shmctl): Do not use __ptrvalue.
15461 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
15462 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
15464 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
15465 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
15466 (__libc_sigaction): Likewise.
15467 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
15468 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
15470 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
15472 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
15474 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
15476 * string/mempcpy.c: Implement by calling memcpy.
15478 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
15480 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
15482 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
15485 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
15486 values in the mantissa.
15488 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
15489 minimize writes to Z.
15490 (sub_magnitudes): Simplify code a bit.
15492 2013-02-12 Roland McGrath <roland@hack.frob.com>
15494 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
15495 from the message. The linker prefixes all warnings with that already.
15497 2013-02-12 Andreas Schwab <schwab@suse.de>
15500 * posix/regexec.c (extend_buffers): Add parameter min_len.
15501 (check_matching): Pass minimum needed length.
15502 (clean_state_log_if_needed): Likewise.
15503 (get_subexp): Likewise.
15504 * posix/Makefile (tests): Add bug-regex34.
15505 (bug-regex34-ENV): Define.
15506 * posix/bug-regex34.c: New file.
15509 * posix/regcomp.c (parse_bracket_exp): When looking up collating
15510 elements compare against the byte sequence of it, not its name.
15511 * posix/Makefile (tests): Add bug-regex35.
15512 (bug-regex35-ENV): Define.
15513 * posix/bug-regex35.c: New file.
15515 2013-02-11 Tom de Vries <tom@codesourcery.com>
15517 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
15519 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
15520 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
15521 (CHECK_EOL): Add undef.
15523 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
15525 * bits/stdlib-bsearch.h: New file.
15526 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
15527 * stdlib/stdlib.h: Likewise.
15529 2013-02-11 Roland McGrath <roland@hack.frob.com>
15531 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
15532 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
15534 * manual/search.texi (Array Search Function): Add missing const in
15536 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
15537 declaration to use rlim_t.
15538 (Basic Scheduling Functions): Remove erroneous const from
15539 sched_getparam prototype. Remove erroneous * from
15540 sched_get_priority_max and sched_get_priority_min prototypes.
15541 (Resource Usage): Fix summary @comment on vtimes to refer to
15542 sys/vtimes.h rather than vtimes.h.
15543 Add missing *s in vtimes prototype.
15544 (Limits on Resources): Fix ulimit prototype to return long int.
15545 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
15546 prototypes to use long int rather than double.
15547 (BSD Random): Fix initstate and setstate to use char *, not void *.
15548 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
15549 prototype to make second argument 'struct aiocb64 *const[]'.
15550 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
15551 (Status of AIO Operations): Remove erroneous const in aio_return and
15552 aio_return64 prototypes.
15553 (Synchronizing I/O): Fix sync prototype to return void.
15554 * manual/startup.texi (Suboptions): Remove an erroneous const in
15555 getsubopt prototype.
15556 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
15557 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
15558 use size_t rather than int.
15559 (Scanning All Users): Likewise for getpwent_r.
15560 (Setting Groups): Add missing const to setgroups prototype.
15561 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
15562 * manual/socket.texi (Host Names): Fix gethostbyaddr and
15563 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
15564 'const void *' rather than 'const char *'.
15565 (Host Address Functions): Likewise for inet_ntop.
15566 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
15567 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
15568 ssize_t for return value.
15569 (Sending Data): Likewise for send, sendto, sendmsg.
15570 (Socket Option Functions): Add a missing const in setsockopt prototype.
15571 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
15572 use wchar_t for the argument.
15573 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
15574 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
15576 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
15577 double/float/long double for second argument.
15578 Fix return types of significand, significandf, significandl.
15579 * manual/filesys.texi (Setting Permissions): Use mode_t for second
15580 argument in fchmod prototype.
15581 (File Owner): Use uid_t and gid_t in fchown prototype.
15582 (File Times): Add const to utimes, futimes, and lutimes prototypes.
15583 (Making Special Files): Use mode_t and dev_t in mknod prototype.
15584 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
15585 use 'const struct dirent **' as argument types to CMP function pointer
15587 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
15588 (File Times): Fix summary magic @comment for struct utimbuf and utime
15589 to refer to utime.h, not time.h.
15590 * manual/string.texi (Argz Functions): Add missing const in
15591 argz_extract and argz_next prototypes.
15592 (Finding Tokens in a String): Likewise for basename.
15593 (String/Array Comparison): Fix typo in wcscasecmp prototype.
15594 (Copying and Concatenation): Fix typo in wmemmove prototype.
15595 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
15596 (Signal Stack): Remove erroneous const in sigstack prototype.
15597 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
15599 (Simple Calendar Time): Likewise for stime.
15600 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
15602 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
15603 say sys/sysctl.h instead.
15604 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
15605 and vsyslog prototypes.
15607 2013-02-11 Tom de Vries <tom@codesourcery.com>
15609 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
15612 2013-02-11 Roland McGrath <roland@hack.frob.com>
15614 * misc/sys/mman.h: Fix typo in mremap comment.
15616 2013-02-08 Roland McGrath <roland@hack.frob.com>
15618 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
15619 the '\0' terminator.
15621 2013-02-08 Joseph Myers <joseph@codesourcery.com>
15624 * debug/segfault.c: Don't include <bp-checks.h>.
15625 * sysdeps/generic/bp-checks.h: Remove file.
15626 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
15627 (__GETDENTS): Don't use CHECK_N.
15628 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
15629 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
15630 (__getgroups): Don't use CHECK_N.
15631 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
15632 (setgroups): Don't use CHECK_N.
15633 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
15634 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
15635 (__libc_msgrcv): Don't use CHECK_N.
15636 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
15637 (__libc_msgsnd): Don't use CHECK_N.
15638 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
15640 (__libc_pread): Don't use CHECK_N.
15641 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
15642 include <bp-checks.h>.
15643 (__libc_pread64): Don't use CHECK_N.
15644 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
15645 include <bp-checks.h>.
15646 (__libc_pwrite): Don't use CHECK_N.
15647 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
15648 include <bp-checks.h>.
15649 (__libc_pwrite64): Don't use CHECK_N.
15650 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
15652 (__libc_pread): Don't use CHECK_N.
15653 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
15654 include <bp-checks.h>.
15655 (__libc_pread64): Don't use CHECK_N.
15656 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
15657 include <bp-checks.h>.
15658 (__libc_pwrite): Don't use CHECK_N.
15659 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
15660 include <bp-checks.h>.
15661 (__libc_pwrite64): Don't use CHECK_N.
15662 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
15663 (do_pread): Don't use CHECK_N.
15664 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
15665 (do_pread64): Don't use CHECK_N.
15666 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
15667 (do_pwrite): Don't use CHECK_N.
15668 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
15669 (do_pwrite64): Don't use CHECK_N.
15670 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
15671 (__libc_readv): Don't use CHECK_N.
15672 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
15673 (semop): Don't use CHECK_N.
15674 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
15676 (semtimedop): Don't use CHECK_N.
15677 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
15678 (__libc_pread): Don't use CHECK_N.
15679 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
15681 (__libc_pread64): Don't use CHECK_N.
15682 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
15684 (__libc_pwrite): Don't use CHECK_N.
15685 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
15687 (__libc_pwrite64): Don't use CHECK_N.
15688 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
15690 (__libc_msgrcv): Don't use CHECK_N.
15691 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
15692 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
15693 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
15694 (__libc_writev): Don't use CHECK_N.
15696 2013-02-08 Roland McGrath <roland@hack.frob.com>
15698 * string/strcpy.c: Removed unused variable.
15700 * Makeconfig (+sysdep-includes): Define with := rather than =.
15701 Use an existing include/ subdir of each sysdeps dir before it.
15703 2013-02-08 Carlos O'Donell <carlos@redhat.com>
15705 * nscd/connection.c (register_traced_file): Comment function.
15706 [HAVE_INOTIFY] (union __inev): Define.
15707 [HAVE_INOTIFY] (inotify_check_files): New function.
15708 [HAVE_INOTIFY] (clear_db_cache): Likewise.
15709 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
15711 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
15713 2013-02-08 Carlos O'Donell <carlos@redhat.com>
15715 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
15716 loaded if not already and that a failure is permanent.
15718 2013-02-08 Carlos O'Donell <carlos@redhat.com>
15721 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
15722 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
15724 2013-02-08 Joseph Myers <joseph@codesourcery.com>
15727 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
15728 (CHECK_1_NULL_OK): Likewise.
15729 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
15730 (__fxstat): Do not use CHECK_1.
15731 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
15733 (___fxstat64): Do not use CHECK_1.
15734 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
15736 (__fxstatat): Do not use CHECK_1.
15737 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
15739 (__fxstatat64): Do not use CHECK_1.
15740 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
15742 (__fxstat): Do not use CHECK_1.
15743 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
15745 (__fxstatat): Do not use CHECK_1.
15746 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
15748 (__getresgid): Do not use CHECK_1.
15749 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
15751 (__getresuid): Do not use CHECK_1.
15752 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
15754 (__lxstat): Do not use CHECK_1.
15755 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
15757 (__old_msgctl): Do not use CHECK_1.
15758 (__new_msgctl): Likewise.
15759 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
15761 (__new_setrlimit): Do not use CHECK_1.
15762 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
15764 (__old_shmctl): Do not use CHECK_1.
15765 (__new_shmctl): Likewise.
15766 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
15768 (__xstat): Do not use CHECK_1.
15769 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
15770 (__lxstat): Do not use CHECK_1.
15771 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
15773 (___lxstat64): Do not use CHECK_1.
15774 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
15775 (__old_msgctl): Do not use CHECK_1.
15776 (__new_msgctl): Likewise.
15777 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
15779 (__gettimeofday): Do not use CHECK_1.
15780 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
15781 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
15782 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
15784 (__gettimeofday): Do not use CHECK_1.
15785 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
15786 (__old_shmctl): Do not use CHECK_1_NULL_OK.
15787 (__new_shmctl): Do not use CHECK_1.
15788 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
15790 (do_sigtimedwait): Do not use CHECK_1.
15791 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
15793 (do_sigwaitinfo): Do not use CHECK_1.
15794 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
15796 (msgctl): Do not use CHECK_1.
15797 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
15799 (shmctl): Do not use CHECK_1.
15800 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
15801 (ustat): Do not use CHECK_1.
15802 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
15804 (__fxstat): Do not use CHECK_1.
15805 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
15807 (__fxstatat): Do not use CHECK_1.
15808 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
15810 (__lxstat): Do not use CHECK_1.
15811 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
15813 (__xstat): Do not use CHECK_1.
15814 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
15815 (__xstat): Do not use CHECK_1.
15816 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
15817 (___xstat64): Do not use CHECK_1.
15820 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
15822 (CHECK_BOUNDS_HIGH): Likewise.
15823 * string/strcpy.c: Do not include <bp-checks.h>.
15824 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
15826 2013-02-07 Roland McGrath <roland@hack.frob.com>
15828 * nscd/nscd-client.h (__nscd_drop_map_ref):
15829 Add __attribute__ ((unused)).
15830 * nis/nss-nisplus.h (niserr2nss): Likewise.
15832 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
15833 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
15835 * csu/libc-tls.c (init_static_tls, init_slotinfo):
15836 Remove inline keyword.
15837 * include/rounding-mode.h (round_away): Likewise.
15838 * libio/wfileops.c (adjust_wide_data): Likewise.
15839 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
15840 (__m128i_strloadu_tolower): Likewise.
15841 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
15842 (__m128i_strloadu_tolower): Likewise.
15843 * time/mktime.c (ydhms_diff): Likewise.
15844 * locale/elem-hash.h (elem_hash): Likewise.
15845 * locale/setlocale.c (setdata): Likewise.
15846 * posix/regex_internal.h (re_string_char_size_at): Likewise.
15847 (re_string_wchar_at): Likewise.
15848 (bitset_not, bitset_merge, bitset_mask): Likewise.
15849 [!(__GNUC__ > 3)] (inline): Remove macro.
15850 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
15851 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
15852 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
15853 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
15854 * string/memcmp.c (memcmp_bytes): Likewise.
15855 * locale/programs/locarchive.c (compute_hashval): Likewise.
15856 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
15857 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
15858 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
15859 * nss/getent.c (print_rpc, print_protocols): Likewise.
15860 (print_passwd, print_group, print_aliases): Likewise.
15861 * nis/nss-nisplus.h (niserr2nss): Likewise.
15862 * nscd/connections.c (restart_p): Likewise.
15863 Change return type to bool.
15865 2013-02-05 Roland McGrath <roland@hack.frob.com>
15867 * Makeconfig (all-Depend-files): Add existing
15868 $(sorted-subdirs:=/Depend) files.
15869 (all-subdirs): Remove nss.
15870 * sysdeps/unix/inet/Subdirs: Add it here instead.
15871 * hesiod/Depend: New file.
15873 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
15874 instead of calling alloca.
15876 * io/lseek.c (__lseek): Rename to __libc_lseek.
15877 Define __lseek as an alias.
15879 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
15881 2013-02-04 Carlos O'Donell <carlos@redhat.com>
15883 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
15884 else clause and remove check for non-standard endianness.
15886 2013-02-04 David S. Miller <davem@davemloft.net>
15888 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15890 2013-02-04 Joseph Myers <joseph@codesourcery.com>
15893 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
15894 (__ubp_memchr): Remove prototype.
15895 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
15896 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
15897 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
15898 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
15899 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
15901 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
15902 (__ubp_memchr): Likewise.
15903 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
15904 (__ubp_memchr): Likewise.
15905 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
15906 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
15907 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
15908 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
15910 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
15911 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
15912 (__getcwd): Do not use CHECK_STRING.
15913 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
15915 (__real_chown): Do not use CHECK_STRING.
15916 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
15918 (fchownat): Do not use CHECK_STRING.
15919 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
15921 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
15923 (__lchown): Do not use CHECK_STRING.
15924 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
15925 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
15926 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
15927 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
15928 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
15929 include <bp-checks.h>.
15930 (truncate64): Do not use CHECK_STRING.
15931 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
15933 (__real_chown): Do not use CHECK_STRING.
15934 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
15936 (__lchown): Do not use CHECK_STRING.
15937 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
15939 (__chown): Do not use CHECK_STRING.
15940 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
15942 (truncate64): Do not use CHECK_STRING.
15943 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
15945 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
15946 (__xmknod): Do not use CHECK_STRING.
15947 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
15949 (__xmknodat): Do not use CHECK_STRING.
15950 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
15951 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
15953 2013-02-04 Andreas Schwab <schwab@suse.de>
15956 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
15957 * include/netdb.h: Likewise for h_errno.
15958 * elf/tst-stackguard1.c: Include <tls.h>.
15960 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
15962 * elf/link.h (struct link_map): Extend the l_addr comment.
15963 * include/link.h (struct link_map): Likewise.
15965 2013-02-01 Joseph Myers <joseph@codesourcery.com>
15968 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
15969 (BOUNDED_1): Remove macro.
15970 * debug/backtrace.c: Don't include <bp-checks.h>.
15971 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
15972 (__backtrace): Likewise.
15973 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
15975 (__backtrace): Don't use BOUNDED_1.
15976 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
15978 (__backtrace): Don't use BOUNDED_1.
15979 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
15980 (__backtrace): Don't use BOUNDED_1.
15981 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
15982 (shmat): Don't use BOUNDED_N.
15984 2013-01-31 Joseph Myers <joseph@codesourcery.com>
15987 * sysdeps/generic/bp-start.h: Remove file.
15988 * csu/libc-start.c: Don't include <bp-start.h>.
15989 (LIBC_START_MAIN): Set up __environ directly instead of using
15990 INIT_ARGV_and_ENVIRON.
15991 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
15995 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
15997 (CHECK_FCNTL): Likewise.
15998 (CHECK_N_PAGES): Likewise.
16001 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
16003 (CHECK_SIGSET_NULL_OK): Likewise.
16004 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
16006 (sigpending): Don't use CHECK_SIGSET.
16007 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
16009 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
16010 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
16012 (do_sigsuspend): Don't use CHECK_SIGSET.
16013 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
16015 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
16016 (do_sigwait): Don't use CHECK_SIGSET.
16017 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
16019 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
16020 include <bp-checks.h>.
16021 (sigpending): Don't use CHECK_SIGSET.
16022 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
16023 include <bp-checks.h>.
16024 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
16025 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
16027 (sigpending): Don't use CHECK_SIGSET.
16028 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
16030 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
16033 * sysdeps/generic/bp-semctl.h: Remove file.
16034 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
16035 <bp-checks.h> and <bp-semctl.h>.
16036 (__old_semctl): Don't use CHECK_SEMCTL.
16037 (__new_semctl): Likewise.
16038 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
16040 (__old_semctl): Don't use CHECK_SEMCTL.
16041 (__new_semctl): Likewise.
16042 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
16043 <bp-checks.h> and <bp-semctl.h>.
16044 (__old_semctl): Don't use CHECK_SEMCTL.
16045 (__new_semctl): Likewise.
16046 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
16047 <bp-checks.h> and <bp-semctl.h>.
16048 (semctl): Don't use CHECK_SEMCTL.
16051 * Makerules (elide-bp-thunks): Remove variable.
16052 (elide-routines.oS): Don't use $(elide-bp-thunks).
16053 (elide-routines.os): Likewise.
16054 (elide-routines.o): Likewise.
16055 (elide-routines.op): Likewise.
16056 (elide-routines.og): Likewise.
16057 (objects): Don't use $(bp-thunks).
16058 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
16060 (common-generated): Do not add s-proto-bp.d.
16061 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
16064 Do not generate makefile rules for bounded-pointer thunks.
16065 * sysdeps/generic/bp-thunks.h: Remove file.
16066 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
16067 * sysdeps/unix/s-proto-bp.S: Likewise.
16070 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
16071 parts of result separately when argument is not close to line from
16072 -i to i and one part of argument is small.
16073 * math/k_casinhf.c (__kernel_casinhf): Likewise.
16074 * math/k_casinhl.c (__kernel_casinhl): Likewise.
16075 * math/libm-test.inc (cacos_test): Add more tests.
16076 (casin_test): Likewise.
16077 (casinh_test): Likewise.
16078 * sysdeps/i386/fpu/libm-test-ulps: Update.
16079 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16081 2013-01-31 David S. Miller <davem@davemloft.net>
16083 * po/de.po: Update from translation team.
16085 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
16087 * time/tzfile.c: Include stdint.h for SIZE_MAX.
16089 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
16091 * configure.in (_AC_PROG_CC_C89): New definition.
16092 * configure: Regenerate.
16094 * configure.in (AC_PROG_CPP): New definition.
16095 * configure: Regenerate.
16097 2013-01-23 Joseph Myers <joseph@codesourcery.com>
16099 * debug/tst-backtrace.h: New file.
16100 * debug/tst-backtrace2.c: Include tst-backtrace.h.
16101 (ret): Remove variable.
16103 (FAIL): Remove macro.
16104 (NO_INLINE): Likewise.
16105 (fn1): Use match function instead of strstr.
16106 * debug/tst-backtrace3.c: Include tst-backtrace.h.
16107 (ret): Remove variable.
16109 (FAIL): Remove macro.
16110 (NO_INLINE): Likewise.
16111 (fn): Use match function instead of strstr.
16112 * debug/tst-backtrace4.c: Include tst-backtrace.h.
16113 (ret): Remove variable.
16115 (FAIL): Remove macro.
16116 (NO_INLINE): Likewise.
16117 (handle_signal): Use match function instead of strstr.
16118 * debug/tst-backtrace5.c: Include tst-backtrace.h.
16119 (ret): Remove variable.
16121 (FAIL): Remove macro.
16122 (NO_INLINE): Likewise.
16123 (handle_signal): Use match function instead of strstr.
16125 2013-01-23 Roland McGrath <roland@hack.frob.com>
16127 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
16129 2013-01-23 David S. Miller <davem@davemloft.net>
16131 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
16132 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
16133 argument of CAS if possible.
16134 * sysdeps/sparc/sparc64/bits/atomic.h
16135 (__arch_compare_and_exchange_val_32_acq): Likewise.
16136 (__arch_compare_and_exchange_val_64_acq): Likewise.
16138 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
16140 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
16141 * sysdeps/posix/ulimit.c: ... this.
16142 Include <limits.h>.
16143 * sysdeps/unix/bsd/ulimit.c: Remove file.
16145 2013-01-23 Adam Conrad <adconrad@0c3.net>
16147 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
16148 (LDFLAGS-tst-array5): Likewise.
16150 2013-01-23 Joseph Myers <joseph@codesourcery.com>
16153 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
16154 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
16155 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
16156 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
16158 2013-01-21 David S. Miller <davem@davemloft.net>
16160 * sysdeps/sparc/backtrace.c: New file.
16161 * sysdeps/sparc/sparc32/backtrace.h: New file.
16162 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
16163 * sysdeps/sparc/sparc64/backtrace.h: New file.
16164 * sysdeps/sparc/sparc64/backtrace.c: Delete.
16165 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
16168 2013-01-21 Andreas Schwab <schwab@suse.de>
16171 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
16174 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
16176 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
16178 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
16180 2013-01-18 Joseph Myers <joseph@codesourcery.com>
16181 Mark Mitchell <mark@codesourcery.com>
16182 Tom de Vries <tom@codesourcery.com>
16183 Paul Pluzhnikov <ppluzhnikov@google.com>
16185 * debug/tst-backtrace2.c: New file.
16186 * debug/tst-backtrace3.c: Likewise.
16187 * debug/tst-backtrace4.c: Likewise.
16188 * debug/tst-backtrace5.c: Likewise.
16189 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
16190 (CFLAGS-tst-backtrace3.c): Likewise.
16191 (CFLAGS-tst-backtrace4.c): Likewise.
16192 (CFLAGS-tst-backtrace5.c): Likewise.
16193 (LDFLAGS-tst-backtrace2): Likewise.
16194 (LDFLAGS-tst-backtrace3): Likewise.
16195 (LDFLAGS-tst-backtrace4): Likewise.
16196 (LDFLAGS-tst-backtrace5): Likewise.
16197 (tests): Add new tests tst-backtrace2, tst-backtrace3,
16198 tst-backtrace4 and tst-backtrace5.
16200 2013-01-18 Anton Blanchard <anton@samba.org>
16201 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16203 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
16204 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
16205 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
16206 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
16207 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
16208 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
16209 "+r" and remove output regs list as redundant. Add explicit inline
16210 asm to specify register of return val to work around compiler codegen
16211 bug. Remove (int) cast on return value. Add return type parameter to
16212 use in macro so that this macro does not truncate return value for
16214 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
16215 pass to INTERNAL_VSYSCALL_NCS.
16216 (INLINE_VSYSCALL): Add 'long int' as return type to
16217 INTERNAL_VSYSCALL_NCS macro invocation.
16218 (INTERNAL_VSYSCALL): Add 'long int' as return type to
16219 INTERNAL_VSYSCALL_NCS macro invocation.
16220 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
16222 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
16225 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
16226 Fix application of SIMD FP exception mask.
16228 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
16229 mp_no from a power of two.
16230 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
16231 __mpexp_twomm1. Use __pow_mp.
16233 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
16236 2013-01-17 David S. Miller <davem@davemloft.net>
16238 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16240 2013-01-17 Joseph Myers <joseph@codesourcery.com>
16243 * include/complex.h: Condition contents on [!_COMPLEX_H].
16244 (__kernel_casinhf): New prototype.
16245 (__kernel_casinh): Likewise.
16246 (__kernel_casinhl): Likewise.
16247 * math/Makefile (libm_calls): Add k_casinh.
16248 * math/k_casinh.c: New file.
16249 * math/k_casinhf.c: Likewise.
16250 * math/k_casinhl.c: Likewise.
16251 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
16252 finite nonzero arguments.
16253 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
16254 finite nonzero arguments.
16255 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
16256 finite nonzero arguments.
16257 * math/s_casinh.c: Do not include <float.h>.
16258 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
16259 * math/s_casinhf.c: Do not include <float.h>.
16260 (__casinhf): Move code for finite nonzero arguments to
16262 * math/s_casinhl.c: Do not include <float.h>.
16263 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
16265 (__casinhl): Move code for finite nonzero arguments to
16267 * math/libm-test.inc (cacos_test): Add more tests.
16268 * sysdeps/i386/fpu/libm-test-ulps: Update.
16269 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16271 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
16273 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
16274 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
16275 [!HAVE_MREMAP]: Remove [defined linux] case.
16276 * malloc/arena.c: Do not include <malloc-sysdep.h>.
16278 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
16280 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
16282 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
16284 * elf/elf.h (R_386_SIZE32): New relocation.
16285 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
16287 (elf_machine_rela): Likewise.
16288 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
16289 R_X86_64_SIZE64 and R_X86_64_SIZE32.
16291 2013-01-17 Joseph Myers <joseph@codesourcery.com>
16293 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
16294 (FP_FAST_FMA): Do not define.
16295 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
16296 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
16297 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
16298 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
16299 !_SOFT_FLOAT]: Likewise.
16300 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
16301 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
16303 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
16304 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
16305 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
16306 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
16307 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
16308 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
16311 2013-01-16 Andreas Schwab <schwab@suse.de>
16314 * include/stdlib.h (__mktemp): Add declaration.
16315 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
16316 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
16318 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
16320 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
16322 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
16323 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
16324 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
16326 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
16327 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
16329 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
16331 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
16332 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
16333 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
16335 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
16336 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
16338 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
16340 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
16342 2013-01-15 David S. Miller <davem@davemloft.net>
16344 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
16345 trunc{,f} to libm-sysdep_routes.
16346 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
16347 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
16349 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
16350 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
16352 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
16354 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
16355 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
16356 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
16357 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
16358 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
16359 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
16360 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
16361 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
16363 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
16364 nearbyint{,f} to libm-sysdep_routes.
16365 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
16366 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
16368 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
16370 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
16372 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
16374 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
16375 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
16376 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
16378 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
16379 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
16381 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
16382 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
16383 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
16385 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
16386 libc_feholdexcept and libc_fesetenv.
16388 2013-01-15 Mike Frysinger <vapier@gentoo.org>
16390 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
16392 2013-01-14 David S. Miller <davem@davemloft.net>
16394 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
16395 (SPARC_ASM_VIS2_IFUNC): Likewise.
16396 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
16397 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
16398 use of 'siam' instruction.
16399 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
16401 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
16403 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
16405 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
16406 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
16407 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
16408 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
16409 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
16411 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
16413 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
16415 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
16417 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
16418 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
16419 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
16420 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
16421 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
16423 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
16424 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
16425 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
16427 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
16428 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
16429 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
16430 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
16431 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
16432 routines to libm-sysdep_routines.
16433 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
16435 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
16436 fdim/fdimf to libm-sysdep_routines.
16437 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
16439 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
16440 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
16442 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
16443 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
16444 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
16445 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
16446 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
16447 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
16448 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
16450 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
16452 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
16453 to optimize copies.
16455 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
16456 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
16457 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
16459 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
16460 local variable MPTWO.
16461 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
16464 2013-01-13 Mike Frysinger <vapier@gentoo.org>
16466 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
16469 2013-01-13 Mike Frysinger <vapier@gentoo.org>
16471 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
16473 2013-01-13 Mike Frysinger <vapier@gentoo.org>
16475 * manual/pattern.texi (glob_t): Document gl_flags.
16476 (glob64_t): Likewise.
16478 2013-01-11 David S. Miller <davem@davemloft.net>
16480 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
16481 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
16482 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
16483 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
16484 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
16485 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
16486 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
16487 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
16488 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
16489 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
16490 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
16491 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
16492 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
16494 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
16495 sparc V9 rather than using V8 code.
16496 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
16497 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
16499 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
16501 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
16504 2013-01-11 Roland McGrath <roland@hack.frob.com>
16506 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
16507 not in the main loop.
16508 * configure: Regenerated.
16510 2013-01-11 Joseph Myers <joseph@codesourcery.com>
16512 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
16513 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
16515 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
16516 [!__GLIBC_HAVE_LONG_LONG] case.
16517 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
16518 condition to just #else.
16519 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
16520 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
16521 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
16522 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
16524 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
16525 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
16526 #elif condition to just #else.
16527 * sysdeps/unix/sysv/linux/sys/sysmacros.h
16528 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
16529 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
16530 #elif condition to just #else.
16532 2013-01-11 Steve Ellcey <sellcey@mips.com>
16534 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
16535 (EF_MIPS_ARCH_64): Fix value.
16536 (EF_MIPS_ARCH_32R2): New.
16537 (EF_MIPS_ARCH_64R2): New.
16539 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
16541 * Makeconfig (+link-pie-before-libc): New.
16542 (+link-pie-after-libc): Likewise.
16543 (+link-pie-tests): Likewise.
16544 (+link-pie): Rewritten.
16545 (link-before-libc): Remove $(config-LDFLAGS).
16546 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
16547 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
16548 (config-LDFLAGS): Renamed to ...
16549 (rtld-LDFLAGS): This.
16550 (rtld-tests-LDFLAGS): New macro.
16551 (link-libc-rpath-link): Likewise.
16552 (link-libc-tests-rpath-link): Likewise.
16553 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
16554 (link-libc): Prepand $(link-libc-rpath-link).
16555 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
16556 (test-program-prefix): New macro.
16557 (test-via-rtld-prefix): Likewise.
16558 (test-program-cmd): Likewise.
16559 (host-test-program-cmd): Likewise.
16560 * Makefile ($(common-objpfx)testrun.sh): Replace
16561 $(run-program-prefix) with $(test-program-prefix).
16562 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
16564 ($(common-objpfx)shlib.lds): Likewise.
16565 (build-module-helper): Likewise.
16566 ($(common-objpfx)format.lds): Likewise.
16567 * Rules (binaries-pie-tests): New.
16568 (binaries-pie-notests): Likewise.
16569 (binaries-pie): Rewritten.
16570 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
16571 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
16572 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
16573 (make-test-out): Replace $(host-built-program-cmd) with
16574 $(host-test-program-cmd).
16575 * config.make.in (build-hardcoded-path-in-tests): New variable.
16576 * configure.in (--enable-hardcoded-path-in-tests): New configure
16578 (hardcoded_path_in_tests): New AC_SUBST.
16579 * configure: Regenerated.
16580 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
16581 $(built-program-cmd) with $(test-program-cmd).
16582 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
16583 (test_program_cmd): This.
16584 * elf/Makefile ($(objpfx)order.out): Run test with
16585 $(test-program-prefix).
16586 ($(objpfx)order2.out): Likewise.
16587 ($(objpfx)tst-initorder.out): Likewise.
16588 ($(objpfx)tst-initorder2.out): Likewise.
16589 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
16590 $(test-program-cmd).
16591 ($(objpfx)tst-array1-static.out): Likewise.
16592 ($(objpfx)tst-array2.out): Likewise.
16593 ($(objpfx)tst-array3.out): Likewise.
16594 ($(objpfx)tst-array4.out): Likewise.
16595 ($(objpfx)tst-array5.out): Likewise.
16596 ($(objpfx)tst-array5-static.out): Likewise.
16597 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
16598 $(test-program-cmd).
16599 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
16600 $(run-program-prefix) with $(test-program-prefix).
16601 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
16602 (test_program_prefix): This.
16603 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
16604 $(run-program-prefix) with $(test-program-prefix).
16605 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
16606 (test_program_prefix): This.
16607 * iconvdata/tst-tables.sh: Likewise.
16608 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
16609 $(run-program-prefix) with $(test-program-prefix).
16610 ($(objpfx)tst-translit.out): Likewise.
16611 ($(objpfx)tst-gettext2.out): Likewise.
16612 ($(objpfx)tst-gettext4.out): Likewise.
16613 ($(objpfx)tst-gettext6.out): Likewise.
16614 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
16615 (test_program_prefix): This.
16616 * intl/tst-gettext2.sh: Likewise.
16617 * intl/tst-gettext4.sh Likewise.
16618 * intl/tst-gettext6.sh: Likewise.
16619 * intl/tst-translit.sh: Likewise.
16620 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
16621 with $(test-program-cmd).
16622 * libio/Makefile ($(objpfx)test-freopen.out): Replace
16623 $(run-program-prefix) with $(test-program-prefix).
16624 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
16625 (test_program_prefix): This.
16626 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
16627 $(run-program-prefix) with $(test-program-prefix).
16628 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
16629 (test_program_prefix): This.
16630 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
16631 * posix/Makefile ($(objpfx)globtest.out): Replace
16632 $(run-via-rtld-prefix) and $(test-wrapper) with
16633 $(test-program-prefix) and $(test-via-rtld-prefix).
16634 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
16635 $(test-program-prefix).
16636 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
16637 $(host-test-program-cmd).
16638 (tst-spawn-ARGS): Likewise.
16639 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
16640 $(test-program-prefix).
16641 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
16642 (test_via_rtld_prefix): This.
16643 (test_wrapper): Renamed to ...
16644 (test_program_prefix): This.
16645 (run_program_prefix): Replaced by test_program_prefix.
16646 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
16647 (test_program_prefix): This.
16648 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
16649 with $(host-test-program-cmd).
16650 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
16651 $(run-program-prefix) with $(test-program-prefix).
16652 ($(objpfx)tst-printf.out): Likewise.
16653 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
16654 $(test-program-cmd).
16655 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
16656 (test_program_prefix): This.
16657 * stdio-common/tst-unbputc.sh: Likewise.
16658 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
16659 $(run-program-prefix) with $(test-program-prefix).
16660 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
16661 (test_program_prefix): This.
16662 * string/Makefile ($(objpfx)tst-svc.out): Replace
16663 $(built-program-cmd) with $(test-program-cmd).
16665 2013-01-11 Andreas Jaeger <aj@suse.de>
16668 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
16669 value. Sync with Linux 3.7.
16671 2013-01-10 David S. Miller <davem@davemloft.net>
16673 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
16674 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
16675 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
16677 2013-01-10 Roland McGrath <roland@hack.frob.com>
16679 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
16681 * configure: Regenerated.
16683 2013-01-10 David S. Miller <davem@davemloft.net>
16685 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
16686 sparc V9 rather than using V8 code.
16687 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
16688 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
16690 2013-01-10 Roland McGrath <roland@hack.frob.com>
16692 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
16693 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
16694 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
16695 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
16696 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
16697 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
16698 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
16699 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
16700 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
16701 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
16702 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
16703 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
16704 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
16705 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
16706 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
16707 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
16708 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
16709 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
16710 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
16711 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
16712 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
16713 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
16714 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
16715 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
16716 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
16717 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
16718 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
16720 2013-01-10 David S. Miller <davem@davemloft.net>
16722 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16724 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
16726 * posix/Makefile (tests-static): New variable.
16727 (tests): Add $(tests-static).
16728 (tst-exec-static-ARGS): New variable.
16729 (tst-spawn-static-ARGS): Likewise.
16730 * posix/tst-exec-static.c: New file.
16731 * posix/tst-spawn-static.c: Likewise.
16732 * posix/tst-exec.c: Support run directly.
16733 * posix/tst-spawn.c: Likewise.
16735 2013-01-10 Joseph Myers <joseph@codesourcery.com>
16737 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
16739 * math/bits/mathcalls.h (llrint): Likewise.
16740 (llround): Likewise.
16741 * stdlib/stdlib.h (struct drand48_data): Likewise.
16742 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
16743 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
16744 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
16746 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
16748 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
16749 (elf_greg_t): Likewise.
16750 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
16751 (__jmp_buf): Likewise.
16752 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
16754 (llrint): Likewise, for all definitions.
16755 (llrintl): Likewise.
16757 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
16758 Remove [__GNUC__] condition.
16759 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
16760 condition to just [__USE_ISOC99].
16761 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
16763 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
16766 * sysdeps/unix/sysv/linux/x86/bits/environments.h
16767 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
16769 (_POSIX_V6_ILP32_OFF32): Likewise.
16770 (_XBS5_ILP32_OFF32): Likewise.
16771 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
16772 (__ILP32_OFFBIG_LDFLAGS): Likewise.
16774 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
16776 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
16778 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
16779 doubles __mpexp_twomm1. Adjust usage.
16780 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
16783 2013-01-10 Andreas Schwab <schwab@suse.de>
16786 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
16787 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
16789 2013-01-09 David S. Miller <davem@davemloft.net>
16792 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
16793 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
16794 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
16795 TCP_FASTOPEN): Define.
16796 (tcp_repair_opt): New structure.
16797 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
16799 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
16800 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
16801 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
16802 (tcp_cookie_transactions): New structure.
16804 2013-01-09 Anton Blanchard <anton@samba.org>
16806 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
16807 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
16808 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
16809 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
16811 2013-01-09 Joseph Myers <joseph@codesourcery.com>
16813 * include/features.h (__USE_ANSI): Remove.
16815 2013-01-09 Roland McGrath <roland@hack.frob.com>
16817 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
16819 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
16821 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
16823 * sysdeps/s390/fpu/libm-test-ulps: Update.
16825 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16827 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
16831 (denorm): Likewise.
16832 (__mp_dbl): Likewise.
16833 (__dbl_mp): Likewise.
16834 (add_magnitudes): Likewise.
16835 (sub_magnitudes): Likewise.
16841 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
16845 (denorm): Likewise.
16846 (__mp_dbl): Likewise.
16847 (__dbl_mp): Likewise.
16848 (add_magnitudes): Likewise.
16849 (sub_magnitudes): Likewise.
16855 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
16859 (denorm): Likewise.
16860 (__mp_dbl): Likewise.
16861 (__dbl_mp): Likewise.
16862 (add_magnitudes): Likewise.
16863 (sub_magnitudes): Likewise.
16870 2013-01-08 Joseph Myers <joseph@codesourcery.com>
16872 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
16873 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
16874 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
16875 2 && __USE_EXTERN_INLINES]: Likewise.
16877 2013-01-08 Andreas Jaeger <aj@suse.de>
16880 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
16882 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
16883 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
16885 2013-01-07 Anton Blanchard <anton@samba.org>
16887 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
16888 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
16889 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
16890 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
16891 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
16892 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
16893 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
16894 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
16895 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
16896 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
16897 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
16898 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
16899 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
16900 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
16901 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
16902 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
16903 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
16904 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
16905 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
16906 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
16907 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
16908 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
16909 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
16910 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
16911 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
16912 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
16913 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
16914 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
16915 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
16916 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
16917 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
16918 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
16919 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
16920 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
16921 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
16922 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
16923 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
16924 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
16925 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
16926 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
16927 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
16928 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
16929 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
16931 2013-01-07 Joseph Myers <joseph@codesourcery.com>
16933 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
16934 (__MALLOC_PMT): Likewise.
16935 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
16936 [__GNUC__], only on [_LIBC].
16937 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
16938 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
16939 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
16940 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
16941 forward declaration.
16942 (realloc_hook_ini): Likewise.
16943 (memalign_hook_ini): Likewise.
16944 (__libc_memalign): Do not use __MALLOC_PMT in variable
16946 (__libc_valloc): Likewise.
16947 (__libc_pvalloc): Likewise.
16948 (__libc_calloc): Likewise.
16949 (__posix_memalign): Likewise.
16952 * math/s_casinh.c: Include <float.h>.
16953 (__casinh): Do not do computation with squaring and square root
16954 for large arguments.
16955 * math/s_casinhf.c: Include <float.h>.
16956 (__casinhf): Do not do computation with squaring and square root
16957 for large arguments.
16958 * math/s_casinhl.c: Include <float.h>.
16959 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
16960 (__casinhl): Do not do computation with squaring and square root
16961 for large arguments.
16962 * math/libm-test.inc (casin_test): Add more tests.
16963 (casinh_test): Likewise.
16964 * sysdeps/i386/fpu/libm-test-ulps: Update.
16965 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16967 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
16969 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
16970 (__x86_64_raw_data_cache_size): Likewise.
16971 (__x86_64_data_cache_size_half): Likewise.
16972 (__x86_64_raw_data_cache_size_half): Likewise.
16973 (__x86_64_shared_cache_size): Likewise.
16974 (__x86_64_raw_shared_cache_size): Likewise.
16975 (__x86_64_shared_cache_size_half): Likewise.
16976 (__x86_64_raw_shared_cache_size_half): Likewise.
16977 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
16979 (__x86_data_cache_size): This.
16980 (__x86_64_raw_data_cache_size): Renamed to ...
16981 (__x86_raw_data_cache_size): This.
16982 (__x86_64_data_cache_size_half): Renamed to ...
16983 (__x86_data_cache_size_half): This.
16984 (__x86_64_raw_data_cache_size_half): Renamed to ...
16985 (__x86_raw_data_cache_size_half): This.
16986 (__x86_64_shared_cache_size): Renamed to ...
16987 (__x86_shared_cache_size): This.
16988 (__x86_64_raw_shared_cache_size): Renamed to ...
16989 (__x86_raw_shared_cache_size): This.
16990 (__x86_64_shared_cache_size_half): Renamed to ...
16991 (__x86_shared_cache_size_half): This.
16992 (__x86_64_raw_shared_cache_size_half): Renamed to ...
16993 (__x86_raw_shared_cache_size_half): This.
16994 * sysdeps/x86_64/memcpy.S: Updated.
16995 * sysdeps/x86_64/memset.S: Likewise.
16996 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
16997 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
16998 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
17000 2013-01-04 David S. Miller <davem@davemloft.net>
17002 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17004 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
17006 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
17007 1 to avoid redefinition warning.
17008 (__USE_GNU): Don't define.
17009 (init_signaling_nan): Protoize.
17011 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17013 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
17015 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
17016 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
17017 (__cpymn): Likewise.
17018 (norm): Remove commented code.
17019 (denorm): Likewise.
17020 (__mp_dbl): Likewise.
17022 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
17023 (__cpymn): Likewise.
17024 (norm): Remove commented code.
17025 (denorm): Likewise.
17026 (__mp_dbl): Likewise.
17029 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
17030 mp_no value for 1.0 and 2.0.
17031 (norm): Use RADIXI instead of radixi.d.
17032 (denorm): Likewise.
17033 (__mul): Use 0.0 instead of zero.d.
17034 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
17035 mp_no value for 1.0 and 2.0.
17036 (norm): Use RADIXI instead of radixi.d.
17037 (denorm): Likewise.
17038 (__mul): Use 0.0 instead of zero.d.
17040 2013-01-04 Joseph Myers <joseph@codesourcery.com>
17043 * math/s_casinh.c (__casinh): Reduce finite argument to first
17044 quadrant then set signs of results at the end.
17045 * math/s_casinhf.c (__casinhf): Likewise.
17046 * math/s_casinhl.c (__casinhl): Likewise.
17047 * math/libm-test.inc (casin_test): Add more tests.
17048 (casinh_test): Likewise.
17049 * sysdeps/i386/fpu/libm-test-ulps: Update.
17050 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17052 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
17054 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
17056 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
17058 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
17060 (denorm): Likewise.
17061 (__mp_dbl): Likewise.
17064 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
17065 and adjust the header comment.
17067 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
17068 variable name from declaration.
17070 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
17072 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17073 Initialize COMMON_CPUID_INDEX_7 element.
17074 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
17075 (CPUID_RTM): Likewise.
17076 (HAS_RTM): Likewise.
17077 (COMMON_CPUID_INDEX_7): New enum.
17079 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
17082 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
17083 size is zero, record memory as freed.
17085 2013-01-03 Andreas Jaeger <aj@suse.de>
17087 * po/ia.po: Add new Interlingua translation.
17089 2012-01-03 Allan McRae <allan@archlinux.org>
17091 * locale/programs/localedef.c: Fix description of '--posix' flag.
17093 2013-01-02 Joseph Myers <joseph@codesourcery.com>
17095 * NEWS: Update dates in second copyright notice.
17096 * README: Update copyright dates in example.
17097 * manual/libc.texinfo: Update copyright dates.
17098 * scripts/test-installation.pl: Update copyright date in --version
17101 * hurd/ctty-input.c: Fix copyright notice formatting.
17102 * hurd/ctty-output.c: Likewise.
17103 * hurd/dtable.c: Likewise.
17104 * hurd/hurd-raise.c: Likewise.
17105 * hurd/hurdprio.c: Likewise.
17106 * hurd/msgportdemux.c: Likewise.
17107 * misc/sys/file.h: Likewise.
17108 * misc/sys/ioctl.h: Likewise.
17109 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
17110 * sysdeps/mach/hurd/chdir.c: Likewise.
17111 * sysdeps/mach/hurd/fchdir.c: Likewise.
17112 * sysdeps/mach/hurd/rename.c: Likewise.
17113 * sysdeps/mach/hurd/rmdir.c: Likewise.
17114 * sysdeps/mach/hurd/seekdir.c: Likewise.
17115 * sysdeps/mach/hurd/setsid.c: Likewise.
17116 * sysdeps/posix/wait3.c: Likewise.
17118 * All files with FSF copyright notices: Update copyright dates
17119 using scripts/update-copyrights.
17120 * intl/plural.c: Regenerated.
17121 * locale/programs/charmap-kw.h: Likewise.
17122 * locale/programs/locfile-kw.h: Likewise.
17124 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
17126 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
17129 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
17130 calculation loop and add branch prediction.
17132 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
17133 check access beyond bounds of m1np.
17135 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
17137 (__inv): Remove local variable MPTWO to use the global
17139 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
17140 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
17142 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
17143 MP3HALFS static const.
17145 2013-01-01 David S. Miller <davem@davemloft.net>
17147 * po/ca.po: Update from translation team.
17149 2013-01-01 Joseph Myers <joseph@codesourcery.com>
17151 * scripts/update-copyrights: New file.
17152 * Makeconfig: Reformat copyright notice.
17153 * ctype/ctype.h: Likewise.
17154 * debug/swprintf_chk.c: Likewise.
17155 * elf/dl-cache.c: Likewise.
17156 * elf/dl-debug.c: Likewise.
17157 * elf/dl-object.c: Likewise.
17158 * grp/initgroups.c: Likewise.
17159 * hurd/Makefile: Likewise.
17160 * hurd/hurd/signal.h: Likewise.
17161 * hurd/hurdfault.c: Likewise.
17162 * hurd/hurdioctl.c: Likewise.
17163 * hurd/hurdlookup.c: Likewise.
17164 * hurd/intr-msg.c: Likewise.
17165 * iconv/gconv_open.c: Likewise.
17166 * libio/swprintf.c: Likewise.
17167 * locale/lc-ctype.c: Likewise.
17168 * locale/nl_langinfo.c: Likewise.
17169 * mach/Machrules: Likewise.
17170 * mach/Makefile: Likewise.
17171 * malloc/obstack.h: Likewise.
17172 * manual/Makefile: Likewise.
17173 * manual/tsort.awk: Likewise.
17174 * misc/bits/stab.def: Likewise.
17175 * nis/nis_print_group_entry.c: Likewise.
17176 * nis/nis_table.c: Likewise.
17177 * nis/nss_compat/compat-pwd.c: Likewise.
17178 * nis/nss_compat/compat-spwd.c: Likewise.
17179 * po/Makefile: Likewise.
17180 * posix/fnmatch.c: Likewise.
17181 * posix/regex.h: Likewise.
17182 * resolv/Makefile: Likewise.
17183 * resolv/nss_dns/dns-network.c: Likewise.
17184 * resolv/res_hconf.c: Likewise.
17185 * scripts/gen-sorted.awk: Likewise.
17186 * soft-fp/soft-fp.h: Likewise.
17187 * stdio-common/printf.h: Likewise.
17188 * stdlib/monetary.h: Likewise.
17189 * stdlib/random.c: Likewise.
17190 * stdlib/random_r.c: Likewise.
17191 * sysdeps/generic/Makefile: Likewise.
17192 * sysdeps/gnu/Makefile: Likewise.
17193 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
17194 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17195 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
17196 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17197 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
17198 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17199 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17200 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
17201 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
17202 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17203 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
17204 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
17205 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
17206 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
17207 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
17208 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
17209 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
17210 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
17211 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
17212 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17213 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
17214 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
17215 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
17216 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
17217 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
17218 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
17219 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
17220 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
17221 * sysdeps/mach/hurd/errnos.awk: Likewise.
17222 * sysdeps/mach/hurd/fork.c: Likewise.
17223 * sysdeps/mach/hurd/getcwd.c: Likewise.
17224 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
17225 * sysdeps/mach/hurd/mmap.c: Likewise.
17226 * sysdeps/mach/hurd/utimes.c: Likewise.
17227 * sysdeps/mach/hurd/xmknod.c: Likewise.
17228 * sysdeps/posix/profil.c: Likewise.
17229 * sysdeps/posix/readdir_r.c: Likewise.
17230 * sysdeps/powerpc/bits/mathdef.h: Likewise.
17231 * sysdeps/powerpc/bits/setjmp.h: Likewise.
17232 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
17233 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
17234 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
17235 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
17236 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
17237 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
17238 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
17239 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
17240 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
17241 * sysdeps/pthread/lio_listio.c: Likewise.
17242 * sysdeps/sparc/dl-procinfo.h: Likewise.
17243 * sysdeps/unix/i386/sysdep.S: Likewise.
17244 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
17245 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
17246 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
17247 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
17248 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
17249 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
17250 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
17251 * sysdeps/unix/sysv/linux/speed.c: Likewise.
17252 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
17253 * sysdeps/wordsize-32/divdi3.c: Likewise.
17254 * time/sys/time.h: Likewise.
17255 * wcsmbs/Makefile: Likewise.
17257 2013-01-01 David S. Miller <davem@davemloft.net>
17259 * po/fr.po: Update from translation team.
17261 * catgets/gencat.c: Update copyright year.
17262 * csu/version.c: Likewise.
17263 * debug/catchsegv.sh: Likewise.
17264 * debug/pcprofiledump.c: Likewise.
17265 * debug/xtrace.sh: Likewise.
17266 * elf/ldconfig.c: Likewise.
17267 * elf/ldd.bash.in: Likewise.
17268 * elf/pldd.c: Likewise.
17269 * elf/sotruss.ksh: Likewise.
17270 * elf/sprof.c: Likewise.
17271 * iconv/iconv_prog.c: Likewise.
17272 * iconv/iconvconfig.c: Likewise.
17273 * locale/programs/locale.c: Likewise.
17274 * locale/programs/localedef.c: Likewise.
17275 * login/programs/pt_chown.c: Likewise.
17276 * malloc/memusage.sh: Likewise.
17277 * malloc/memusagestat.c: Likewise.
17278 * malloc/mtrace.pl: Likewise.
17279 * nscd/nscd.c: Likewise.
17280 * nss/getent.c: Likewise.
17281 * nss/makedb.c: Likewise.
17282 * posix/getconf.c: Likewise.
17284 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
17286 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
17289 2012-12-30 Mike Frysinger <vapier@gentoo.org>
17291 * math/bits/mathcalls.h (modf): Use __nonnull.
17293 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
17295 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
17296 (split): Use macro CN instead of the bare value.
17297 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
17299 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
17300 instead of the bare value.
17301 (power1): Likewise.
17303 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17305 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
17307 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
17309 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
17311 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
17312 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
17313 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
17314 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
17316 2012-12-28 Andreas Jaeger <aj@suse.de>
17318 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
17319 values are from Linux 3.7.
17321 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
17322 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
17324 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17326 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
17329 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
17331 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
17332 variables with preprocessor constants.
17333 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
17334 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
17335 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
17337 2012-12-27 Bruno Haible <bruno@clisp.org>
17340 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
17343 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
17345 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
17346 and use variable directly.
17347 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
17349 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
17351 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
17352 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
17354 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
17355 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
17356 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
17357 include directive. Remove local variable MPONE.
17358 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
17359 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
17360 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
17362 2012-12-25 David S. Miller <davem@davemloft.net>
17364 * version.h (RELEASE): Set to "development".
17365 (VERSION): Set to "2.17.90".
17366 * NEWS: Add 2.18 section.
17368 2012-12-21 David S. Miller <davem@davemloft.net>
17370 * po/hr.po: Update from translation team.
17372 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17374 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
17376 2012-12-19 Steve Ellcey <sellcey@mips.com>
17378 * NEWS: Mention new memcpy for MIPS.
17380 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
17382 * manual/contrib.texi (Contributors): Spelling correction.
17384 2012-12-15 David S. Miller <davem@davemloft.net>
17386 * po/ru.po: Update from translation team.
17388 2012-12-13 David S. Miller <davem@davemloft.net>
17390 * NEWS: Mention IFUNC testsuite enhancements.
17392 * po/pl.po: Update from translation team.
17393 * po/bg.po: Likewise.
17395 * manual/contrib.texi (Contributors): Update entries for Hongjiu
17396 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
17398 2012-12-11 David S. Miller <davem@davemloft.net>
17400 * po/sv.po: Update from translation team.
17402 * po/vi.po: Update from translation team.
17404 * po/cs.po: Update from translation team.
17406 * po/de.po: Update from translation team.
17407 * po/eo.po: Likewise.
17408 * po/nl.po: Likewise.
17410 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
17413 * manual/argp.texi (Argp Helper Functions): Move node to follow
17414 Argp Parsing State.
17417 * manual/conf.texi (Limits on File System Capacity): Mention if
17418 terminating null is included in the max size.
17420 2012-12-10 Andreas Jaeger <aj@suse.de>
17422 * po/cs.po: Update from translation team.
17424 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
17426 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
17427 void pointer and cast to uintptr_t.
17428 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
17430 * sysdeps/s390/s390-64/memcpy.S: Likewise.
17431 * sysdeps/s390/s390-64/memset.S: Likewise.
17433 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
17436 * menual/message.texi (Message Translation): Fix typos.
17437 (Helper programs for gettext): Likewise.
17439 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
17442 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
17445 2012-12-07 David S. Miller <davem@davemloft.net>
17447 * po/libc.pot: Update.
17449 2012-12-07 Richard Henderson <rth@redhat.com>
17452 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
17453 normal/normal case to before the switch.
17454 (_FP_DIV): Likewise.
17456 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
17457 Mike Frysinger <vapier@gentoo.org>
17459 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
17460 check for __NR_fadvise64_64.
17462 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
17464 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
17465 0, not just to plain "0" as a statement.
17466 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
17469 2012-12-06 Joseph Myers <joseph@codesourcery.com>
17471 * NEWS: Use sourceware.org in Bugzilla URL.
17473 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
17475 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
17476 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
17478 * stdio-common/tst-put-error.c (do_test): Add newline to the
17479 padded test to ensure flush.
17481 2012-12-05 Jeff Law <law@redhat.com>
17483 * sunrpc/etc.rpc (fedfs_admin): Add entry.
17485 2012-12-05 Joseph Myers <joseph@codesourcery.com>
17487 * README: Don't refer to ports add-on as distributed separately.
17488 Mention AArch64 in list of systems supported in the ports add-on.
17490 * LICENSES: Add more non-FSF copyright and license notices.
17492 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
17495 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
17497 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
17498 10000 as width of padded output.
17500 2012-12-04 Joseph Myers <joseph@codesourcery.com>
17502 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
17504 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
17505 variable LX with __attribute__ ((unused)).
17506 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
17508 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
17509 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
17510 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
17511 with __attribute__ ((unused)).
17513 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
17515 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
17517 2012-12-04 Joseph Myers <joseph@codesourcery.com>
17519 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
17520 (CFLAGS-nldbl-acos.c): New variable.
17521 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
17522 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
17523 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
17524 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
17525 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
17526 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
17527 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
17528 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
17529 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
17530 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
17531 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
17532 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
17533 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
17534 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
17535 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
17536 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
17537 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
17538 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
17539 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
17540 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
17541 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
17542 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
17543 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
17544 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
17545 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
17546 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
17547 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
17548 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
17549 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
17550 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
17551 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
17552 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
17553 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
17554 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
17555 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
17556 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
17557 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
17558 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
17559 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
17560 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
17561 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
17562 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
17563 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
17564 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
17565 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
17566 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
17567 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
17568 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
17569 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
17570 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
17571 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
17572 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
17573 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
17574 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
17575 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
17576 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
17577 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
17578 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
17579 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
17580 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
17581 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
17582 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
17583 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
17584 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
17585 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
17586 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
17587 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
17588 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
17589 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
17590 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
17591 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
17592 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
17593 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
17594 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
17595 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
17596 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
17597 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
17598 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
17599 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
17600 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
17601 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
17602 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
17603 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
17604 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
17605 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
17606 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
17607 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
17608 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
17609 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
17610 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
17611 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
17612 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
17613 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
17614 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
17615 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
17616 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
17617 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
17619 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
17620 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
17623 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
17624 whole low double instead of just low 47 bits when splitting values
17627 2012-12-03 Allan McRae <allan@archlinux.org>
17629 * manual/stdio.texi (Predefined Printf Handlers): Remove
17630 @hsep and @vsep usage.
17632 2012-12-03 Mike Frysinger <vapier@gentoo.org>
17634 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
17635 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
17637 2012-12-03 Jeff Law <law@redhat.com>
17639 * time/sys/time.h (settimeofday): Do not mark TV argument
17642 2012-12-01 Mike Frysinger <vapier@gentoo.org>
17644 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
17645 when currently writing and seek to current position when not.
17646 * libio/Makefile (tests): Remove bug-fclose1.
17647 * libio/bug-fclose1.c: Delete.
17649 2012-12-01 Joseph Myers <joseph@codesourcery.com>
17651 * manual/arith.texi (feenableexcept): Fix typo.
17652 (fedisableexcept): Likewise.
17654 2012-11-30 Roland McGrath <roland@hack.frob.com>
17656 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
17657 second, differently-typed declaration, rather than a cast.
17659 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
17661 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
17662 * include/rpc/svc.h: ... here.
17664 2012-11-30 Aurelien Jarno <aurel32@debian.org>
17667 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
17668 depending n and resplen2 to catch cases where answer
17671 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
17673 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
17674 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
17676 2012-11-29 Mike Frysinger <vapier@gentoo.org>
17678 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
17680 2012-11-29 Roland McGrath <roland@hack.frob.com>
17682 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
17684 2012-11-28 Jeff Law <law@redhat.com>
17687 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
17688 dataset_temporary. Track alloca usage into alloca_used.
17689 If dataset is large allocate and release it via malloc/free.
17691 2012-06-04 Florian Weimer <fweimer@redhat.com>
17694 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
17696 2012-11-28 David S. Miller <davem@davemloft.net>
17698 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17700 2012-11-28 Joseph Myers <joseph@codesourcery.com>
17703 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
17704 of pi/2 rounded to nearest to 64 bits.
17705 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
17706 nearest to 64 bits.
17707 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
17710 2012-11-28 Jeff Law <law@redhat.com>
17711 Martin Osvald <mosvald@redhat.com>
17714 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
17715 * sunrpc/svc.c: Include time.h.
17716 (__svc_accept_failed): New function.
17717 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
17718 any reason other than EINTR, call __svc_accept_failed.
17719 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
17720 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
17722 2012-11-28 Andreas Schwab <schwab@suse.de>
17724 * scripts/abilist.awk: Also handle indirect functions in .opd
17727 2012-11-28 Joseph Myers <joseph@codesourcery.com>
17730 * sysdeps/x86/fpu/powl_helper.c: New file.
17731 * sysdeps/x86/fpu/Makefile: Likewise.
17732 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
17734 (__ieee754_powl): Use __powl_helper for finite arguments except
17735 integer exponents below 8.
17736 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
17738 (__ieee754_powl): Use __powl_helper for finite arguments except
17739 integer exponents below 8.
17740 * math/libm-test.inc (pow_test): Add more tests and enable some
17741 previously disabled tests.
17742 * sysdeps/i386/fpu/libm-test-ulps: Update.
17743 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17745 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17746 Carlos O'Donell <carlos_odonell@mentor.com>
17748 * nss/makedb.c (is_prime): Assert that input is odd and greater
17749 than 4. Note that fact in a comment too.
17750 (next_prime): Add 4 to input.
17752 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
17755 * libio/Makefile (tests): Add test case tst-fwrite-error.
17756 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
17757 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
17758 * libio/tst-fwrite-error.c: New test case.
17760 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
17762 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
17763 before casting to void *.
17764 * include/libc-internal.h (__pointer_type): New macro.
17765 (__integer_if_pointer_type_sub): Likewise.
17766 (__integer_if_pointer_type): Likewise.
17767 (cast_to_integer): Likewise.
17768 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
17769 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
17770 before casting to atomic64_t.
17771 (atomic_exchange_acq): Likewise.
17772 (__arch_exchange_and_add_body): Likewise.
17773 (__arch_add_body): Likewise.
17774 (atomic_add_negative): Likewise.
17775 (atomic_add_zero): Likewise.
17777 2012-11-26 Joseph Myers <joseph@codesourcery.com>
17779 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
17780 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
17781 (add_fdes): Likewise.
17782 (linear_search_fdes): Likewise.
17783 (binary_search_unencoded_fdes): Likewise.
17785 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
17787 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
17789 2012-11-24 Adam Conrad <adconrad@0c3.net>
17791 * configure.in: Autodetect C++ header directories.
17792 * configure: Regenerated.
17794 2012-11-23 Mike Frysinger <vapier@gentoo.org>
17796 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
17798 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
17800 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17802 2012-11-22 Joseph Myers <joseph@codesourcery.com>
17804 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
17805 LDBL_MANT_DIG == 106]: Disable some tests.
17806 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
17808 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
17812 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
17813 input for small inputs. Return +/- pi/2 for large inputs.
17814 * math/libm-test.inc (atan_test): Add more tests.
17816 * sysdeps/generic/unwind-dw2-fde-glibc.c
17817 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
17818 __attribute__ ((unused)).
17821 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
17822 x * y if x and y are nonzero and z is zero.
17825 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
17826 nonzero exponents with absolute value below 0x1p-117 to +/-
17830 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
17831 up arguments below 2**-450, not just those below 2**-500.
17832 * math/libm-test.inc (hypot_test): Add another test.
17835 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
17836 Return a+b for ratio over 2**120, not 2**60.
17837 * math/libm-test.inc (hypot_test): Add another test.
17839 * math/libm-test.inc (clog_test): Use
17840 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
17841 (clog10_test): Likewise.
17844 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
17846 2012-11-22 Andreas Schwab <schwab@suse.de>
17848 * sysdeps/i386/fpu/libm-test-ulps: Update.
17850 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
17852 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
17853 printf output with newline.
17855 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
17858 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
17859 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
17860 -z nodlopen, -z initfirst and -z execstack support.
17861 * configure: Regenerated.
17863 * elf/elf.h (DF_1_NODIRECT): New macro.
17864 (DF_1_IGNMULDEF): Likewise.
17865 (DF_1_NOKSYMS): Likewise.
17866 (DF_1_NOHDR): Likewise.
17867 (DF_1_EDITED): Likewise.
17868 (DF_1_NORELOC): Likewise.
17869 (DF_1_SYMINTPOSE): Likewise.
17870 (DF_1_GLOBAUDIT): Likewise.
17871 (DF_1_SINGLETON): Likewise.
17872 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
17873 DT_1_SUPPORTED_MASK bits.
17874 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
17876 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
17878 * sysdeps/unix/make-syscalls.sh: Document prefixes.
17880 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
17882 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
17885 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
17886 (sendmmsg): Move declarations...
17887 * socket/sys/socket.h: ... here.
17888 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
17889 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
17891 * socket/recvmmsg.c: ... this new file.
17892 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
17893 (sendmmsg): Rename to __sendmmsg, create weak alias and make
17894 definition of __sendmmsg hidden.
17895 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
17896 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
17897 Move ENOSYS stub into and include it from...
17898 * socket/sendmmsg.c: ... this new file.
17899 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
17900 (sysdep_routines): Move recvmmsg and sendmmsg...
17901 * socket/Makefile (routines): ... here.
17902 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
17903 (GLIBC_PRIVATE): Add __sendmmsg.
17904 * include/sys/socket.h (__sendmmsg): Add declarations.
17905 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
17908 2012-11-20 Joseph Myers <joseph@codesourcery.com>
17910 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
17911 variable I1 with __attribute__ ((unused)).
17912 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
17914 2012-11-19 Joseph Myers <joseph@codesourcery.com>
17916 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
17917 DUMMY variables with __attribute__ ((unused)).
17919 * bits/byteswap.h: Include <bits/types.h>.
17920 (__bswap_64): Use __uint64_t instead of unsigned long long int.
17922 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
17924 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
17925 string_t. Do not manually set errno.
17926 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
17927 length with __strnlen. Make sure to both set errno and return it on
17930 2012-11-19 David S. Miller <davem@davemloft.net>
17932 With help from Joseph Myers.
17933 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
17934 very large arguments properly.
17935 * math/libm-test.inc (atan_test): New tests.
17936 (atan2_test): New tests.
17937 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17938 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17940 2012-11-19 Joseph Myers <joseph@codesourcery.com>
17943 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
17946 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
17947 [POSIX] (EADDRNOTAVAIL): Likewise.
17948 [POSIX] (EAFNOSUPPORT): Likewise.
17949 [POSIX] (EALREADY): Likewise.
17950 [POSIX] (ECONNABORTED): Likewise.
17951 [POSIX] (ECONNREFUSED): Likewise.
17952 [POSIX] (ECONNRESET): Likewise.
17953 [POSIX] (EDESTADDRREQ): Likewise.
17954 [POSIX] (EDQUOT): Likewise.
17955 [POSIX] (EHOSTUNREACH): Likewise.
17956 [POSIX] (EIDRM): Likewise.
17957 [POSIX] (EISCONN): Likewise.
17958 [POSIX] (ELOOP): Likewise.
17959 [POSIX] (EMULTIHOP): Likewise.
17960 [POSIX] (ENETDOWN): Likewise.
17961 [POSIX] (ENETUNREACH): Likewise.
17962 [POSIX] (ENOBUFS): Likewise.
17963 [POSIX] (ENODATA): Likewise.
17964 [POSIX] (ENOLINK): Likewise.
17965 [POSIX] (ENOMSG): Likewise.
17966 [POSIX] (ENOPROTOOPT): Likewise.
17967 [POSIX] (ENOSR): Likewise.
17968 [POSIX] (ENOSTR): Likewise.
17969 [POSIX] (ENOTCONN): Likewise.
17970 [POSIX] (ENOTSOCK): Likewise.
17971 [POSIX] (EOPNOTSUPP): Likewise.
17972 [POSIX] (EOVERFLOW): Likewise.
17973 [POSIX] (EPROTO): Likewise.
17974 [POSIX] (EPROTONOSUPPORT): Likewise.
17975 [POSIX] (EPROTOTYPE): Likewise.
17976 [POSIX] (ESTALE): Likewise.
17977 [POSIX] (ETIME): Likewise.
17978 [POSIX] (ETXTBSY): Likewise.
17979 [POSIX] (EWOULDBLOCK): Likewise.
17980 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
17981 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
17982 [POSIX] (SEEK_CUR): Likewise.
17983 [POSIX] (SEEK_END): Likewise.
17984 [POSIX || UNIX98] (mode_t): Do not require.
17985 [POSIX] (off_t): Likewise.
17986 [POSIX] (pid_t): Likewise.
17987 [POSIX] (sys/stat.h): Do not allow header.
17988 [POSIX] (unistd.h): Likewise.
17989 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
17990 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
17991 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
17992 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
17994 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
17995 sigevent): Specify elements.
17996 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
17998 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
17999 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
18001 * conform/data/cpio.h-data [POSIX]: Disable whole file.
18002 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
18003 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
18004 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
18005 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
18006 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
18007 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
18008 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
18009 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
18010 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
18011 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
18012 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
18013 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
18014 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
18016 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
18018 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
18020 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
18022 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
18023 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
18024 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
18025 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
18026 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
18027 Specify lower bound on value.
18028 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
18029 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
18030 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
18031 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
18032 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
18033 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
18034 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
18035 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
18037 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
18039 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
18040 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
18041 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
18042 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
18043 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
18044 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
18045 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
18046 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
18047 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
18048 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
18049 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
18050 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
18051 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
18052 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
18053 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
18054 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
18056 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
18058 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
18059 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
18060 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
18061 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
18062 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
18063 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
18065 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
18066 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
18067 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
18068 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
18069 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
18070 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
18071 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
18073 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
18074 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
18075 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
18076 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
18077 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
18078 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
18079 specify as optional.
18080 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
18081 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
18082 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
18083 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
18084 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
18085 [XPG3] (NL_LANGMAX): Likewise.
18086 [POSIX || XPG3] (NL_MSGMAX): Likewise.
18087 [POSIX || XPG3] (NL_NMAX): Likewise.
18088 [POSIX || XPG3] (NL_SETMAX): Likewise.
18089 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
18090 [XPG3] (NZERO): Likewise.
18091 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
18092 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
18093 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
18094 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
18095 (REG_ERANGE): Expect.
18096 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
18098 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
18099 Use (void) in prototype.
18100 [POSIX] (*_t): Allow.
18101 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
18102 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
18103 (WRDE_BADVAL): Expect.
18105 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
18107 [XPG3 || XPG4] (O_RSYNC): Likewise.
18108 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
18110 [XPG3 || XPG4] (pthread_sigmask): Likewise.
18111 [XPG3 || XPG4] (sigqueue): Likewise.
18112 [XPG3 || XPG4] (sigtimedwait): Likewise.
18113 [XPG3 || XPG4] (sigwaitinfo): Likewise.
18114 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
18115 [XPG3 || XPG4] (vsnprintf): Likewise.
18116 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
18118 [XPG3 || XPG4] (blksize_t): Likewise.
18119 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
18121 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
18122 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
18123 [XPG3 || XPG4] (struct itimerspec): Likewise.
18124 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
18125 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
18126 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
18127 [XPG3 || XPG4] (clockid_t): Likewise.
18128 [XPG3 || XPG4] (timer_t): Likewise.
18129 [XPG3 || XPG4] (clock_getres): Likewise.
18130 [XPG3 || XPG4] (clock_gettime): Likewise.
18131 [XPG3 || XPG4] (clock_settime): Likewise.
18132 [XPG3 || XPG4] (nanosleep): Likewise.
18133 [XPG3 || XPG4] (timer_create): Likewise.
18134 [XPG3 || XPG4] (timer_delete): Likewise.
18135 [XPG3 || XPG4] (timer_gettime): Likewise.
18136 [XPG3 || XPG4] (timer_getoverrun): Likewise.
18137 [XPG3 || XPG4] (timer_settime): Likewise.
18138 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
18139 [XPG3 || XPG4] (getlogin_r): Likewise.
18140 [XPG3 || XPG4] (pread): Likewise.
18141 [XPG3 || XPG4] (pthread_atfork): Likewise.
18142 [XPG3 || XPG4] (pwrite): Likewise.
18145 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
18148 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
18150 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
18151 finalizing MALLSTREAM.
18153 * sysdeps/mach/hurd/syncfs.c: New file.
18155 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
18158 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
18159 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
18160 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
18161 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
18162 (_nss_dns_gethostbyname4_r): Likewise.
18163 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
18164 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
18166 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
18169 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
18171 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
18173 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
18174 * elf/cache.c (print_entry): Print ",AArch64" for
18177 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
18178 * elf/cache.c (print_entry): Print ",hard-float" for
18181 2012-11-18 David S. Miller <davem@davemloft.net>
18183 With help from Joseph Myers.
18184 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
18186 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
18188 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
18189 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
18191 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
18192 * math/libm-test.inc (y0_test): New tests.
18193 (y1_test): New tests.
18194 * sysdeps/i386/fpu/libm-test-ulps: Update.
18195 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18196 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18198 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
18200 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
18202 * configure: Regenerated.
18204 2012-11-17 David S. Miller <davem@davemloft.net>
18207 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
18208 nonzero exponents with absolute value below 0x1p-128 to +/-
18211 2012-11-17 Joseph Myers <joseph@codesourcery.com>
18213 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
18215 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
18217 * posix/getconf-speclist.c: New file.
18218 * posix/posix-envs.def: Likewise.
18219 * posix/confstr.c (START_ENV_GROUP): New macro.
18220 (END_ENV_GROUP): Likewise.
18221 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
18222 (KNOWN_PRESENT_ENV_STRING): Likewise.
18223 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
18224 (UNKNOWN_ENVIRONMENT): Likewise.
18225 (confstr): Include posix-envs.def instead of handling
18226 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
18227 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
18228 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
18229 (END_ENV_GROUP): Likewise.
18230 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
18231 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
18232 (UNKNOWN_ENVIRONMENT): Likewise.
18233 (__sysconf): Include posix-envs.def instead of handling associated
18234 cases directly here.
18235 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
18236 preprocessing getconf-speclist.c rather than running getconf or
18237 generating empty file.
18239 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
18241 * scripts/check-local-headers.sh: Ignore 'mach' headers.
18243 2012-11-16 Andrej Lajovic <natrij@gmail.com>
18246 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
18248 2012-11-16 David S. Miller <davem@davemloft.net>
18250 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
18251 smaller than LDBL_EPSILON/2.0L, just return xm1.
18253 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
18255 * elf/tst-array1.c (init): Set constructor priority to 1000.
18256 (fini): Set destructor priority to 1000.
18257 * elf/tst-array2dep.c: Likewise.
18259 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
18262 * libio/fileops.c (_IO_new_file_write): Correctly return error.
18263 (_IO_new_file_xsputn): Also return EOF if none of the input
18264 data was written when overflow failed.
18265 * libio/iopadn.c (_IO_padn): Likewise.
18266 * libio/iowpadn.c (_IO_wpadn): Likewise.
18267 * stdio-common/tst-put-error.c: Add copyright notice.
18268 (do_test): Add case for printing padded string.
18269 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
18270 _IO_padn returned error.
18271 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
18272 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
18275 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
18277 * libio/libioP.h: Add comment note that the references to C++
18278 bits are now obsolete.
18280 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
18282 * math/libm-test.inc (check_complex): Use asprintf.
18284 2012-11-14 Joseph Myers <joseph@codesourcery.com>
18286 * debug/pcprofiledump.c (print_version): Update copyright year.
18287 * malloc/memusagestat.c (print_version): Likewise.
18289 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
18292 * elf/Makefile (tests): Add tst-audit8.
18293 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
18294 ($(objpfx)tst-audit8.out): New target.
18295 (tst-audit8-ENV): New variable.
18296 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
18297 audit if l_reloc_result is NULL.
18298 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
18299 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
18300 * elf/tst-audit8.c: New file.
18302 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
18304 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
18305 * misc/Makefile (CFLAGS-select.c): Define.
18306 * posix/Makefile (CFLAGS-pause.c): Define.
18308 2012-11-13 David S. Miller <davem@davemloft.net>
18310 * crypt/Makefile: Move test targets after toplevel Rules
18311 inclusion. Grab any necessary sysdep routines when linking.
18312 * crypt/md5.c (md5_process_block): Remove define, we will always
18313 name it __md5_process_block.
18314 (md5_finish_ctx): Update md5_process_block call.
18315 (md5_stream): Likewise.
18316 (md5_process_bytes): Likewise.
18317 (md5_process_block): Rename to __md5_process_block and move to ...
18318 * crypt/md5-block.c: ... here.
18319 * crypt/sha256.c (sha256_process_block): Move to ...
18320 * crypt/sha256-block.c: ... here.
18321 * crypt/sha512.c (sha512_process_block): Move to ...
18322 * crypt/sha512-block.c: ... here.
18323 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
18325 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
18326 * sysdeps/sparc/sparc64/multiarch/Makefile
18327 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
18329 (localedef-aux): Add md5 crypto assembler when in locale subdir.
18330 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
18332 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
18333 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
18334 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
18335 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
18336 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
18337 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
18338 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
18339 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
18340 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
18342 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
18343 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
18345 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
18347 2012-11-13 Joseph Myers <joseph@codesourcery.com>
18349 * timezone/tzselect.ksh: Update from tzcode git revision
18350 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
18351 * timezone/zdump.c: Likewise.
18352 * timezone/zic.c: Likewise.
18353 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
18354 in TZVERSION setting, not $(PKGVERSION).
18355 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
18356 REPORT_BUGS_TO settings.
18359 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
18362 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
18364 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
18365 detection to immediately after _FP_ROUND().
18366 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
18369 2012-11-11 David S. Miller <davem@davemloft.net>
18371 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
18373 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
18374 __close rather than their public counterparts.
18376 2012-11-10 Joseph Myers <joseph@codesourcery.com>
18378 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
18380 [UNIX98] (sem_timedwait): Do not expect.
18381 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
18382 [XPG4 || UNIX98] (sockatmark): Do not expect.
18383 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
18384 (clock_getcpuclockid): Do not expect.
18385 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
18386 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
18388 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
18389 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
18390 [UNIX98] (vwscanf): Likewise.
18391 [UNIX98] (vswscanf): Likewise.
18393 2012-11-09 Joseph Myers <joseph@codesourcery.com>
18395 * timezone/version.h: Remove file.
18396 * timezone/README: Do not refer to version.h.
18397 * timezone/Makefile ($(objpfx)zic.o): New dependency on
18398 $(objpfx)version.h.
18399 ($(objpfx)zdump.o): Likewise.
18400 ($(objpfx)version.h): New target.
18402 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
18404 * timezone/README: Don't mention modification to tzselect.ksh.
18405 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
18406 work on unmodified tzselect.ksh. Substitute version numbers in
18409 * Makefile (format-me): Remove.
18410 (INSTALL): Adjust indentation. Use commands directly instead of
18411 using $(format-me).
18413 * aclocal.m4 (ACX_PKGVERSION): New macro.
18414 (ACX_BUGURL): Likewise.
18415 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
18416 (PKGVERSION): New AC_DEFINE_UNQUOTED.
18417 (REPORT_BUGS_TO): Likewise.
18418 * configure: Regenerated.
18419 * config.h.in (PKGVERSION): New macro.
18420 (REPORT_BUGS_TO): Likewise.
18421 * config.make.in (PKGVERSION): New variable.
18422 (PKGVERSION_TEXI): Likewise.
18423 (REPORT_BUGS_TO): Likewise.
18424 (REPORT_BUGS_TEXI): Likewise.
18425 * Makefile (format-me): Use -I$(common-objpfx)manual.
18426 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
18427 ($(common-objpfx)manual/%): New target.
18428 (manual/%): Remove target.
18429 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
18430 (print_version): Use PKGVERSION.
18431 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
18432 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
18433 and REPORT_BUGS_TO.
18434 ($(objpfx)xtrace): Likewise.
18435 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
18436 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
18437 (print_version): Use PKGVERSION.
18438 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
18439 (do_version): Use PKGVERSION.
18440 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
18442 (common-ldd-rewrite): Likewise.
18443 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
18444 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
18445 (print_version): Use PKGVERSION.
18446 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
18447 * elf/pldd.c (argp_program_bug_address): Remove variable.
18448 (more_help): New function.
18449 (argp): Use more_help.
18450 (print_version): Use PKGVERSION.
18451 * elf/sln.c (main): Use PKGVERSION.
18452 (usage): Use REPORT_BUGS_TO.
18453 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
18454 (top level): Use PKGVERSION.
18455 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
18456 (print_version): Use PKGVERSION.
18457 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
18458 (print_version): Use PKGVERSION.
18459 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
18460 (print_version): Use PKGVERSION.
18461 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
18462 (print_version): Use PKGVERSION.
18463 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
18464 (print_version): Use PKGVERSION.
18465 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
18466 (print_version): Use PKGVERSION.
18467 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
18469 ($(objpfx)memusage): Likewise.
18470 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
18471 (do_version): Use PKGVERSION.
18472 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
18473 (print_version): Use PKGVERSION.
18474 * malloc/mtrace.pl ($PACKAGE): Remove variable.
18475 ($PKGVERSION): New variable.
18476 ($REPORT_BUGS_TO): Likewise.
18477 (usage): Use $REPORT_BUGS_TO.
18478 (top level): Use $PKGVERSION.
18479 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
18480 ($(objpfx)pkgvers.texi): New rule.
18481 ($(objpfx)stamp-pkgvers): Likewise.
18482 * manual/install.texi: Include pkgvers.texi.
18483 (--with-pkgversion): Document new configure option.
18484 (--with-bugurl): Likewise.
18485 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
18486 than necessarily for this particular distribution. Use
18487 REPORT_BUGS_TO for where to report bugs.
18488 * INSTALL: Regenerated.
18489 * manual/libc.texinfo: Include pkgvers.texi.
18490 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
18491 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
18492 (print_version): Use PKGVERSION.
18493 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
18494 (print_version): Use PKGVERSION.
18495 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
18496 (print_version): Use PKGVERSION.
18497 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
18498 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
18500 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
18501 (print_version): Use PKGVERSION.
18502 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
18503 (print_version): Use PKGVERSION.
18504 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
18507 * timezone/checktab.awk: Update from tzcode 2012i.
18508 * timezone/ialloc.c: Likewise.
18509 * timezone/private.h: Likewise.
18510 * timezone/scheck.c: Likewise.
18511 * timezone/tzfile.h: Likewise.
18512 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
18513 (TZVERSION): Hardcode tzcode version number.
18514 * timezone/zdump.c: Update from tzcode 2012i.
18515 * timezone/zic.c: Likewise.
18516 * timezone/version.h: New file.
18517 * timezone/README: Describe version.h. Update upstream location.
18520 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
18521 (mktemp): Enable declaration.
18522 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
18523 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
18524 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
18525 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
18527 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
18529 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
18531 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
18533 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
18535 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
18539 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
18540 offset in buffer as u_int32_t not u_long. Consistently use memcpy
18541 for copies of such integer values.
18542 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
18543 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
18545 2012-11-09 Andreas Jaeger <aj@suse.de>
18547 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
18548 definitions and declarations that are provided by
18549 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
18551 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18553 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
18554 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
18555 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
18558 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
18560 * elf/elf.h: Update comment before AArch64 relocations.
18562 2012-11-07 David S. Miller <davem@davemloft.net>
18564 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
18565 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
18566 (__start_context): Declare.
18567 (__makecontext_ret): Delete.
18568 (__makecontext): Hook up __start_context instead of
18570 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
18571 (sysdep_routines): Add __start_context when in stdlib.
18573 2012-11-07 Joseph Myers <joseph@codesourcery.com>
18575 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
18576 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
18577 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
18579 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
18580 (READELF): New variable. Use it instead of hardcoded "readelf".
18582 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
18584 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
18585 * sysdeps/x86/Makefile: Here.
18586 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
18587 * sysdeps/x86/tst-xmmymm.sh: This.
18589 2012-11-07 Joseph Myers <joseph@codesourcery.com>
18591 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
18593 [UNIX98] (pthread_barrier_t): Do not expect.
18594 [UNIX98] (pthread_barrierattr_t): Likewise.
18595 [UNIX98] (pthread_spinlock_t): Likewise.
18596 [UNIX98] (pthread_barrier_destroy): Likewise.
18597 [UNIX98] (pthread_barrier_init): Likewise.
18598 [UNIX98] (pthread_barrier_wait): Likewise.
18599 [UNIX98] (pthread_barrierattr_destroy): Likewise.
18600 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
18601 [UNIX98] (pthread_barrierattr_init): Likewise.
18602 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
18603 [UNIX98] (pthread_getcpuclockid): Likewise.
18604 [UNIX98] (pthread_mutex_timedlock): Likewise.
18605 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
18606 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
18607 [UNIX98] (pthread_sigmask): Likewise.
18608 [UNIX98] (pthread_spin_destroy): Likewise.
18609 [UNIX98] (pthread_spin_init): Likewise.
18610 [UNIX98] (pthread_spin_lock): Likewise.
18611 [UNIX98] (pthread_spin_trylock): Likewise.
18612 [UNIX98] (pthread_spin_unlock): Likewise.
18613 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
18615 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
18616 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
18617 [XPG3 || XPG4] (pthread_cond_t): Likewise.
18618 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
18619 [XPG3 || XPG4] (pthread_key_t): Likewise.
18620 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
18621 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
18622 [XPG3 || XPG4] (pthread_once_t): Likewise.
18623 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
18624 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
18625 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
18626 [XPG3 || XPG4] (pthread_t): Likewise.
18628 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
18630 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
18632 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
18633 Change function return type to int.
18635 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
18636 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
18637 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
18638 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
18639 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
18640 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
18641 [!POSIX] (posix_madvise): Likewise.
18642 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
18644 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
18645 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
18646 (mode_t): Likewise.
18647 (posix_mem_offset): Likewise.
18648 (posix_typed_mem_get_info): Likewise.
18649 (posix_typed_mem_open): Likewise.
18651 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
18652 Change condition to [XOPEN2K8].
18654 * conform/conformtest.pl: Preprocess allow-header data with -x c
18655 instead of from stdin.
18656 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
18657 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
18658 [C99-based standards] (cerfc): Likewise.
18659 [C99-based standards] (cexp2): Likewise.
18660 [C99-based standards] (cexpm1): Likewise.
18661 [C99-based standards] (clog10): Likewise.
18662 [C99-based standards] (clog1p): Likewise.
18663 [C99-based standards] (clog2): Likewise.
18664 [C99-based standards] (clgamma): Likewise.
18665 [C99-based standards] (ctgamma): Likewise.
18666 [C99-based standards] (cerff): Likewise.
18667 [C99-based standards] (cerfcf): Likewise.
18668 [C99-based standards] (cexp2f): Likewise.
18669 [C99-based standards] (cexpm1f): Likewise.
18670 [C99-based standards] (clog10f): Likewise.
18671 [C99-based standards] (clog1pf): Likewise.
18672 [C99-based standards] (clog2f): Likewise.
18673 [C99-based standards] (clgammaf): Likewise.
18674 [C99-based standards] (ctgammaf): Likewise.
18675 [C99-based standards] (cerfl): Likewise.
18676 [C99-based standards] (cerfcl): Likewise.
18677 [C99-based standards] (cexp2l): Likewise.
18678 [C99-based standards] (cexpm1l): Likewise.
18679 [C99-based standards] (clog10l): Likewise.
18680 [C99-based standards] (clog1pl): Likewise.
18681 [C99-based standards] (clog2l): Likewise.
18682 [C99-based standards] (clgammal): Likewise.
18683 [C99-based standards] (ctgammal): Likewise.
18684 * conform/data/inttypes.h-data [C99-based standards]: Include
18685 stdint.h-data. Remove all expectations for stdint.h contents.
18686 [C99-based standards] (PRI*): Do not allow.
18687 [C99-based standards] (SCN*): Likewise.
18688 [C99-based standards] (*_t): Likewise.
18689 [C99-based-standards] (PRId8): Expect macro.
18690 [C99-based-standards] (PRIi8): Likewise.
18691 [C99-based-standards] (PRIo8): Likewise.
18692 [C99-based-standards] (PRIu8): Likewise.
18693 [C99-based-standards] (PRIx8): Likewise.
18694 [C99-based-standards] (PRIX8): Likewise.
18695 [C99-based-standards] (SCNd8): Likewise.
18696 [C99-based-standards] (SCNi8): Likewise.
18697 [C99-based-standards] (SCNo8): Likewise.
18698 [C99-based-standards] (SCNu8): Likewise.
18699 [C99-based-standards] (SCNx8): Likewise.
18700 [C99-based-standards] (PRIdLEAST8): Likewise.
18701 [C99-based-standards] (PRIiLEAST8): Likewise.
18702 [C99-based-standards] (PRIoLEAST8): Likewise.
18703 [C99-based-standards] (PRIuLEAST8): Likewise.
18704 [C99-based-standards] (PRIxLEAST8): Likewise.
18705 [C99-based-standards] (PRIXLEAST8): Likewise.
18706 [C99-based-standards] (SCNdLEAST8): Likewise.
18707 [C99-based-standards] (SCNiLEAST8): Likewise.
18708 [C99-based-standards] (SCNoLEAST8): Likewise.
18709 [C99-based-standards] (SCNuLEAST8): Likewise.
18710 [C99-based-standards] (SCNxLEAST8): Likewise.
18711 [C99-based-standards] (PRIdFAST8): Likewise.
18712 [C99-based-standards] (PRIiFAST8): Likewise.
18713 [C99-based-standards] (PRIoFAST8): Likewise.
18714 [C99-based-standards] (PRIuFAST8): Likewise.
18715 [C99-based-standards] (PRIxFAST8): Likewise.
18716 [C99-based-standards] (PRIXFAST8): Likewise.
18717 [C99-based-standards] (SCNdFAST8): Likewise.
18718 [C99-based-standards] (SCNiFAST8): Likewise.
18719 [C99-based-standards] (SCNoFAST8): Likewise.
18720 [C99-based-standards] (SCNuFAST8): Likewise.
18721 [C99-based-standards] (SCNxFAST8): Likewise.
18722 [C99-based-standards] (PRId16): Likewise.
18723 [C99-based-standards] (PRIi16): Likewise.
18724 [C99-based-standards] (PRIo16): Likewise.
18725 [C99-based-standards] (PRIu16): Likewise.
18726 [C99-based-standards] (PRIx16): Likewise.
18727 [C99-based-standards] (PRIX16): Likewise.
18728 [C99-based-standards] (SCNd16): Likewise.
18729 [C99-based-standards] (SCNi16): Likewise.
18730 [C99-based-standards] (SCNo16): Likewise.
18731 [C99-based-standards] (SCNu16): Likewise.
18732 [C99-based-standards] (SCNx16): Likewise.
18733 [C99-based-standards] (PRIdLEAST16): Likewise.
18734 [C99-based-standards] (PRIiLEAST16): Likewise.
18735 [C99-based-standards] (PRIoLEAST16): Likewise.
18736 [C99-based-standards] (PRIuLEAST16): Likewise.
18737 [C99-based-standards] (PRIxLEAST16): Likewise.
18738 [C99-based-standards] (PRIXLEAST16): Likewise.
18739 [C99-based-standards] (SCNdLEAST16): Likewise.
18740 [C99-based-standards] (SCNiLEAST16): Likewise.
18741 [C99-based-standards] (SCNoLEAST16): Likewise.
18742 [C99-based-standards] (SCNuLEAST16): Likewise.
18743 [C99-based-standards] (SCNxLEAST16): Likewise.
18744 [C99-based-standards] (PRIdFAST16): Likewise.
18745 [C99-based-standards] (PRIiFAST16): Likewise.
18746 [C99-based-standards] (PRIoFAST16): Likewise.
18747 [C99-based-standards] (PRIuFAST16): Likewise.
18748 [C99-based-standards] (PRIxFAST16): Likewise.
18749 [C99-based-standards] (PRIXFAST16): Likewise.
18750 [C99-based-standards] (SCNdFAST16): Likewise.
18751 [C99-based-standards] (SCNiFAST16): Likewise.
18752 [C99-based-standards] (SCNoFAST16): Likewise.
18753 [C99-based-standards] (SCNuFAST16): Likewise.
18754 [C99-based-standards] (SCNxFAST16): Likewise.
18755 [C99-based-standards] (PRId32): Likewise.
18756 [C99-based-standards] (PRIi32): Likewise.
18757 [C99-based-standards] (PRIo32): Likewise.
18758 [C99-based-standards] (PRIu32): Likewise.
18759 [C99-based-standards] (PRIx32): Likewise.
18760 [C99-based-standards] (PRIX32): Likewise.
18761 [C99-based-standards] (SCNd32): Likewise.
18762 [C99-based-standards] (SCNi32): Likewise.
18763 [C99-based-standards] (SCNo32): Likewise.
18764 [C99-based-standards] (SCNu32): Likewise.
18765 [C99-based-standards] (SCNx32): Likewise.
18766 [C99-based-standards] (PRIdLEAST32): Likewise.
18767 [C99-based-standards] (PRIiLEAST32): Likewise.
18768 [C99-based-standards] (PRIoLEAST32): Likewise.
18769 [C99-based-standards] (PRIuLEAST32): Likewise.
18770 [C99-based-standards] (PRIxLEAST32): Likewise.
18771 [C99-based-standards] (PRIXLEAST32): Likewise.
18772 [C99-based-standards] (SCNdLEAST32): Likewise.
18773 [C99-based-standards] (SCNiLEAST32): Likewise.
18774 [C99-based-standards] (SCNoLEAST32): Likewise.
18775 [C99-based-standards] (SCNuLEAST32): Likewise.
18776 [C99-based-standards] (SCNxLEAST32): Likewise.
18777 [C99-based-standards] (PRIdFAST32): Likewise.
18778 [C99-based-standards] (PRIiFAST32): Likewise.
18779 [C99-based-standards] (PRIoFAST32): Likewise.
18780 [C99-based-standards] (PRIuFAST32): Likewise.
18781 [C99-based-standards] (PRIxFAST32): Likewise.
18782 [C99-based-standards] (PRIXFAST32): Likewise.
18783 [C99-based-standards] (SCNdFAST32): Likewise.
18784 [C99-based-standards] (SCNiFAST32): Likewise.
18785 [C99-based-standards] (SCNoFAST32): Likewise.
18786 [C99-based-standards] (SCNuFAST32): Likewise.
18787 [C99-based-standards] (SCNxFAST32): Likewise.
18788 [C99-based-standards] (PRId64): Likewise.
18789 [C99-based-standards] (PRIi64): Likewise.
18790 [C99-based-standards] (PRIo64): Likewise.
18791 [C99-based-standards] (PRIu64): Likewise.
18792 [C99-based-standards] (PRIx64): Likewise.
18793 [C99-based-standards] (PRIX64): Likewise.
18794 [C99-based-standards] (SCNd64): Likewise.
18795 [C99-based-standards] (SCNi64): Likewise.
18796 [C99-based-standards] (SCNo64): Likewise.
18797 [C99-based-standards] (SCNu64): Likewise.
18798 [C99-based-standards] (SCNx64): Likewise.
18799 [C99-based-standards] (PRIdLEAST64): Likewise.
18800 [C99-based-standards] (PRIiLEAST64): Likewise.
18801 [C99-based-standards] (PRIoLEAST64): Likewise.
18802 [C99-based-standards] (PRIuLEAST64): Likewise.
18803 [C99-based-standards] (PRIxLEAST64): Likewise.
18804 [C99-based-standards] (PRIXLEAST64): Likewise.
18805 [C99-based-standards] (SCNdLEAST64): Likewise.
18806 [C99-based-standards] (SCNiLEAST64): Likewise.
18807 [C99-based-standards] (SCNoLEAST64): Likewise.
18808 [C99-based-standards] (SCNuLEAST64): Likewise.
18809 [C99-based-standards] (SCNxLEAST64): Likewise.
18810 [C99-based-standards] (PRIdFAST64): Likewise.
18811 [C99-based-standards] (PRIiFAST64): Likewise.
18812 [C99-based-standards] (PRIoFAST64): Likewise.
18813 [C99-based-standards] (PRIuFAST64): Likewise.
18814 [C99-based-standards] (PRIxFAST64): Likewise.
18815 [C99-based-standards] (PRIXFAST64): Likewise.
18816 [C99-based-standards] (SCNdFAST64): Likewise.
18817 [C99-based-standards] (SCNiFAST64): Likewise.
18818 [C99-based-standards] (SCNoFAST64): Likewise.
18819 [C99-based-standards] (SCNuFAST64): Likewise.
18820 [C99-based-standards] (SCNxFAST64): Likewise.
18821 [C99-based-standards] (PRIdMAX): Likewise.
18822 [C99-based-standards] (PRIiMAX): Likewise.
18823 [C99-based-standards] (PRIoMAX): Likewise.
18824 [C99-based-standards] (PRIuMAX): Likewise.
18825 [C99-based-standards] (PRIxMAX): Likewise.
18826 [C99-based-standards] (PRIXMAX): Likewise.
18827 [C99-based-standards] (SCNdMAX): Likewise.
18828 [C99-based-standards] (SCNiMAX): Likewise.
18829 [C99-based-standards] (SCNoMAX): Likewise.
18830 [C99-based-standards] (SCNuMAX): Likewise.
18831 [C99-based-standards] (SCNxMAX): Likewise.
18832 [C99-based-standards] (PRIdPTR): Likewise.
18833 [C99-based-standards] (PRIiPTR): Likewise.
18834 [C99-based-standards] (PRIoPTR): Likewise.
18835 [C99-based-standards] (PRIuPTR): Likewise.
18836 [C99-based-standards] (PRIxPTR): Likewise.
18837 [C99-based-standards] (PRIXPTR): Likewise.
18838 [C99-based-standards] (SCNdPTR): Likewise.
18839 [C99-based-standards] (SCNiPTR): Likewise.
18840 [C99-based-standards] (SCNoPTR): Likewise.
18841 [C99-based-standards] (SCNuPTR): Likewise.
18842 [C99-based-standards] (SCNxPTR): Likewise.
18843 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
18845 * conform/data/stdint.h-data: Update comments to clarify
18847 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
18849 [C99-based standards] (INT8_MAX): Likewise.
18850 [C99-based standards] (INT16_MIN): Likewise.
18851 [C99-based standards] (INT16_MAX): Likewise.
18852 [C99-based standards] (INT32_MIN): Likewise.
18853 [C99-based standards] (INT32_MAX): Likewise.
18854 [C99-based standards] (INT64_MIN): Likewise.
18855 [C99-based standards] (INT64_MAX): Likewise.
18856 [C99-based standards] (UINT8_MAX): Likewise.
18857 [C99-based standards] (UINT16_MAX): Likewise.
18858 [C99-based standards] (UINT32_MAX): Likewise.
18859 [C99-based standards] (UINT64_MAX): Likewise.
18860 [C99-based standards] (INT_LEAST8_MIN): Likewise.
18861 [C99-based standards] (INT_LEAST8_MAX): Likewise.
18862 [C99-based standards] (INT_LEAST16_MIN): Likewise.
18863 [C99-based standards] (INT_LEAST16_MAX): Likewise.
18864 [C99-based standards] (INT_LEAST32_MIN): Likewise.
18865 [C99-based standards] (INT_LEAST32_MAX): Likewise.
18866 [C99-based standards] (INT_LEAST64_MIN): Likewise.
18867 [C99-based standards] (INT_LEAST64_MAX): Likewise.
18868 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
18869 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
18870 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
18871 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
18872 [C99-based standards] (INT_FAST8_MIN): Likewise.
18873 [C99-based standards] (INT_FAST8_MAX): Likewise.
18874 [C99-based standards] (INT_FAST16_MIN): Likewise.
18875 [C99-based standards] (INT_FAST16_MAX): Likewise.
18876 [C99-based standards] (INT_FAST32_MIN): Likewise.
18877 [C99-based standards] (INT_FAST32_MAX): Likewise.
18878 [C99-based standards] (INT_FAST64_MIN): Likewise.
18879 [C99-based standards] (INT_FAST64_MAX): Likewise.
18880 [C99-based standards] (UINT_FAST8_MAX): Likewise.
18881 [C99-based standards] (UINT_FAST16_MAX): Likewise.
18882 [C99-based standards] (UINT_FAST32_MAX): Likewise.
18883 [C99-based standards] (UINT_FAST64_MAX): Likewise.
18884 [C99-based standards] (INTPTR_MIN): Likewise.
18885 [C99-based standards] (INTPTR_MAX): Likewise.
18886 [C99-based standards] (UINTPTR_MAX): Likewise.
18887 [C99-based standards] (INTMAX_MIN): Likewise.
18888 [C99-based standards] (INTMAX_MAX): Likewise.
18889 [C99-based standards] (UINTMAX_MAX): Likewise.
18890 [C99-based standards] (PTRDIFF_MIN): Likewise.
18891 [C99-based standards] (PTRDIFF_MAX): Likewise.
18892 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
18893 [C99-based standards] (SIZE_MAX): Likewise.
18894 [C99-based standards] (WCHAR_MAX): Likewise.
18895 [C99-based standards] (WINT_MAX): Likewise.
18896 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
18897 constraint on value.
18898 [C99-based standards] (WCHAR_MIN): Likewise.
18899 [C99-based standards] (WINT_MIN): Likewise.
18900 [C99-based standards] (*_t): Allow.
18901 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
18902 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
18903 Include math.h-data and complex.h-data. Remove all expectations
18904 of math.h and complex.h contents.
18905 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
18907 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
18908 (struct tm): Expect tag.
18909 [C99-based-standards] (wcstof): Expect function.
18910 [C99-based-standards] (wcstold): Likewise.
18911 [C99-based-standards] (wcstoll): Likewise.
18912 [C99-based-standards] (wcstoull): Likewise.
18913 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
18914 macro-int-constant. Specify type.
18915 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
18916 constraint on value.
18917 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
18919 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
18921 [ISO C standards]: Do not allow headers.
18922 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
18923 wcs[abcdefghijklmnopqrstuvwxyz]*.
18924 [ISO C standards] (*_t): Do not allow.
18925 * conform/data/wctype.h-data [C99-based standards] (iswblank):
18927 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
18928 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
18930 [ISO C standards]: Do not allow headers.
18931 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
18932 is[abcdefghijklmnopqrstuvwxyz]*.
18933 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
18934 to[abcdefghijklmnopqrstuvwxyz]*.
18935 [ISO C standards] (*_t): Do not allow.
18936 * conform/data/stdalign.h-data: New file.
18937 * conform/data/stdbool.h-data: Likewise.
18938 * conform/data/stdnoreturn.h-data: Likewise.
18940 2012-11-07 Roland McGrath <roland@hack.frob.com>
18943 * manual/filesys.texi (Directory Entries): Typo fix.
18944 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
18946 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
18948 * elf/elf.h (EM_AARCH64): New macro.
18949 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
18950 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
18951 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
18952 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
18953 (R_AARCH64_TLSDESC): Likewise.
18954 (NT_ARM_TLS): Likewise.
18955 (NT_ARM_HW_BREAK): Likewise.
18956 (NT_ARM_HW_WATCH): Likewise.
18958 2012-11-07 Joseph Myers <joseph@codesourcery.com>
18961 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
18962 (__ieee754_powl): Saturate nonzero exponents with absolute value
18963 below 0x1p-79 to +/- 0x1p-79.
18964 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
18965 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
18966 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
18967 nonzero exponents with absolute value below 0x1p-32 to +/-
18969 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
18970 (__ieee754_powl): Saturate nonzero exponents with absolute value
18971 below 0x1p-79 to +/- 0x1p-79.
18972 * math/libm-test.inc (pow_test): Add more tests.
18974 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18976 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
18977 _dl_s390_cap_flags with kernel. Increase string length.
18978 (_dl_s390_platforms): Add z196 and zEC12.
18980 2012-11-07 Joseph Myers <joseph@codesourcery.com>
18982 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
18983 Change XOPEN21K to XOPEN2K.
18985 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
18987 * string/memmove.c: Use memcpy when possible.
18989 2012-11-06 Andreas Jaeger <aj@suse.de>
18991 * po/eo.po: Update from translation team.
18993 2012-11-06 Joseph Myers <joseph@codesourcery.com>
18996 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
18997 exponent and small x and y exponents, scale x or y up. Increase
18998 by 2 the exponent used in scaling up.
18999 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
19000 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
19001 * math/libm-test.inc (fma_test): Add more tests.
19002 (fma_test_towardzero): Likewise.
19003 (fma_test_downward): Likewise.
19004 (fma_test_upward): Likewise.
19006 2012-11-05 Joseph Myers <joseph@codesourcery.com>
19009 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
19013 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
19014 namespace for names of struct fields.
19015 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
19017 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
19018 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
19020 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
19023 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
19025 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
19027 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
19031 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
19034 2012-11-04 Joseph Myers <joseph@codesourcery.com>
19037 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
19038 definitely overflow as x * y not x * y + z.
19039 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
19040 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
19041 * math/libm-test.inc (fma_test): Add more tests.
19042 (fma_test_towardzero): Likewise.
19043 (fma_test_downward): Likewise.
19044 (fma_test_upward): Likewise.
19046 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
19050 * include/stub-tag.h: Remove file.
19051 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
19053 * manual/maint.texi (Porting): Don't reference it.
19054 * Makerules ($(objpfx)stubs): Likewise.
19055 * dirent/closedir.c: Don't include <stub-tag.h>.
19056 * dirent/dirfd.c: Likewise.
19057 * dirent/fdopendir.c: Likewise.
19058 * dirent/getdents.c: Likewise.
19059 * dirent/getdents64.c: Likewise.
19060 * dirent/opendir.c: Likewise.
19061 * dirent/readdir.c: Likewise.
19062 * dirent/readdir64.c: Likewise.
19063 * dirent/readdir64_r.c: Likewise.
19064 * dirent/readdir_r.c: Likewise.
19065 * dirent/rewinddir.c: Likewise.
19066 * dirent/seekdir.c: Likewise.
19067 * dirent/telldir.c: Likewise.
19068 * gmon/profil.c: Likewise.
19069 * grp/setgroups.c: Likewise.
19070 * inet/if_index.c: Likewise.
19071 * io/access.c: Likewise.
19072 * io/chdir.c: Likewise.
19073 * io/chmod.c: Likewise.
19074 * io/chown.c: Likewise.
19075 * io/close.c: Likewise.
19076 * io/dup.c: Likewise.
19077 * io/dup2.c: Likewise.
19078 * io/dup3.c: Likewise.
19079 * io/euidaccess.c: Likewise.
19080 * io/faccessat.c: Likewise.
19081 * io/fchdir.c: Likewise.
19082 * io/fchmod.c: Likewise.
19083 * io/fchmodat.c: Likewise.
19084 * io/fchown.c: Likewise.
19085 * io/fchownat.c: Likewise.
19086 * io/fcntl.c: Likewise.
19087 * io/flock.c: Likewise.
19088 * io/fstatfs.c: Likewise.
19089 * io/fstatfs64.c: Likewise.
19090 * io/fstatvfs.c: Likewise.
19091 * io/fstatvfs64.c: Likewise.
19092 * io/futimens.c: Likewise.
19093 * io/fxstat.c: Likewise.
19094 * io/fxstat64.c: Likewise.
19095 * io/fxstatat.c: Likewise.
19096 * io/fxstatat64.c: Likewise.
19097 * io/getcwd.c: Likewise.
19098 * io/isatty.c: Likewise.
19099 * io/lchmod.c: Likewise.
19100 * io/lchown.c: Likewise.
19101 * io/link.c: Likewise.
19102 * io/linkat.c: Likewise.
19103 * io/lseek.c: Likewise.
19104 * io/lseek64.c: Likewise.
19105 * io/lxstat64.c: Likewise.
19106 * io/mkdir.c: Likewise.
19107 * io/mkdirat.c: Likewise.
19108 * io/mkfifo.c: Likewise.
19109 * io/mkfifoat.c: Likewise.
19110 * io/open.c: Likewise.
19111 * io/open64.c: Likewise.
19112 * io/openat.c: Likewise.
19113 * io/openat64.c: Likewise.
19114 * io/pipe.c: Likewise.
19115 * io/pipe2.c: Likewise.
19116 * io/poll.c: Likewise.
19117 * io/posix_fadvise.c: Likewise.
19118 * io/posix_fadvise64.c: Likewise.
19119 * io/posix_fallocate.c: Likewise.
19120 * io/posix_fallocate64.c: Likewise.
19121 * io/read.c: Likewise.
19122 * io/readlink.c: Likewise.
19123 * io/readlinkat.c: Likewise.
19124 * io/rmdir.c: Likewise.
19125 * io/sendfile.c: Likewise.
19126 * io/sendfile64.c: Likewise.
19127 * io/statfs.c: Likewise.
19128 * io/statfs64.c: Likewise.
19129 * io/statvfs.c: Likewise.
19130 * io/statvfs64.c: Likewise.
19131 * io/symlink.c: Likewise.
19132 * io/symlinkat.c: Likewise.
19133 * io/ttyname.c: Likewise.
19134 * io/ttyname_r.c: Likewise.
19135 * io/umask.c: Likewise.
19136 * io/unlink.c: Likewise.
19137 * io/unlinkat.c: Likewise.
19138 * io/utime.c: Likewise.
19139 * io/utimensat.c: Likewise.
19140 * io/write.c: Likewise.
19141 * io/xmknod.c: Likewise.
19142 * io/xmknodat.c: Likewise.
19143 * io/xstat.c: Likewise.
19144 * io/xstat64.c: Likewise.
19145 * login/getpt.c: Likewise.
19146 * login/grantpt.c: Likewise.
19147 * login/unlockpt.c: Likewise.
19148 * math/e_acoshl.c: Likewise.
19149 * math/e_acosl.c: Likewise.
19150 * math/e_asinl.c: Likewise.
19151 * math/e_atan2l.c: Likewise.
19152 * math/e_atanhl.c: Likewise.
19153 * math/e_coshl.c: Likewise.
19154 * math/e_expl.c: Likewise.
19155 * math/e_fmodl.c: Likewise.
19156 * math/e_gammal_r.c: Likewise.
19157 * math/e_hypotl.c: Likewise.
19158 * math/e_j0l.c: Likewise.
19159 * math/e_j1l.c: Likewise.
19160 * math/e_jnl.c: Likewise.
19161 * math/e_lgammal_r.c: Likewise.
19162 * math/e_log10l.c: Likewise.
19163 * math/e_log2l.c: Likewise.
19164 * math/e_logl.c: Likewise.
19165 * math/e_powl.c: Likewise.
19166 * math/e_rem_pio2l.c: Likewise.
19167 * math/e_sinhl.c: Likewise.
19168 * math/e_sqrtl.c: Likewise.
19169 * math/fclrexcpt.c: Likewise.
19170 * math/fedisblxcpt.c: Likewise.
19171 * math/feenablxcpt.c: Likewise.
19172 * math/fegetenv.c: Likewise.
19173 * math/fegetexcept.c: Likewise.
19174 * math/fegetround.c: Likewise.
19175 * math/feholdexcpt.c: Likewise.
19176 * math/fesetenv.c: Likewise.
19177 * math/fesetround.c: Likewise.
19178 * math/feupdateenv.c: Likewise.
19179 * math/fgetexcptflg.c: Likewise.
19180 * math/fraiseexcpt.c: Likewise.
19181 * math/fsetexcptflg.c: Likewise.
19182 * math/ftestexcept.c: Likewise.
19183 * math/k_cosl.c: Likewise.
19184 * math/k_rem_pio2l.c: Likewise.
19185 * math/k_sinl.c: Likewise.
19186 * math/k_tanl.c: Likewise.
19187 * math/s_asinhl.c: Likewise.
19188 * math/s_atanl.c: Likewise.
19189 * math/s_cbrtl.c: Likewise.
19190 * math/s_erfl.c: Likewise.
19191 * math/s_expm1l.c: Likewise.
19192 * math/s_log1pl.c: Likewise.
19193 * math/s_tanhl.c: Likewise.
19194 * misc/acct.c: Likewise.
19195 * misc/brk.c: Likewise.
19196 * misc/chflags.c: Likewise.
19197 * misc/chroot.c: Likewise.
19198 * misc/fchflags.c: Likewise.
19199 * misc/fgetxattr.c: Likewise.
19200 * misc/flistxattr.c: Likewise.
19201 * misc/fremovexattr.c: Likewise.
19202 * misc/fsetxattr.c: Likewise.
19203 * misc/fsync.c: Likewise.
19204 * misc/ftruncate.c: Likewise.
19205 * misc/futimes.c: Likewise.
19206 * misc/futimesat.c: Likewise.
19207 * misc/getdomain.c: Likewise.
19208 * misc/getdtsz.c: Likewise.
19209 * misc/gethostid.c: Likewise.
19210 * misc/gethostname.c: Likewise.
19211 * misc/getloadavg.c: Likewise.
19212 * misc/getpagesize.c: Likewise.
19213 * misc/getsysstats.c: Likewise.
19214 * misc/getxattr.c: Likewise.
19215 * misc/gtty.c: Likewise.
19216 * misc/ioctl.c: Likewise.
19217 * misc/lgetxattr.c: Likewise.
19218 * misc/listxattr.c: Likewise.
19219 * misc/llistxattr.c: Likewise.
19220 * misc/lremovexattr.c: Likewise.
19221 * misc/lsetxattr.c: Likewise.
19222 * misc/lutimes.c: Likewise.
19223 * misc/madvise.c: Likewise.
19224 * misc/mincore.c: Likewise.
19225 * misc/mlock.c: Likewise.
19226 * misc/mlockall.c: Likewise.
19227 * misc/mmap.c: Likewise.
19228 * misc/mprotect.c: Likewise.
19229 * misc/msync.c: Likewise.
19230 * misc/munlock.c: Likewise.
19231 * misc/munlockall.c: Likewise.
19232 * misc/munmap.c: Likewise.
19233 * misc/preadv.c: Likewise.
19234 * misc/preadv64.c: Likewise.
19235 * misc/ptrace.c: Likewise.
19236 * misc/pwritev.c: Likewise.
19237 * misc/pwritev64.c: Likewise.
19238 * misc/readv.c: Likewise.
19239 * misc/reboot.c: Likewise.
19240 * misc/remap_file_pages.c: Likewise.
19241 * misc/removexattr.c: Likewise.
19242 * misc/revoke.c: Likewise.
19243 * misc/select.c: Likewise.
19244 * misc/setdomain.c: Likewise.
19245 * misc/setegid.c: Likewise.
19246 * misc/seteuid.c: Likewise.
19247 * misc/sethostid.c: Likewise.
19248 * misc/sethostname.c: Likewise.
19249 * misc/setregid.c: Likewise.
19250 * misc/setreuid.c: Likewise.
19251 * misc/setxattr.c: Likewise.
19252 * misc/sstk.c: Likewise.
19253 * misc/stty.c: Likewise.
19254 * misc/swapoff.c: Likewise.
19255 * misc/swapon.c: Likewise.
19256 * misc/sync.c: Likewise.
19257 * misc/syncfs.c: Likewise.
19258 * misc/syscall.c: Likewise.
19259 * misc/truncate.c: Likewise.
19260 * misc/ualarm.c: Likewise.
19261 * misc/usleep.c: Likewise.
19262 * misc/ustat.c: Likewise.
19263 * misc/utimes.c: Likewise.
19264 * misc/vhangup.c: Likewise.
19265 * misc/writev.c: Likewise.
19266 * posix/_exit.c: Likewise.
19267 * posix/alarm.c: Likewise.
19268 * posix/execve.c: Likewise.
19269 * posix/fexecve.c: Likewise.
19270 * posix/fork.c: Likewise.
19271 * posix/fpathconf.c: Likewise.
19272 * posix/getaddrinfo.c: Likewise.
19273 * posix/getegid.c: Likewise.
19274 * posix/geteuid.c: Likewise.
19275 * posix/getgid.c: Likewise.
19276 * posix/getgroups.c: Likewise.
19277 * posix/getlogin.c: Likewise.
19278 * posix/getlogin_r.c: Likewise.
19279 * posix/getpgid.c: Likewise.
19280 * posix/getpid.c: Likewise.
19281 * posix/getppid.c: Likewise.
19282 * posix/getresgid.c: Likewise.
19283 * posix/getresuid.c: Likewise.
19284 * posix/getsid.c: Likewise.
19285 * posix/getuid.c: Likewise.
19286 * posix/glob64.c: Likewise.
19287 * posix/nanosleep.c: Likewise.
19288 * posix/pathconf.c: Likewise.
19289 * posix/pause.c: Likewise.
19290 * posix/posix_madvise.c: Likewise.
19291 * posix/pread.c: Likewise.
19292 * posix/pread64.c: Likewise.
19293 * posix/pwrite.c: Likewise.
19294 * posix/pwrite64.c: Likewise.
19295 * posix/sched_getaffinity.c: Likewise.
19296 * posix/sched_getp.c: Likewise.
19297 * posix/sched_gets.c: Likewise.
19298 * posix/sched_primax.c: Likewise.
19299 * posix/sched_primin.c: Likewise.
19300 * posix/sched_rr_gi.c: Likewise.
19301 * posix/sched_setaffinity.c: Likewise.
19302 * posix/sched_setp.c: Likewise.
19303 * posix/sched_sets.c: Likewise.
19304 * posix/sched_yield.c: Likewise.
19305 * posix/setgid.c: Likewise.
19306 * posix/setlogin.c: Likewise.
19307 * posix/setpgid.c: Likewise.
19308 * posix/setresgid.c: Likewise.
19309 * posix/setresuid.c: Likewise.
19310 * posix/setsid.c: Likewise.
19311 * posix/setuid.c: Likewise.
19312 * posix/sleep.c: Likewise.
19313 * posix/spawni.c: Likewise.
19314 * posix/sysconf.c: Likewise.
19315 * posix/times.c: Likewise.
19316 * posix/wait.c: Likewise.
19317 * posix/wait3.c: Likewise.
19318 * posix/wait4.c: Likewise.
19319 * posix/waitpid.c: Likewise.
19320 * resolv/gai_sigqueue.c: Likewise.
19321 * resource/getpriority.c: Likewise.
19322 * resource/getrlimit.c: Likewise.
19323 * resource/getrusage.c: Likewise.
19324 * resource/nice.c: Likewise.
19325 * resource/setpriority.c: Likewise.
19326 * resource/setrlimit.c: Likewise.
19327 * resource/ulimit.c: Likewise.
19328 * rt/aio_cancel.c: Likewise.
19329 * rt/aio_fsync.c: Likewise.
19330 * rt/aio_read.c: Likewise.
19331 * rt/aio_sigqueue.c: Likewise.
19332 * rt/aio_suspend.c: Likewise.
19333 * rt/aio_write.c: Likewise.
19334 * rt/clock_getres.c: Likewise.
19335 * rt/clock_gettime.c: Likewise.
19336 * rt/clock_nanosleep.c: Likewise.
19337 * rt/clock_settime.c: Likewise.
19338 * rt/lio_listio.c: Likewise.
19339 * rt/mq_close.c: Likewise.
19340 * rt/mq_getattr.c: Likewise.
19341 * rt/mq_notify.c: Likewise.
19342 * rt/mq_open.c: Likewise.
19343 * rt/mq_receive.c: Likewise.
19344 * rt/mq_send.c: Likewise.
19345 * rt/mq_setattr.c: Likewise.
19346 * rt/mq_timedreceive.c: Likewise.
19347 * rt/mq_timedsend.c: Likewise.
19348 * rt/mq_unlink.c: Likewise.
19349 * rt/shm_open.c: Likewise.
19350 * rt/shm_unlink.c: Likewise.
19351 * rt/timer_create.c: Likewise.
19352 * rt/timer_delete.c: Likewise.
19353 * rt/timer_getoverr.c: Likewise.
19354 * rt/timer_gettime.c: Likewise.
19355 * rt/timer_settime.c: Likewise.
19356 * setjmp/__longjmp.c: Likewise.
19357 * setjmp/setjmp.c: Likewise.
19358 * signal/kill.c: Likewise.
19359 * signal/killpg.c: Likewise.
19360 * signal/raise.c: Likewise.
19361 * signal/sigaction.c: Likewise.
19362 * signal/sigaltstack.c: Likewise.
19363 * signal/sigblock.c: Likewise.
19364 * signal/sigignore.c: Likewise.
19365 * signal/sigintr.c: Likewise.
19366 * signal/signal.c: Likewise.
19367 * signal/sigpause.c: Likewise.
19368 * signal/sigpending.c: Likewise.
19369 * signal/sigqueue.c: Likewise.
19370 * signal/sigreturn.c: Likewise.
19371 * signal/sigset.c: Likewise.
19372 * signal/sigsetmask.c: Likewise.
19373 * signal/sigstack.c: Likewise.
19374 * signal/sigsuspend.c: Likewise.
19375 * signal/sigtimedwait.c: Likewise.
19376 * signal/sigvec.c: Likewise.
19377 * signal/sigwait.c: Likewise.
19378 * signal/sigwaitinfo.c: Likewise.
19379 * signal/sysv_signal.c: Likewise.
19380 * socket/accept.c: Likewise.
19381 * socket/accept4.c: Likewise.
19382 * socket/bind.c: Likewise.
19383 * socket/connect.c: Likewise.
19384 * socket/getpeername.c: Likewise.
19385 * socket/getsockname.c: Likewise.
19386 * socket/getsockopt.c: Likewise.
19387 * socket/isfdtype.c: Likewise.
19388 * socket/listen.c: Likewise.
19389 * socket/recv.c: Likewise.
19390 * socket/recvfrom.c: Likewise.
19391 * socket/recvmsg.c: Likewise.
19392 * socket/send.c: Likewise.
19393 * socket/sendmsg.c: Likewise.
19394 * socket/sendto.c: Likewise.
19395 * socket/setsockopt.c: Likewise.
19396 * socket/shutdown.c: Likewise.
19397 * socket/sockatmark.c: Likewise.
19398 * socket/socket.c: Likewise.
19399 * socket/socketpair.c: Likewise.
19400 * stdio-common/ctermid.c: Likewise.
19401 * stdio-common/cuserid.c: Likewise.
19402 * stdio-common/remove.c: Likewise.
19403 * stdio-common/rename.c: Likewise.
19404 * stdio-common/renameat.c: Likewise.
19405 * stdio-common/tempname.c: Likewise.
19406 * stdlib/getcontext.c: Likewise.
19407 * stdlib/makecontext.c: Likewise.
19408 * stdlib/setcontext.c: Likewise.
19409 * stdlib/swapcontext.c: Likewise.
19410 * stdlib/system.c: Likewise.
19411 * streams/fattach.c: Likewise.
19412 * streams/fdetach.c: Likewise.
19413 * streams/getmsg.c: Likewise.
19414 * streams/getpmsg.c: Likewise.
19415 * streams/putmsg.c: Likewise.
19416 * streams/putpmsg.c: Likewise.
19417 * sysdeps/unix/bsd/getpt.c: Likewise.
19418 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
19419 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
19420 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
19421 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
19423 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
19424 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
19425 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
19426 * sysvipc/msgctl.c: Likewise.
19427 * sysvipc/msgget.c: Likewise.
19428 * sysvipc/msgrcv.c: Likewise.
19429 * sysvipc/msgsnd.c: Likewise.
19430 * sysvipc/semctl.c: Likewise.
19431 * sysvipc/semget.c: Likewise.
19432 * sysvipc/semop.c: Likewise.
19433 * sysvipc/semtimedop.c: Likewise.
19434 * sysvipc/shmat.c: Likewise.
19435 * sysvipc/shmctl.c: Likewise.
19436 * sysvipc/shmdt.c: Likewise.
19437 * sysvipc/shmget.c: Likewise.
19438 * termios/tcdrain.c: Likewise.
19439 * termios/tcflow.c: Likewise.
19440 * termios/tcflush.c: Likewise.
19441 * termios/tcgetattr.c: Likewise.
19442 * termios/tcgetpgrp.c: Likewise.
19443 * termios/tcsendbrk.c: Likewise.
19444 * termios/tcsetattr.c: Likewise.
19445 * termios/tcsetpgrp.c: Likewise.
19446 * time/adjtime.c: Likewise.
19447 * time/clock.c: Likewise.
19448 * time/getitimer.c: Likewise.
19449 * time/gettimeofday.c: Likewise.
19450 * time/setitimer.c: Likewise.
19451 * time/settimeofday.c: Likewise.
19452 * time/stime.c: Likewise.
19453 * time/time.c: Likewise.
19455 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
19457 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
19460 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
19462 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
19464 2012-11-03 Joseph Myers <joseph@codesourcery.com>
19467 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
19468 FE_TONEAREST before applying Dekker multiplication and Knuth
19469 addition. Clear inexact exceptions and check for exact zero
19470 results afterwards.
19471 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
19472 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
19473 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
19474 * math/libm-test.inc (fma_test): Add more tests.
19475 (fma_test_towardzero): Likewise.
19476 (fma_test_downward): Likewise.
19477 (fma_test_upward): Likewise.
19478 * sysdeps/generic/math_private.h (default_libc_fesetround): New
19480 (libc_fesetround): New macro.
19481 (libc_fesetroundf): Likewise.
19482 (libc_fesetroundl): Likewise.
19483 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
19485 (libc_fesetround_387): Likewise.
19486 (libc_fesetroundf): New macro.
19487 (libc_fesetround): Likewise.
19488 (libc_fesetroundl): Likewise.
19489 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
19491 (libc_fesetroundf): New macro.
19492 (libc_fesetround): Likewise.
19493 (libc_fesetroundl): Likewise.
19494 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
19495 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
19496 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
19498 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
19499 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
19501 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
19502 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
19504 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
19508 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
19509 integer constant usable in #if and use that to give value to enum
19511 (FE_DIVBYZERO): Likewise.
19512 (FE_UNDERFLOW): Likewise.
19513 (FE_OVERFLOW): Likewise.
19514 (FE_INVALID): Likewise.
19515 (FE_INVALID_SNAN): Likewise.
19516 (FE_INVALID_ISI): Likewise.
19517 (FE_INVALID_IDI): Likewise.
19518 (FE_INVALID_ZDZ): Likewise.
19519 (FE_INVALID_IMZ): Likewise.
19520 (FE_INVALID_COMPARE): Likewise.
19521 (FE_INVALID_SOFTWARE): Likewise.
19522 (FE_INVALID_SQRT): Likewise.
19523 (FE_INVALID_INTEGER_CONVERSION): Likewise.
19524 (FE_TONEAREST): Likewise.
19525 (FE_TOWARDZERO): Likewise.
19526 (FE_UPWARD): Likewise.
19527 (FE_DOWNWARD): Likewise.
19528 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
19529 (FE_DIVBYZERO): Likewise.
19530 (FE_OVERFLOW): Likewise.
19531 (FE_UNDERFLOW): Likewise.
19532 (FE_INEXACT): Likewise.
19533 (FE_TONEAREST): Likewise.
19534 (FE_DOWNWARD): Likewise.
19535 (FE_UPWARD): Likewise.
19536 (FE_TOWARDZERO): Likewise.
19537 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
19538 (FE_UNDERFLOW): Likewise.
19539 (FE_OVERFLOW): Likewise.
19540 (FE_DIVBYZERO): Likewise.
19541 (FE_INVALID): Likewise.
19542 (FE_TONEAREST): Likewise.
19543 (FE_TOWARDZERO): Likewise.
19544 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
19545 (FE_OVERFLOW): Likewise.
19546 (FE_UNDERFLOW): Likewise.
19547 (FE_DIVBYZERO): Likewise.
19548 (FE_INEXACT): Likewise.
19549 (FE_TONEAREST): Likewise.
19550 (FE_TOWARDZERO): Likewise.
19551 (FE_UPWARD): Likewise.
19552 (FE_DOWNWARD): Likewise.
19553 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
19554 (FE_DIVBYZERO): Likewise.
19555 (FE_OVERFLOW): Likewise.
19556 (FE_UNDERFLOW): Likewise.
19557 (FE_INEXACT): Likewise.
19558 (FE_TONEAREST): Likewise.
19559 (FE_DOWNWARD): Likewise.
19560 (FE_UPWARD): Likewise.
19561 (FE_TOWARDZERO): Likewise.
19563 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
19565 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
19567 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
19569 * scripts/cross-test-ssh.sh (command): Use newlines to separate
19570 commands. Quote $PWD.
19571 (blacklist_exports): Don't use remove_newlines. Replace "declare
19573 (remove_newlines): Remove.
19575 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
19577 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
19578 * stdlib/stdlib.h (atof): Moved to ...
19579 * include/bits/stdlib-float.h: Here. New file.
19580 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
19581 * stdlib/bits/stdlib-float.h: New file.
19582 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
19584 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
19587 2012-11-02 Joseph Myers <joseph@codesourcery.com>
19589 * conform/conformtest.pl (@headers): Add fenv.h.
19590 * conform/data/fenv.h-data: New file.
19591 * include/fenv.h [_ISOMAC]: Disable all contents of file except
19592 include of <math/fenv.h>.
19594 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
19595 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
19596 && !UNIX98]. Enables tests for XOPEN2K8.
19597 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
19598 POSIX2008]: Likewise.
19600 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
19601 (struct rusage): Do not expect type or its members.
19604 * math/math.h (FP_NAN): Define macro to integer constant usable in
19605 #if and use that to give value to enum constant.
19606 (FP_INFINITE): Likewise.
19607 (FP_ZERO): Likewise.
19608 (FP_SUBNORMAL): Likewise.
19609 (FP_NORMAL): Likewise.
19611 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
19613 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
19614 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
19617 2012-11-02 Roland McGrath <roland@hack.frob.com>
19619 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
19620 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
19621 autoconf-time if not.
19622 * configure.in: Remove AC_PREREQ.
19624 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19626 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
19627 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
19628 of the internal implementation.
19630 2012-11-02 Joseph Myers <joseph@codesourcery.com>
19632 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
19633 except include of <misc/sys/syslog.h>.
19635 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
19637 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
19638 function returns with a NULL context exit with zero.
19640 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19642 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
19644 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
19646 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
19647 (run_program_cmd): This.
19648 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
19649 (tst_langinfo): New variable. Use it.
19651 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
19653 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
19654 floating point opcodes.
19656 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
19658 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
19661 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
19663 * sysdeps/mach/hurd/powerpc: Remove directory.
19664 * sysdeps/mach/powerpc: Likewise.
19666 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
19668 * scripts/check-local-headers.sh: Ignore c++ headers.
19670 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
19672 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
19673 __libc_cleanup_region_start argument.
19675 2012-11-01 Joseph Myers <joseph@codesourcery.com>
19679 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
19680 x * y using scaling, not as x * y + z.
19681 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
19682 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
19683 * math/libm-test.inc (fma_test): Add more tests.
19684 (fma_test_towardzero): Likewise.
19685 (fma_test_downward): Likewise.
19686 (fma_test_upward): Likewise.
19688 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
19690 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
19692 2012-10-31 Joseph Myers <joseph@codesourcery.com>
19694 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
19697 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
19699 * rt/tst-shm.c (worker): Correct checking for mmap failure.
19701 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
19703 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19705 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
19708 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19710 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19711 Fix the order of the list for glibc 2.17.
19712 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
19715 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
19717 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19719 2012-10-31 Joseph Myers <joseph@codesourcery.com>
19722 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
19723 for low part of x being zero before using __atanl (y).
19724 * math/libm-test.inc (atan2_test): Add another test.
19726 * manual/install.texi (Configuring and compiling): Document
19727 general use of test-wrapper and test-wrapper-env.
19728 * INSTALL: Regenerated.
19730 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
19731 (__fma): Do not extract and scale down low bits on after-rounding
19732 systems when result rounded to normal precision would have normal
19734 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
19735 (__fmal): Do not extract and scale down low bits on after-rounding
19736 systems when result rounded to normal precision would have normal
19738 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
19739 (__fmal): Do not extract and scale down low bits on after-rounding
19740 systems when result rounded to normal precision would have normal
19742 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
19744 (fma_test): Add more tests.
19745 (fma_test_towardzero): Likewise.
19746 (fma_test_downward): Likewise.
19747 (fma_test_upward): Likewise.
19749 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
19751 * sysdeps/i386/tininess.h: Renamed to ...
19752 * sysdeps/x86/tininess.h: This.
19753 * sysdeps/x86_64/tininess.h: Removed.
19755 2012-10-30 Joseph Myers <joseph@codesourcery.com>
19757 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
19758 input. Use $(build-program-cmd).
19759 ($(objpfx)tst-array1-static.out): Likewise.
19760 ($(objpfx)tst-array2.out): Likewise.
19761 ($(objpfx)tst-array3.out): Likewise.
19762 ($(objpfx)tst-array4.out): Likewise.
19763 ($(objpfx)tst-array5.out): Likewise.
19764 ($(objpfx)tst-array5-static.out): Likewise.
19766 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
19768 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
19771 * nss/nsswitch.h (nss_interface_function): Provide new
19772 macro for use with NSS functions.
19773 * grp/initgroups.c: Use new macro.
19774 * nss/getXXbyYY.c: Likewise.
19775 * nss/getXXbyYY_r.c: Likewise.
19776 * nss/getXXent.c: Likewise.
19777 * nss/getXXent_r.c: Likewise.
19778 * sysdeps/posix/getaddrinfo.c: Likewise.
19780 2012-10-30 Andreas Jaeger <aj@suse.de>
19782 * po/ru.po: Update Russion translation from translation project.
19784 2012-10-30 Joseph Myers <joseph@codesourcery.com>
19788 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
19789 result and shift together with sticky bit instead of replicating
19790 round-to-nearest rounding.
19791 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
19792 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
19793 * math/libm-test.inc (fma_test): Add more tests. Do not permit
19794 missing underflow exceptions.
19795 (fma_test_towardzero): Add more tests.
19796 (fma_test_downward): Likewise.
19797 (fma_test_upward): Likewise.
19800 * sysdeps/generic/tininess.h: New file.
19801 * sysdeps/i386/tininess.h: Likewise.
19802 * sysdeps/sh/tininess.h: Likewise.
19803 * sysdeps/x86_64/tininess.h: Likewise.
19804 * stdlib/tst-strtod-underflow.c: Likewise.
19805 * stdlib/tst-tininess.c: Likewise.
19806 * stdlib/strtod_l.c: Include <tininess.h>.
19807 (round_and_return): Do not set errno for exact underflow cases.
19808 Force an underflow exception when setting errno for underflow.
19809 Determine underflow based on rounding to normal precision if
19810 TININESS_AFTER_ROUNDING.
19811 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
19812 ERANGE for exact underflow cases.
19813 * stdlib/Makefile (tests): Add tst-tininess and
19814 tst-strtod-underflow.
19815 ($(objpfx)tst-tininess): Use $(link-libm).
19816 ($(objpfx)tst-strtod-underflow): Likewise.
19818 2012-10-30 Andreas Jaeger <aj@suse.de>
19821 * elf/Makefile (tests): Remove conditional for have-initfini-array
19822 since this is now always required and the variable does not exist
19824 (tests-static): Likewise.
19825 (modules-names): Likewise.
19827 * po/eo.po: Add Esperanto translation from translation project.
19829 * elf/tst-array1.c (fini_array): Make writeable so that it can be
19830 merged with constructor/destructor.
19831 (init_array): Likewise.
19832 * elf/tst-array2dep.c (fini_array): Likewise.
19833 (init_array): Likewise.
19835 2012-10-29 Mike Frysinger <vapier@gentoo.org>
19837 * manual/message.texi: Delete @cartouche tags.
19839 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
19841 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
19843 * sysdeps/mach/hurd/fsync.c: Likewise.
19845 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
19846 [_POSIX_REALTIME_SIGNALS]: Change condition to
19847 [_POSIX_REALTIME_SIGNALS > 0].
19849 2012-10-27 Andreas Jaeger <aj@suse.de>
19851 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
19852 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
19853 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
19854 [__WORDSIZE != 64]: Likewise.
19856 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
19858 * iconvdata/tst-table.sh: Remove ${SHELL}.
19859 * iconvdata/tst-tables.sh: Likewise.
19861 2012-10-25 David S. Miller <davem@davemloft.net>
19863 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
19864 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
19867 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
19869 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
19870 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
19871 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
19874 2012-10-25 Roland McGrath <roland@hack.frob.com>
19876 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
19877 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
19880 2012-10-25 Joseph Myers <joseph@codesourcery.com>
19881 Jim Blandy <jimb@codesourcery.com>
19883 * scripts/cross-test-ssh.sh: New file.
19884 * manual/install.texi (Configuring and compiling): Document use of
19886 * INSTALL: Regenerated.
19888 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
19890 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
19893 2012-10-25 Joseph Myers <joseph@codesourcery.com>
19895 * Makeconfig (run-program-prefix): Fix comment.
19897 2012-10-24 Joseph Myers <joseph@codesourcery.com>
19898 Jim Blandy <jimb@codesourcery.com>
19900 * Makeconfig (test-wrapper): New variable,
19901 (test-wrapper-env): Likewise.
19902 [$(cross-compiling) = yes && $(test-wrapper) != ""]
19903 (run-built-tests): Define to yes.
19904 (run-program-prefix): Use $(test-wrapper).
19905 (built-program-cmd): Likewise.
19906 * Rules (make-test-out): Use $(test-wrapper-env) and
19907 $(host-built-program-cmd).
19908 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
19909 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
19911 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
19912 $(test-wrapper-env) to tst-rtld-load-self.sh.
19913 ($(objpfx)order2.out): Use $(test-wrapper).
19914 ($(objpfx)tst-initorder.out): Likewise.
19915 ($(objpfx)tst-initorder2.out): Likewise.
19916 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
19917 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
19918 (test_wrapper_env): New variable. Use it to run ld.so.
19919 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
19920 Use it to run ld.so.
19921 (test_wrapper_env): Likewise.
19922 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
19923 $(test-wrapper) to run-iconv-test.sh.
19924 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
19925 (ICONV): Use $test_wrapper.
19926 * posix/Makefile ($(objpfx)globtest.out): Pass
19927 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
19928 globtest.sh, not $(run-program-prefix).
19929 * posix/globtest.sh (run_via_rtld_prefix): New variable.
19930 (test_wrapper): Likewise.
19931 (test_wrapper_env): Likewise. Use it to run globtest with HOME
19932 set together with run_via_rtld_prefix.
19933 (run_program_prefix): Define in terms of test_wrapper and
19934 run_via_rtld_prefix.
19936 2012-10-24 Roland McGrath <roland@hack.frob.com>
19938 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
19939 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
19943 * include/time.h: Remove librt_hidden_proto (clock_gettime).
19944 Declare __clock_getres, __clock_gettime, __clock_settime,
19945 __clock_nanosleep, and __clock_getcpuclockid.
19946 * rt/clock_gettime.c: Define __clock_gettime as an alias.
19947 Remove librt_hidden_def (clock_gettime).
19948 * sysdeps/unix/clock_gettime.c: Likewise.
19949 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
19950 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
19951 * rt/clock_getres.c: Define __clock_getres as an alias.
19952 * sysdeps/posix/clock_getres.c: Likewise.
19953 * rt/clock_settime.c: Define __clock_settime as an alias.
19954 * sysdeps/unix/clock_settime.c: Likewise.
19955 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
19956 * sysdeps/unix/clock_nanosleep.c: Likewise.
19957 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
19958 * rt/clock-compat.c: New file.
19959 * rt/Makefile (librt-routines): Add clock-compat and move
19960 $(clock-routines) to ...
19961 (routines): ... here, new variable.
19962 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
19963 Don't add get_clockfreq here.
19964 * rt/Versions (libc: GLIBC_2.17): New version set.
19965 Add clock_* symbols here.
19966 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
19967 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
19968 (GLIBC_2.17): Add clock_* symbols.
19969 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
19970 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
19971 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
19972 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
19974 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19976 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
19977 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
19978 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
19979 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
19980 * NEWS: Mention the move.
19982 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
19983 Use __open, __read, __close rather than their public counterparts.
19984 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
19985 (__get_clockfreq_via_cpuinfo): Likewise.
19986 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
19987 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
19989 * config.h.in (HAVE_IFUNC): New #undef.
19990 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
19992 * configure: Regenerated.
19994 2012-10-24 Mike Frysinger <vapier@gentoo.org>
19996 * configure.in: Move READELF check to start of file.
19997 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
19998 libc_cv_asm_gnu_indirect_function in the process.
19999 * configure: Regenerated.
20001 2012-10-24 Mike Frysinger <vapier@gentoo.org>
20003 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
20004 send the output to /dev/null.
20005 (libc_cv_cc_with_libunwind): Likewise.
20006 (libc_cv_as_noexecstack): Likewise.
20007 * configure: Regenerate.
20009 2012-10-24 Joseph Myers <joseph@codesourcery.com>
20011 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
20013 * posix/globtest.sh (TMPDIR): Do not set.
20014 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
20015 (testout): Likewise.
20017 2012-10-24 Andreas Jaeger <aj@suse.de>
20019 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
20020 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
20021 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
20022 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
20023 posix_fadvise64, posix_fallocate64.
20025 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
20026 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
20027 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
20029 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
20031 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
20033 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
20034 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
20035 <bits/fcntl-linux.h>.
20036 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
20038 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
20039 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
20040 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
20041 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
20042 [__WORDSIZE != 64]: Likewise.
20044 2012-10-23 Joseph Myers <joseph@codesourcery.com>
20046 * Makeconfig (run-built-tests): New variable.
20047 * Rules [$(cross-compiling) = yes]: Change condition to
20048 [$(run-built-tests) = no].
20049 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
20050 to [$(run-built-tests) = yes].
20051 * elf/Makefile [$(cross-compiling) = no]: Likewise
20052 * grp/Makefile [$(cross-compiling) = no]: Likewise.
20053 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
20054 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
20055 * intl/Makefile [$(cross-compiling) = no]: Likewise.
20056 * io/Makefile [$(cross-compiling) = no]: Likewise.
20057 * libio/Makefile [$(cross-compiling) = no]: Likewise.
20058 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
20059 * misc/Makefile [$(cross-compiling) = no]: Likewise.
20060 * posix/Makefile [$(cross-compiling) = no]: Likewise.
20061 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
20062 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
20063 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
20064 * string/Makefile [$(cross-compiling) = no]: Likewise.
20066 * posix/Makefile ($(objpfx)globtest.out): Pass
20067 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
20068 $(rtld-installed-name).
20069 * posix/globtest.sh (elf_objpfx): Remove variable.
20070 (rtld_installed_name): Likewise.
20071 (library_path): Likewise.
20072 (run_program_prefix): New variable. Use for running globtest
20075 2012-10-23 Jim Blandy <jimb@codesourcery.com>
20076 Joseph Myers <joseph@codesourcery.com>
20078 * Makeconfig (host-built-program-cmd): New variable.
20079 * elf/Makefile (tst-stackguard1-ARGS): Use
20080 $(host-built-program-cmd).
20081 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
20082 (tst-spawn-ARGS): Likewise.
20083 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
20085 2012-10-23 Joseph Myers <joseph@codesourcery.com>
20086 Jim Blandy <jimb@codesourcery.com>
20088 * Makeconfig (run-via-rtld-prefix): New variable.
20089 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
20090 (built-program-cmd): Likewise.
20092 2012-10-22 Andreas Jaeger <aj@suse.de>
20094 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
20095 __O_RSYNC if it exists, otherwise to O_SYNC.
20097 2012-10-22 Jim Blandy <jimb@codesourcery.com>
20098 Joseph Myers <joseph@codesourcery.com>
20100 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
20102 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
20104 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
20107 2012-10-22 Andreas Jaeger <aj@suse.de>
20109 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
20111 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
20113 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20114 bits/fcntl-linux.h.
20116 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
20117 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
20119 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
20121 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
20124 2012-10-21 Jim Blandy <jimb@codesourcery.com>
20125 Joseph Myers <joseph@codesourcery.com>
20127 * config.make.in (NM): New variable.
20129 2012-10-21 Andreas Jaeger <aj@suse.de>
20131 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
20132 definitions and declarations that are provided by
20133 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
20135 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
20138 * elf/Makefile (tests-static): Add tst-leaks1-static.
20139 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
20140 ($(objpfx)tst-leaks1-static): New rule.
20141 ($(objpfx)tst-leaks1-static-mem): Likewise.
20142 (tst-leaks1-static-ENV): New macro.
20143 * elf/dl-open.c (dl_open_worker): Check the main application
20144 only if SHARED is defined.
20145 * elf/tst-leaks1-static.c: New file.
20147 2012-10-20 Andreas Jaeger <aj@suse.de>
20149 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
20150 generic values for Linux.
20151 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
20152 and declarations that are provided by <bits/fcntl-linux.h> and
20153 include <bits/fcntl-linux.h>.
20154 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
20155 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
20157 2012-10-20 Roland McGrath <roland@hack.frob.com>
20159 * io/fcntl.h: Move include of <bits/types.h> to the top and
20160 include it unconditionally.
20162 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
20164 * wcsmbs/Makefile (tests-ifunc): New variable.
20165 (tests): Add $(tests-ifunc).
20166 * wcsmbs/test-wcschr-ifunc.c: New file.
20167 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
20168 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
20169 * wcsmbs/test-wcslen-ifunc.c: Likewise.
20170 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
20171 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
20173 * string/Makefile (tests-ifunc): New variable.
20174 (tests): Add $(tests-ifunc).
20175 * string/test-memccpy.c (TEST_NAME): New macro.
20176 * string/test-memchr.c (TEST_NAME): Likewise.
20177 * string/test-memcmp.c (TEST_NAME): Likewise.
20178 * string/test-memcpy.c (TEST_NAME): Likewise.
20179 * string/test-memmem.c (TEST_NAME): Likewise.
20180 * string/test-memmove.c (TEST_NAME): Likewise.
20181 * string/test-memset.c (TEST_NAME): Likewise.
20182 * string/test-rawmemchr.c (TEST_NAME): Likewise.
20183 * string/test-stpcpy.c (TEST_NAME): Likewise.
20184 * string/test-stpncpy.c (TEST_NAME): Likewise.
20185 * string/test-strcasecmp.c (TEST_NAME): Likewise.
20186 * string/test-strcasestr.c (TEST_NAME): Likewise.
20187 * string/test-strcat.c (TEST_NAME): Likewise.
20188 * string/test-strchr.c (TEST_NAME): Likewise.
20189 * string/test-strcmp.c(TEST_NAME): Likewise.
20190 * string/test-strcpy.c (TEST_NAME): Likewise.
20191 * string/test-strcspn.c (TEST_NAME): Likewise.
20192 * string/test-strlen.c (TEST_NAME): Likewise.
20193 * string/test-strncasecmp.c (TEST_NAME): Likewise.
20194 * string/test-strncmp.c (TEST_NAME): Likewise.
20195 * string/test-strncpy.c (TEST_NAME): Likewise.
20196 * string/test-strnlen.c (TEST_NAME): Likewise.
20197 * string/test-strpbrk.c (TEST_NAME): Likewise.
20198 * string/test-strrchr.c (TEST_NAME): Likewise.
20199 * string/test-strspn.c (TEST_NAME): Likewise.
20200 * string/test-strstr.c (TEST_NAME): Likewise.
20201 * string/test-bcopy-ifunc.c: New file.
20202 * string/test-bzero-ifunc.c: Likewise.
20203 * string/test-memccpy-ifunc.c: Likewise.
20204 * string/test-memchr-ifunc.c: Likewise.
20205 * string/test-memcmp-ifunc.c: Likewise.
20206 * string/test-memcpy-ifunc.c: Likewise.
20207 * string/test-memmem-ifunc.c: Likewise.
20208 * string/test-memmove-ifunc.c: Likewise.
20209 * string/test-mempcpy-ifunc.c: Likewise.
20210 * string/test-memset-ifunc.c: Likewise.
20211 * string/test-rawmemchr-ifunc.c: Likewise.
20212 * string/test-stpcpy-ifunc.c: Likewise.
20213 * string/test-stpncpy-ifunc.c: Likewise.
20214 * string/test-strcasecmp-ifunc.c: Likewise.
20215 * string/test-strcasestr-ifunc.c: Likewise.
20216 * string/test-strcat-ifunc.c: Likewise.
20217 * string/test-strchr-ifunc.c: Likewise.
20218 * string/test-strchrnul-ifunc.c: Likewise.
20219 * string/test-strcmp-ifunc.c: Likewise.
20220 * string/test-strcpy-ifunc.c: Likewise.
20221 * string/test-strcspn-ifunc.c: Likewise.
20222 * string/test-strlen-ifunc.c: Likewise.
20223 * string/test-strncasecmp-ifunc.c: Likewise.
20224 * string/test-strncat-ifunc.c: Likewise.
20225 * string/test-strncmp-ifunc.c: Likewise.
20226 * string/test-strncpy-ifunc.c: Likewise.
20227 * string/test-strnlen-ifunc.c: Likewise.
20228 * string/test-strpbrk-ifunc.c: Likewise.
20229 * string/test-strrchr-ifunc.c: Likewise.
20230 * string/test-strspn-ifunc.c: Likewise.
20231 * string/test-strstr-ifunc.c: Likewise.
20233 * debug/Makefile (tests-ifunc): New variable.
20234 (tests): Add $(tests-ifunc).
20235 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
20236 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
20237 * debug/test-stpcpy_chk-ifunc.c: New file.
20238 * debug/test-strcpy_chk-ifunc.c: Likewise.
20240 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
20243 * elf/dl-load.c (open_verify): Retry read if the entire ELF
20244 header is not read in.
20246 2012-10-19 Joseph Myers <joseph@codesourcery.com>
20248 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
20249 script to $(SHELL) as $<. Pass $(common-objpfx) to script
20250 directly. Pass built executable to script as
20251 $(built-program-cmd).
20252 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
20253 $testprogram without using LD_LIBRARY_PATH and $ldso.
20255 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
20256 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
20257 $(rtld-installed-name).
20258 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
20259 (rtld_installed_name): Likewise.
20260 (library_path): Likewise.
20261 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
20262 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
20263 $(run-program-prefix) to tst-tables.sh.
20264 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
20265 it to run tst-table-from and tst-table-to.
20266 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
20267 Pass it to tst-table.sh.
20268 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
20269 $(run-program-prefix) to tst-gettext.sh.
20270 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
20272 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
20274 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
20275 to run tst-gettext.
20276 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
20277 to run tst-gettext2.
20278 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
20279 to run tst-translit.
20280 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
20281 $(run-program-prefix) to tst-mtrace.sh.
20282 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
20284 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
20285 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
20286 $(rtld-installed-name).
20287 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
20288 (rtld_installed_name): Likewise.
20289 (run_program_prefix): New variable. Use it to run wordexp-test.
20291 * Makeconfig (ARCH): Remove all definitions.
20292 (machine): Likewise.
20293 [ARCH]: Remove conditional code.
20294 [!objdir]: Give error.
20295 [!objdir] (objpfx): Remove.
20296 [!objdir] (common-objpfx): Likewise.
20297 [!objdir] (common-objdir): Likewise.
20298 * configure.in (config_makefile): Remove. Hardcode Makefile in
20299 AC_CONFIG_FILES call.
20300 * configure: Regenerated.
20303 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
20305 (testout): Likewise.
20307 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
20308 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
20309 $(rtld-installed-name).
20310 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
20311 (rtld_installed_name): Likwise.
20312 (runit): Remove function.
20313 (run_getconf): New variable, Use it for running getconf binary.
20315 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
20318 * string/test-memmem.c (check_result): New function.
20319 (do_one_test): Use it.
20320 (check1): New function.
20321 (test_main): Use it.
20323 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
20325 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
20327 2012-10-18 Joseph Myers <joseph@codesourcery.com>
20329 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
20330 (_G_LSEEK64): Likewise.
20331 (_G_MMAP64): Likewise.
20332 (_G_FSTAT64): Likewise.
20333 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
20334 (_G_LSEEK64): Likewise.
20335 (_G_MMAP64): Likewise.
20336 (_G_FSTAT64): Likewise.
20337 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
20338 unconditional. Call __mmap64 directly.
20339 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
20340 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
20341 __lseek64 directly.
20342 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
20343 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
20345 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
20346 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
20347 __lseek64 directly.
20348 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
20349 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
20350 __lseek64 directly.
20351 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
20352 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
20353 __lseek64 directly.
20354 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
20355 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
20356 __fxstat64 directly.
20357 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
20358 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
20360 (freopen64) [!_G_OPEN64]: Remove conditional code.
20361 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
20363 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
20364 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
20366 (ftello64) [!_G_LSEEK64]: Remove conditional code.
20367 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
20369 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
20370 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
20372 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
20373 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
20375 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
20376 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
20378 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
20379 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
20381 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
20383 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
20386 * manual/memory.texi (Malloc Tunable Parameters): Add note
20387 about free list pointers overwriting some perturb bytes.
20388 Wording suggested by Roland McGrath.
20390 2012-10-17 Joseph Myers <joseph@codesourcery.com>
20392 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
20393 (lgamma_test): Likewise.
20394 (tgamma_test): Likewise.
20396 2012-10-16 Florian Weimer <fweimer@redhat.com>
20399 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
20400 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
20402 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
20404 * NEWS: Mention BZ #14716.
20405 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
20406 when removing AVAILABLE1_USES_J macro.
20408 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
20410 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
20411 (__bswap_64): __uint64_t for unsigned 64-bit int.
20413 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
20415 * include/string.h (memmem): Declare libc hidden alias.
20416 * string/memmem.c (memmem): Define libc hidden alias.
20417 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
20418 __read, __close instead of open, read, close.
20420 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
20422 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
20423 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
20425 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
20426 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
20427 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
20429 (__rawmemchr_sse2): Likewise.
20430 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
20431 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
20432 (__strchr_sse2): Likewise.
20433 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
20434 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
20435 (__strcasecmp_sse2): Likewise.
20436 (__strncasecmp_sse2): Likewise.
20437 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
20438 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
20439 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
20440 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
20441 (__strrchr_sse2): Likewise.
20442 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
20444 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
20445 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
20446 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
20447 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
20448 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
20449 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
20450 * sysdeps/x86_64/multiarch/memset.S: Likewise.
20451 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
20452 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
20453 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
20454 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
20455 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
20456 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
20457 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
20458 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
20459 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
20460 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
20461 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
20462 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
20463 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
20464 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
20465 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
20466 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
20467 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
20468 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
20469 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
20470 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
20471 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
20472 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
20473 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
20475 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
20477 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
20478 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
20479 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
20480 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
20482 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
20484 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
20485 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
20486 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
20487 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
20489 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
20490 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
20491 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
20492 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
20493 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
20494 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
20495 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
20496 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
20497 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
20498 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
20499 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
20500 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
20501 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
20502 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
20503 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
20504 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
20505 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
20506 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
20507 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
20508 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
20509 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
20510 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
20511 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
20512 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
20513 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
20514 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
20515 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
20516 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
20517 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
20518 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
20519 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
20520 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
20521 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
20522 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
20523 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
20524 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
20525 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
20526 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
20527 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
20528 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
20529 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
20531 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
20532 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
20533 * include/ifunc-impl-list.h: New file.
20534 * misc/ifunc-impl-list.c: Likewise.
20535 * misc/Makefile (routines): Add ifunc-impl-list.
20536 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
20537 * string/test-string.h: Include <ifunc-impl-list.h>.
20538 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
20539 impl_array): New variables.
20540 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
20542 (test_init): Call __libc_ifunc_impl_list to initialize
20543 func_list if TEST_IFUNC and TEST_NAME are defined.
20545 * string/Makefile (strop-tests): Add bcopy and bzero.
20546 * string/test-bcopy.c: New file.
20547 * string/test-bzero.c: Likewise.
20548 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
20550 * string/test-memset.c: Support bzero test if TEST_BZERO is
20552 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
20554 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
20556 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
20559 2012-10-10 Joseph Myers <joseph@codesourcery.com>
20561 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
20562 * configure: Regenerated.
20564 * Makeconfig (+link-static-before-libc): Don't include
20565 $(link-static-libc).
20567 * libio/libio.h (_IO_pos_t): Remove.
20569 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
20571 * NEWS: Add note about FIPS mode. Wording suggested by Roland
20574 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
20576 * crypt/crypt-entry.c: Include fips-private.h.
20577 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
20578 * crypt/md5c-test.c (main): Tolerate disabled MD5.
20579 * sysdeps/unix/sysv/linux/fips-private.h: New file.
20580 * sysdeps/generic/fips-private.h: New file, dummy fallback.
20582 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
20584 * crypt/crypt-private.h: Include stdbool.h.
20585 (_ufc_setup_salt_r): Return bool.
20586 * crypt/crypt-entry.c: Include errno.h.
20587 (__crypt_r): Return NULL with EINVAL for bad salt.
20588 * crypt/crypt_util.c (bad_for_salt): New.
20589 (_ufc_setup_salt_r): Check that salt is long enough and within
20590 the specified alphabet.
20591 * crypt/badsalttest.c: New file.
20592 * crypt/Makefile (tests): Add it.
20593 ($(objpfx)badsalttest): New.
20595 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
20597 * NEWS: Add entry for BZ #14602.
20599 2012-10-09 Joseph Myers <joseph@codesourcery.com>
20601 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
20603 * math/libm-test.inc: Update comment listing what functions and
20605 (isgreater_test): New function.
20606 (isgreaterequal_test): Likewise.
20607 (isless_test): Likewise.
20608 (islessequal_test): Likewise.
20609 (islessgreater_test): Likewise.
20610 (isunordered_test): Likewise.
20611 (main): Call the new functions.
20613 2012-10-09 Roland McGrath <roland@hack.frob.com>
20615 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
20616 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
20617 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
20618 * sysdeps/i386/configure: Regenerated.
20619 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
20620 * sysdeps/mach/configure: Regenerated.
20621 * sysdeps/mach/hurd/configure: Regenerated.
20622 * sysdeps/powerpc/configure: Regenerated.
20623 * sysdeps/powerpc/powerpc32/configure: Regenerated.
20624 * sysdeps/powerpc/powerpc64/configure: Regenerated.
20625 * sysdeps/s390/s390-32/configure: Regenerated.
20626 * sysdeps/s390/s390-64/configure: Regenerated.
20627 * sysdeps/sh/configure: Regenerated.
20628 * sysdeps/sparc/configure: Regenerated.
20629 * sysdeps/unix/sysv/linux/configure: Regenerated.
20630 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
20631 * sysdeps/x86_64/configure: Regenerated.
20633 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
20634 defined. Don't check if MAP is NULL.
20636 2012-10-09 Joseph Myers <joseph@codesourcery.com>
20638 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
20639 (_G_stat64): Likewise.
20640 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
20641 (_G_stat64): Likewise.
20642 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
20643 instead of struct _G_stat64.
20644 * libio/fileops.c (mmap_remap_check): Likewise.
20645 (decide_maybe_mmap): Likewise.
20646 (_IO_new_file_seekoff): Likewise.
20647 (_IO_file_stat): Likewise.
20648 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
20650 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
20651 instead of struct _G_stat64.
20652 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
20654 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
20657 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
20659 (CHECK_EOL): New macro.
20660 (two_way_short_needle): Check beginning of haystack for EOL. Use
20662 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
20663 Replace with CHECK_EOL.
20664 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
20665 Replace with CHECK_EOL.
20667 2012-10-08 Joseph Myers <joseph@codesourcery.com>
20669 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
20671 * math/libm-test.inc: Update comment listing what functions and
20673 (finite_test): New function.
20674 (isinf_test): Likewise.
20675 (isnan_test): Likewise.
20676 (fpclassify_test): Test subnormal input.
20677 (isfinite_test): Likewise.
20678 (isnormal_test): Likewise.
20679 (main): Call the new functions.
20681 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
20684 * Makerules (%.dynsym): Force C locale when running
20685 $(OBJDUMP) --dynamic-syms.
20687 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
20689 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
20692 2012-10-06 David S. Miller <davem@davemloft.net>
20694 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
20695 upper 32-bits of the length value in %o2 since we use branch-on-register
20696 tests which consider the entire 64-bit register.
20698 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
20700 * string/test-strstr.c (check2): Add a test for page boundary.
20702 2012-10-05 David S. Miller <davem@davemloft.net>
20704 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
20705 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
20707 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
20709 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
20710 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
20711 and bzero when HWCAP_SPARC_CRYPTO is present.
20713 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
20716 * string/test-strstr.c (check2): New function.
20717 (test_main): Call check2.
20719 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
20721 * string/bug-strcasestr1.c (do_test): Moved to ...
20722 * string/test-strcasestr.c (check1): Here. New function.
20723 (do_one_test): Break out result checking code into ...
20724 (check_result): This. New function.
20725 (do_one_test): Call check_result.
20726 (test_main): Call check1.
20727 * string/bug-strchr1.c (do_test): Moved to ...
20728 * string/test-strchr.c (check1): Here. New function.
20729 (do_one_test): Break out result checking code into ...
20730 (check_result): This. New function.
20731 (do_one_test): Call check_result.
20732 (test_main): Call check1.
20733 * string/bug-strstr1.c (main): Moved to ...
20734 * string/test-strstr.c (check1): Here. New function.
20735 (do_one_test): Break out result checking code into ...
20736 (check_result): This. New function.
20737 (do_one_test): Call check_result.
20738 (test_main): Call check1.
20739 * string/bug-strcasestr1.c: Removed.
20740 * string/bug-strchr1.c: Likewise.
20741 * string/bug-strstr1.c: Likewise.
20743 * elf/Makefile (dl-routines): Add hwcaps.
20744 * elf/dl-support.c (_dl_important_hwcaps): Removed.
20745 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
20746 (_dl_important_hwcaps): Moved to ...
20747 * elf/dl-hwcaps.c: Here. New file.
20748 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
20751 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
20752 if IS_IN_rtld isn't defined.
20754 * elf/dl-support.c (_dl_sysinfo_map): New.
20755 Include "get-dynamic-info.h" and "setup-vdso.h".
20756 (_dl_non_dynamic_init): Call setup_vdso.
20757 * elf/dynamic-link.h: Don't include <assert.h>.
20758 (elf_get_dynamic_info): Moved to ...
20759 * elf/get-dynamic-info.h: Here. New file.
20760 * elf/dynamic-link.h: Include "get-dynamic-info.h".
20761 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
20762 * elf/setup-vdso.h: Here. New file.
20763 * elf/rtld.c: Include "setup-vdso.h".
20764 (dl_main): Call setup_vdso.
20766 2012-10-05 Joseph Myers <joseph@codesourcery.com>
20768 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
20769 creal in comment listing functions tested. List finite, isinf,
20770 isnan, isless, islessequal, isgreater, isgreaterequal,
20771 islessgreater, isunordered, lgamma_r and pow10 as functions and
20772 macros not tested. Mention which functions not tested are aliases
20773 for other functions. Fix typo. Note that signs of NaNs are not
20776 * scripts/config.guess: Update from config.git.
20777 * scripts/config.sub: Likewise.
20779 2012-10-04 Roland McGrath <roland@hack.frob.com>
20781 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
20782 * misc/madvise.c (madvise): Renamed to __madvise.
20783 Make madvise a weak alias.
20784 * include/sys/mman.h: Declare __madvise.
20785 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
20786 * sysdeps/unix/syscalls.list
20787 (madvise): Make __madvise the strong name, and madvise a weak alias.
20788 * sysdeps/unix/sysv/linux/syscalls.list
20789 (madvise, mmap): Remove redundant entries.
20790 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
20791 * malloc/malloc.c (mtrim): Likewise.
20792 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
20794 2012-10-03 Roland McGrath <roland@hack.frob.com>
20796 * sysdeps/mach/hurd/dl-cache.c: File removed.
20797 * config.h.in (USE_LDCONFIG): New #undef.
20798 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
20799 * configure: Regenerated.
20800 * elf/Makefile (dl-routines): Add dl-cache only under
20801 [$(use-ldconfig) = yes].
20802 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
20803 cache on [USE_LDCONFIG].
20804 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
20806 * elf/rtld.c (dl_main): Likewise.
20808 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
20810 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
20811 _SC_LEVEL4_CACHE_LINESIZE.
20813 2012-10-03 Roland McGrath <roland@hack.frob.com>
20815 * sysdeps/unix/bsd/confstr.h: File removed.
20817 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
20819 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
20822 2012-10-02 Roland McGrath <roland@hack.frob.com>
20824 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
20825 Make 'mapoff' field ElfW(Off) rather than off_t.
20827 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
20829 * nscd/Makefile: Remove nscd-cflags and all its users.
20830 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
20831 (CFLAGS-nonlib): Add compiler flags for nscd modules.
20834 * malloc.c (malloc_printerr): Clarify error message.
20836 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
20839 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20840 Set bit_FMA_Usable if FMA is supported.
20841 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
20843 (bit_FMA4_Usable): Updated.
20844 (index_FMA_Usable): New macro.
20845 (CPUID_FMA): Likewise
20846 (HAS_FMA): Defined with bit_FMA_Usable.
20848 2012-10-01 Roland McGrath <roland@hack.frob.com>
20850 * bits/types.h (__swblk_t): Type removed.
20851 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
20852 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
20853 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20854 (__SWBLK_T_TYPE): Likewise.
20855 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
20856 (__SWBLK_T_TYPE): Likewise.
20857 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20858 (__SWBLK_T_TYPE): Likewise.
20859 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
20860 (__SWBLK_T_TYPE): Likewise.
20862 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
20863 Honza Horak <hhorak@redhat.com>
20865 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
20866 (xdr_mapname): Use YPMAXMAP as maxsize.
20867 (xdr_peername): Use YPMAXPEER as maxsize.
20868 (xdr_keydat): Use YPAXRECORD as maxsize.
20869 (xdr_valdat): Use YPMAXRECORD as maxsize.
20871 2012-10-01 Roland McGrath <roland@hack.frob.com>
20873 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
20875 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
20876 * csu/init-first.c: ... here.
20877 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
20878 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
20879 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
20880 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
20881 * sysdeps/i386/init-first.c: File removed.
20882 * sysdeps/sh/init-first.c: File removed.
20884 2012-10-01 Joseph Myers <joseph@codesourcery.com>
20887 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
20888 if x * y might underflow to zero and z is zero.
20889 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
20890 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
20891 * math/libm-test.inc (min_subnorm_value): New variable.
20892 (fma_test): Add more tests.
20893 (fma_test_towardzero): Likewise.
20894 (fma_test_downward): Likewise
20895 (fma_test_upward): Likewise.
20896 (initialize): Set min_subnorm_value.
20898 2012-09-29 Joseph Myers <joseph@codesourcery.com>
20901 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
20903 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
20904 mode for addition resulting in exact zero.
20905 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
20906 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
20908 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
20909 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
20910 * math/libm-test.inc (fma_test): Add more tests.
20911 (fma_test_towardzero): New function.
20912 (fma_test_downward): Likewise.
20913 (fma_test_upward): Likewise.
20914 (main): Call the new functions.
20916 2012-09-28 David S. Miller <davem@davemloft.net>
20918 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
20920 2012-09-28 Roland McGrath <roland@hack.frob.com>
20922 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
20923 instead of SIGALRM.
20925 * sysdeps/gnu/_G_config.h: Moved to ...
20926 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
20927 * sysdeps/mach/hurd/_G_config.h: Moved to ...
20928 * sysdeps/generic/_G_config.h: ... here.
20930 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
20932 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
20934 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
20935 Conditionalize target on [libnss_test1.so-version].
20937 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
20939 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
20940 (elfobjdir): Move out of conditionals.
20942 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
20943 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
20944 (__nss_lookup_function): Conditionalize label remove_from_tree on
20945 [!DO_STATIC_NSS || SHARED], matching its only use.
20947 2012-09-28 David S. Miller <davem@davemloft.net>
20949 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
20950 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
20952 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
20954 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
20955 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
20956 when HWCAP_SPARC_CRYPTO is present.
20958 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
20960 * io/tst-mknodat.c: Create a FIFO instead of a socket.
20962 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
20965 * stdio-common/vfprintf.c (process_string_arg): Revert
20968 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
20970 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
20972 * stdio-common/tst-sprintf.c: Include <locale.h>
20973 (main): Test sprintf's handling of incomplete multibyte
20976 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
20978 * elf/dl-runtime.c (VERSYMIDX): Removed.
20979 * elf/dl-version.c (VERSYMIDX): Likewise.
20980 * elf/do-rel.h (VERSYMIDX): Likewise.
20981 (VALIDX): Likewise.
20982 * elf/dynamic-link.h (VERSYMIDX): Likewise.
20983 * elf/rtld.c (VALIDX): Likewise.
20984 (ADDRIDX): Likewise.
20985 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
20986 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
20987 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
20988 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
20989 (VALIDX): Likewise.
20990 (ADDRIDX): Likewise.
20992 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
20994 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
20996 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
20999 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
21001 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
21002 addresses are in the same scope as 192.0.2/24.
21003 * posix/gai.conf: Document new scope table defaults.
21005 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21008 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
21009 for ftell. Compute offsets from write pointers instead.
21010 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
21012 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21015 * libio/Makefile (tests): New test case tst-fseek.
21016 * libio/tst-fseek.c: New test case to verify that fseek/ftell
21017 combination works in wide mode.
21018 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
21019 state when the external buffer state changes.
21021 2012-09-27 David S. Miller <davem@davemloft.net>
21024 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
21025 pass reloc->r_addend in as the 'high' argument to
21026 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
21028 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21030 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
21032 * rt/tst-aio2.c: Include <pthread.h>.
21033 * rt/tst-aio3.c: Likewise.
21035 2012-09-27 Steve Ellcey <sellcey@mips.com>
21037 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
21039 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
21041 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
21042 contents on [SHARED].
21044 2012-09-26 Marek Polacek <polacek@redhat.com>
21048 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
21049 for C++ and GCC <4.3 as well as for non GCC compilers.
21051 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
21053 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21055 2012-09-25 Roland McGrath <roland@hack.frob.com>
21057 * Makefile.in (all, install): Declare with .PHONY.
21058 Reported by Michael Hope <michael.hope@linaro.org>.
21060 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21062 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
21063 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
21065 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
21067 (sydep_routines): Add the new and the internal functions.
21068 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
21069 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
21070 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
21071 (GLIBC_2.17): Add the new function.
21072 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
21073 (GLIBC_2.17): Likewise.
21074 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
21075 (GLIBC_2.17): Likewise.
21076 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
21077 (GLIBC_2.17): Likewise.
21078 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
21080 2012-09-25 Alan Modra <amodra@gmail.com>
21082 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
21083 Add release barrier before setting once_control to say
21084 initialisation is done. Add hints on lwarx. Use macro in
21086 (clear_once_control): Add release barrier.
21088 2012-09-25 Joseph Myers <joseph@codesourcery.com>
21091 * math/s_clog.c (__clog): Handle more values close to |z| = 1
21093 * math/s_clog10.c (__clog10): Likewise.
21094 * math/s_clog10f.c (__clog10f): Likewise.
21095 * math/s_clog10l.c (__clog10l): Likewise.
21096 * math/s_clogf.c (__clogf): Likewise.
21097 * math/s_clogl.c (__clogl): Likewise.
21098 * math/Makefile (libm-calls): Add x2y2m1.
21099 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
21100 (__x2y2m1): Likewise.
21101 (__x2y2m1l): Likewise.
21102 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
21103 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
21104 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
21105 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
21106 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
21107 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
21108 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
21109 * sysdeps/i386/fpu/libm-test-ulps: Update.
21110 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21113 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
21114 int as type of variable DEPTH.
21115 (glob): Use size_t instead of int as type of variables NEWCOUNT
21118 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21120 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
21121 Add s_sincosf-sse2.
21122 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
21123 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
21124 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
21125 macros for using routine as __sincosf_ia32.
21126 Use macro for function declaration and weak_alias.
21127 * sysdeps/i386/fpu/libm-test-ulps: Update.
21129 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
21130 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21132 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
21133 subnormal argument.
21134 * math/s_cexpf.c (__cexpf): Likewise.
21135 * math/s_csinf.c (__csinf): Likewise.
21136 * math/s_csinhf.c (__csinhf): Likewise.
21137 * math/s_ctanf.c (__ctanf): Likewise.
21138 * math/s_ctanhf.c (__ctanhf): Likewise.
21139 * math/s_ccosh.c (__ccoshf): Likewise.
21140 * math/s_cexp.c (__cexpl): Likewise.
21141 * math/s_csin.c (__csin): Likewise.
21142 * math/s_csinh.c (__csinh): Likewise.
21143 * math/s_ctan.c (__ctan): Likewise.
21144 * math/s_ctanh.c (ctanh): Likewise.
21145 * math/s_ccoshl.c (__ccoshl): Likewise.
21146 * math/s_cexpl.c (__cexpl): Likewise.
21147 * math/s_csinl.c (__csinl): Likewise.
21148 * math/s_csinhl.c (__csinhl): Likewise.
21149 * math/s_ctanl.c (__ctanl): Likewise.
21150 * math/s_ctanhl.c (__ctanhl): Likewise.
21152 2012-09-25 Joseph Myers <joseph@codesourcery.com>
21154 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
21155 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
21156 (_IO_off_t): Define to __off_t, not _G_off_t.
21157 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
21158 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
21159 (_IO_wint_t): Define to wint_t, not _G_wint_t.
21160 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
21161 type of __dummy and __dummy2 fields.
21162 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
21163 (_G_ssize_t): Likewise.
21164 (_G_off_t): Likewise.
21165 (_G_pid_t): Likewise.
21166 (_G_uid_t): Likewise.
21167 (_G_wchar_t): Likewise.
21168 (_G_wint_t): Likewise.
21169 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
21170 (_G_ssize_t): Likewise.
21171 (_G_off_t): Likewise.
21172 (_G_pid_t): Likewise.
21173 (_G_uid_t): Likewise.
21174 (_G_wchar_t): Likewise.
21175 (_G_wint_t): Likewise.
21176 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
21177 (_G_ssize_t): Likewise.
21178 (_G_off_t): Likewise.
21179 (_G_pid_t): Likewise.
21180 (_G_uid_t): Likewise.
21181 (_G_wchar_t): Likewise.
21182 (_G_wint_t): Likewise.
21184 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
21186 * malloc/arena.c: Include malloc-sysdep.h.
21187 (shrink_heap): Use check_may_shrink_heap to decide if madvise
21188 is sufficient to shrink the heap or an unmap is needed.
21189 * sysdeps/generic/malloc-sysdep.h: New file. Define
21190 new function check_may_shrink_heap.
21191 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
21192 new function check_may_shrink_heap.
21194 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
21196 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
21199 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
21201 * catgets/test-gencat.sh: Add "set -e".
21202 * elf/tst-pathopt.sh: Likewise.
21203 * grp/tst_fgetgrent.sh: Likewise.
21204 * iconvdata/run-iconv-test.sh: Likewise.
21205 * intl/tst-gettext.sh: Likewise.
21206 * intl/tst-gettext2.sh: Likewise.
21207 * intl/tst-gettext4.sh: Likewise.
21208 * intl/tst-gettext6.sh: Likewise.
21209 * intl/tst-translit.sh: Likewise.
21210 * io/ftwtest-sh: Likewise.
21211 * libio/test-freopen.sh: Likewise.
21212 * malloc/tst-mtrace.sh: Likewise.
21213 * posix/globtest.sh: Likewise.
21214 * posix/tst-getconf.sh: Likewise.
21215 * posix/wordexp-tst.sh: Likewise.
21216 * stdio-common/tst-printf.sh: Likewise.
21217 * stdio-common/tst-unbputc.sh: Likewise.
21218 * stdlib/tst-fmtmsg.sh: Likewise.
21219 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
21220 * catgets/Makefile: Do not specify -e option when running
21221 testsuite shell scripts.
21222 * elf/Makefile: Likewise.
21223 * grp/Makefile: Likewise.
21224 * iconvdata/Makefile: Likewise.
21225 * intl/Makefile: Likewise.
21226 * io/Makefile: Likewise.
21227 * libio/Makefile: Likewise.
21228 * malloc/Makefile: Likewise.
21229 * posix/Makefile: Likewise.
21230 * stdio-common/Makefile: Likewise.
21231 * stdlib/Makefile: Likewise.
21232 * sysdeps/x86_64/Makefile: Likewise.
21234 * io/ftwtest-sh: Add copyright header.
21235 * posix/globtest.sh: Likewise.
21236 * posix/tst-getconf.sh: Likewise.
21237 * posix/wordexp-tst.sh: Likewise.
21238 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
21240 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
21243 * Makeconfig (+link): Defined as $(+link-static) if
21244 $(build-shared) isn't yes.
21245 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
21247 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
21249 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
21252 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
21253 new chunk size with MALLOC_ALIGN_MASK.
21255 2012-09-24 Joseph Myers <joseph@codesourcery.com>
21258 * stdio-common/printf_fphex.c: Include <stdbool.h> and
21260 (__printf_fphex): Determine rounding using get_rounding_mode and
21262 * stdio-common/tst-printf-round.c (struct hex_test): New
21264 (hex_tests): New variable.
21265 (test_hex_in_one_mode): New function.
21266 (do_test): Also run tests for hex float output.
21268 2012-09-21 Joseph Myers <joseph@codesourcery.com>
21270 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
21271 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
21272 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
21273 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
21274 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
21275 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
21276 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
21277 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
21279 2012-09-20 Joseph Myers <joseph@codesourcery.com>
21281 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
21282 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
21283 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
21284 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
21286 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
21289 * elf/rtld.c (dl_main): Limit the check for self loading to normal
21291 * elf/tst-rtld-load-self.sh: New test.
21292 * elf/Makefile: Run it.
21294 2012-09-18 Joseph Myers <joseph@codesourcery.com>
21296 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
21297 (tst-writev-ENV): Remove.
21298 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
21300 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
21302 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
21304 2012-09-17 Joseph Myers <joseph@codesourcery.com>
21306 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
21308 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
21310 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
21311 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
21312 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
21315 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
21318 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
21319 * config.make.in (have-cpp-asm-debuginfo): Removed.
21320 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
21321 * configure: Regenerated.
21323 2012-09-14 Joseph Myers <joseph@codesourcery.com>
21326 * stdio-common/printf_fp.c: Include <stdbool.h> and
21328 (___printf_fp): Determine rounding using get_rounding_mode and
21330 * stdio-common/tst-printf-round.c: New file.
21331 * stdio-common/Makefile (tests): Add tst-printf-round.
21332 (link-libm): New variable.
21333 ($(objpfx)tst-printf-round): Depend in $(link-libm).
21335 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
21338 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
21339 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
21341 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
21344 2012-09-13 Joseph Myers <joseph@codesourcery.com>
21346 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
21347 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
21348 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
21349 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
21351 2012-09-12 Joseph Myers <joseph@codesourcery.com>
21354 * include/rounding-mode.h: New file.
21355 * sysdeps/generic/get-rounding-mode.h: Likewise.
21356 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
21357 * stdlib/strtod_l.c: Include <rounding-mode.h>.
21358 (MAX_VALUE): New macro.
21359 (MIN_VALUE): Likewise.
21360 (overflow_value): New function.
21361 (underflow_value): Likewise.
21362 (round_and_return): Use overflow_value and underflow_value to
21363 determine return values in overflow and underflow cases. Use
21364 round_away to determine rounding depending on rounding mode.
21365 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
21366 determine return values in overflow and underflow cases.
21367 * stdlib/tst-strtod-round.c: Include <fenv.h>.
21368 (struct test_results): New structure.
21369 (struct test): Use struct test_results to store expected results
21370 for all rounding modes.
21371 (TEST): Include expected results for all rounding modes.
21372 (test_in_one_mode): New function.
21373 (do_test): Use test_in_one_mode to compute and check results.
21374 Check results for all rounding modes.
21375 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
21378 2012-12-09 Allan McRae <allan@archlinux.org>
21380 * sysdeps/i386/fpu/libm-test-ulps: Update
21382 2012-09-11 Joseph Myers <joseph@codesourcery.com>
21384 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
21385 (_G_int32_t): Likewise.
21386 (_G_uint16_t): Likewise.
21387 (_G_uint32_t): Likewise.
21388 (_G_HAVE_BOOL): Likewise.
21389 (_G_HAVE_ATEXIT): Likewise.
21390 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
21391 (_G_HAVE_IO_FILE_OPEN): Likewise.
21392 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
21393 (_G_int32_t): Likewise.
21394 (_G_uint16_t): Likewise.
21395 (_G_uint32_t): Likewise.
21396 (_G_HAVE_BOOL): Likewise.
21397 (_G_HAVE_ATEXIT): Likewise.
21398 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
21399 (_G_HAVE_IO_FILE_OPEN): Likewise.
21400 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
21401 (_G_int32_t): Likewise.
21402 (_G_uint16_t): Likewise.
21403 (_G_uint32_t): Likewise.
21404 (_G_HAVE_BOOL): Likewise.
21405 (_G_HAVE_ATEXIT): Likewise.
21406 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
21407 (_G_HAVE_IO_FILE_OPEN): Likewise.
21409 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
21411 * csu/libc-tls.c: Update copyright years.
21413 2012-09-10 Joseph Myers <joseph@codesourcery.com>
21415 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
21416 [!_G_USING_THUNKS]: Remove conditional code.
21417 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
21418 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
21420 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
21421 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
21422 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
21423 (_G_VTABLE_LABEL_PREFIX): Likewise.
21424 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
21425 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
21426 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
21427 (_G_VTABLE_LABEL_PREFIX): Likewise.
21428 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
21429 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
21430 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
21431 (_G_VTABLE_LABEL_PREFIX): Likewise.
21432 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
21434 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
21436 * libio/Makefile: Include ../Makeconfig before tests.
21437 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
21438 only if $(build-shared) is yes.
21440 * iconv/gconv_db.c: Update copyright years.
21442 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21444 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
21445 unwind info if defined PIC. Fix special cases description.
21446 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
21448 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
21450 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
21452 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
21454 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
21456 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
21459 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
21460 (LDLIBS-tst-chk4): This.
21461 (LDFLAGS-tst-chk5): Renamed to ...
21462 (LDLIBS-tst-chk5): This.
21463 (LDFLAGS-tst-chk6): Renamed to ...
21464 (LDLIBS-tst-chk6): This.
21465 (LDFLAGS-tst-lfschk4): Renamed to ...
21466 (LDLIBS-tst-lfschk4): This.
21467 (LDFLAGS-tst-lfschk5): Renamed to ...
21468 (LDLIBS-tst-lfschk5): This.
21469 (LDFLAGS-tst-lfschk6): Renamed to ...
21470 (LDLIBS-tst-lfschk6): This.
21472 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
21473 on $(common-objpfx)soversions.mk.
21475 2012-09-07 Joseph Myers <joseph@codesourcery.com>
21478 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
21481 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
21483 * malloc/arena.c (arena_get_retry): New function that gets
21484 another arena for the caller to try its request on.
21485 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
21486 current arena cannot fulfill the request.
21487 (__libc_memalign): Likewise.
21488 (__libc_memalign): Likewise.
21489 (__libc_pvalloc): Likewise.
21490 (__libc_calloc): Likewise.
21492 2012-09-05 John Tobey <john.tobey@gmail.com>
21495 * manual/arith.texi (Operations on Complex): Fix description
21496 of carg branch cut.
21498 2012-09-06 Joseph Myers <joseph@codesourcery.com>
21501 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
21505 * manual/memory.texi (Memory): Make order of menu items match
21508 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
21510 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
21511 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
21512 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
21514 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
21516 * csu/libc-tls.c (static_dtv): Renamed to ...
21517 (_dl_static_dtv): This. Make it global.
21518 (_dl_initial_dtv): Removed.
21519 (__libc_setup_tls): Updated.
21520 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
21521 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
21524 2012-09-06 Petr Machata <pmachata@redhat.com>
21526 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
21527 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
21528 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
21529 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
21531 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
21534 * csu/libc-tls.c (_dl_initial_dtv): New variable.
21535 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
21538 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
21541 * Makeconfig (link-static-before-libc): Replace $(+prector)
21543 (link-static-after-libc): Replace $(+postctor) with
21545 (link-bounded): Replace $(+prector)/$(+postctor) with
21546 $(+prectorT)/$(+postctorT).
21547 (+prectorT): New macro.
21548 (+postctorT): Likewise.
21550 2012-09-06 Joseph Myers <joseph@codesourcery.com>
21552 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
21553 (round_str): Handle values above the maximum for IBM long double
21555 * stdlib/tst-strtod-round.c (tests): Regenerated.
21557 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21559 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
21561 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
21562 zarch_nohighgprs around the zarch optimized routines.
21563 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
21564 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
21565 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
21568 2012-09-05 David S. Miller <davem@davemloft.net>
21570 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21572 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
21573 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
21574 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
21575 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
21578 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
21580 * malloc/arena.c: Fold copyright years.
21581 * malloc/mcheck.c, malloc/memusage.c: Likewise.
21583 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
21585 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
21587 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
21589 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
21591 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
21593 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
21594 change internal state upon failure.
21596 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
21598 * malloc/mcheck.c (mcheck_check_all): Fix typo.
21599 * malloc/memusage.c (mmap): Likewise.
21600 (mmap64, mremap): Likewise. Adjust name in comment.
21602 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
21604 * libio/fileops.c: Fix typos in comments.
21605 * libio/oldfileops.c: Likewise.
21606 * libio/wfileops.c: Likewise.
21608 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
21611 * malloc/Makefile (tests): Add tst-malloc-usable test case.
21612 (tst-malloc-usable-ENV): Set environment for test case.
21613 * malloc/hooks.c (malloc_check_get_size): New function to get
21615 * malloc/malloc.c (musable): Use malloc_check_get_size.
21616 * malloc/tst-malloc-usable.c: New test case.
21618 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
21620 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
21622 2012-09-05 Allan McRae <allan@archlinux.org>
21625 * configure.in (CXX_SYSINCLUDES): Use compiler output to
21626 determine header location.
21627 * configure: Regenerated.
21629 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
21631 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
21633 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
21634 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
21636 (test): Regenerate.
21638 2012-09-04 David S. Miller <davem@davemloft.net>
21640 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
21641 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
21642 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
21644 2012-09-04 Florian Weimer <fweimer@redhat.com>
21646 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
21649 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
21651 2012-09-04 Joseph Myers <joseph@codesourcery.com>
21654 * libio/iogetdelim.c: Include <limits.h>.
21655 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
21656 + len + 1 would overflow.
21658 2012-09-03 Andreas Jaeger <aj@suse.de>
21660 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21661 * sysdeps/i386/fpu/libm-test-ulps: Update.
21663 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21665 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
21666 Add s_sinf-sse2, s_conf-sse2.
21668 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
21669 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
21670 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
21671 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
21673 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
21674 for using routine as __sinf_ia32.
21675 Use macro for function declaration and weak_alias.
21676 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
21677 for using routine as __cosf_ia32.
21678 Use macro for function declaration and weak_alias.
21680 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
21681 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
21683 * sysdeps/x86_64/fpu/s_sinf.S: New file.
21684 * sysdeps/x86_64/fpu/s_cosf.S: New file.
21685 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21687 * math/libm-test.inc (cos_test): Add more test cases.
21688 (sin_test): Likewise.
21689 (sincos_test): Likewise.
21691 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21693 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
21694 (IFUNC_RESOLVE): Make pointers to the specialized implementations
21696 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
21698 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
21701 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
21702 first element of the GOT.
21703 (elf_machine_load_address): Return the difference between
21704 the runtime address of _DYNAMIC and elf_machine_dynamic ().
21706 2012-09-01 Allan McRae <allan@archlinux.org>
21709 * configure.in (AWK): Require gawk version 3.0 or later.
21710 * configure: Regenerated.
21712 2012-09-01 Joseph Myers <joseph@codesourcery.com>
21714 * sysdeps/unix/sysv/linux/kernel-features.h
21715 (__ASSUME_POSIX_CPU_TIMERS): Remove.
21716 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
21717 [__NR_clock_getres]: Make code unconditional.
21718 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
21719 (clock_getcpuclockid): Remove code left unreachable by removal of
21721 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
21722 code unconditional.
21723 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
21724 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
21725 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
21726 Make code unconditional.
21727 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
21728 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
21729 * sysdeps/unix/sysv/linux/clock_settime.c
21730 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
21732 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
21733 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
21735 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
21738 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
21739 scripts/test-installation.pl.
21741 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
21742 and $ld_so_version if it is set.
21744 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
21747 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
21748 failure if reading from procfs failed.
21749 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
21751 2012-08-27 Joseph Myers <joseph@codesourcery.com>
21753 * sysdeps/unix/sysv/linux/kernel-features.h
21754 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
21755 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
21756 Remove conditional code.
21757 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
21758 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
21759 Remove conditional code.
21760 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
21761 * sysdeps/unix/sysv/linux/i386/fxstat.c
21762 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
21763 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
21764 * sysdeps/unix/sysv/linux/i386/fxstatat.c
21765 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
21766 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
21767 * sysdeps/unix/sysv/linux/i386/lxstat.c
21768 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
21769 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
21770 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
21771 Remove conditional code.
21772 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
21773 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
21774 Remove conditional code.
21775 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
21776 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
21777 <kernel-features.h>.
21778 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
21780 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
21781 Remove conditional code.
21782 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
21783 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
21784 Remove conditional.
21786 2012-08-27 Mike Frysinger <vapier@gentoo.org>
21789 * NEWS: Add fixed bug number.
21791 2012-08-27 Joseph Myers <joseph@codesourcery.com>
21794 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
21795 underflowing exponent in case of negative sign.
21796 * stdlib/tst-strtod-round-data: Add more tests.
21797 * stdlib/tst-strtod-round.c (tests): Regenerated.
21800 * stdlib/strtod_l.c (NDIG): Remove.
21801 (HEXNDIG): Likewise.
21802 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
21803 smallest representable value.
21804 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
21805 lie within an exact representation of 1/2 ulp of the result.
21806 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
21808 (TENS_P9_IDX): Define unconditionally.
21809 (TENS_P9_SIZE): Likewise.
21810 (TENS_P10_IDX): Likewise.
21811 (TENS_P10_SIZE): Likewise.
21812 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
21813 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
21814 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
21815 entries for 10^2^13 and 10^2^14.
21816 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
21817 (TENS_P13_IDX): Define.
21818 (TENS_P13_SIZE): Likewise.
21819 (TENS_P14_IDX): Likewise.
21820 (TENS_P14_SIZE): Likewise.
21821 (_fpioconst_pow10): Change array size to
21822 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
21824 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
21825 1024]: Add entries for 10^2^13 and 10^2^14.
21826 [LAST_POW10 > _LAST_POW10]: Remove #error.
21827 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
21828 (_fpioconst_pow10): Change array size to
21829 FPIOCONST_POW10_ARRAY_SIZE.
21830 * stdlib/gen-fpioconst.c: New file.
21831 * stdlib/gen-tst-strtod-round.c: Likewise.
21832 * stdlib/tst-strtod-round-data: Likewise.
21833 * stdlib/tst-strtod-round.c: Likewise.
21834 * stdlib/Makefile (tests): Add tst-strtod-round.
21837 * stdlib/strtod_l.c: Include <stdint.h>.
21838 (NDEBUG): Do not define.
21839 (round_and_return): Change EXPONENT parameter to type intmax_t.
21840 Rearrange calculations to avoid internal overflow possibilities.
21841 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
21842 Rearrange calculations to avoid internal overflow possibilities.
21843 Assert that number fits inside MPNSIZE limbs.
21844 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
21845 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
21846 calculations and add assertions to avoid internal overflow
21847 possibilities. Add casts to avoid signed/unsigned operations.
21848 * stdlib/tst-strtod-overflow.c: New file.
21849 * stdlib/Makefile (tests): Add tst-strtod-overflow.
21851 2012-08-25 Marek Polacek <polacek@redhat.com>
21853 * time/time.h: Fix some typos in comments.
21855 2012-08-23 Roland McGrath <roland@hack.frob.com>
21857 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
21858 * posix/tst-rfc3484-2.c: Likewise.
21859 * posix/tst-rfc3484-3.c: Likewise.
21861 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
21863 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
21864 (EF_ARM_ABI_FLOAT_HARD): Likewise.
21866 2012-08-23 Joseph Myers <joseph@codesourcery.com>
21868 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
21869 #include of fxstatat64.c.
21871 2012-08-22 Roland McGrath <roland@hack.frob.com>
21873 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
21874 * shadow/getspent_r.c: Likewise.
21875 * shadow/getspnam.c: Likewise.
21876 * shadow/getspnam_r.c: Likewise.
21877 * gshadow/getsgent.c: Likewise.
21878 * gshadow/getsgent_r.c: Likewise.
21879 * gshadow/getsgnam.c: Likewise.
21880 * gshadow/getsgnam_r.c: Likewise.
21881 * inet/getnetbyad.c: Likewise.
21882 * inet/getnetbyad_r.c: Likewise.
21883 * inet/getnetbynm.c: Likewise.
21884 * inet/getnetbynm_r.c: Likewise.
21885 * inet/getnetent.c: Likewise.
21886 * inet/getnetent_r.c: Likewise.
21887 * inet/getproto.c: Likewise.
21888 * inet/getproto_r.c: Likewise.
21889 * inet/getprtent.c: Likewise.
21890 * inet/getprtent_r.c: Likewise.
21891 * inet/getprtname.c: Likewise.
21892 * inet/getprtname_r.c: Likewise.
21893 * inet/getrpcbyname.c: Likewise.
21894 * inet/getrpcbyname_r.c: Likewise.
21895 * inet/getrpcbynumber.c: Likewise.
21896 * inet/getrpcbynumber_r.c: Likewise.
21897 * inet/getrpcent.c: Likewise.
21898 * inet/getrpcent_r.c: Likewise.
21899 * inet/getaliasent.c: Likewise.
21900 * inet/getaliasent_r.c: Likewise.
21901 * inet/getaliasname.c: Likewise.
21902 * inet/getaliasname_r.c: Likewise.
21903 * nscd/getgrgid_r.c: Likewise.
21904 * nscd/getgrnam_r.c: Likewise.
21905 * nscd/gethstbyad_r.c: Likewise.
21906 * nscd/gethstbynm3_r.c: Likewise.
21907 * nscd/getpwnam_r.c: Likewise.
21908 * nscd/getpwuid_r.c: Likewise.
21909 * nscd/getsrvbynm_r.c: Likewise.
21910 * nscd/getsrvbypt_r.c: Likewise.
21911 * nscd/gai.c: Likewise.
21913 * configure.in (build_nscd): New substituted variable, set
21914 by --disable-build-nscd and defaults to $use_nscd.
21915 * configure: Regenerated.
21916 * config.make.in (build-nscd): New substituted variable.
21917 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
21918 Change conditional to require [$(build-nscd) = yes] as well.
21919 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
21922 * configure.in (use_nscd): New substituted variable, set by
21923 --disable-nscd. If enabled, define USE_NSCD.
21924 * configure: Regenerated.
21925 * config.h.in: Add USE_NSCD.
21926 * config.make.in (use-nscd): New substituted variable.
21927 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
21928 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
21929 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
21930 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
21931 (CFLAGS-getgrnam_r.c): Likewise.
21932 (CFLAGS-initgroups.c): Likewise.
21933 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
21934 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
21936 * inet/getnetgrent_r.c
21937 (nscd_setnetgrent): New function, broken out of ...
21938 (setnetgrent): ... here. Call it.
21939 (innetgr): Conditionalize nscd bits on [USE_NSCD].
21940 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
21941 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
21942 * nscd/Makefile (routines, aux): Move definitions after include of
21943 Makeconfig. Conditionalize on [$(use-nscd) != no].
21944 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
21945 Conditionalize on [USE_NSCD].
21946 (is_nscd, nscd_init_cb): Likewise.
21947 (nss_load_library): Conditionalize init callback on [USE_NSCD].
21948 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
21949 * nss/nss_db/db-init.c: Likewise.
21950 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
21952 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
21953 (make_request): Use it.
21954 (cache_valid_p): New function.
21955 (__check_pf): Use it.
21956 * NEWS: Add item for --disable-nscd.
21958 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
21960 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
21961 to support sed >= 4.2.1-20-ga9bf076.
21962 * configure: Regenerated.
21964 2012-08-22 Roland McGrath <roland@hack.frob.com>
21966 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
21967 Conditionalize whole body on [IREL].
21969 2012-08-22 Jeff Law <law@redhat.com>
21972 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
21973 if the family is PF_UNSPEC.
21975 2012-08-22 Mike Frysinger <vapier@gentoo.org>
21977 * Makerules (lib-version): Rename from V.
21978 (install-lib-nosubdir): Change V to lib-version.
21980 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
21983 * powerpc32/power6/wcschr.c: New file.
21984 * powerpc32/power6/wcscpy.c: New file.
21985 * powerpc32/power6/wcsrchr.c: New file.
21986 * powerpc64/power6/wcschr.c: New file.
21987 * powerpc64/power6/wcscpy.c: New file.
21988 * powerpc64/power6/wcsrchr.c: New file.
21990 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
21992 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
21993 (two_way_short_needle): Use it.
21994 * string/strstr.c (AVAILABLE1_USES_J): Define.
21995 * string/strcasestr.c: Likewise.
21997 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
21999 * string/strcasestr.c (TOLOWER): Make side-effect safe.
22002 * NEWS: Add an entry.
22003 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
22004 define their defaults.
22005 (two_way_short_needle): Detect end-of-string on-the-fly.
22006 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
22007 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
22008 * string/bug-strcasestr1.c: New test.
22009 * string/Makefile: Run it.
22011 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
22014 * string/str-two-way.h (two_way_short_needle): Optimize matching of
22015 the first character.
22017 2012-08-21 Roland McGrath <roland@hack.frob.com>
22019 * csu/elf-init.c (__libc_csu_irel): Function removed.
22020 * csu/libc-start.c (apply_irel): New function.
22021 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
22023 2012-08-21 Joseph Myers <joseph@codesourcery.com>
22025 * sysdeps/unix/sysv/linux/kernel-features.h
22026 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
22027 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
22028 <kernel-features.h>.
22029 [__NR_fadvise64_64]: Make code unconditional.
22030 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
22031 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
22032 !__NR_fadvise64_64)]: Likewise.
22033 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
22034 !__NR_fadvise64_64))]: Likewise.
22035 [__NR_fadvise64]: Make code unconditional.
22036 [!__NR_fadvise64]: Remove conditional code.
22037 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
22038 <kernel-features.h>.
22039 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
22041 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
22043 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
22044 not include <kernel-features.h>.
22045 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
22047 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
22049 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
22050 include <kernel-features.h>.
22051 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
22053 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
22056 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
22058 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
22059 slight instruction rearrangements per scrollpipe analysis.
22060 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
22062 2012-08-20 Roland McGrath <roland@hack.frob.com>
22064 * manual/syslog.texi (syslog; vsyslog, closelog):
22065 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
22066 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
22068 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
22069 DSOCAPS to match condition on defining it.
22071 2012-08-20 Joseph Myers <joseph@codesourcery.com>
22073 * sysdeps/unix/sysv/linux/kernel-features.h
22074 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
22075 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
22076 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
22077 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
22078 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
22079 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
22080 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
22081 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
22082 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
22083 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
22085 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
22086 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
22088 * sysdeps/unix/sysv/linux/kernel-features.h
22089 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
22090 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
22092 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
22093 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
22094 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
22095 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
22096 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
22097 Make code unconditional.
22098 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
22099 (__mmap64) [!__NR_mmap2]: Likewise.
22100 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
22101 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
22102 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
22103 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
22104 [__NR_mmap2]: Make code unconditional.
22105 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
22106 (__mmap64) [!__NR_mmap2]: Likewise.
22108 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22110 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
22112 2012-08-18 Andreas Jaeger <aj@suse.de>
22114 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
22116 2012-08-18 Mike Frysinger <vapier@gentoo.org>
22118 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
22119 * include/unistd.h (__have_sock_cloexec): Likewise.
22120 (__have_pipe2): Likewise.
22121 (__have_dup3): Likewise.
22123 2012-08-18 Mike Frysinger <vapier@gentoo.org>
22126 * include/unistd.h (__have_pipe2): Change define into an extern int.
22127 (__have_dup3): Likewise.
22128 * socket/have_sock_cloexec.c: Include fcntl.h.
22129 (__have_pipe2): New variable.
22130 (__have_dup3): Likewise.
22132 2012-08-17 Mike Frysinger <vapier@gentoo.org>
22134 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
22136 2012-08-17 Marek Polacek <polacek@redhat.com>
22138 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
22139 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
22141 2012-08-17 Roland McGrath <roland@hack.frob.com>
22143 * configure.in: Add AC_SUBST for sysheaders.
22144 * configure: Regenerated.
22145 * config.make.in (sysheaders): New substituted variable.
22147 * sysdeps/unix/mkfifo.c: Moved ...
22148 * sysdeps/posix/mkfifo.c: ... here.
22149 * sysdeps/unix/mkfifoat.c: Moved ...
22150 * sysdeps/posix/mkfifoat.c: ... here.
22152 * sysdeps/unix/utime.c: Moved ...
22153 * sysdeps/posix/utime.c: ... here.
22155 * sysdeps/unix/time.c: Moved ...
22156 * sysdeps/posix/time.c: ... here.
22157 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
22158 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
22160 * sysdeps/unix/nice.c: Moved ...
22161 * sysdeps/posix/nice.c: ... here.
22163 * sysdeps/unix/alarm.c: Moved ...
22164 * sysdeps/posix/alarm.c: ... here.
22166 * intl/Makefile ($(codeset_mo)): Depend on the input file.
22168 2012-08-17 Jeff Law <law@redhat.com>
22170 * intl/Makefile (codeset_mo): New variable.
22171 ($(codeset_mo)): New target.
22172 (tst-codeset.out): Depend on that. Remove explicit rule.
22173 (tst-gettext3.out, tst-gettext5.out): Likewise.
22174 (LOCPATH-ENV, tst-codeset-ENV): New variables.
22175 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
22176 * intl/tst-codeset.sh: Remove.
22177 * intl/tst-gettext3.sh: Likewise.
22178 * intl/tst-gettext5.sh: Likewise.
22180 2012-08-17 Roland McGrath <roland@hack.frob.com>
22182 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
22183 * sysdeps/unix/syscalls.list: ... here.
22185 * sysdeps/posix/getaddrinfo.c
22186 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
22187 (gaiconf_init, gaiconf_reload): Use them.
22188 [!_STATBUF_ST_NSEC]
22189 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
22190 Define using time_t rather than struct timespec.
22192 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
22193 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
22195 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
22197 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
22198 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
22201 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
22202 __libc_cleanup_push argument.
22204 * bits/param.h: New file.
22205 * misc/sys/param.h: New file.
22206 * include/sys/param.h: New file.
22207 * misc/Makefile (headers): Add bits/param.h.
22208 * sysdeps/generic/sys/param.h: File removed.
22209 * sysdeps/unix/sysv/linux/bits/param.h: New file.
22210 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
22211 * sysdeps/mach/hurd/bits/param.h: New file.
22212 * sysdeps/mach/hurd/sys/param.h: File removed.
22214 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
22217 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
22219 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
22220 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
22223 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
22224 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
22225 rather than -D_IO_MTSAFE_IO conditionally.
22226 * stdio-common/Makefile (CPPFLAGS): Likewise.
22227 * wcsmbs/Makefile (CPPFLAGS): Likewise.
22228 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
22229 Use $(libio-mtsafe).
22230 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
22231 of -D_IO_MTSAFE_IO.
22232 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
22233 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
22234 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
22235 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
22236 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
22237 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
22238 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
22239 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
22240 (CFLAGS-fread_u_chk.c): Likewise.
22241 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
22242 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
22243 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
22244 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
22245 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
22246 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
22247 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
22248 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
22249 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
22251 * libio/Makefile: Test [$(libc-reentrant) = yes]
22252 instead of [$(filter %REENTRANT, $(defines)) nonempty].
22255 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
22256 * sysdeps/pthread/configure: File removed.
22257 * sysdeps/pthread/Makeconfig: New file.
22258 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
22259 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
22261 2012-08-16 Gary Benson <gbenson@redhat.com>
22263 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
22264 unmapping the first object in a namespace.
22266 2012-08-16 Roland McGrath <roland@hack.frob.com>
22268 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
22269 (__internal_setnetgrent): ... this. Add internal_function to
22270 definition. Add libc_hidden_def.
22271 (setnetgrent): Update caller.
22272 (internal_endnetgrent): Renamed to ...
22273 (__internal_endnetgrent): ... this. Add internal_function to
22274 definition. Add libc_hidden_def.
22275 (endnetgrent): Update caller.
22276 (internal_getnetgrent_r): Renamed to ...
22277 (__internal_getnetgrent_r): ... this. Add internal_function to
22278 definition. Add libc_hidden_def.
22279 (__getnetgrent_r): Update caller.
22280 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
22282 2012-08-16 Joseph Myers <joseph@codesourcery.com>
22284 * stdlib/longlong.h: Update from GCC.
22286 2012-08-16 Roland McGrath <roland@hack.frob.com>
22288 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
22289 on _QL, which is set by umul_ppmm but never used.
22290 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
22291 variables, which are set by GMP macros but never used.
22292 * stdio-common/_itowa.c (_itowa): Likewise.
22293 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
22294 * stdlib/mod_1.c (mpn_mod_1): Likewise.
22296 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
22298 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
22299 struct La_sh_regs is not constant.
22300 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
22301 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
22302 and struct La_sparc64_regs are not constant.
22304 2012-08-16 Joseph Myers <joseph@codesourcery.com>
22306 * sysdeps/unix/sysv/linux/kernel-features.h
22307 (__ASSUME_POSIX_TIMERS): Remove.
22308 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
22309 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
22310 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
22311 Make code unconditional.
22312 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
22313 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
22314 Make code unconditional.
22315 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
22316 * sysdeps/unix/sysv/linux/clock_nanosleep.c
22317 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
22318 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
22319 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
22320 Make code unconditional.
22321 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
22322 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
22323 (__libc_missing_posix_timers): Remove.
22325 2012-08-15 Roland McGrath <roland@hack.frob.com>
22327 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
22328 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
22330 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
22332 * elf/dl-sym.c: Include <stdlib.h>.
22334 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
22335 constants, which avoids warnings in 32-bit builds.
22337 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
22338 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
22340 * misc/lseek.c: File moved to ...
22341 * io/lseek.c: ... here.
22343 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
22345 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
22346 shifting LEN more than 31 bits at once.
22348 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22351 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
22352 segmentation fault for a case of two empty input strings.
22353 * string/test-strncasecmp.c (check1): Renamed to...
22354 (bz12205): ...this.
22355 (bz14195): Add new testcase for two empty input strings and N > 0.
22356 (test_main): Call new testcase, adapt for renamed function.
22358 2012-08-15 Andreas Jaeger <aj@suse.de>
22361 * crypt/md5test2.c: New test, based on test supplied by Serge
22362 Belyshev <belyshev@depni.sinp.msu.ru>.
22363 * crypt/Makefile (xtests): Add md5test-giant..
22364 * crypt/Makefile ($(objpfx)md5test-giant): Add.
22366 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
22369 * crypt/md5.c (md5_process_block): Don't assume the buffer
22370 length is less than 2**32.
22371 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
22372 length is less than 2**64.
22374 2012-08-15 Roland McGrath <roland@hack.frob.com>
22376 * string/str-two-way.h: Include <sys/param.h>.
22377 (MAX): Macro removed.
22379 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
22380 Move #define and #undef of memmove to just before and after
22381 including <string.h>.
22383 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
22384 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
22385 and after including <string.h>. Move declarations of
22386 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
22387 to before #include "string/memmove.c".
22389 * include/dirent.h: Declare __getdirentries.
22391 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
22392 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
22394 2012-08-14 Mike Frysinger <vapier@gentoo.org>
22396 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
22397 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
22398 * sysdeps/i386/configure: Regenerated.
22399 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
22400 STABS_CURRENT_FILE, and STABS_FUN.
22401 (END): Remove call to STABS_FUN_END.
22402 (STABS_CURRENT_FILE1): Delete.
22403 (STABS_CURRENT_FILE): Likewise.
22404 (STABS_FUN): Likewise.
22405 (STABS_FUN_END): Likewise.
22406 (STABS_FUN2): Likewise.
22407 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
22408 * sysdeps/x86_64/configure: Regenerated.
22410 2012-08-14 Roland McGrath <roland@hack.frob.com>
22412 * elf/dl-open.c: Include <atomic.h>.
22413 * elf/dl-lookup.c: Likewise.
22415 2012-08-14 Joseph Myers <joseph@codesourcery.com>
22417 * sysdeps/unix/sysv/linux/kernel-features.h
22418 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
22419 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
22421 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
22423 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
22424 condition on __ASSUME_CLONE_THREAD_FLAGS.
22426 2012-08-14 Andreas Jaeger <aj@suse.de>
22428 * sysdeps/i386/fpu/libm-test-ulps: Update.
22430 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
22432 * include/atomic.h (atomic_exchange_and_add): Split into ...
22433 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
22436 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
22438 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22440 2012-08-13 Jeff Law <law@redhat.com>
22442 * manual/stdio.texi (snprintf): Clarify handling of the trailing
22443 null byte in the output string.
22445 2012-08-10 Joseph Myers <joseph@codesourcery.com>
22447 * sysdeps/unix/sysv/linux/kernel-features.h
22448 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
22449 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
22450 (__ASSUME_ARG_MAX_STACK_BASED): Define.
22451 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
22452 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
22453 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
22454 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
22456 2012-08-09 Jeff Law <law@redhat.com>
22459 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
22460 When avoid_arena is set, don't retry in the that arena. Pick the
22461 next one, whatever it might be.
22462 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
22463 (arena_lock): Pass in new parameter to arena_get2.
22464 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
22466 (__libc_malloc): Unify retrying after main arena failure with
22467 __libc_memalign version.
22468 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
22470 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
22473 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
22474 to __redirect_strstr.
22475 (__strstr_sse42): Use typeof __redirect_strstr.
22476 (__strstr_ia32): Likewise.
22477 (__libc_strstr): New prototype.
22478 (strstr): Renamed to ...
22479 (__libc_strstr): This.
22480 (strstr): New strong alias of __libc_strstr.
22481 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
22482 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
22485 (__libc_time): New prototype.
22486 (time_ifunc): Replace time with __libc_time.
22487 (time): New strong alias and hidden definition of __libc_time.
22488 (__GI_time): Remove strong alias.
22489 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
22490 Include <stddef.h>.
22491 (memmove): Redefined to __redirect_memmove.
22492 (__memmove_sse2): Use typeof __redirect_memmove.
22493 (__memmove_ssse3): Likewise.
22494 (__memmove_ssse3_back): Likewise.
22495 (__libc_memmove): New prototype.
22496 (memmove): Renamed to ...
22497 (__libc_memmove): This.
22498 (memmove): New strong alias of __libc_memmove.
22500 2012-08-08 Mark Salter <msalter@redhat.com>
22503 (R_MN10300_TLS_GD): Define.
22504 (R_MN10300_TLS_LD): Likewise.
22505 (R_MN10300_TLS_LDO): Likewise.
22506 (R_MN10300_TLS_GOTIE): Likewise.
22507 (R_MN10300_TLS_IE): Likewise.
22508 (R_MN10300_TLS_LE): Likewise.
22509 (R_MN10300_TLS_DTPMOD): Likewise.
22510 (R_MN10300_TLS_DTPOFF): Likewise.
22511 (R_MN10300_TLS_TPOFF): Likewise.
22512 (R_MN10300_SYM_DIFF): Likewise.
22513 (R_MN10300_ALIGN): Likewise.
22514 (R_MN10300_NUM): Update.
22516 2012-08-08 Joseph Myers <joseph@codesourcery.com>
22518 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
22521 2012-08-08 Roland McGrath <roland@hack.frob.com>
22523 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
22525 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
22526 sysdeps/unix -> sysdeps/posix move.
22527 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
22529 2012-08-07 Allan McRae <allan@archlinux.org>
22532 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
22533 (SUNOS_CPP): Likewise.
22534 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
22536 (open_input): Call CPP using execvp.
22538 2012-08-07 Joseph Myers <joseph@codesourcery.com>
22540 * sysdeps/unix/sysv/linux/kernel-features.h
22541 (__ASSUME_PROT_GROWSUPDOWN): Remove.
22542 (__ASSUME_NO_CLONE_DETACHED): Likewise.
22543 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
22544 (__ASSUME_WAITID_SYSCALL): Likewise.
22545 * sysdeps/unix/sysv/linux/dl-execstack.c
22546 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
22547 code unconditional.
22548 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
22550 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
22551 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
22552 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
22554 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
22556 [__ASSUME_WAITID_SYSCALL]: Likewise.
22557 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
22559 2012-08-07 Roland McGrath <roland@hack.frob.com>
22561 * sysdeps/unix/closedir.c: Renamed to ...
22562 * sysdeps/posix/closedir.c: ... here.
22563 * sysdeps/unix/dirfd.c: Renamed to ...
22564 * sysdeps/posix/dirfd.c: ... here.
22565 * sysdeps/unix/dirstream.h: Renamed to ...
22566 * sysdeps/posix/dirstream.h: ... here.
22567 * sysdeps/unix/fdopendir.c: Renamed to ...
22568 * sysdeps/posix/fdopendir.c: ... here.
22569 * sysdeps/unix/opendir.c: Renamed to ...
22570 * sysdeps/posix/opendir.c: ... here.
22571 * sysdeps/unix/readdir.c: Renamed to ...
22572 * sysdeps/posix/readdir.c: ... here.
22573 * sysdeps/unix/readdir_r.c: Renamed to ...
22574 * sysdeps/posix/readdir_r.c: ... here.
22575 * sysdeps/unix/rewinddir.c: Renamed to ...
22576 * sysdeps/posix/rewinddir.c: ... here.
22577 * sysdeps/unix/seekdir.c: Renamed to ...
22578 * sysdeps/posix/seekdir.c: ... here.
22579 * sysdeps/unix/telldir.c: Renamed to ...
22580 * sysdeps/posix/telldir.c: ... here.
22581 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
22582 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
22583 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
22584 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
22586 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
22587 * bits/fcntl.h: ... here.
22589 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
22591 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
22592 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
22593 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
22594 (struct flock): Move l_start, l_len to the beginning.
22595 Use __pid_t for l_pid.
22596 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
22597 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
22598 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
22599 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
22600 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
22601 [__USE_LARGEFILE64] (struct flock64): New type.
22602 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
22604 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
22605 * bits/dirent.h: ... here.
22607 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
22608 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
22610 2012-08-07 Joseph Myers <joseph@codesourcery.com>
22612 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
22613 Change from 2.6.0 to 2.6.16.
22614 * sysdeps/unix/sysv/linux/configure: Regenerated.
22615 * sysdeps/unix/sysv/linux/kernel-features.h
22616 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
22617 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
22619 (__ASSUME_UTIMES): Likewise.
22620 (__ASSUME_CLONE_STOPPED): Remove.
22621 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
22622 architectures, not kernel version.
22623 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
22624 (__ASSUME_NO_CLONE_DETACHED): Likewise.
22625 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
22626 (__ASSUME_WAITID_SYSCALL): Likewise.
22627 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
22628 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
22629 * README: State 2.6.16 as minimum Linux kernel version. Do not
22630 refer to older versions.
22632 2012-08-06 Roland McGrath <roland@hack.frob.com>
22634 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
22635 Define alphasort64 as an alias.
22636 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
22637 Define versionsort64 as an alias.
22638 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
22639 Define scandir64 as an alias.
22640 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
22641 Define scandirat64 as an alias.
22642 * dirent/alphasort64.c (alphasort64):
22643 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
22644 * dirent/versionsort64.c: Likewise.
22645 * dirent/scandir64.c: Likewise.
22646 * dirent/scandirat64.c: Likewise.
22647 * sysdeps/wordsize-64/alphasort.c: File removed.
22648 * sysdeps/wordsize-64/alphasort64.c: File removed.
22649 * sysdeps/wordsize-64/scandir.c: File removed.
22650 * sysdeps/wordsize-64/scandir64.c: File removed.
22651 * sysdeps/wordsize-64/scandirat.c: File removed.
22652 * sysdeps/wordsize-64/scandirat64.c: File removed.
22653 * sysdeps/wordsize-64/versionsort.c: File removed.
22654 * sysdeps/wordsize-64/versionsort64.c: File removed.
22655 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
22656 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
22657 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
22658 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
22659 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
22660 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
22661 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
22662 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
22664 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
22665 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
22666 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
22667 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
22668 [defined __arch64__ || defined __sparcv9]
22669 (__INO_T_MATCHES_INO64_T): New macro.
22670 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
22671 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
22672 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
22673 * sysdeps/unix/sysv/linux/bits/dirent.h
22674 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
22675 (_DIRENT_MATCHES_DIRENT64): New macro.
22677 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
22678 Define lockf64 as an alias.
22679 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
22680 Define fseeko64 as an alias.
22681 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
22682 Define ftello64 as an alias.
22683 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
22684 Define _IO_fgetpos64 and fgetpos64 as aliases.
22685 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
22686 Define _IO_fsetpos64 and fsetpos64 as aliases.
22687 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
22688 Conditionalize body on this.
22689 * libio/fseeko64.c: Likewise.
22690 * libio/ftello64.c: Likewise.
22691 * libio/iofgetpos64.c: Likewise.
22692 * libio/iofsetpos64.c: Likewise.
22693 * sysdeps/wordsize-64/lockf.c: File removed.
22694 * sysdeps/wordsize-64/lockf64.c: File removed.
22695 * sysdeps/wordsize-64/fseeko.c: File removed.
22696 * sysdeps/wordsize-64/fseeko64.c: File removed.
22697 * sysdeps/wordsize-64/ftello.c: File removed.
22698 * sysdeps/wordsize-64/ftello64.c: File removed.
22699 * sysdeps/wordsize-64/iofgetpos.c: File removed.
22700 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
22701 * sysdeps/wordsize-64/iofsetpos.c: File removed.
22702 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
22703 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
22704 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
22705 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
22706 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
22707 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
22708 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
22709 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
22710 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
22711 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
22712 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
22714 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
22715 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
22716 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
22717 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
22718 [defined __arch64__ || defined __sparcv9]
22719 (__OFF_T_MATCHES_OFF64_T): New macro.
22720 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
22721 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
22722 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
22723 (__OFF_T_MATCHES_OFF64_T): New macro.
22725 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
22727 * stdlib/secure-getenv.c (__secure_getenv): Replace
22728 GLIBC_2_16 with GLIBC_2_17.
22730 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
22732 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
22733 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
22735 2012-08-03 David S. Miller <davem@davemloft.net>
22737 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22739 2012-08-03 Joseph Myers <joseph@codesourcery.com>
22741 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
22743 (__ASSUME_CORRECT_SI_PID): Likewise.
22744 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
22745 (__ASSUME_TMPFS_NAME): Likewise.
22746 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
22747 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
22748 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
22749 (HAVE_AUX_SECURE): Make definition unconditional.
22750 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
22751 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
22753 2012-08-03 Roland McGrath <roland@hack.frob.com>
22755 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
22756 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
22757 * sysdeps/mach/hurd/eloop-threshold.h: New file.
22758 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
22759 __eloop_threshold instead of SYMLOOP_MAX.
22761 * sysdeps/generic/eloop-threshold.h: New file.
22762 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
22764 * elf/chroot_canon.c (chroot_canon): Likewise.
22766 2012-08-03 Joseph Myers <joseph@codesourcery.com>
22769 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
22770 Change to 2.6.0 everywhere.
22771 * sysdeps/unix/sysv/linux/configure: Regenerated.
22772 * sysdeps/unix/sysv/linux/kernel-features.h
22773 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
22774 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
22776 (__ASSUME_POSIX_TIMERS): Define unconditionally.
22777 (__ASSUME_FUTEX_REQUEUE): Remove.
22778 (__ASSUME_STATFS64): Define unconditionally.
22779 (__ASSUME_AT_SECURE): Likewise.
22780 (__ASSUME_CORRECT_SI_PID): Likewise.
22781 (__ASSUME_TGKILL): Define without depending on kernel version for
22783 (__ASSUME_UTIMES): Likewise.
22784 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
22786 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
22787 (__ASSUME_TMPFS_NAME): Likewise.
22788 * README: Update reference to Linux kernel versions.
22790 2012-08-02 Marek Polacek <polacek@redhat.com>
22793 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
22794 libc_cv_asm_type_prefix with %.
22795 * configure: Regenerated.
22796 * include/libc-symbols.h: Remove comment about
22797 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
22798 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
22799 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
22800 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
22801 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
22802 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
22803 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
22804 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
22805 * elf/tst-unique2mod1.c: Likewise.
22806 * elf/tst-unique1mod2.c: Likewise.
22807 * elf/tst-unique1mod1.c: Likewise.
22808 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
22809 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
22810 Replace ASM_TYPE_DIRECTIVE with .type.
22811 * sysdeps/s390/s390-64/sysdep.h: Likewise.
22812 * sysdeps/i386/sysdep.h: Likewise.
22813 * sysdeps/x86_64/sysdep.h: Likewise.
22814 * sysdeps/sh/sysdep.h: Likewise.
22815 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
22816 Do not define ASM_TYPE_DIRECTIVE.
22817 * sysdeps/powerpc/sysdep.h: Likewise.
22818 * sysdeps/powerpc/powerpc32/sysdep.h:
22819 Replace ASM_TYPE_DIRECTIVE with .type.
22820 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
22821 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
22822 * sysdeps/i386/fpu/e_powf.S: Likewise.
22823 * sysdeps/i386/fpu/e_expl.S: Likewise.
22824 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
22825 * sysdeps/i386/fpu/e_acosh.S: Likewise.
22826 * sysdeps/i386/fpu/e_pow.S: Likewise.
22827 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
22828 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
22829 * sysdeps/i386/fpu/s_expm1.S: Likewise.
22830 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
22831 * sysdeps/i386/fpu/e_log2.S: Likewise.
22832 * sysdeps/i386/fpu/e_log2l.S: Likewise.
22833 * sysdeps/i386/fpu/e_scalb.S: Likewise.
22834 * sysdeps/i386/fpu/e_powl.S: Likewise.
22835 * sysdeps/i386/fpu/e_log10f.S: Likewise.
22836 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
22837 * sysdeps/i386/fpu/e_logl.S: Likewise.
22838 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
22839 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
22840 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
22841 * sysdeps/i386/fpu/e_log2f.S: Likewise.
22842 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
22843 * sysdeps/i386/fpu/e_log.S: Likewise.
22844 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
22845 * sysdeps/i386/fpu/e_logf.S: Likewise.
22846 * sysdeps/i386/fpu/e_log10l.S: Likewise.
22847 * sysdeps/i386/fpu/e_atanh.S: Likewise.
22848 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
22849 * sysdeps/i386/fpu/e_log10.S: Likewise.
22850 * sysdeps/i386/fpu/s_frexp.S: Likewise.
22851 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
22852 * sysdeps/i386/fpu/s_asinh.S: Likewise.
22853 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
22854 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
22855 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
22856 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
22857 * sysdeps/i386/i686/strtok.S: Likewise.
22858 * sysdeps/i386/i386-mcount.S: Likewise.
22859 * sysdeps/i386/strtok.S: Likewise.
22860 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
22861 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
22862 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
22863 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
22864 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
22865 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
22866 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
22867 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
22868 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
22869 * sysdeps/x86_64/_mcount.S: Likewise.
22870 * sysdeps/x86_64/strtok.S: Likewise.
22871 * sysdeps/sh/_mcount.S: Likewise.
22873 2012-08-01 Roland McGrath <roland@hack.frob.com>
22875 * libio/iofopen.c: Include <fcntl.h>.
22876 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
22877 (_IO_fopen64, fopen64): Define as aliases.
22878 * libio/iofopen64.c: Include <fcntl.h>.
22879 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
22880 Conditionalize body on this.
22881 * sysdeps/wordsize-64/iofopen.c: File removed.
22882 * sysdeps/wordsize-64/iofopen64.c: File removed.
22884 2012-08-01 Marek Polacek <polacek@redhat.com>
22886 * libc/Makeconfig: Use elf in place of binfmt-subdir.
22887 Use dlfcn directly instead of a variable.
22888 (binfmt-subdir): Do not define.
22891 2012-08-01 Joseph Myers <joseph@codesourcery.com>
22893 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
22894 Remove all definitions.
22895 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
22896 <kernel-features.h>.
22897 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
22898 (miss_F_GETOWN_EX): Remove all definitions.
22899 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
22901 [!__ASSUME_FCNTL64]: Remove conditional code.
22902 [__ASSUME_FCNTL64]: Make code unconditional.
22903 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
22904 <kernel-features.h>.
22905 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
22906 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
22907 (lockf64) [__NR_fcntl64]: Make code unconditional.
22908 (lockf64) [__ASSUME_FCNTL64]: Likewise.
22910 * sysdeps/unix/sysv/linux/kernel-features.h
22911 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
22912 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
22913 Make code unconditional.
22914 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
22915 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
22916 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
22917 [__NR_vfork]: Make code unconditional.
22918 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
22919 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
22920 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
22921 [__NR_vfork]: Make code unconditional.
22922 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
22923 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
22925 2012-08-01 Roland McGrath <roland@hack.frob.com>
22927 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
22928 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
22930 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
22931 Define mkstemp64 as an alias.
22932 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
22933 Define mkstemps64 as an alias.
22934 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
22935 Define mkostemp64 as an alias.
22936 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
22937 Define mkostemps64 as an alias.
22938 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
22939 Conditionalize body on this.
22940 * misc/mkostemp64.c: Likewise.
22941 * misc/mkostemps64.c: Likewise.
22942 * misc/mkstemps64.c: Likewise.
22943 * sysdeps/wordsize-64/mkstemp64.c: File removed.
22944 * sysdeps/wordsize-64/mkostemp64.c: File removed.
22945 * sysdeps/wordsize-64/mkostemp.c: File removed.
22946 * sysdeps/wordsize-64/mkstemp.c: File removed.
22947 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
22948 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
22949 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
22950 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
22953 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
22954 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
22955 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
22956 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
22958 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
22959 compat_symbol macros from <shlib-compat.h> rather than the underlying
22960 default_symbol_version and symbol_version macros, so that DEFAULT
22961 lines in shlib-versions are respected.
22962 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
22964 2012-08-01 Florian Weimer <fweimer@redhat.com>
22966 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
22967 Declare with warn_unused_result.
22968 (setgid, setregid, setegid, setresgid): Likewise.
22969 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
22971 * WUR-REPORT: Remove set*id functions.
22973 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
22975 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
22977 2012-07-31 Roland McGrath <roland@hack.frob.com>
22980 * include/sys/socket.h (__libc_accept, __libc_accept4):
22981 Add attribute_hidden.
22982 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
22984 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
22986 * inet/getnetgrent_r.c (setup): Likewise.
22988 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
22990 2012-07-31 David S. Miller <davem@davemloft.net>
22992 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22994 2012-07-31 Joseph Myers <joseph@codesourcery.com>
22997 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
22998 value between 1.0 and 2.0 and smaller part has absolute value less
23000 * math/s_clog10.c (__clog10): Likewise.
23001 * math/s_clog10f.c (__clog10f): Likewise.
23002 * math/s_clog10l.c (__clog10l): Likewise.
23003 * math/s_clogf.c (__clogf): Likewise.
23004 * math/s_clogl.c (__clogl): Likewise.
23005 * math/libm-test.inc (clog_test): Add more tests.
23006 (clog10_test): Likewise.
23007 * sysdeps/i386/fpu/libm-test-ulps: Update.
23008 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23010 2012-07-31 Florian Weimer <fweimer@redhat.com>
23012 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
23013 Exit with zero in case no suitable GID is found, and write a
23014 message to standard error.
23016 2012-07-30 Roland McGrath <roland@hack.frob.com>
23018 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
23020 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
23021 (MAXPATHLEN): Removed.
23022 (NOGROUP, NODEV): New macros.
23023 (setbit, clrbit, isset, isclr): New macros.
23024 (howmany, roundup, powerof2): New macros.
23025 (DEV_BSIZE): New macro.
23027 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
23028 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
23030 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
23031 definition on [!__NO_LONG_DOUBLE_MATH].
23033 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
23034 PTR_MANGLE and PTR_DEMANGLE.
23036 * socket/accept4.c (accept4): Rename to __libc_accept4.
23037 Define accept4 as a weak alias.
23039 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
23040 on [_DIRENT_HAVE_D_TYPE].
23041 * io/ftw.c (ftw_dir): Likewise.
23043 * io/xmknod.c (__xmknod): Don't check PATH for being null.
23045 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
23047 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
23048 Use the BSD numbers rather than the arbitrary ones we had.
23049 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
23050 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
23051 (SIGXCPU, SIGXFSZ): New macros.
23054 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
23055 initializer on [_LIBC_REENTRANT].
23057 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
23058 definitions inside [_POSIX_MAPPED_FILES].
23060 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
23062 * dirent/opendir.c: Include <fcntl.h>.
23064 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
23065 (__libc_getspecific): Likewise.
23066 (__libc_key_create): Likewise.
23068 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
23069 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
23070 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
23071 (tmpfile64): Define as alias.
23072 * sysdeps/wordsize-64/tmpfile.c: File removed.
23073 * sysdeps/wordsize-64/tmpfile64.c: File removed.
23074 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
23075 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
23077 * stdio-common/vfscanf.c: Include <stdbool.h>.
23078 * nss/makedb.c: Likewise.
23079 * stdio-common/_i18n_number.h: Likewise.
23080 * argp/argp-help.c: Likewise.
23081 * posix/wordexp.c: Likewise.
23082 * sysdeps/posix/spawni.c: Likewise.
23083 * nss/nss_files/files-initgroups.c: Likewise.
23084 * stdio-common/reg-modifier.c: Include <stdlib.h>.
23085 * nss/nss_files/files-initgroups.c: Likewise.
23086 * nss/nss_db/db-netgrp.c: Likewise.
23087 * nss/nss_db/db-initgroups.c: Likewise.
23088 * io/fchmodat.c: Include <sys/stat.h>.
23090 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
23091 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
23093 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
23096 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
23097 Add multiple inclusion protection.
23099 2012-07-27 David S. Miller <davem@davemloft.net>
23101 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23103 2012-07-27 Gary Benson <gbenson@redhat.com>
23106 * elf/rtld.c: Include <stap-probe.h>.
23107 (dl_main): Added static probes "init_start" and "init_complete".
23108 * elf/dl-load.c: Include <stap-probe.h>.
23109 (lose): Take new parameter "nsid".
23110 Added static probe "map_failed".
23111 (_dl_map_object_from_fd): Pass namespace id to lose.
23112 Added static probe "map_start".
23113 (open_verify): Pass namespace id to lose.
23114 * elf/dl-open.c: Include <stap-probe.h>.
23115 (dl_open_worker) Added static probes "map_complete", "reloc_start"
23116 and "reloc_complete".
23117 * elf/dl-close.c: Include <stap-probe.h>.
23118 (_dl_close_worker): Added static probes "unmap_start" and
23120 * elf/rtld-debugger-interface.txt: New file documenting the above.
23122 2012-07-26 Roland McGrath <roland@hack.frob.com>
23124 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
23125 rather than a string variable.
23126 * sunrpc/rpc_main.c (h_output): Likewise.
23127 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
23129 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
23131 * inet/check_native.c: New file.
23133 2012-07-26 Joseph Myers <joseph@codesourcery.com>
23136 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
23137 if larger part has absolute value 1.0.
23138 * math/s_clog10.c (__clog10): Likewise.
23139 * math/s_clog10f.c (__clog10f): Likewise.
23140 * math/s_clog10l.c (__clog10l): Likewise.
23141 * math/s_clogf.c (__clogf): Likewise.
23142 * math/s_clogl.c (__clogl): Likewise.
23143 * math/libm-test.inc (clog_test): Add more tests.
23144 (clog10_test): Likewise.
23145 * sysdeps/i386/fpu/libm-test-ulps: Update.
23146 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23148 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
23149 (pltexit): Likewise.
23150 (La_regs): Likewise.
23151 (La_retval): Likewise.
23152 (int_retval): Likewise.
23153 Update #error for removed macros to refer only to definitions in
23155 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
23157 (pltexit): Likewise.
23158 (La_regs): Likewise.
23159 (La_retval): Likewise.
23160 (int_retval): Likewise.
23161 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
23163 (pltexit): Likewise.
23164 (La_regs): Likewise.
23165 (La_retval): Likewise.
23166 (int_retval): Likewise.
23167 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
23169 (pltexit): Likewise.
23170 (La_regs): Likewise.
23171 (La_retval): Likewise.
23172 (int_retval): Likewise.
23173 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
23175 (pltexit): Likewise.
23176 (La_regs): Likewise.
23177 (La_retval): Likewise.
23178 (int_retval): Likewise.
23179 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
23181 (pltexit): Likewise.
23182 (La_regs): Likewise.
23183 (La_retval): Likewise.
23184 (int_retval): Likewise.
23185 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
23187 (pltexit): Likewise.
23188 (La_regs): Likewise.
23189 (La_retval): Likewise.
23190 (int_retval): Likewise.
23191 * sysdeps/generic/tst-audit.h: Update comment to refer only to
23192 macro definitions in tst-audit.h.
23193 * sysdeps/i386/tst-audit.h: New file.
23194 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
23195 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
23196 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
23197 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
23198 * sysdeps/sh/tst-audit.h: Likewise.
23199 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
23200 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
23201 * sysdeps/x86_64/tst-audit.h: Likewise.
23203 2012-07-26 Andreas Jaeger <aj@suse.de>
23205 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
23208 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
23209 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
23210 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
23212 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
23213 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
23214 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
23216 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
23219 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
23221 (si_call_addr, si_syscall, si_arch): Define new macro.
23222 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
23224 (si_call_addr, si_syscall, si_arch): Define new marcro.
23225 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
23227 (si_call_addr, si_syscall, si_arch): Define new macro.
23228 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
23230 (si_call_addr, si_syscall, si_arch): Define new macro.
23232 2012-07-25 Joseph Myers <joseph@codesourcery.com>
23235 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
23236 Change to 2.4.21 where previously 2.4.1.
23237 * sysdeps/unix/sysv/linux/configure: Regenerated.
23238 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
23239 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
23240 Linux kernel version.
23241 (__ASSUME_STD_AUXV): Remove.
23242 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
23244 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
23245 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
23246 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
23247 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
23248 (__ASSUME_NETLINK_SUPPORT): Likewise.
23249 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
23250 (__no_netlink_support): Remove conditional definition.
23251 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
23253 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
23254 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
23255 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
23256 (if_nameindex_ioctl): Remove.
23257 (if_nameindex_netlink): Do not handle __no_netlink_support.
23258 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
23260 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
23261 Remove conditional code.
23262 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
23264 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
23266 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
23267 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
23268 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
23270 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
23271 [!__ASSUME_STD_AUXV]: Remove conditional code.
23272 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
23273 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
23274 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
23275 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
23276 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
23277 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
23279 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
23280 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
23281 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
23282 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
23284 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
23285 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
23286 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
23288 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
23289 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
23291 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
23292 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
23293 code unconditional.
23294 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
23296 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
23298 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
23300 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
23301 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
23303 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
23305 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
23306 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
23307 code unconditional.
23308 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
23310 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
23312 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
23314 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
23315 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
23316 code unconditional.
23317 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
23319 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
23321 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
23324 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
23326 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
23327 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
23328 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
23329 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
23330 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
23331 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
23332 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
23333 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
23334 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
23335 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
23336 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
23337 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
23338 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
23339 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
23340 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
23341 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
23342 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
23343 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
23344 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
23345 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
23346 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
23347 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
23348 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
23350 2012-07-25 Florian Weimer <fweimer@redhat.com>
23352 * Versions.def: Add GLIBC_2.17.
23353 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
23354 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
23355 Introduce __libc_secure_getenv.
23356 * stdlib/Versions (2.17): Add secure_getenv
23357 (GLIBC_PRIVATE): Add __libc_secure_getenv.
23358 * stdlib/secure-getenv.c: Rename __secure_getenv to
23359 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
23360 symbol __secure_getenv for GLIBC_2.0.
23361 * stdlib/tst-secure-getenv.c: New.
23362 * stdlib/Makefile (tests): Add testcase.
23363 * manual/startup.texi (Environment Access): Document
23365 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
23366 __libc_secure_getenv.
23367 * inet/ruserpass.c (ruserpass): Likewise.
23368 * malloc/mtrace.c (mtrace): Likewise.
23369 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
23370 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
23371 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
23372 * sysdeps/posix/tempname.c: Likewise. Evaluate
23373 HAVE_SECURE_GETENV.
23374 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
23375 __secure_getenv to __libc_secure_getenv.
23376 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
23377 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23379 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
23381 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
23382 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
23383 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
23384 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
23385 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
23386 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
23387 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
23389 2012-07-25 Joseph Myers <joseph@codesourcery.com>
23391 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
23392 (struct La_i86_retval): Likewise.
23393 (struct La_x86_64_regs): Likewise.
23394 (struct La_x86_64_retval): Likewise.
23395 (struct La_x32_regs): Likewise.
23396 (struct La_x32_retval): Likewise.
23397 (struct La_ppc32_regs): Likewise.
23398 (struct La_ppc32_retval): Likewise.
23399 (struct La_ppc64_regs): Likewise.
23400 (struct La_ppc64_retval): Likewise.
23401 (struct La_sh_regs): Likewise.
23402 (struct La_sh_retval): Likewise.
23403 (struct La_s390_32_regs): Likewise.
23404 (struct La_s390_32_retval): Likewise.
23405 (struct La_s390_64_regs): Likewise.
23406 (struct La_s390_64_retval): Likewise.
23407 (struct La_sparc32_regs): Likewise.
23408 (struct La_sparc32_retval): Likewise.
23409 (struct La_sparc64_regs): Likewise.
23410 (struct La_sparc64_retval): Likewise.
23411 (struct audit_ifaces): Remove architecture-specific pltenter and
23413 * sysdeps/i386/ldsodefs.h: New file.
23414 * sysdeps/powerpc/ldsodefs.h: Likewise.
23415 * sysdeps/s390/ldsodefs.h: Likewise.
23416 * sysdeps/sh/ldsodefs.h: Likewise.
23417 * sysdeps/sparc/ldsodefs.h: Likewise.
23418 * sysdeps/x86_64/ldsodefs.h: Likewise.
23420 2012-07-25 Marek Polacek <polacek@redhat.com>
23423 * math/libm-test.inc (yn_test): Add another test.
23424 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
23425 to ERANGE when the result is +-Inf.
23426 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
23427 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
23428 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
23429 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
23431 2012-07-24 Joseph Myers <joseph@codesourcery.com>
23433 * conform/data/time.h-data (NULL): Use macro-constant. Require
23435 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
23437 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
23439 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
23441 * configure.in <sysdeps resolving>: Correct printing
23443 * configure: Regenerate.
23445 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
23447 * math/w_ilogb.c: Include <limits.h>.
23448 * math/w_ilogbl.c: Likewise.
23450 2012-07-20 Joseph Myers <joseph@codesourcery.com>
23452 * manual/lang.texi (__va_copy): Document primarily as ISO C99
23453 va_copy. Document allowing for unavailable va_copy only as
23454 pre-C99 compatibility.
23455 * manual/string.texi (Copying and Concatenation): Use va_copy
23456 instead of __va_copy in concat example.
23458 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
23460 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
23461 (__sendto): Use create_address_port. Initialize APORT and deallocate
23464 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
23465 with O_NOLINK passed to __file_name_lookup.
23467 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
23468 with O_NOLINK passed to __file_name_lookup.
23470 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
23471 negative N or less than NGIDS.
23473 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
23474 type to string_t. Set ERANGE as errno and return it if NAME is not big
23475 enough. Use memcpy instead of strncpy.
23477 2012-07-20 Joseph Myers <joseph@codesourcery.com>
23479 * elf/Makefile (check-data): Remove.
23480 (localplt.data): New vpath directive.
23481 ($(objpfx)check-localplt.out): Use localplt.data from vpath
23482 instead of $(check-data).
23483 * scripts/data/localplt-generic.data: Move to ...
23484 * sysdeps/generic/localplt.data: ... here.
23485 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
23486 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
23487 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
23488 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
23490 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
23491 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
23493 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
23494 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
23496 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
23497 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
23499 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
23500 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
23502 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
23503 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
23506 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23508 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
23509 PPC32 and PPC64 files.
23510 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
23511 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
23513 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23515 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
23516 __makecontext_ret to ...
23517 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
23518 ... here and call exit if uc_link is NULL. New file.
23519 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
23520 __makecontext_ret.S.
23521 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
23522 __makecontext_ret to ...
23523 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
23524 ... here and call exit if uc_link is NULL. New file.
23525 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
23526 __makecontext_ret.S.
23528 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23530 * elf/elf.h (R_390_IRELATIVE): New definition.
23531 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
23532 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
23533 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
23534 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
23535 (elf_machine_lazy_rel): Likewise.
23536 * sysdeps/s390/dl-irel.h: New file.
23537 * sysdeps/s390/s390-64/memcpy.S: New asm code.
23538 * sysdeps/s390/s390-64/memset.S: New asm code.
23539 * sysdeps/s390/s390-64/memcmp.S: New asm code.
23540 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
23541 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
23542 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
23543 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
23544 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
23545 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
23546 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
23547 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
23548 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
23549 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
23550 * sysdeps/s390/s390-32/memcpy.S: New asm code.
23551 * sysdeps/s390/s390-32/memset.S: New asm code.
23552 * sysdeps/s390/s390-32/memcmp.S: New asm code.
23554 2012-07-17 Marek Polacek <polacek@redhat.com>
23557 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
23558 * sysdeps/s390/s390-64/configure.in: Likewise.
23559 * sysdeps/sparc/configure.in: Likewise.
23560 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
23561 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
23562 * sysdeps/i386/configure.in: Likewise.
23563 * sysdeps/x86_64/configure.in: Likewise.
23564 * sysdeps/sh/configure.in: Likewise.
23565 * sysdeps/s390/s390-32/configure: Regenerated.
23566 * sysdeps/s390/s390-64/configure: Likewise.
23567 * sysdeps/x86_64/configure: Likewise.
23568 * sysdeps/sh/configure: Likewise.
23569 * sysdeps/powerpc/powerpc64/configure: Likewise.
23570 * sysdeps/powerpc/powerpc32/configure: Likewise.
23571 * sysdeps/sparc/configure: Likwise.
23572 * sysdeps/i386/configure: Likewise.
23574 * elf/dl-open.c: Comment fixes.
23576 2012-07-17 Joseph Myers <joseph@codesourcery.com>
23578 * Makefile [CXX] (check-data): Remove.
23579 [CXX] (c++-types.data): New vpath directive.
23580 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
23581 vpath. Do not allow for C++ type data being missing.
23582 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
23583 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
23584 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
23585 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
23586 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
23587 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
23588 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
23589 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
23591 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
23592 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
23594 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
23595 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
23597 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
23598 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
23600 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
23601 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
23603 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
23604 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
23606 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
23607 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
23609 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
23610 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
23612 * elf/tls-macros.h (TLS_LE): Move architecture-specific
23613 definitions to architecture-specific files.
23614 (TLS_IE): Likewise.
23615 (TLS_LD): Likewise.
23616 (TLS_GD): Likewise.
23617 * sysdeps/i386/tls-macros.h: New file.
23618 * sysdeps/powerpc/tls-macros.h: Likewise.
23619 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
23620 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
23621 * sysdeps/sh/tls-macros.h: Likewise.
23622 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
23623 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
23624 * sysdeps/x86_64/tls-macros.h: Likewise.
23626 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
23628 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
23629 zero value for regular exit case.
23631 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
23632 (__start_context): Preserve zero value for regular exit case.
23634 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
23635 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23637 * manual/setjmp.texi (setcontext): Clarify normal process
23638 termination when uc_link is the null pointer.
23639 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
23642 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
23644 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
23645 preprocessor. Test for each exception mask separately.
23647 2012-07-16 Andreas Jaeger <aj@suse.de>
23649 * po/ru.po: Update from translation team.
23651 2012-07-15 Joseph Myers <joseph@codesourcery.com>
23653 * conform/data/string.h-data (NULL): Use macro-constant. Require
23655 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
23656 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
23657 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
23658 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
23659 [ISO || ISO99 || ISO11] (*_t): Do not allow.
23661 2012-07-13 Andreas Jaeger <aj@suse.de>
23663 * po/fr.po: Update from translation team.
23665 2012-07-12 Marek Polacek <polacek@redhat.com>
23668 * math/libm-test.inc (yn_test): Add test for BZ #14173.
23669 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
23672 2012-07-12 Joseph Myers <joseph@codesourcery.com>
23675 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
23676 Change to 2.4.1 where previously 2.4.0.
23677 * sysdeps/unix/sysv/linux/configure: Regenerated.
23678 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
23679 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
23681 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
23682 (__ASSUME_AT_CLKTCK): Remove.
23683 (__ASSUME_AT_PAGESIZE): Likewise.
23684 (__ASSUME_AT_XID): Likewise.
23685 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
23686 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
23687 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
23689 (HAVE_AUX_PAGESIZE): Likewise.
23690 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
23691 [__ASSUME_AT_CLKTCK]: Make code unconditional.
23692 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
23694 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
23697 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
23698 the temporary buffer used to invoke __gethostbyname2_r,
23699 __gethostbyaddr_r and gethostbyname4_r to make room for struct
23700 host_data / struct gaih_addrtuple.
23701 * resolv/nss_dns/dns-host.c (global scope): Move definition of
23702 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
23703 header file nss/nsswitch.h.
23704 * nss/nsswitch.h (global scope): Add definition of implementation
23705 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
23706 resolv/nss_dns/dns-host.c).
23708 2012-07-11 Andreas Jaeger <aj@suse.de>
23710 * po/fr.po: Update from translation team.
23712 * po/sv.po: Update from translation team
23713 * po/fr.po: Another update from translation team.
23715 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23717 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
23718 for subnormals or multiply small sinh result by itself.
23719 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
23720 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23722 2012-07-11 David S. Miller <davem@davemloft.net>
23724 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23726 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
23729 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
23730 (INTERNAL_MARK): Shift it here.
23732 2012-07-10 Marek Polacek <polacek@redhat.com>
23735 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
23736 libc_cv_asm_global_directive with .globl.
23737 * configure: Regenerated.
23738 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
23740 * sysdeps/i386/configure: Regenerated.
23741 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
23743 * sysdeps/x86_64/configure: Regenerated.
23744 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
23745 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
23746 * elf/tst-unique2mod2.c: Likewise.
23747 * elf/tst-unique2mod1.c: Likewise.
23748 * elf/tst-unique1mod2.c: Likewise.
23749 * elf/tst-unique1mod1.c: Likewise.
23750 * sysdeps/s390/s390-32/sysdep.h: Likewise.
23751 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
23752 * sysdeps/s390/s390-64/sysdep.h: Likewise.
23753 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
23754 * sysdeps/mach/sysdep.h: Likewise.
23755 * sysdeps/i386/sysdep.h: Likewise.
23756 * sysdeps/i386/i386-mcount.S: Likewise.
23757 * sysdeps/x86_64/_mcount.S: Likewise.
23758 * sysdeps/x86_64/sysdep.h: Likewise.
23759 * sysdeps/sh/_mcount.S: Likewise.
23760 * sysdeps/sh/sysdep.h: Likewise.
23761 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
23762 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
23763 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
23764 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
23765 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
23766 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
23767 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
23768 * locale/localeinfo.h: Likewise.
23769 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
23770 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
23772 2012-07-09 Roland McGrath <roland@hack.frob.com>
23775 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
23777 * manual/message.texi (The Uniforum approach): Likewise.
23778 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
23779 (glibc iconv Implementation): Likewise.
23781 2012-07-09 Joseph Myers <joseph@codesourcery.com>
23784 * math/s_clog.c (__clog): Avoid scaling a value down where that
23785 could result in underflow.
23786 * math/s_clog10.c (__clog10): Likewise.
23787 * math/s_clog10f.c (__clog10f): Likewise.
23788 * math/s_clog10l.c (__clog10l): Likewise.
23789 * math/s_clogf.c (__clogf): Likewise.
23790 * math/s_clogl.c (__clogl): Likewise.
23791 * math/libm-test.inc (clog_test): Add more tests.
23792 (clog10_test): Likewise.
23793 * sysdeps/i386/fpu/libm-test-ulps: Update.
23794 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23796 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
23799 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
23800 by 7 not 8 to examine high bit of fractional part.
23803 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
23804 for call to __mcount_internal.
23805 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
23806 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
23807 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
23809 2012-07-06 Joseph Myers <joseph@codesourcery.com>
23812 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
23813 approximation for values within 0x1p-13f of an odd multiple of
23815 * math/libm-test.inc (tan_test): Do not allow spurious underflow
23816 exception. Add more tests.
23817 * sysdeps/i386/fpu/libm-test-ulps: Update.
23820 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
23821 inputs and return -1 for them. Do not check for +Inf in case not
23822 reachable for +Inf.
23823 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
23824 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
23825 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
23826 and return -1 for them. Do not check for +Inf in case not
23827 reachable for +Inf.
23828 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
23830 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
23831 and return -1 for them. Do not check for +Inf in case not
23832 reachable for +Inf.
23833 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
23834 spurious underflow.
23835 * sysdeps/i386/fpu/libm-test-ulps: Update.
23836 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23838 2012-07-06 Mike Frysinger <vapier@gentoo.org>
23840 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
23842 2012-07-05 Joseph Myers <joseph@codesourcery.com>
23846 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
23847 could result in spurious underflow. Scale down values above
23848 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
23849 * math/s_csqrtf.c (__csqrtf): Likewise.
23850 * math/s_csqrtl.c (__csqrtl): Likewise.
23851 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
23852 spurious underflow.
23853 * sysdeps/i386/fpu/libm-test-ulps: Update.
23854 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23856 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
23858 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
23860 * catgets/xopen-msg.awk: New file.
23861 * catgets/xopen-msg.sed: Removed.
23863 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
23865 * intl/po2test.awk: New file.
23866 * intl/po2test.sed: Removed.
23868 2012-07-04 Joseph Myers <joseph@codesourcery.com>
23871 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
23872 or multiply small sinh result by itself.
23873 * math/s_ctanf.c (__ctanf): Likewise.
23874 * math/s_ctanh.c (__ctanh): Likewise.
23875 * math/s_ctanhf.c (__ctanhf): Likewise.
23876 * math/s_ctanhl.c (__ctanhl): Likewise.
23877 * math/s_ctanl.c (__ctanl): Likewise.
23878 * math/libm-test.inc (ctan_test_tonearest): New function.
23879 (ctan_test_towardzero): Likewise.
23880 (ctan_test_downward): Likewise.
23881 (ctan_test_upward): Likewise.
23882 (ctanh_test_tonearest): Likewise.
23883 (ctanh_test_towardzero): Likewise.
23884 (ctanh_test_downward): Likewise.
23885 (ctanh_test_upward): Likewise.
23886 (main): Call these new functions.
23887 * sysdeps/i386/fpu/libm-test-ulps: Update.
23888 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23890 2012-07-03 Mike Frysinger <vapier@gentoo.org>
23892 * .gitignore: Delete /ports entry.
23894 2012-07-03 Andreas Jaeger <aj@suse.de>
23896 * po/bg.po: Update from translation team.
23897 * po/cs.po: Likewise.
23898 * po/de.po: Likewise.
23899 * po/hr.po: Likewise.
23900 * po/nl.pl: Likewise.
23901 * po/pl.po: Likewise.
23902 * po/vi.po: Likewise.
23904 2012-07-03 Joseph Myers <joseph@codesourcery.com>
23906 * Makeconfig [!+link] (+link-before-libc): New variable.
23907 [!+link] (+link-after-libc): Likewise.
23908 [!+link] (+link-tests): Likewise.
23909 [!+link] (+link): Define in terms of $(+link-before-libc) and
23910 $(+link-after-libc).
23911 [!+link-static] (+link-static-before-libc): New variable.
23912 [!+link-static] (+link-static-after-libc): Likewise.
23913 [!+link-static] (+link-static-tests): Likewise.
23914 [!+link-static] (+link-static): Define in terms of
23915 $(+link-static-before-libc) and $(+link-static-after-libc).
23916 [build-shared] (link-libc-before-gnulib): New variable.
23917 [build-shared] (link-libc-tests): Likewise.
23918 [build-shared] (link-libc): Define in terms of
23919 $(link-libc-before-gnulib).
23920 [!build-shared] (link-libc-tests): New variable.
23921 (link-libc-static-tests): New variable.
23922 [!gnulib] (gnulib-arch): New variable.
23923 [!gnulib] (gnulib-tests): Likewise.
23924 [!gnulib] (static-gnulib-arch): Likewise.
23925 [!gnulib] (static-gnulib-tests): Likewise.
23926 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
23927 Define with "=" instead of ":=".
23928 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
23929 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
23930 * Rules (binaries-all-notests): New variable.
23931 (binaries-all-tests): Likewise.
23932 (binaries-static-notests): Likewise.
23933 (binaries-static-tests): Likewise.
23934 (binaries-all): Define using $(binaries-all-notests) and
23935 $(binaries-all-tests).
23936 (binaries-static): Define using $(binaries-static-notests) and
23937 $(binaries-static-tests).
23938 (binaries-shared-tests): New variable.
23939 (binaries-shared-notests): Likewise.
23940 (binaries-shared): Remove variable.
23941 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
23942 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
23943 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
23944 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
23945 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
23946 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
23947 * elf/Makefile (sln-modules): New variable.
23948 (extra-objs): Add $(sln-modules:=.o).
23949 (ldconfig-modules): Add static-stubs.
23950 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
23951 * elf/static-stubs.c: New file.
23954 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
23955 by 7 not 8 to examine high bit of fractional part. Use volatile
23956 variables when splitting into final array of floats if
23957 __FLT_EVAL_METHOD__ != 0.
23958 * math/libm-test.inc (cos_test): Add another test.
23959 (sin_test): Likewise.
23960 * sysdeps/i386/fpu/libm-test-ulps: Update.
23963 * math/libm-test.inc (cosh_test): Add more tests.
23965 * version.h (RELEASE): Set to "development".
23966 (VERSION): Set to "2.16.90".
23968 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
23970 * NEWS: Update copyright. Remove last-updated date.
23971 Mention math library bug fixes and timezone data changes.
23972 * README: Mention GNU/Hurd, x32, and HPPA support status.
23974 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
23976 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
23978 2012-06-27 Andreas Jaeger <aj@suse.de>
23980 * manual/contrib.texi (Contributors): Add Samuel Thibault.
23982 2012-06-25 Andreas Jaeger <aj@suse.de>
23984 * sysdeps/s390/fpu/libm-test-ulps: Update.
23986 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
23987 Thomas Schwinge <thomas@codesourcery.com>
23989 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
23990 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
23991 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
23994 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
23996 * sysdeps/mach/start.c: Remove file.
23997 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
23998 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
23999 * sysdeps/sh/init-first.c: Likewise.
24001 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
24002 registers for frame unwinding purposes, add CFI directives.
24003 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
24004 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
24005 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
24008 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
24009 __fortify_fail returning.
24010 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
24012 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
24013 sysdeps/sh/____longjmp_chk.S.
24014 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
24015 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
24016 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
24017 (gen-as-const-headers): Append sigaltstack-offsets.sym.
24019 * sysdeps/sh/abort-instr.h: New file.
24020 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
24021 process in case exit returns.
24023 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
24024 initialize the GOT register before use.
24026 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
24027 calculation of ARGC > 4.
24029 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
24030 meaningful names to some local labels.
24032 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
24033 Kaz Kojima <kkojima@rr.iij4u.or.jp>
24035 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
24036 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
24037 (__arch_compare_and_exchange_val_16_acq): Likewise.
24038 (__arch_compare_and_exchange_val_32_acq): Likewise.
24039 (atomic_exchange_and_add): Fix gUSA sequence.
24040 (atomic_add): Likewise.
24041 (atomic_add_negative): Likewise.
24042 (atomic_add_zero): Likewise.
24043 (atomic_bit_test_set): Likewise.
24045 2012-06-22 Andreas Schwab <schwab@redhat.com>
24048 * include/link.h (struct link_map): Add l_free_initfini.
24049 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
24051 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
24052 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
24053 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
24056 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
24058 * configure.in: Use AC_LANG_SOURCE.
24059 * configure: Regenerate.
24061 2012-06-22 Roland McGrath <roland@hack.frob.com>
24063 * configure.in (libc_cv_localstatedir): New substituted variable.
24064 * configure: Regenerated.
24065 * config.make.in (localstatedir): New variable, substituted from
24066 libc_cv_localstatedir.
24067 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
24068 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
24069 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
24070 * sysdeps/gnu/configure: Regenerated.
24072 2012-06-21 Jeff Law <law@redhat.com>
24075 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
24076 free. Simplify list management for _LIBC case.
24078 2012-06-21 Joseph Myers <joseph@codesourcery.com>
24081 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
24082 Clear sign bit of 64-bit integer value before comparing against
24085 * sysdeps/mach/configure: Regenerated.
24087 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
24090 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
24092 2012-06-21 Jeff Law <law@redhat.com>
24095 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
24096 uint16_t for elements in the "seen" array to avoid char overflows.
24097 * elf/dl-fini.c (_dl_sort_fini): Likewise.
24098 * elf/dl-open.c (dl_open_worker): Likewise.
24100 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
24102 * scripts/list-sources.sh: Scan PORTS for translations.
24103 * po/libc.pot: Regenerated.
24105 2012-06-21 Andreas Jaeger <aj@suse.de>
24108 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
24110 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
24111 * bits/byteswap-16.h (__bswap_16): Likewise.
24112 * bits/byteswap.h (__bswap_constant_16): Likewise.
24114 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
24117 * sysdeps/i386/fpu_control.h: Removed.
24118 * sysdeps/x86_64/fpu_control.h: Moved to ...
24119 * sysdeps/x86/fpu_control.h: Here.
24121 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
24122 (_FPU_SETCW): Likewise.
24124 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
24127 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
24128 * sysdeps/x86/fpu/bits/mathinline.h: This.
24129 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
24133 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
24134 functions if __x86_64__ is defined.
24136 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
24138 * string/endian.h: Add !__ASSEMBLER__ condition for including
24139 conversion interfaces.
24141 2012-06-15 Joseph Myers <joseph@codesourcery.com>
24144 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
24145 of ABS(x) in calculating zero to negative powers other than odd
24147 * math/libm-test.inc (pow_test): Add more tests.
24149 2012-06-15 Andreas Jaeger <aj@suse.de>
24151 * manual/contrib.texi (Contributors): Update entry of Liubov
24152 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
24155 2012-06-15 Cyril Hrubis <metan@ucw.cz>
24157 * string/string.h: Add __wur to GNU version of strerror_r.
24159 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
24162 * string/Makefile (tests): Add tst-strtok_r.
24163 * string/tst-strtok_r.c: New file.
24164 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
24165 RAX_LP/RDX_LP on SAVE_PTR.
24167 2012-06-14 Roland McGrath <roland@hack.frob.com>
24169 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
24171 2012-06-14 Joseph Myers <joseph@codesourcery.com>
24173 * libm_test.inc (csqrt_test): Allow more spurious underflow
24175 (j0_test): Likewise.
24176 (j1_test): Likewise.
24177 (y0_test): Likewise.
24178 (y1_test): Likewise.
24180 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
24182 * po/Makefile (libc.pot): Use UTF-8 charset.
24184 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
24187 Suppress sign-conversion warning from FD_SET.
24188 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
24189 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
24190 not unsigned long int.
24191 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
24193 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
24197 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
24198 __extern_always_inline instead of __extern_inline.
24199 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
24200 (__signbit): Likewise.
24201 (__signbitl): Support C++ namespace.
24202 (lrintf): New inline function.
24204 (llrintf): Likewise.
24205 (llrint): Likewise.
24215 (floorf): Likewise.
24216 (nearbyint): Likewise.
24217 (nearbyintf): Likewise.
24219 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
24221 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
24222 non-default versions.
24224 2012-06-11 Roland McGrath <roland@hack.frob.com>
24227 * manual/argp.texi (Argp): Reword argp_parse description slightly.
24229 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
24231 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
24232 (FE_UPWARD, FE_DOWNWARD): Don't define.
24233 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
24234 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
24236 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
24238 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
24239 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
24241 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
24243 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
24244 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
24245 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
24246 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
24248 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
24251 * sysdeps/i386/fpu/bits/fenv.h: Removed.
24252 * sysdeps/i386/fpu/Implies: New file.
24253 * sysdeps/x86_64/fpu/Implies: Likewise.
24254 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
24255 * sysdeps/x86/fpu/bits/fenv.h: This.
24257 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
24260 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
24263 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
24264 character 0xffff that matches the last element of the
24267 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24269 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
24272 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24274 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
24275 values higher than 25.6283.
24277 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24279 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
24280 subnormal exponent extraction and add some __builtin_expect.
24281 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
24282 Fix for subnormal mantissa calculation.
24284 2012-06-04 Mike Frysinger <vapier@gentoo.org>
24286 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
24287 cpu2 is -1 and errno is not ENOSYS.
24289 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
24292 * sysdeps/i386/i486/bits/string.h: Renamed to ...
24293 * sysdeps/x86/bits/string.h: This.
24294 * sysdeps/x86_64/bits/string.h: Removed.
24296 * sysdeps/i386/i486/bits/string.h: Define inline functions only
24297 if not compiling for x86-64, but compiling for >= i486.
24299 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
24300 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
24302 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
24303 New macro from Linux kernel 3.4.0.
24304 (FP_XSTATE_MAGIC2): Likewise.
24305 (FP_XSTATE_MAGIC2_SIZE): Likewise.
24306 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
24307 (struct _fpx_sw_bytes): New struct.
24308 (struct _xsave_hdr): Likewise.
24309 (struct _ymmh_state): Likewise.
24310 (struct _xstate): Likewise.
24312 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
24313 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
24314 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
24315 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
24316 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
24317 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
24319 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
24320 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
24321 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
24322 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
24323 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
24324 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
24326 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24329 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
24330 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
24331 (sysdep_headers): Include sys/platform/ppc.h.
24332 * sysdeps/powerpc/test-gettimebase.c: Test for
24333 __ppc_get_timebase() to catch future ISA opcode/insn changes.
24334 * manual/Makefile (appendices): Include platform.texi.
24335 * manual/contrib.texi (Contributors): Update @node pointers.
24336 * manual/maint.texi (Maintenance): Likewise.
24337 (Platform): New node.
24338 * manual/platform.texi: New file. Document the new features.
24340 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
24341 Jakub Jelinek <jakub@redhat.com>
24344 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
24345 where __builtin_expect is unavailable.
24347 2012-06-03 David S. Miller <davem@davemloft.net>
24349 * stdlib/longlong.h: Updated from GCC.
24351 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
24354 * sysdeps/powerpc/powerpc32/mcount.c: New file.
24355 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
24357 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
24358 (GLIBC_2.16): Likewise.
24360 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
24362 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
24364 2012-06-01 Joseph Myers <joseph@codesourcery.com>
24366 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
24367 (default-abi): New variable.
24368 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
24369 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
24371 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
24373 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
24375 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
24378 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
24379 definition. Document in comment.
24381 2012-06-01 David S. Miller <davem@davemloft.net>
24383 * stdlib/longlong.h: Updated from GCC.
24385 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
24388 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
24389 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
24390 sys/debugreg.h sys/io.h here.
24391 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
24392 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
24394 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
24395 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
24396 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
24397 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
24398 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
24399 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
24401 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
24402 Define only if __x86_64__ is defined.
24404 2012-06-01 Joseph Myers <joseph@codesourcery.com>
24407 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
24408 Use int64_t for variable i.
24409 * math/libm-test.inc (fmod_test): Add more tests.
24411 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
24412 z computation is not scheduled after fetestexcept.
24413 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
24414 Use math_force_eval instead of asm to ensure calculation scheduled
24415 before exception test.
24416 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
24417 Ensure a1 + u.d computation is not scheduled after fetestexcept.
24419 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
24421 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
24422 computation is not scheduled after fetestexcept.
24424 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
24427 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
24428 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
24430 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24432 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
24433 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
24435 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
24438 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
24440 (__WCHAR_MIN): Support __WORDSIZE == 64.
24441 (__WCHAR_MAX): Likewise.
24443 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
24444 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
24447 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
24448 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
24451 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
24452 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
24454 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
24455 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
24457 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
24458 Defined to 1 if __x86_64__ isn't defined.
24459 (_STAT_VER_LINUX_OLD): New.
24460 (st_atime): Remove duplicate.
24461 (st_mtime): Likewise.
24462 (st_ctime): Likewise.
24464 2012-05-31 David S. Miller <davem@davemloft.net>
24466 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
24469 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
24471 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
24475 * elf/dl-reloc.c: Include <_itoa.h>.
24476 (_dl_reloc_bad_type): Remove use of INTUSE.
24477 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
24478 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
24479 * stdio-common/psiginfo.c (psiginfo): Likewise.
24480 * stdio-common/psignal.c (psignal): Likewise.
24481 * string/strsignal.c (strsignal): Likewise.
24482 * include/signal.h (_sys_siglist): Declare hidden proto.
24483 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
24484 INTVARDEF with libc_hidden_data_def.
24485 * stdio-common/itoa-udigits.c: Likewise.
24486 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
24487 (_itoa_lower_digits_internal): Remove declaration.
24488 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
24489 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
24490 (_sys_sigabbrev_internal): Remove aliases.
24491 (_sys_siglist): Define hidden alias.
24493 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
24495 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24498 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
24501 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
24502 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
24504 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
24505 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
24506 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
24507 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
24508 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
24509 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
24511 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
24512 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
24513 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
24515 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
24523 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
24524 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
24525 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
24527 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
24528 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
24529 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
24530 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
24531 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
24532 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
24534 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
24535 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
24537 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
24538 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
24540 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
24541 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
24542 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
24544 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
24545 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
24547 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
24549 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
24550 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
24551 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
24553 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
24555 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
24557 2012-05-31 Joseph Myers <joseph@codesourcery.com>
24559 * math/math.h (M_El): Use two more decimal places.
24560 (M_LOG2El): Likewise.
24561 (M_LOG10El): Likewise.
24562 (M_LN2l): Likewise.
24563 (M_LN10l): Likewise.
24565 (M_PI_2l): Likewise.
24566 (M_PI_4l): Likewise.
24567 (M_1_PIl): Likewise.
24568 (M_2_PIl): Likewise.
24569 (M_2_SQRTPIl): Likewise.
24570 (M_SQRT2l): Likewise.
24571 (M_SQRT1_2l): Likewise.
24573 2012-05-31 David S. Miller <davem@davemloft.net>
24575 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
24576 values between float registers.
24577 * sysdeps/sparc/sparc64/memset.S: Likewise.
24578 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
24580 2012-05-31 Mike Frysinger <vapier@gentoo.org>
24582 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
24583 -D_FORTIFY_SOURCE=1.
24584 (CPPFLAGS-tst-longjmp_chk.c): Define.
24585 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
24586 (CPPFLAGS-tst-longjmp_chk2.c): Define.
24587 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
24588 CFLAGS-tst-wchar-h.c.
24590 2012-05-31 Marek Polacek <polacek@redhat.com>
24593 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
24594 __endmntent_internal): Remove declaration.
24595 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
24596 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
24597 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
24599 2012-05-30 David S. Miller <davem@davemloft.net>
24601 * sysdeps/sparc/sparc32/soft-fp/q_util.c
24602 (___Q_simulate_exceptions): Use real FP ops rather than writing
24604 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
24607 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
24610 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
24611 * sysdeps/x86/bits/xtitypes.h: This.
24613 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
24614 * sysdeps/x86/bits/wordsize.h: This.
24616 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
24617 * sysdeps/x86/bits/huge_vall.h: This.
24619 * sysdeps/i386/bits/select.h: Removed.
24620 * sysdeps/x86_64/bits/select.h: Renamed to ...
24621 * sysdeps/x86/bits/select.h: This.
24623 * sysdeps/i386/bits/setjmp.h: Removed.
24624 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
24625 * sysdeps/x86/bits/setjmp.h: This.
24627 * sysdeps/i386/bits/mathdef.h: Removed.
24628 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
24629 * sysdeps/x86/bits/mathdef.h: This.
24631 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
24634 * include/sys/socket.h (__connect_internal)
24635 (__libc_sa_len_internal): Remove declaration.
24636 (__connect, __libc_sa_len): Declare hidden_proto.
24637 (SA_LEN): Remove use of INTUSE.
24638 * socket/connect.c: Add libc_hidden_def.
24639 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
24640 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
24641 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
24643 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
24644 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
24645 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
24646 of adding _internal alias.
24648 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
24651 * sysdeps/i386/bits/link.h: Removed.
24652 * sysdeps/i386/bits/linkmap.h: Likewise.
24653 * sysdeps/x86_64/bits/link.h: Renamed to ...
24654 * sysdeps/x86/bits/link.h: This.
24655 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
24656 * sysdeps/x86/bits/linkmap.h: This.
24658 * sysdeps/i386/bits/endian.h: Removed.
24659 * sysdeps/x86_64/bits/endian.h: Renamed to ...
24660 * sysdeps/x86/bits/endian.h: This.
24662 * sysdeps/i386/bits/byteswap.h: Removed.
24663 * sysdeps/i386/bits/byteswap-16.h: Likewise.
24664 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
24665 * sysdeps/x86/bits/byteswap.h: This.
24666 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
24667 * sysdeps/x86/bits/byteswap-16.h: This.
24668 * sysdeps/i386/Implies: Add x86.
24669 * sysdeps/x86_64/Implies: Likewise.
24671 2012-05-30 David S. Miller <davem@davemloft.net>
24673 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
24674 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
24675 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
24676 (FP_TRAPPING_EXCEPTIONS): Define.
24677 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
24678 (FP_TRAPPING_EXCEPTIONS): Define.
24679 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
24680 subnormals only when inexact has been signalled or underflow
24681 exceptions are enabled.
24682 (_FP_PACK_CANONICAL): Likewise.
24684 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
24687 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
24688 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
24690 2012-05-30 Richard Henderson <rth@twiddle.net>
24692 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
24693 with #ifndef NOT_IN_libc.
24695 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
24696 marked to avoid plt entry.
24698 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
24701 * Makeconfig (default-abi): New macro.
24702 (abi-includes): Likewise.
24703 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
24704 $(abi-$(default-abi)-lib-soname) for soname if defined.
24705 ($(common-objpfx)gnu/lib-names.stmp): Generate from
24707 * Makefile (installed-stubs): Likewise.
24708 * include/stubs-biarch.h: Removed.
24709 * scripts/lib-names.awk: Only handle one library at a time.
24710 * scripts/soversions.awk: Remove WORDSIZE support.
24711 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
24713 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
24715 (syscall-list-default-condition): Likewise.
24716 (syscall-list-default-condition): Likewise.
24717 (syscall-list-includes): Likewise.
24718 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
24719 syscall-list-* with abi-*. Handle undefined abi-variants.
24720 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
24721 * sysdeps/unix/sysv/linux/i386/Implies: New file.
24722 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
24723 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
24724 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
24725 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
24727 (syscall-list-32-options): Likewise.
24728 (syscall-list-32-condition): Likewise.
24729 (syscall-list-64-options): Likewise.
24730 (syscall-list-64-condition): Likewise.
24731 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
24733 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
24736 (abi-64-ld-soname): New macro.
24737 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
24738 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
24741 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
24742 * sysdeps/x86_64/x32/shlib-versions: Likewise.
24744 2012-05-30 Joseph Myers <joseph@codesourcery.com>
24746 * sysdeps/unix/sysv/linux/kernel-features.h
24747 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
24748 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
24749 include <kernel-features.h>.
24750 [!__NR_ftruncate64]: Remove conditional code.
24751 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
24752 [__NR_ftruncate64]: Make code unconditional.
24753 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
24754 * sysdeps/unix/sysv/linux/truncate64.c: Do not
24755 include <kernel-features.h>.
24756 [!__NR_ftruncate64]: Remove conditional code.
24757 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
24758 [__NR_ftruncate64]: Make code unconditional.
24759 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
24760 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
24761 include <kernel-features.h>.
24762 [!__NR_ftruncate64]: Remove conditional code.
24763 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
24764 [__NR_ftruncate64]: Make code unconditional.
24765 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
24766 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
24767 include <kernel-features.h>.
24768 [!__NR_ftruncate64]: Remove conditional code.
24769 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
24770 [__NR_ftruncate64]: Make code unconditional.
24771 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
24773 * configure.in (libc_cv_fpie): Weaken to a compile test using
24774 LIBC_TRY_CC_OPTION.
24775 * configure: Regenerated.
24777 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24779 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
24780 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
24781 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
24782 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
24784 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
24785 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
24786 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
24787 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
24788 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
24789 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
24792 2012-05-27 David S. Miller <davem@davemloft.net>
24794 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
24796 (__Q_simulate_exceptions): Return void. Change to simulate
24797 exceptions by writing into the %fsr.
24798 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
24799 (__Qp_handle_exceptions): Likewise.
24801 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
24802 __Qp_handle_exceptions.
24803 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
24804 __Qp_handle_exceptions.
24805 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
24806 as unused and give dummy FP_RND_NEAREST initializer.
24807 (FP_INHIBIT_RESULTS): Define.
24808 (___Q_simulate_exceptions): Update declaration.
24809 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
24811 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
24812 as unused and give dummy FP_RND_NEAREST initializer.
24813 (__Qp_handle_exceptions): Update declaration.
24814 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
24817 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
24819 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
24820 the temporary FPU control word.
24821 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
24822 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
24823 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
24824 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
24825 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
24826 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
24827 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
24828 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
24829 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
24830 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
24831 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
24833 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
24835 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
24838 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
24840 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
24841 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
24842 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
24843 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
24845 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
24846 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
24849 2012-05-27 Ulrich Drepper <drepper@gmail.com>
24851 * po/h.po: Update from translation team.
24853 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
24855 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
24857 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
24858 handling of denormals.
24859 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
24860 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
24861 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
24862 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
24863 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
24864 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
24865 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
24868 2012-05-26 Marek Polacek <polacek@redhat.com>
24871 * math/libm-test.inc (fma_test): Don't always expect underflow
24874 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
24877 * elf/tst-execstack.c: Include stackinfo.h.
24878 (do_test): Adjust test case to ensure that pthread_getattr_np
24879 behaviour remains the same after marking stack executable.
24881 2012-05-25 Joseph Myers <joseph@codesourcery.com>
24883 * sysdeps/unix/sysv/linux/kernel-features.h
24884 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
24885 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
24887 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
24888 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
24889 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
24891 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
24892 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
24894 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
24896 * configure.in: Define the default includes to being none.
24897 * configure: Regenerated.
24899 2012-05-25 Roland McGrath <roland@hack.frob.com>
24901 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
24902 * sysdeps/x86_64/setjmp.S: Likewise.
24903 * sysdeps/i386/bsd-setjmp.S: Likewise.
24904 * sysdeps/i386/bsd-_setjmp.S: Likewise.
24905 * sysdeps/i386/setjmp.S: Likewise.
24906 * sysdeps/i386/__longjmp.S: Likewise.
24907 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
24908 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
24910 * include/stap-probe.h: New file.
24911 * configure.in: Handle --enable-systemtap.
24912 * configure: Regenerated.
24913 * config.h.in (USE_STAP_PROBE): New #undef.
24914 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
24915 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
24916 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
24918 2012-05-25 Joseph Myers <joseph@codesourcery.com>
24921 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
24922 to 2.4.0 where earlier.
24923 * sysdeps/unix/sysv/linux/configure: Regenerated.
24924 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
24925 <kernel-features.h>.
24926 [__ASSUME_32BITUIDS]: Make code unconditional.
24927 [!__ASSUME_32BITUIDS]: Remove conditional code.
24928 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
24929 <kernel-features.h>.
24930 [__ASSUME_32BITUIDS]: Make code unconditional.
24931 [!__ASSUME_32BITUIDS]: Remove conditional code.
24932 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
24933 [__ASSUME_32BITUIDS]: Make code unconditional.
24934 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
24935 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
24936 <kernel-features.h>.
24937 [__ASSUME_32BITUIDS]: Make code unconditional.
24938 [!__ASSUME_32BITUIDS]: Remove conditional code.
24939 * sysdeps/unix/sysv/linux/i386/geteuid.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/i386/getgid.c: Do not include
24944 <kernel-features.h>.
24945 [__ASSUME_32BITUIDS]: Make code unconditional.
24946 [!__ASSUME_32BITUIDS]: Remove conditional code.
24947 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
24948 <kernel-features.h>.
24949 [__ASSUME_32BITUIDS]: Make code unconditional.
24950 [!__ASSUME_32BITUIDS]: Remove conditional code.
24951 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
24952 <kernel-features.h>.
24953 [__ASSUME_32BITUIDS]: Make code unconditional.
24954 [!__ASSUME_32BITUIDS]: Remove conditional code.
24955 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
24956 <kernel-features.h>.
24957 [__ASSUME_32BITUIDS]: Make code unconditional.
24958 [!__ASSUME_32BITUIDS]: Remove conditional code.
24959 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
24960 <kernel-features.h>.
24961 [__ASSUME_32BITUIDS]: Make code unconditional.
24962 [!__ASSUME_32BITUIDS]: Remove conditional code.
24963 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
24964 <kernel-features.h>.
24965 [__ASSUME_32BITUIDS]: Make code unconditional.
24966 [!__ASSUME_32BITUIDS]: Remove conditional code.
24967 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
24968 <kernel-features.h>.
24969 [__ASSUME_32BITUIDS]: Make code unconditional.
24970 [!__ASSUME_32BITUIDS]: Remove conditional code.
24971 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
24972 <kernel-features.h>.
24973 [__ASSUME_32BITUIDS]: Make code unconditional.
24974 [!__ASSUME_32BITUIDS]: Remove conditional code.
24975 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
24976 <kernel-features.h>.
24977 [__NR_setresgid] (__setresgid): Do not declare.
24978 [__ASSUME_32BITUIDS]: Make code unconditional.
24979 [!__ASSUME_32BITUIDS]: Remove conditional code.
24980 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
24981 <kernel-features.h>.
24982 [__NR_setresuid] (__setresuid): Do not declare.
24983 [__ASSUME_32BITUIDS]: Make code unconditional.
24984 [!__ASSUME_32BITUIDS]: Remove conditional code.
24985 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
24986 <kernel-features.h>.
24987 [__ASSUME_32BITUIDS]: Make code unconditional.
24988 [!__ASSUME_32BITUIDS]: Remove conditional code.
24989 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
24990 <kernel-features.h>.
24991 [__ASSUME_32BITUIDS]: Make code unconditional.
24992 [!__ASSUME_32BITUIDS]: Remove conditional code.
24993 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
24994 <kernel-features.h>.
24995 [__ASSUME_32BITUIDS]: Make code unconditional.
24996 [!__ASSUME_32BITUIDS]: Remove conditional code.
24997 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
24998 <kernel-features.h>.
24999 [__ASSUME_32BITUIDS]: Make code unconditional.
25000 [!__ASSUME_32BITUIDS]: Remove conditional code.
25001 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
25002 <kernel-features.h>.
25003 [__ASSUME_32BITUIDS]: Make code unconditional.
25004 [!__ASSUME_32BITUIDS]: Remove conditional code.
25005 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
25006 <kernel-features.h>.
25007 [__ASSUME_32BITUIDS]: Make code unconditional.
25008 [!__ASSUME_32BITUIDS]: Remove conditional code.
25009 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
25010 <kernel-features.h>.
25011 [__ASSUME_32BITUIDS]: Make code unconditional.
25012 [!__ASSUME_32BITUIDS]: Remove conditional code.
25013 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
25014 <kernel-features.h>.
25015 [__ASSUME_32BITUIDS]: Make code unconditional.
25016 [!__ASSUME_32BITUIDS]: Remove conditional code.
25017 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
25018 <kernel-features.h>.
25019 [__ASSUME_32BITUIDS]: Make code unconditional.
25020 [!__ASSUME_32BITUIDS]: Remove conditional code.
25021 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
25022 <kernel-features.h>.
25023 [__ASSUME_32BITUIDS]: Make code unconditional.
25024 [!__ASSUME_32BITUIDS]: Remove conditional code.
25025 * sysdeps/unix/sysv/linux/kernel-features.h
25026 (__ASSUME_SETRESUID_SYSCALL): Remove.
25027 (__ASSUME_SETRESGID_SYSCALL): Likewise.
25028 (__ASSUME_32BITUIDS): Likewise.
25029 (__ASSUME_LDT_WORKS): Likewise.
25030 (__ASSUME_O_DIRECTORY): Likewise.
25031 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
25032 architecture but not kernel version.
25033 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
25034 (__ASSUME_MMAP2_SYSCALL): Likewise.
25035 (__ASSUME_STAT64_SYSCALL): Likewise.
25036 (__ASSUME_IPC64): Likewise.
25037 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
25038 <kernel-features.h>.
25039 [__ASSUME_32BITUIDS]: Make code unconditional.
25040 [!__ASSUME_32BITUIDS]: Remove conditional code.
25041 * sysdeps/unix/sysv/linux/opendir.c: Do not include
25042 <kernel-features.h>.
25043 [__ASSUME_O_DIRECTORY]: Make code unconditional.
25044 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
25045 132096]: Remove conditional code.
25046 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
25047 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
25048 <kernel-features.h>.
25049 [__ASSUME_32BITUIDS]: Make code unconditional.
25050 [!__ASSUME_32BITUIDS]: Remove conditional code.
25051 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
25052 <kernel-features.h>.
25053 [__ASSUME_32BITUIDS]: Make code unconditional.
25054 [!__ASSUME_32BITUIDS]: Remove conditional code.
25055 * sysdeps/unix/sysv/linux/setegid.c: Do not include
25056 <kernel-features.h>.
25057 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
25059 (__setresgid): Do not declare.
25060 [__ASSUME_32BITUIDS]: Make code unconditional.
25061 [!__ASSUME_32BITUIDS]: Remove conditional code.
25062 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
25063 <kernel-features.h>.
25064 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
25066 (__setresuid): Do not declare.
25067 [__ASSUME_32BITUIDS]: Make code unconditional.
25068 [!__ASSUME_32BITUIDS]: Remove conditional code.
25069 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
25070 <kernel-features.h>.
25071 [__ASSUME_32BITUIDS]: Make code unconditional.
25072 [!__ASSUME_32BITUIDS]: Remove conditional code.
25073 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
25074 <kernel-features.h>.
25075 [__ASSUME_32BITUIDS]: Make code unconditional.
25076 [!__ASSUME_32BITUIDS]: Remove conditional code.
25078 2012-05-25 Richard Henderson <rth@twiddle.net>
25080 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
25081 dl_hwcap to ifunc resolver.
25082 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
25084 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
25085 dl_hwcap to ifunc resolver.
25086 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
25088 2012-05-24 Joseph Myers <joseph@codesourcery.com>
25091 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
25092 for |x| <= 2**-26, not 2**-57.
25093 * math/libm-test.inc (acos_test): Do not allow spurious underflow
25096 2012-05-24 Jeff Law <law@redhat.com>
25098 * stdio-common/Makefile (tests): Add bug25.
25099 * stdio-common/bug25.c: New test.
25101 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
25104 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
25105 multiple of MALLOC_ALIGNMENT in size.
25106 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
25108 2012-05-24 Joseph Myers <joseph@codesourcery.com>
25110 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
25112 (FILENAME_MAX): Use macro-int-constant.
25113 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
25114 (_IOFBF): Use macro-int-constant.
25115 (_IOLBF): Likewise.
25116 (_IONBF): Likewise.
25117 (SEEK_CUR): Likewise.
25118 (SEEK_END): Likewise.
25119 (SEEK_SET): Likewise.
25120 (TMP_MAX): Likewise.
25121 (EOF): Use macro-int-constant. Require < 0.
25122 (NULL): Use macro-constant. Require == 0.
25123 (stdin): Require type to be FILE *.
25124 (stdout): Likewise.
25125 (stderr): Likewise.
25126 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
25127 macro-int-constant.
25128 (EXIT_SUCCESS): Likewise.
25129 (NULL): Use macro-constant. Require == 0.
25130 (RAND_MAX): Use macro-int-constant.
25131 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
25132 [C99-based standards] (strtof): Require function.
25133 [C99-based standards] (strtold): Likewise.
25134 [C99-based standards] (strtoll): Likewise.
25135 [C99-based standards] (strtoull): Likewise.
25136 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
25137 [ISO || ISO99 || ISO11] (limits.h): Likewise.
25138 [ISO || ISO99 || ISO11] (math.h): Likewise.
25139 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
25140 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
25141 [ISO || ISO99 || ISO11] (*_t): Do not allow.
25143 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
25146 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
25147 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
25148 * intl/dgettext.c (DCGETTEXT): Likewise.
25149 * intl/gettext.c (DCGETTEXT): Likewise.
25150 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
25151 * posix/regex_internal.h (gettext): Likewise.
25152 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
25153 Remove declaration.
25154 * include/argz.h (__argz_count_internal)
25155 (__argz_stringify_internal): Remove declaration.
25156 (__argz_count, __argz_stringify): Declare hidden proto.
25157 * intl/dcgettext.c: Remove use of INTDEF.
25158 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
25159 * string/argz-stringify.c: Likewise.
25160 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
25161 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
25162 Declare hidden proto.
25163 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
25164 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
25165 Declare hidden proto.
25166 * include/stdio.h (__asprintf_internal): Don't declare.
25167 (__asprintf): Don't define as macro. Declare hidden proto.
25168 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
25169 (__fsetlocking): Declare hidden proto.
25170 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
25171 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
25173 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
25174 (_IO_setlinebuf): Remove use of INTUSE.
25175 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
25176 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
25177 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
25178 Remove declaration.
25179 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
25180 (_IO_do_flush): Remove use of INTUSE.
25181 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
25182 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
25183 (_IO_adjust_column, _IO_least_wmarker)
25184 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
25185 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
25186 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
25187 (_IO_default_doallocate, _IO_wdefault_doallocate)
25188 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
25189 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
25190 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
25191 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
25192 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
25193 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
25194 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
25195 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
25196 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
25197 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
25198 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
25199 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
25200 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
25202 (_IO_flush_all_internal, _IO_adjust_column_internal)
25203 (_IO_default_uflow_internal, _IO_default_finish_internal)
25204 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
25205 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
25206 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
25207 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
25208 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
25209 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
25210 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
25211 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
25212 (_IO_file_close_internal, _IO_file_close_it_internal)
25213 (_IO_file_underflow_internal, _IO_file_overflow_internal)
25214 (_IO_file_init_internal, _IO_file_attach_internal)
25215 (_IO_file_fopen_internal, _IO_file_read_internal)
25216 (_IO_file_sync_internal, _IO_file_seek_internal)
25217 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
25218 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
25219 (_IO_str_underflow_internal, _IO_str_overflow_internal)
25220 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
25221 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
25222 (_IO_list_all_internal, _IO_link_in_internal)
25223 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
25224 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
25225 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
25226 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
25227 (_IO_do_write_internal, _IO_padn_internal)
25228 (_IO_getline_info_internal, _IO_getline_internal)
25229 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
25230 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
25231 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
25232 (_IO_vfscanf_internal, _IO_vfprintf_internal)
25233 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
25234 (_IO_init_internal, _IO_un_link_internal): Don't declare.
25235 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
25236 with libc_hidden_ver, remove use of INTUSE.
25237 * libio/genops.c: Likewise.
25238 * libio/freopen.c: Likewise.
25239 * libio/freopen64.c: Likewise.
25240 * libio/iofclose.c: Likewise.
25241 * libio/iofdopen.c: Likewise.
25242 * libio/iofflush.c: Likewise.
25243 * libio/iofflush_u.c: Likewise.
25244 * libio/iofgets.c: Likewise.
25245 * libio/iofgets_u.c: Likewise.
25246 * libio/iofopen.c: Likewise.
25247 * libio/iofopncook.c: Likewise.
25248 * libio/iofread.c: Likewise.
25249 * libio/iofread_u.c: Likewise.
25250 * libio/ioftell.c: Likewise.
25251 * libio/iofwrite.c: Likewise.
25252 * libio/iogetline.c: Likewise.
25253 * libio/iogets.c: Likewise.
25254 * libio/iogetwline.c: Likewise.
25255 * libio/iopadn.c: Likewise.
25256 * libio/iopopen.c: Likewise.
25257 * libio/ioseekoff.c: Likewise.
25258 * libio/ioseekpos.c: Likewise.
25259 * libio/iosetbuffer.c: Likewise.
25260 * libio/iosetvbuf.c: Likewise.
25261 * libio/ioungetc.c: Likewise.
25262 * libio/ioungetwc.c: Likewise.
25263 * libio/iovdprintf.c: Likewise.
25264 * libio/iovsprintf.c: Likewise.
25265 * libio/iovsscanf.c: Likewise.
25266 * libio/memstream.c: Likewise.
25267 * libio/obprintf.c: Likewise.
25268 * libio/oldfileops.c: Likewise.
25269 * libio/oldiofclose.c: Likewise.
25270 * libio/oldiofdopen.c: Likewise.
25271 * libio/oldiofopen.c: Likewise.
25272 * libio/oldiopopen.c: Likewise.
25273 * libio/oldstdfiles.c: Likewise.
25274 * libio/putc.c: Likewise.
25275 * libio/setbuf.c: Likewise.
25276 * libio/setlinebuf.c: Likewise.
25277 * libio/stdfiles.c: Likewise.
25278 * libio/strops.c: Likewise.
25279 * libio/vasprintf.c: Likewise.
25280 * libio/vscanf.c: Likewise.
25281 * libio/vsnprintf.c: Likewise.
25282 * libio/vswprintf.c: Likewise.
25283 * libio/wfiledoalloc.c: Likewise.
25284 * libio/wfileops.c: Likewise.
25285 * libio/wgenops.c: Likewise.
25286 * libio/wmemstream.c: Likewise.
25287 * libio/wstrops.c: Likewise.
25288 * libio/__fpurge.c: Likewise.
25289 * libio/__fsetlocking.c: Likewise.
25290 * assert/assert.c: Likewise.
25291 * debug/fgets_chk.c: Likewise.
25292 * debug/fgets_u_chk.c: Likewise.
25293 * debug/fread_chk.c: Likewise.
25294 * debug/fread_u_chk.c: Likewise.
25295 * debug/gets_chk.c: Likewise.
25296 * debug/obprintf_chk.c: Likewise.
25297 * debug/vasprintf_chk.c: Likewise.
25298 * debug/vdprintf_chk.c: Likewise.
25299 * debug/vsnprintf_chk.c: Likewise.
25300 * debug/vsprintf_chk.c: Likewise.
25301 * malloc/mtrace.c: Likewise.
25302 * misc/error.c: Likewise.
25303 * misc/syslog.c: Likewise.
25304 * stdio-common/asprintf.c: Likewise.
25305 * stdio-common/fxprintf.c: Likewise.
25306 * stdio-common/getw.c: Likewise.
25307 * stdio-common/isoc99_fscanf.c: Likewise.
25308 * stdio-common/isoc99_scanf.c: Likewise.
25309 * stdio-common/isoc99_vfscanf.c: Likewise.
25310 * stdio-common/isoc99_vscanf.c: Likewise.
25311 * stdio-common/isoc99_vsscanf.c: Likewise.
25312 * stdio-common/printf-prs.c: Likewise.
25313 * stdio-common/printf_fp.c: Likewise.
25314 * stdio-common/printf_fphex.c: Likewise.
25315 * stdio-common/printf_size.c: Likewise.
25316 * stdio-common/putw.c: Likewise.
25317 * stdio-common/scanf.c: Likewise.
25318 * stdio-common/sprintf.c: Likewise.
25319 * stdio-common/tmpfile.c: Likewise.
25320 * stdio-common/vfprintf.c: Likewise.
25321 * stdio-common/vfscanf.c: Likewise.
25322 * stdlib/strfmon_l.c: Likewise.
25323 * sunrpc/openchild.c: Likewise.
25324 * sunrpc/xdr_stdio.c: Likewise.
25325 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
25326 * sysdeps/mach/hurd/tmpfile.c: Likewise.
25328 2012-05-24 Roland McGrath <roland@hack.frob.com>
25330 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
25332 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
25333 in the third column, to generate for the shared library an IFUNC
25334 that uses _dl_vdso_vsym.
25335 * Makerules (COMPILE.c, compile-stdin.c): New variables.
25336 * Makeconfig (object-suffixes-noshared): New variable.
25338 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
25339 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
25340 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
25341 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
25344 * include/sys/time.h (__gettimeofday): Remove macro.
25345 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
25346 * time/gettimeofday.c (__gettimeofday): Remove #undef.
25348 (__gettimeofday): Add libc_hidden_def.
25349 (gettimeofday): Add libc_hidden_weak.
25350 * sysdeps/mach/gettimeofday.c: Likewise.
25351 * sysdeps/posix/gettimeofday.c: Likewise.
25352 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
25353 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
25354 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
25355 (__gettimeofday_internal): Remove strong_alias.
25356 (__gettimeofday): Add libc_hidden_def.
25357 (gettimeofday): Add libc_hidden_weak.
25358 * sysdeps/unix/syscalls.list (gettimeofday):
25359 Remove __gettimeofday_internal alias.
25361 2012-05-24 Daniel Jacobowitz <drow@false.org>
25362 H.J. Lu <hongjiu.lu@intel.com>
25365 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
25366 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
25367 (largebin_index_32_big): New.
25368 (largebin_index): Use it for 16-byte alignment.
25369 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
25370 correction with front_misalign.
25372 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
25374 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
25375 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
25377 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
25379 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
25381 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
25383 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
25385 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
25387 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
25389 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
25391 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
25393 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
25395 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
25397 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
25400 * scripts/data/c++-types-x32-linux-gnu.data: New file.
25401 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
25403 2012-05-24 Joseph Myers <joseph@codesourcery.com>
25407 * math/libm-test.inc (exp_test): Add test from bug 14036.
25408 (pow_test): Add test from bug 10846.
25410 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
25412 (special_function): Do not include flags in test name.
25413 (parse_args): Likewise.
25414 * sysdeps/i386/fpu/libm-test-ulps: Update.
25415 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
25416 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
25417 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
25418 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25420 * math/gen-libm-test.pl (%beautify): Add entries for underflow
25422 * math/libm-test.inc ("Philosophy"): Update comment about
25424 (UNDERFLOW_EXCEPTION): New macro.
25425 (UNDERFLOW_EXCEPTION_OK): Likewise.
25426 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
25427 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
25428 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
25429 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
25430 (INVALID_EXCEPTION_OK): Update value.
25431 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
25432 (OVERFLOW_EXCEPTION_OK): Likewise.
25433 (IGNORE_ZERO_INF_SIGN): Likewise.
25434 (test_exceptions): Handle underflow exceptions.
25435 (acos_test): Update for underflow exception expectations.
25436 (cexp_test): Likewise.
25437 (clog_test): Likewise.
25438 (clog10_test): Likewise.
25439 (csqrt_test): Likewise.
25440 (ctan_test): Likewise.
25441 (ctanh_test): Likewise.
25442 (exp_test): Likewise.
25443 (exp10_test): Likewise.
25444 (exp2_test): Likewise.
25445 (expm1_test): Likewise.
25446 (fma_test): Likewise.
25447 (j0_test): Likewise.
25448 (jn_test): Likewise.
25449 (nexttoward_test): Likewise.
25450 (pow_test): Likewise.
25451 (scalbn_test): Likewise.
25452 (scalbln_test): Likewise.
25453 (tan_test): Likewise.
25454 (y1_test): Likewise.
25455 * sysdeps/i386/fpu/libm-test-ulps: Update.
25456 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25458 2012-05-23 David S. Miller <davem@davemloft.net>
25460 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
25461 (__libc_sigaction): Remove unused local variables.
25463 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
25465 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
25467 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
25469 mktime: avoid signed integer overflow
25470 * time/mktime.c (__mktime_internal): Do not mishandle the case
25471 where diff == INT_MIN.
25473 mktime: simplify computation of average
25474 * time/mktime.c (ranged_convert): Use new time_t_avg function
25475 instead of rolling our own (probably-slower) code.
25477 mktime: do not assume signed right shift propagates sign bit
25478 * time/mktime.c (isdst_differ): New static function.
25479 (__mktime_internal): No need to normalize tm_isdst now.
25480 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
25483 mktime: merge another wrapv change from gnulib
25484 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
25485 from some compilers.
25487 mktime: remove incorrect attempt at unusual arithmetics
25488 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
25489 The code didn't really work on such machines anyway.
25490 (TYPE_MINIMUM): Assume two's complement.
25491 (twos_complement_arithmetic): Verify that long_int and time_t
25492 are two's complement (or unsigned, in the latter case).
25494 mktime: check signed shifts on long_int and time_t, too
25495 * time/mktime.c (SHR): Check that shifts work as desired
25496 on the types long_int and time_t too, as SHR is used on
25499 mktime: do not assume 'long' is wide enough
25500 * time/mktime.c (verify): Move decl up.
25501 (long_int): New type.
25502 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
25503 to remove assumption in the code that 'long' is wide enough to
25504 store year values. This assumption is not true on x32 and on
25505 some non-glibc platforms.
25507 mktime: merge wrapv change from gnulib
25508 * time/mktime.c (WRAPV): New macro.
25509 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
25510 (guess_time_tm, __mktime_internal): Do not assume that signed
25511 integer overflow wraps around; modern compilers generate code
25512 where this assumption is no longer valid.
25514 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
25516 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
25517 Replace "jmp L(pseudo_end)" with "ret".
25518 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
25521 2012-05-23 Andreas Jaeger <aj@suse.de>
25523 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
25524 * sysdeps/unix/sysv/linux/poll.c: Remove file.
25526 2012-05-23 Andreas Jaeger <aj@suse.de>
25527 Maximilian Attems <max@stro.at>
25529 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
25532 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
25534 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
25535 code so that pseudo_end is just ret and the stack pointer is
25536 correct also for static library in error case.
25538 2012-05-23 Joseph Myers <joseph@codesourcery.com>
25540 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
25541 move to syscalls.list.
25542 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
25543 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
25544 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
25545 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
25547 * manual/install.texi (Running make install): Do not mention Linux
25548 kernel version for which pt_chown is not needed.
25549 (Linux): Do not mention problems with nscd with 2.0 kernels.
25550 * INSTALL: Regenerated.
25552 2012-05-23 Andreas Jaeger <aj@suse.de>
25554 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
25555 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
25557 * sysdeps/unix/sysv/linux/s390/bits/mman.h
25558 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
25559 * sysdeps/unix/sysv/linux/sh/bits/mman.h
25560 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
25561 * sysdeps/unix/sysv/linux/i386/bits/mman.h
25562 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
25563 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
25564 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
25565 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
25566 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
25567 * sysdeps/unix/sysv/linux/bits/in.h
25568 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
25570 2012-05-22 Roland McGrath <roland@hack.frob.com>
25572 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
25573 (PREPARE_VERSION): Just use assert instead, it will be elided
25574 under [NDEBUG] anyway.
25576 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
25578 * sysdeps/unix/sysv/linux/Makefile: Include
25579 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
25580 (sysdep_routines): Remove sysctl.
25581 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
25582 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
25583 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
25584 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
25585 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
25587 2012-05-22 Andreas Jaeger <aj@suse.de>
25589 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
25590 that pseudo_end is just ret and the stack pointer is correct also
25591 for static library in error case.
25593 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
25596 * nss/nsswitch.c (defconfig_entries): New variable.
25597 (__nss_database_lookup): Don't leak defconfig entries.
25598 (nss_parse_service_list): Don't leak on error paths.
25599 (free_database_entries): New function.
25600 (free_defconfig): New function.
25601 (free_mem): Move common code to free_database_entries.
25603 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
25605 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
25607 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
25609 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
25610 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
25611 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
25613 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
25614 (INTERNAL_SYSCALL_TYPES): Likewise.
25615 (LOAD_ARGS_TYPES_[1-6]): Likewise.
25616 (LOAD_REGS_TYPES_[1-6]): Likewise.
25617 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
25618 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
25620 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25622 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
25623 copysignl for GLIBC_2_0.
25624 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
25625 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
25626 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
25627 logbl for GLIBC_2_0.
25628 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
25629 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
25631 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
25633 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
25634 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
25636 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
25639 * time/mktime.c: Update copyright years.
25641 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
25643 mktime: merge comment-quoting-style change from gnulib
25644 * time/mktime.c: Quote 'like this' in comments.
25645 The GNU coding standards suggest that we no longer quote `like this',
25646 as "`" and "'" are typically rendered asymmetrically nowadays.
25647 The typical gnulib style is to quote 'like this' when quoting
25648 code, and "like this" when quoting English.
25650 * time/mktime.c (compile-command): Add "-I.".
25652 mktime: merge mktime-internal.h change from gnulib
25653 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
25655 mktime: merge time_r change from gnulib
25656 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
25658 mktime: merge DEBUG change from gnulib
25659 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
25660 case system <time.h> has a #define.
25662 mktime: merge <sys/types.h> change from gnulib
25663 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
25664 since <time.t> is now guaranteed to define time_t.
25666 mktime: merge HAVE_CONFIG_H change from gnulib
25667 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
25669 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
25671 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
25674 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
25676 (struct rusage): Use anonymous union to pad each field to
25679 2012-05-21 David S. Miller <davem@davemloft.net>
25681 * Makefules (o-iterator): Remove .s cases.
25682 (compile-command.s): Delete.
25683 (COMPILE.s): Delete.
25684 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
25686 2012-05-21 Joseph Myers <joseph@codesourcery.com>
25688 * configure.in (libc_cv_predef_stack_protector): Only consider
25689 "foobar" and "__stack_chk_fail" lines in libc_undefs.
25690 * configure: Regenerated.
25692 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
25694 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
25695 New macro. Use R*LP on int and pointer.
25696 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
25697 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
25698 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
25699 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
25701 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
25702 [__WORDSIZE_TIME64_COMPAT32] instead of
25703 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
25704 (struct utmp): Likewise.
25705 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
25706 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
25708 (__WORDSIZE_TIME64_COMPAT32): This.
25709 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
25710 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
25711 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
25712 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
25713 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
25714 (__WORDSIZE_TIME64_COMPAT32): New macro.
25716 2012-05-21 Andreas Jaeger <aj@suse.de>
25718 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
25719 only if [SHARED]. Add prototype for __wcschr_ia32.
25721 2012-05-21 Roland McGrath <roland@hack.frob.com>
25723 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
25724 of %rbp unmolested in the jmp_buf while mangling the low bits.
25725 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
25726 unmolested high bits of %rbp while demangling the low bits.
25727 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
25729 2012-05-21 Andreas Jaeger <aj@suse.de>
25731 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
25732 * sunrpc/svc_simple.c: Use it for registerrpc.
25733 * sunrpc/xcrypt.c: Use it for passwd2des.
25735 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
25737 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
25739 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
25740 Don't define if [__SYSCALL_WORDSIZE != 32].
25741 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
25744 2012-05-21 Bruno Haible <bruno@clisp.org>
25745 Andreas Jaeger <aj@suse.de>
25747 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
25748 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
25749 inptr and inend for must_buffer_ch.
25750 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
25751 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
25752 * stdio-common/Makefile (tests): Remove bug15.
25753 (bug15-ENV): Remove macro.
25754 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
25757 2012-05-19 Andreas Jaeger <aj@suse.de>
25758 Roland McGrath <roland@hack.frob.com>
25760 * manual/contrib.texi: Completely rewritten. It contains now an
25761 alphabetical list of contributors and their contributions.
25763 2012-05-21 Richard Henderson <rth@twiddle.net>
25765 * misc/getauxval.c (__getauxval): Use unsigned long int.
25766 * misc/sys/auxv.h: Include <sys/cdefs.h>.
25767 (getauxval): Use unsigned long int.
25769 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
25771 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
25773 2012-05-21 Roland McGrath <roland@hack.frob.com>
25775 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
25776 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
25777 __alignof__ (long double).
25779 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25781 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25783 2012-05-20 Richard Henderson <rth@twiddle.net>
25785 * misc/getauxval.c: New file.
25786 * misc/sys/auxv.h: New file.
25787 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
25788 (routines): Add getauxval.
25789 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
25790 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
25791 * elf/dl-sysdep.c (_dl_auxv): Remove.
25792 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
25793 * elf/dl-support.c (_dl_auxv): New variable.
25794 (_dl_aux_init): Initialize it.
25795 * manual/startup.texi (Auxiliary Vector): New node.
25796 * sysdeps/generic/bits/hwcap.h: New file.
25797 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
25798 * sysdeps/powerpc/sysdep.h: ... here. Include it.
25799 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
25800 * sysdeps/sparc/sysdep.h: ... here. Include it.
25801 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
25802 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
25803 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25805 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
25806 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
25807 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
25808 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
25809 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
25810 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
25811 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
25812 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
25814 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25816 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25818 2012-05-19 David S. Miller <davem@davemloft.net>
25820 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25822 2012-05-19 Joseph Myers <joseph@codesourcery.com>
25825 * math/s_ccosh.c: Include <float.h>
25826 (__ccosh): Avoid internal overflow calculating sinh and cosh
25827 values before multiplying by sin and cos values.
25828 * math/s_ccoshf.c: Likewise.
25829 * math/s_ccoshl.c: Likewise.
25830 * math/s_csin.c: Likewise.
25831 * math/s_csinf.c: Likewise.
25832 * math/s_csinl.c: Likewise.
25833 * math/s_csinh.c: Likewise.
25834 * math/s_csinhf.c: Likewise.
25835 * math/s_csinhl.c: Likewise.
25836 * math/libm-test.inc (ccos_test): Add more tests.
25837 (ccosh_test): Likewise.
25838 (csin_test): Likewise.
25839 (csinh_test): Likewise.
25840 * sysdeps/i386/fpu/libm-test-ulps: Update.
25841 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25843 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
25845 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
25846 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
25848 * sysdeps/x86_64/x32/_itoa.h: Add comment.
25850 2012-05-19 Joseph Myers <joseph@codesourcery.com>
25852 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
25853 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
25854 * sysdeps/powerpc/soft-fp/Versions: Likewise.
25855 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
25856 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
25857 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
25858 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
25859 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
25860 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
25861 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
25862 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
25863 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
25864 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
25865 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
25866 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
25867 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
25868 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
25869 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
25870 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
25871 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
25872 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
25873 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
25874 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
25875 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
25876 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
25877 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
25878 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
25879 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
25880 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
25881 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
25882 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
25884 2012-05-18 Andreas Jaeger <aj@suse.de>
25886 * csu/.gitignore: Delete.
25888 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
25890 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
25891 (timex): Use __syscall_slong_t.
25893 2012-05-18 Andreas Jaeger <aj@suse.de>
25894 Carlos O'Donell <carlos_odonell@mentor.com>
25896 * manual/install.texi (Configuring and compiling): Update
25897 description about files modified in the source directory.
25898 * INSTALL: Regenerated.
25900 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
25902 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
25903 value. Use "or" to set return value to -1.
25904 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
25905 negate return value.
25907 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25909 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
25910 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
25911 failure if the compiler has Graphite support disabled.
25912 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
25914 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
25915 CFLAGS-memmove.c): Likewise.
25916 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
25919 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
25921 * sysdeps/x86_64/x32/_itoa.h: New file.
25923 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
25924 getdents system call only if kernel and user dirents have the
25925 same d_ino and d_off.
25927 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
25928 LLONG_MAX != LONG_MAX.
25929 (_itoa_word): Use _ITOA_WORD_TYPE on value.
25930 (_fitoa_word): Likewise.
25932 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
25934 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
25935 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
25936 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
25938 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
25939 include <bits/wordsize.h>. Check __x86_64__ instead of
25941 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
25942 if __x86_64__ is defined. Use anonymous union on fpstate.
25944 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
25947 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
25949 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
25950 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
25951 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
25952 Refer to _rtld_local_ro instead of _rtld_global_ro.
25953 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
25955 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
25957 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
25959 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
25960 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
25961 of _rtld_global, and rtld_progname instead of _dl_argv[0].
25963 * sysdeps/powerpc/powerpc32/dl-machine.c
25964 (__elf_machine_runtime_setup) [PROF]: Don't reference
25967 2012-05-18 Andreas Jaeger <aj@suse.de>
25969 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
25970 function only available for GCCs before 3.4 since GCC 3.4
25971 introduced a builtin.
25973 (llrintf): Likewise.
25974 (llrint): Likewise.
25981 (nearbyint): Likewise.
25982 (nearbyintf): Likewise.
25986 (floorf): Likewise.
25988 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
25990 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
25991 on both fields and cast pointer to __syscall_ulong_t.
25993 * bits/types.h (__fsword_t): New type.
25994 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
25995 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
25996 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
25997 (__FSWORD_T_TYPE): Likewise.
25998 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
25999 (__FSWORD_T_TYPE): Likewise.
26000 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
26001 (__FSWORD_T_TYPE): Likewise.
26002 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
26003 (__FSWORD_T_TYPE): Likewise.
26004 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
26005 __SWORD_TYPE with __fsword_t.
26006 (statfs64): Likewise.
26008 2012-05-17 David S. Miller <davem@davemloft.net>
26010 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
26012 2012-05-17 Andreas Jaeger <aj@suse.de>
26014 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
26017 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
26019 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
26021 2012-05-17 Andreas Jaeger <aj@suse.de>
26023 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
26026 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
26028 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
26030 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
26032 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
26033 * sysdeps/x86_64/tst-mallocalign1.c: New file.
26035 2012-05-17 Andreas Jaeger <aj@suse.de>
26036 Carlos O'Donell <carlos_odonell@mentor.com>
26039 * sysdeps/x86_64/multiarch/init-arch.h
26040 (bit_YMM_Usable): Rename to...
26041 (bit_AVX_Usable): ... this.
26042 (bit_FMA4_Usable): New macro.
26043 (bit_XMM_state): New macro.
26044 (bit_YMM_state): New macro.
26045 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
26046 [__ASSEMBLER__] (index_AVX_Usable): ... this.
26047 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
26048 (CPUID_OSXSAVE): New macro.
26049 (CPUID_AVX): New macro.
26050 (CPUID_FMA4): New macro.
26051 (index_YMM_Usable): Rename to...
26052 (index_AVX_Usable): ... this.
26053 (HAS_AVX): Use HAS_ARCH_FEATURE.
26054 (HAS_FMA4): Likewise.
26055 (HAS_YMM_USABLE): Remove.
26056 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26057 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
26059 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
26060 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
26061 * sysdeps/x86_64/multiarch/Makefile: Likewise.
26062 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
26063 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
26065 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
26067 * math/libm-test.c: Support platforms without multiple rounding modes.
26068 * math/bug-nextafter.c: Support platforms without FP exceptions.
26069 * math/bug-nexttoward.c: Likewise.
26070 * math/test-fenv.c: Likewise.
26071 * math/test-misc.c: Likewise.
26072 * stdlib/bug-getcontext.c: Likewise.
26074 2012-05-17 Andreas Jaeger <aj@suse.de>
26076 * manual/examples/search.c (critter_cmp): Change signature to
26078 * manual/string.texi (Collation Functions): Likewise.
26080 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
26082 * bits/types.h: Fold copyright years.
26083 * bits/typesizes.h: Likewise.
26084 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
26085 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
26086 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
26087 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
26088 * time/time.h: Likewise.
26090 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
26093 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
26094 in instead of returning them. Return void.
26095 (__libc_mallinfo): Accumulate over all arenas.
26096 (__malloc_stats): Adjust for change in int_mallinfo interface.
26098 2012-05-16 Roland McGrath <roland@hack.frob.com>
26101 * configure.in (NM): Add AC_CHECK_TOOL for it.
26102 (libc_extra_cflags): New substituted variable.
26103 Check for -fstack-protector being used implicitly.
26104 * configure: Regenerated.
26105 * config.make.in (config-extra-cflags): New variable,
26106 gets @libc_extra_cflags@.
26107 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
26110 * configure.in: Check for _FORTIFY_SOURCE being predefined.
26111 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
26112 * configure: Regenerated.
26113 * config.make.in (CPPUNDEFS): New substituted variable.
26114 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
26115 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
26116 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
26118 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
26120 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
26121 (mq_attr): Use __syscall_slong_t.
26123 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
26125 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
26126 Check __x86_64__ instead of __WORDSIZE.
26127 (_STAT_VER_LINUX): Likewise.
26128 (stat): Check __x86_64__ instead of __WORDSIZE. Use
26129 __syscall_ulong_t and __syscall_slong_t.
26130 (stat64): Likewise.
26132 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
26134 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
26136 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
26138 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
26140 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
26142 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
26145 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
26146 include <bits/wordsize.h>. Check __x86_64__ instead of
26148 (greg_t): Use "__extension__ long long int" if __x86_64__ is
26150 (mcontext_t): Replace "unsigned long" with "unsigned long long".
26152 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
26153 include <bits/wordsize.h>. Check __x86_64__ instead of
26155 (user_regs_struct): Use "__extension__ unsigned long long"
26156 instead of "unsigned long" if __x86_64__ is defined.
26157 (user): Likewise. Pad after pointer field if __ILP32__ is
26160 2012-05-16 Joseph Myers <joseph@codesourcery.com>
26162 * configure.in (makeinfo): Require version 4.5 or later. Allow
26164 * configure: Regenerated.
26165 * manual/install.texi (texinfo): Increase version requirement to
26167 * INSTALL: Regenerated.
26169 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
26171 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
26173 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
26175 * sysdeps/x86_64/x32/ffs.c: New file.
26177 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
26179 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
26180 defined. Use __syscall_ulong_t.
26181 (shminfo): Use __syscall_ulong_t.
26182 (shm_info): Likewise.
26184 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
26187 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
26189 (msgqnum_t): Use __syscall_ulong_t.
26190 (msglen_t): Likewise.
26191 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
26194 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
26195 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
26197 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
26199 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
26200 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
26202 * sysvipc/sys/msg.h (msgbuf): Replace long int with
26205 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
26206 include <bits/wordsize.h>. Check __x86_64__ instead of
26209 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
26210 "unsigned long long int" if __x86_64__ is defined.
26211 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
26213 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
26214 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
26215 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
26217 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
26219 (GET_PC): Cast to uintptr_t first.
26220 (GET_FRAME): Likewise.
26221 (GET_STACK): Likewise.
26223 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
26224 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
26225 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
26226 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
26227 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
26228 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
26229 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
26230 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
26231 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
26232 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
26233 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
26234 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
26235 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
26236 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
26237 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
26238 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
26239 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
26240 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
26241 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
26242 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
26243 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
26244 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
26245 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
26246 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
26247 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
26248 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
26249 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
26250 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
26251 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
26253 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
26255 * Makerules (+depfiles): Also collect depfiles from .oS in
26257 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
26258 .oS, $(libnldbl-routines)).
26260 * Makerules (native-compile-mkdep-flags): Define.
26261 * sunrpc/Makefile (extra-objs): Add $(addprefix
26262 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
26263 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
26264 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
26265 calling $(make-target-directory).
26267 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
26269 * bits/types.h (__snseconds_t): Removed.
26270 * time/time.h (struct timespec): Replace __snseconds_t with
26272 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
26273 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
26275 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
26276 (__SNSECONDS_T_TYPE): Likewise.
26277 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
26278 (__SNSECONDS_T_TYPE): Likewise.
26279 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
26280 (__SNSECONDS_T_TYPE): Likewise.
26282 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
26284 * sysdeps/mach/hurd/bits/typesizes.h
26285 (__SYSCALL_SLONG_TYPE): New macro.
26286 (__SYSCALL_ULONG_TYPE): Likewise.
26288 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
26290 * bits/types.h (__syscall_slong_t): New type.
26291 (__syscall_ulong_t): Likewise.
26293 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
26294 (__SYSCALL_ULONG_TYPE): Likewise.
26295 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
26296 (__SYSCALL_SLONG_TYPE): Likewise.
26297 (__SYSCALL_ULONG_TYPE): Likewise.
26298 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
26299 (__SYSCALL_SLONG_TYPE): Likewise.
26300 (__SYSCALL_ULONG_TYPE): Likewise.
26301 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
26302 (__SYSCALL_SLONG_TYPE): Likewise.
26303 (__SYSCALL_ULONG_TYPE): Likewise.
26305 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
26307 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
26308 Add sigaltstack-offsets.sym.
26309 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
26310 <sigaltstack-offsets.h>.
26311 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
26312 longjmp_msg pointer.
26313 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
26314 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
26316 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
26318 2012-05-15 Joseph Myers <joseph@codesourcery.com>
26320 * elf/stackguard-macros.h: Remove file.
26321 * sysdeps/generic/stackguard-macros.h: New file.
26322 * sysdeps/i386/stackguard-macros.h: Likewise.
26323 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
26324 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
26325 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
26326 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
26327 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
26328 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
26329 * sysdeps/x86_64/stackguard-macros.h: Likewise.
26330 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
26331 <elf/stackguard-macros.h>.
26334 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
26335 __aligned__ in attribute.
26336 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
26337 (gregset_t): Likewise.
26339 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
26341 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
26342 * sysdeps/x86_64/64/Implies-after: Here. New file.
26343 * sysdeps/x86_64/x32/Implies-after: New file.
26345 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
26347 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
26348 and access return value for _dl_profile_fixup. Use R10_LP to
26351 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
26353 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
26355 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
26357 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
26358 * sysdeps/x86_64/x32/sysdep.h: New file.
26360 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
26362 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
26363 * sysdeps/x86_64/setjmp.S: Likewise.
26365 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26367 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
26368 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
26369 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
26370 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
26371 remove unused global constant.
26373 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
26375 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
26376 include of <not-cancel.h>.
26378 2012-05-15 Roland McGrath <roland@hack.frob.com>
26380 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
26382 2012-05-15 Jeff Law <law@redhat.com>
26383 Andreas Jaeger <aj@suse.de>
26386 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
26388 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
26389 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
26390 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
26391 code changing __hst_map_handle.map.
26393 2012-05-15 Roland McGrath <roland@hack.frob.com>
26395 * configure.in (sysnames): Look for Implies-before and Implies-after
26397 * configure: Regenerated.
26399 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
26401 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
26402 8-byte data alignment with LP_SIZE alignment.
26404 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
26406 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
26409 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
26411 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
26413 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
26415 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
26416 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
26417 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
26419 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
26421 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
26423 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
26424 (stackinfo_sub_sp): Likewise.
26426 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
26428 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
26431 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
26433 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
26436 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
26438 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
26441 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
26443 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
26445 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
26447 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
26448 into R11_LP and load __x86_64_shared_cache_size_half into
26451 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
26453 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
26456 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26458 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
26460 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
26462 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
26464 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
26465 powerpc32/power7/fpu/s_logb.c via #include.
26466 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
26467 powerpc32/power7/fpu/s_logbf.c via #include.
26468 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
26469 powerpc32/power7/fpu/s_logbl.c via #include.
26471 2012-05-15 Joseph Myers <joseph@codesourcery.com>
26473 * README.libm: Remove file.
26475 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
26477 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
26478 count for x32. Use R*_LP and omit operand-size suffix.
26480 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
26482 * shlib-versions: Move x86_64-.*-linux.* entries to ...
26483 * sysdeps/x86_64/64/shlib-versions: Here. New file.
26484 * sysdeps/x86_64/x32/shlib-versions: New file.
26486 2012-05-14 Roland McGrath <roland@hack.frob.com>
26488 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
26489 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
26490 Use _dl_fatal_printf instead.
26492 2012-05-14 Joseph Myers <joseph@codesourcery.com>
26494 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
26495 set if not set by the user. Do not allow for being unset.
26496 * sysdeps/unix/sysv/linux/configure: Regenerated.
26498 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
26500 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
26501 the `q' suffix from lea and replace .quad with ASM_ADDR.
26503 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
26505 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
26506 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
26508 (PTR_DEMANGLE): Likewise.
26510 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
26512 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
26514 (ASM_ADDR): Likewise.
26515 (RAX_LP): Likewise.
26516 (RBP_LP): Likewise.
26517 (RBX_LP): Likewise.
26518 (RCX_LP): Likewise.
26519 (RDI_LP): Likewise.
26520 (RSI_LP): Likewise.
26521 (RSP_LP): Likewise.
26524 (R10_LP): Likewise.
26525 (R10_LP): Likewise.
26526 (R11_LP): Likewise.
26527 (R12_LP): Likewise.
26528 (R13_LP): Likewise.
26529 (R14_LP): Likewise.
26530 (R15_LP): Likewise.
26532 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
26534 * sysdeps/x86_64/x32/dl-machine.h: New file.
26536 2012-05-14 Andreas Jaeger <aj@suse.de>
26538 * manual/Makefile (subdir): Remove export of subdir.
26539 (all): Remove target.
26540 (.PHONY): Remove all from list.
26541 (mkinstalldirs): Remove.
26542 (.PHONY): Remove installdirs from list.
26543 ($(inst_infodir)/libc.info): Use make-target-directory.
26544 (installdirs): Remove.
26545 (subdir_%): Remove.
26546 (glibc-targets): Remove.
26549 ($(objpfx)stubs ../po/manual.pot): Remove.
26550 ($(objpfx)stamp%): Remove.
26551 (make-target-directory): Remove.
26552 (subdir_install): Remove.
26553 (routines): Remove.
26560 * manual/.gitignore: Remove, it's not needed anymore.
26561 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
26563 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
26565 (texis): Renamed to $(objpfx)texis.
26566 (texis-path): New, contains path to generated files.
26567 (chapters.%): Use texis-path for complete path, add extra argument
26569 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
26570 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
26571 (summary,texi, stamp-summary): Use complete path of
26572 files. Generate files in build dir.
26573 (dir-add.texi): Build in build dir.
26574 (libm-err.texi,stamp-libm-err): Likewise.
26575 (version.texi, stamp-version): Likewise.
26576 (.%c.texi): Likewise.
26577 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
26578 (mostlyclean): Remove target.
26579 (realclean): Remove target.
26580 (generated): Add new variable with contents from mostlyclean and
26581 realclean, remove entries duplicated in common-mostlyclean, add
26582 stamp-libm-err and stamp-version.
26583 (generated-dirs): Add libc directory.
26584 ($(inst_infodir)/libc.info): Install files from build dir.
26586 * manual/install.texi (Configuring and compiling): Adjust since
26587 the info files are not part of the tar ball anymore.
26589 2012-05-14 Andreas Jaeger <aj@suse.de>
26591 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
26594 2012-05-14 Joseph Myers <joseph@codesourcery.com>
26597 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
26598 to 2.2.0 where earlier.
26599 * sysdeps/unix/sysv/linux/configure: Regenerated.
26600 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
26601 Remove conditional code.
26602 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
26603 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
26604 Remove conditional code.
26605 [!__NR_lchown]: Likewise.
26606 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
26607 [__NR_lchown]: Likewise.
26608 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
26609 comment referencing __ASSUME_LCHOWN_SYSCALL.
26610 * sysdeps/unix/sysv/linux/i386/sigaction.c
26611 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
26612 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
26613 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
26614 Remove conditional code.
26615 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
26616 (__protocol_available): Remove #if 0 code.
26617 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
26619 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
26620 * sysdeps/unix/sysv/linux/kernel-features.h
26621 (__ASSUME_GETCWD_SYSCALL): Don't define.
26622 (__ASSUME_REALTIME_SIGNALS): Likewise.
26623 (__ASSUME_PREAD_SYSCALL): Likewise.
26624 (__ASSUME_PWRITE_SYSCALL): Likewise.
26625 (__ASSUME_POLL_SYSCALL): Likewise.
26626 (__ASSUME_LCHOWN_SYSCALL): Likewise.
26627 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
26629 (__ASSUME_SIOCGIFNAME): Don't define.
26630 (__ASSUME_MSG_NOSIGNAL): Likewise.
26631 (__ASSUME_SENDFILE): Define unconditionally.
26632 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
26633 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
26635 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
26636 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
26637 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
26638 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
26639 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
26640 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
26641 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
26642 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
26643 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
26644 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
26645 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
26646 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
26647 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
26648 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
26649 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
26650 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
26651 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
26652 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
26653 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
26654 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
26655 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
26656 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
26657 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
26658 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
26659 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
26660 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
26661 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
26662 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
26663 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
26664 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
26665 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
26666 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
26667 Remove conditional code.
26668 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
26669 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
26670 Remove conditional code.
26671 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
26672 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
26673 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
26674 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
26675 Remove conditional code.
26676 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
26677 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
26678 Remove conditional code.
26679 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
26680 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
26681 Remove conditional code.
26682 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
26683 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
26684 Remove conditional code.
26685 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
26686 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
26687 Remove conditional code.
26688 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
26689 * sysdeps/unix/sysv/linux/sh/pwrite64.c
26690 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
26691 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
26692 * sysdeps/unix/sysv/linux/sigaction.c
26693 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
26694 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
26695 * sysdeps/unix/sysv/linux/sigpending.c
26696 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
26697 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
26698 * sysdeps/unix/sysv/linux/sigprocmask.c
26699 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
26700 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
26701 * sysdeps/unix/sysv/linux/sigsuspend.c
26702 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
26703 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
26704 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
26705 (__libc_missing_rt_sigs): Remove.
26706 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
26707 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
26708 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
26709 Remove conditional code.
26710 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
26711 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
26713 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
26714 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
26715 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
26716 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
26718 2012-05-14 Andreas Jaeger <aj@suse.de>
26720 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
26721 it's not used in glibc.
26722 (__coshm1): Likewise.
26723 (__acosh1p): Likewise.
26726 * manual/string.texi (Copying and Concatenation): Add missing
26727 variable in concat example.
26728 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
26730 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
26733 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
26734 __builtin_clzl with __builtin_clzll.
26736 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
26739 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
26742 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26744 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
26745 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
26746 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
26747 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
26749 2012-05-14 Mike Frysinger <vapier@gentoo.org>
26751 * NEWS: Update ia64 info.
26753 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
26755 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
26758 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
26760 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
26761 * sysdeps/unix/syscalls.list (dup3): Likewise.
26762 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
26763 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
26765 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
26767 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
26768 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
26770 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
26772 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
26774 (TLS_IE): Use mov/add instead of movq/addq to load thread
26776 (TLS_GD_PREFIX): New.
26779 2012-05-11 David S. Miller <davem@davemloft.net>
26781 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
26782 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
26783 (_FPU_SETCW): Likewise.
26785 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
26787 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
26788 is 32-byte aligned.
26790 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
26793 * iconvdata/gb18030.c: Update tables.
26794 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
26795 characters specially.
26796 (BODY for TO_LOOP): Add encoding of missing ranges.
26798 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
26801 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
26802 * sysdeps/mach/hurd/dup3.c: Likewise.
26803 * sysdeps/mach/hurd/readlinkat.c: Likewise.
26804 * sysdeps/powerpc/memmove.c:: Likewise.
26806 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
26808 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
26809 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
26811 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
26813 * elf/elf.h (R_X86_64_RELATIVE64): New.
26814 (R_X86_64_NUM): Updated.
26815 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
26816 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
26817 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
26818 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
26819 tst-quad1pie tst-quad2pie
26820 (modules-names): Add tst-quadmod1 tst-quadmod2.
26821 ($(objpfx)tst-quad1): New dependency.
26822 ($(objpfx)tst-quad2): Likewise.
26823 ($(objpfx)tst-quad1pie): Likewise.
26824 ($(objpfx)tst-quad2pie): Likewise.
26825 * sysdeps/x86_64/tst-quad1.c: New file.
26826 * sysdeps/x86_64/tst-quad1pie.c: New file.
26827 * sysdeps/x86_64/tst-quad2.c: Likewise.
26828 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
26829 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
26830 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
26831 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
26832 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
26834 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26836 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
26837 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
26838 * streams/stropts.h (t_scalar_t): Define type.
26840 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
26841 (_PATH_PRESERVE): Set to "/var/lib".
26842 (_PATH_RWHODIR): Set to "/var/spool/rwho".
26844 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
26847 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
26848 if __dir_mkfile succeeded.
26850 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
26851 checking for _hurd_dtablesize. Unlock it right after having
26852 finished _hurd_dtable allocation.
26854 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
26856 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
26857 * sysdeps/mach/hurd/configure: Regenerated.
26858 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
26859 special-casing to...
26860 * sysdeps/gnu/configure.in: ... this new file.
26861 * sysdeps/unix/sysv/linux/configure: Regenerated.
26862 * sysdeps/gnu/configure: New generated file.
26864 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
26865 for Linux: use nsec instead of usec, as well as:
26866 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
26867 members of type struct timespec.
26868 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
26870 (struct stat64): Likewise.
26871 (_STATBUF_ST_NSEC): New macro.
26872 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
26874 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
26875 __strtoul_internal rather than strtoul.
26877 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
26879 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
26882 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26884 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
26885 which preserves existing values.
26886 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
26888 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
26890 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
26891 TIMEOUT values. Return EINVAL for NFDS values either negative or
26892 greater than FD_SETSIZE.
26894 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26896 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
26897 allocated, call __vm_protect to finish enabling the existing space, and
26898 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
26899 allocate the remainder.
26901 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
26903 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
26904 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
26906 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26908 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
26909 sysdeps/mach/hurd/readlink.c.
26911 * posix/tst-sysconf.c (posix_options): Only use
26912 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
26913 _POSIX_SYNCHRONIZED_IO when they are defined
26914 * sysdeps/mach/hurd/bits/posix_opt.h:
26915 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
26916 (_XOPEN_REALTIME): Undefine macro.
26917 (_XOPEN_REALTIME_THREADS): Undefine macro.
26918 (_XOPEN_SHM): Undefine macro.
26919 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
26921 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
26923 (_POSIX_ASYNC_IO): Undefine macro.
26924 (_POSIX_PRIORITIZED_IO): Undefine macro.
26925 (_POSIX_SPIN_LOCKS): Define macro to -1.
26927 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
26928 SA_NODEFER, SA_RESETHAND.
26929 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
26930 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
26933 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
26935 * elf/Makefile (pldd-modules): Define unconditionally.
26937 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
26939 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
26941 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26943 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
26944 Return ENOENT when name is empty.
26945 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
26947 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
26949 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
26951 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
26953 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26955 Fix mlock in all cases except non-readable pages.
26956 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
26957 instead of VM_PROT_ALL as parameter to __vm_wire function.
26959 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
26960 (__mkdir): When path is `/', just fail with EEXIST.
26961 * sysdeps/mach/hurd/mkdirat.c: Likewise.
26963 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
26965 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
26966 <sys/uio.h> (for writev).
26967 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
26968 and <sys/param.h> (for MIN).
26970 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
26972 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
26973 REQUESTED_TIME. Properly set the remaining time and return EINTR
26976 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
26978 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
26979 Depend on against $(link-rpcuserlibs).
26981 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26983 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
26984 (__libc_stack_end): Do not use attribute_relro.
26985 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
26986 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
26987 to libthread-provided value.
26988 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
26991 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
26994 * bits/libc-lock.h (__libc_once_get): New macro.
26995 * sysdeps/mach/bits/libc-lock.h: Likewise.
26996 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
26997 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
26998 instead of using implementation details.
27000 * libio/fileops.c: Unconditionally include <kernel-features.h>.
27001 * libio/freopen.c: Likewise.
27002 * libio/freopen64.c: Likewise.
27003 * misc/syslog.c: Likewise.
27004 * nscd/connections.c: Likewise.
27005 * nscd/netgroupcache.c: Likewise.
27006 * sysdeps/posix/getcwd.c: Likewise.
27008 2012-05-10 Roland McGrath <roland@hack.frob.com>
27010 * math/w_ilogbf.c: Add #include <limits.h>.
27012 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
27014 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
27015 path instead of returning without unlocking.
27017 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
27018 immediate-write ioctls.
27019 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
27021 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
27023 * sysdeps/mach/hurd/i386/init-first.c (init): Use
27024 __builtin_frame_address instead of making assumptions about the
27025 location of the return address relative to DATA. Force early load of
27026 the return address.
27027 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
27028 __builtin_frame_address.
27031 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
27032 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
27033 implement dup3 and do some further code clean-ups.
27034 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
27035 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
27037 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
27039 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
27041 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
27042 HURD_CRITICAL_END around holding _hurd_dtable_lock.
27043 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
27044 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
27045 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
27048 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
27049 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
27050 when handler == SIG_ERR, not when handler != SIG_ERR.
27052 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
27054 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
27055 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
27058 accept4 for GNU Hurd.
27059 * include/sys/socket.h (__libc_accept4): New prototype.
27060 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
27061 to implement __libc_accept4.
27062 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
27064 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
27066 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
27067 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
27068 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
27069 signal-defines.sym.
27071 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
27073 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
27075 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
27077 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
27078 assertion on O_CLOEXEC flag.
27079 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
27080 * hurd/intern-fd.c: Likewise.
27081 * hurd/port2fd.c: Likewise.
27083 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
27086 * bits/in.h (IPV6_PKTINFO): Define new macro.
27087 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
27089 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27094 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
27095 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
27096 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
27097 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
27098 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
27099 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
27100 * math/libm-test.inc (logb_test) : Additional logb tests.
27102 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
27103 Andreas Jaeger <aj@suse.de>
27105 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
27106 * configure: Regenerated.
27107 * config.h.in (LINK_OBSOLETE_RPC): New macro.
27108 * config.make.in (link-obsolete-rpc): New substituted variable.
27109 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
27110 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
27111 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
27112 (shared-only-routines): Don't set it under [link-obsolete-rpc],
27113 so that libc.a contains the symbols.
27114 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
27115 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
27116 * sunrpc/auth_none.c: Likewise.
27117 * sunrpc/auth_unix.c: Likewise.
27118 * sunrpc/authdes_prot.c: Likewise.
27119 * sunrpc/authuxprot.c: Likewise.
27120 * sunrpc/clnt_gen.c: Likewise.
27121 * sunrpc/clnt_perr.c: Likewise.
27122 * sunrpc/clnt_raw.c: Likewise.
27123 * sunrpc/clnt_simp.c: Likewise.
27124 * sunrpc/clnt_tcp.c: Likewise.
27125 * sunrpc/clnt_udp.c: Likewise.
27126 * sunrpc/clnt_unix.c: Likewise.
27127 * sunrpc/des_crypt.c: Likewise.
27128 * sunrpc/des_soft.c: Likewise.
27129 * sunrpc/get_myaddr.c: Likewise.
27130 * sunrpc/key_call.c: Likewise.
27131 * sunrpc/key_prot.c: Likewise.
27132 * sunrpc/netname.c: Likewise.
27133 * sunrpc/pm_getmaps.c: Likewise.
27134 * sunrpc/pm_getport.c: Likewise.
27135 * sunrpc/pmap_clnt.c: Likewise.
27136 * sunrpc/pmap_prot.c: Likewise.
27137 * sunrpc/pmap_prot2.c: Likewise.
27138 * sunrpc/pmap_rmt.c: Likewise.
27139 * sunrpc/publickey.c: Likewise.
27140 * sunrpc/rpc_cmsg.c: Likewise.
27141 * sunrpc/rpc_common.c: Likewise.
27142 * sunrpc/rpc_dtable.c: Likewise.
27143 * sunrpc/rpc_prot.c: Likewise.
27144 * sunrpc/rpc_thread.c: Likewise.
27145 * sunrpc/rtime.c: Likewise.
27146 * sunrpc/svc.c: Likewise.
27147 * sunrpc/svc_auth.c: Likewise.
27148 * sunrpc/svc_raw.c: Likewise.
27149 * sunrpc/svc_run.c: Likewise.
27150 * sunrpc/svc_tcp.c: Likewise.
27151 * sunrpc/svc_udp.c: Likewise.
27152 * sunrpc/svc_unix.c: Likewise.
27153 * sunrpc/svcauth_des.c: Likewise.
27154 * sunrpc/xcrypt.c: Likewise.
27155 * sunrpc/xdr.c: Likewise.
27156 * sunrpc/xdr_array.c: Likewise.
27157 * sunrpc/xdr_float.c: Likewise.
27158 * sunrpc/xdr_intXX_t.c: Likewise.
27159 * sunrpc/xdr_mem.c: Likewise.
27160 * sunrpc/xdr_rec.c: Likewise.
27161 * sunrpc/xdr_ref.c: Likewise.
27162 * sunrpc/xdr_sizeof.c: Likewise.
27163 * sunrpc/xdr_stdio.c: Likewise.
27165 2012-05-10 Roland McGrath <roland@hack.frob.com>
27167 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
27168 change. Update copyright years.
27170 2012-05-10 Joseph Myers <joseph@codesourcery.com>
27172 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
27174 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
27175 Joseph Myers <joseph@codesourcery.com>
27176 Paul Pluzhnikov <ppluzhnikov@google.com>
27179 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
27181 [cross-compiling] (extra-libs): Likewise.
27182 [cross-compiling] (extra-libs-others): Likewise.
27183 [cross-compiling] (librpcsvc-routines): Likewise.
27184 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
27185 [cross-compiling] (omit-deps): Likewise.
27186 (sunrpc-CPPFLAGS): New variable.
27187 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
27188 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
27189 (cross-rpcgen-objs): New variable.
27190 (extra-objs): Append $(cross-rpcgen-objs).
27191 ($(cross-rpcgen-objs)): New rule.
27192 ($(objpfx)cross-rpcgen): Likewise.
27193 (rpcgen-cmd): Define to use $(built-program-file). Expand
27195 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
27196 ($(objpfx)x%.stmp): Likewise.
27197 * sunrpc/proto.h [IS_IN_build] (_): Define.
27198 [IS_IN_build] (_libc_intl_domainname): Likewise.
27200 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
27202 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
27203 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
27204 and R_X86_64_TPOFF64.
27206 2012-05-10 Joseph Myers <joseph@codesourcery.com>
27208 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
27209 sysdeps/unix/sysv/syscalls.list.
27212 * sysdeps/unix/sysv/syscalls.list: Remove file.
27214 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
27217 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
27218 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
27219 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
27220 (__LC_IDENTIFICATION): Make these macros useful in #if
27221 expressions, as required by C99.
27223 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
27225 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
27226 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
27229 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
27231 * stdlib/longlong.h: Updated from GCC.
27233 2012-05-09 Andreas Jaeger <aj@suse.de>
27235 * nscd/nscd.c (run_modes): Make named enum, reorder so that
27236 default is first entry.
27237 (run_mode): Set type.
27238 (main): Remove informal message about syslog.
27239 (options): Fix typo.
27242 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
27245 (llrintf): Likewise.
27246 (llrint): Likewise.
27249 (nearbyint): Likewise.
27250 (nearbyintf): Likewise.
27252 2012-05-09 Andreas Jaeger <aj@suse.de>
27253 Pedro Alves <palves@redhat.com>
27255 * nscd/nscd.c (run_mode): Use enum.
27256 (main): Cleanup coding style issue.
27258 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
27259 Andreas Jaeger <aj@suse.de>
27261 * nscd/nscd.c (go_background): Replaced with...
27262 (run_mode): ... this.
27263 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
27264 (options): Add -F --foreground.
27265 (main): Implement it.
27266 (parse_opt): Parse it.
27268 2012-05-09 Andreas Jaeger <aj@suse.de>
27271 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
27272 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
27273 -Wconversion warning.
27274 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
27277 2012-05-09 Joseph Myers <joseph@codesourcery.com>
27279 * conform/data/locale.h-data (NULL): Use macro-constant. Require
27281 (LC_ALL): Use macro-int-constant.
27282 (LC_COLLATE): Likewise.
27283 (LC_CTYPE): Likewise.
27284 (LC_MESSAGES): Likewise.
27285 (LC_MONETARY): Likewise.
27286 (LC_NUMERIC): Likewise.
27287 (LC_TIME): Likewise.
27288 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
27289 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
27290 [ISO || ISO99 || ISO11] (*_t): Do not allow.
27291 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
27293 [C99-based standards] (float_t): Expect type.
27294 [C99-based standards] (double_t): Expect type.
27295 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
27297 [C99-based standards] (HUGE_VALL): Likewise.
27298 [C99-based standards] (INFINITY): Likewise.
27299 [C99-based standards] (NAN): Likewise.
27300 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
27301 [C99-based standards] (FP_NAN): Likewise.
27302 [C99-based standards] (FP_NORMAL): Likewise.
27303 [C99-based standards] (FP_SUBNORMAL): Likewise.
27304 [C99-based standards] (FP_ZERO): Likewise.
27305 [C99-based standards] (FP_FAST_FMA): Use
27306 optional-macro-int-constant. Specify type. Require == 1.
27307 [C99-based standards] (FP_FAST_FMAF): Likewise.
27308 [C99-based standards] (FP_FAST_FMAL): Likewise.
27309 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
27310 [C99-based standards] (FP_ILOGBNAN): Likewise.
27311 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
27313 [C99-based standards] (MATH_ERREXCEPT): Likewise.
27314 [C99-based standards] (math_errhandling): Specify type.
27315 [ISO99 || ISO11] (signgam): Do not allow.
27316 [non-C99-based standards] (copysignf): Do not allow.
27317 [non-C99-based standards] (exp2f): Likewise.
27318 [non-C99-based standards] (log2f): Likewise.
27319 [non-C99-based standards] (modff): Allow.
27320 [non-C99-based standards] (erff): Do not allow.
27321 [non-C99-based standards] (erfcf): Likewise.
27322 [non-C99-based standards] (gammaf): Likewise.
27323 [non-C99-based standards] (hypotf): Likewise.
27324 [non-C99-based standards] (j0f): Likewise.
27325 [non-C99-based standards] (j1f): Likewise.
27326 [non-C99-based standards] (jnf): Likewise.
27327 [non-C99-based standards] (lgammaf): Likewise.
27328 [non-C99-based standards] (tgammaf): Likewise.
27329 [non-C99-based standards] (y0f): Likewise.
27330 [non-C99-based standards] (y1f): Likewise.
27331 [non-C99-based standards] (ynf): Likewise.
27332 [non-C99-based standards] (isnanf): Likewise.
27333 [non-C99-based standards] (acoshf): Likewise.
27334 [non-C99-based standards] (asinhf): Likewise.
27335 [non-C99-based standards] (atanhf): Likewise.
27336 [non-C99-based standards] (cbrtf): Likewise.
27337 [non-C99-based standards] (expm1f): Likewise.
27338 [non-C99-based standards] (ilogbf): Likewise.
27339 [non-C99-based standards] (log1pf): Likewise.
27340 [non-C99-based standards] (logbf): Likewise.
27341 [non-C99-based standards] (nextafterf): Likewise.
27342 [non-C99-based standards] (remainderf): Likewise.
27343 [non-C99-based standards] (rintf): Likewise.
27344 [non-C99-based standards] (scalbf): Likewise.
27345 [non-C99-based standards] (copysignl): Likewise.
27346 [non-C99-based standards] (exp2l): Likewise.
27347 [non-C99-based standards] (log2l): Likewise.
27348 [non-C99-based standards] (modfl): Allow.
27349 [non-C99-based standards] (erfl): Do not allow.
27350 [non-C99-based standards] (erfcl): Likewise.
27351 [non-C99-based standards] (gammal): Likewise.
27352 [non-C99-based standards] (hypotl): Likewise.
27353 [non-C99-based standards] (j0l): Likewise.
27354 [non-C99-based standards] (j1l): Likewise.
27355 [non-C99-based standards] (jnl): Likewise.
27356 [non-C99-based standards] (lgammal): Likewise.
27357 [non-C99-based standards] (tgammal): Likewise.
27358 [non-C99-based standards] (y0l): Likewise.
27359 [non-C99-based standards] (y1l): Likewise.
27360 [non-C99-based standards] (ynl): Likewise.
27361 [non-C99-based standards] (isnanl): Likewise.
27362 [non-C99-based standards] (acoshl): Likewise.
27363 [non-C99-based standards] (asinhl): Likewise.
27364 [non-C99-based standards] (atanhl): Likewise.
27365 [non-C99-based standards] (cbrtl): Likewise.
27366 [non-C99-based standards] (expm1l): Likewise.
27367 [non-C99-based standards] (ilogbl): Likewise.
27368 [non-C99-based standards] (log1pl): Likewise.
27369 [non-C99-based standards] (logbl): Likewise.
27370 [non-C99-based standards] (nextafterl): Likewise.
27371 [non-C99-based standards] (remainderl): Likewise.
27372 [non-C99-based standards] (rintl): Likewise.
27373 [non-C99-based standards] (scalbl): Likewise.
27374 [ISO || ISO99 || ISO11] (*_t): Do not allow.
27375 [non-C99-based standards] (FP_*): Do not allow.
27376 [C99-based standards] (FP_*): Change to
27377 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
27378 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
27380 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
27381 (SIG_ERR): Likewise.
27382 [X/Open-based standards] (SIG_HOLD): Likewise.
27383 (SIG_IGN): Likewise.
27384 (SIGABRT): Use macro-int-constant. Specify type. Require
27386 (SIGFPE): Likewise.
27387 (SIGILL): Likewise.
27388 (SIGINT): Likewise.
27389 (SIGSEGV): Likewise.
27390 (SIGTER): Likewise.
27391 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
27392 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
27393 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
27394 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
27395 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
27396 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
27397 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
27398 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
27399 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
27400 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
27401 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
27402 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
27403 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
27404 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
27405 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
27406 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
27407 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
27408 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
27409 [X/Open-based standards] (SIGTRAP): Likewise.
27410 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
27411 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
27412 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
27413 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
27414 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
27417 2012-05-08 Ian Wienand <ianw@vmware.com>
27420 * time/tzset.c (__tzset_parse_tz): Update default rules for
27421 daylight time changes in the Energy Policy Act of 2005.
27423 2012-05-09 Andreas Jaeger <aj@suse.de>
27426 * elf/ldconfig.c (parse_conf): Change string to make clear that
27427 ldconfig only issued a warning if ld.so.conf does not exist.
27429 2012-05-08 David S. Miller <davem@davemloft.net>
27431 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
27432 movxtod instead of popping the value on the stack.
27434 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27436 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
27438 * config.h.in: Add HAVE_ARM_PCS_VFP.
27440 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
27443 * include/features.h: Warn if user requests __FORTIFY_SOURCE
27444 checking but the checks are disabled for any reason.
27446 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
27448 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
27449 and ELF64_R_TYPE with ELFW(R_TYPE).
27451 2012-05-08 Joseph Myers <joseph@codesourcery.com>
27453 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
27454 (ulimit): Likewise.
27456 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
27457 (settimeofday): Likewise.
27459 2012-05-08 Mike Frysinger <vapier@gentoo.org>
27461 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
27462 a struct th_u2 inside the union, and move tu_block/tu_code into
27463 a new th_u3 union of tu_block/tu_code inside of that. Move
27464 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
27465 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
27466 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
27467 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
27468 (th_stuff): Change to th_u1.tu_stuff.
27470 (th_msg): Change to th_u1.th_u2.tu_data.
27472 2012-05-07 David S. Miller <davem@davemloft.net>
27474 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27477 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
27478 (SETUP_PIC_REG): Use it.
27479 (SETUP_PIC_REG_LEAF): Use it.
27481 2012-05-07 Joseph Myers <joseph@codesourcery.com>
27485 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
27487 (EXPL_FINITE): Likewise.
27488 (FLDLOG): Likewise.
27489 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
27490 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
27492 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
27494 (EXPL_FINITE): Likewise.
27495 (FLDLOG): Likewise.
27496 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
27497 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
27499 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
27500 test of -max_value argument for long double.
27501 * sysdeps/i386/fpu/libm-test-ulps: Update.
27502 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27504 2012-05-06 David S. Miller <davem@davemloft.net>
27506 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
27507 quad soft-float symbols whose references which are compiler
27509 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
27511 2012-05-06 Joseph Myers <joseph@codesourcery.com>
27515 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
27517 (EXPL_FINITE): Likewise.
27518 (FLDLOG): Likewise.
27521 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
27522 Adjust comments for base varying.
27523 (__expl_finite): Change alias to EXPL_FINITE.
27524 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
27526 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
27527 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
27528 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
27529 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
27530 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
27532 (EXPL_FINITE): Likewise.
27533 (FLDLOG): Likewise.
27536 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
27537 Adjust comments for base varying.
27538 (__expl_finite): Change alias to EXPL_FINITE.
27539 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
27541 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27544 * math/libm-test.inc (check_float_internal): Correct ulp
27545 calculation for subnormal expected results.
27547 2012-05-06 Andreas Jaeger <aj@suse.de>
27549 * Makeconfig (+math-flags): New, set to -frounding-math.
27550 (+cflags): Add +math-flags so that all of glibc gets compiled with
27553 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
27555 2012-05-05 Joseph Myers <joseph@codesourcery.com>
27557 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
27563 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
27564 (__ieee754_expl): Allow for and saturate large arguments.
27565 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
27566 (u_threshold): Likewise.
27567 (__exp): Call __ieee754_exp before checking for overflow and
27569 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
27570 (u_threshold): Likewise.
27571 (__expf): Call __ieee754_expf before checking for overflow and
27573 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
27574 (u_threshold): Likewise.
27575 (__expl): Call __ieee754_expl before checking for overflow and
27577 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
27578 (__ieee754_expl): Allow for and saturate large arguments.
27579 * math/libm-test.inc (exp_test): Add another test. Do not allow
27580 missing overflow exception on overflow.
27581 (expm1_test): Do not allow missing overflow exception on overflow.
27583 * sysdeps/i386/fpu/e_expl.c: Move to ...
27584 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
27585 rather than using inline asm.
27586 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
27587 * sysdeps/x86_64/fpu/e_expl.S: Copy from
27588 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
27590 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
27593 (signal): Likewise.
27597 2012-05-04 Joseph Myers <joseph@codesourcery.com>
27599 * sysdeps/unix/syscalls.list (adjtime): Add entry from
27600 sysdeps/unix/common/syscalls.list.
27601 (fchmod): Likewise.
27602 (fchown): Likewise.
27603 (ftruncate): Likewise.
27604 (getrusage): Likewise.
27605 (gettimeofday): Likewise.
27606 (setpgid): Likewise.
27607 (setregid): Likewise.
27608 (setreuid): Likewise.
27609 (sigaction): Likewise.
27610 (truncate): Likewise.
27611 (vhangup): Likewise.
27612 * sysdeps/unix/common/syscalls.list: Remove file.
27613 * sysdeps/unix/bsd/Implies: Don't include unix/common.
27614 * sysdeps/unix/sysv/linux/Implies: Likewise.
27616 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
27618 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
27619 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
27620 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
27622 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
27624 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
27626 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
27627 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
27629 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
27630 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
27632 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
27633 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
27635 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
27636 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
27638 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
27639 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
27641 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
27642 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
27644 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
27646 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
27648 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
27650 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
27652 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
27653 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
27655 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
27657 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
27659 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
27661 2012-05-04 Joseph Myers <joseph@codesourcery.com>
27663 * sysdeps/unix/common/bits/dirent.h: Remove file.
27664 * sysdeps/unix/common/bits/fcntl.h: Likewise.
27666 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
27667 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
27668 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
27669 * sysdeps/unix/bsd/isatty.c: Likewise.
27670 * sysdeps/unix/bsd/tcdrain.c: Likewise.
27671 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
27672 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
27674 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27677 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
27678 long double comparison inaccuracies.
27679 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
27680 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27682 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
27684 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
27685 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
27687 2012-05-04 Joseph Myers <joseph@codesourcery.com>
27690 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
27691 nonzero digits before rounding a hex value.
27692 * stdlib/tst-strtod.c (tests): Add another test.
27694 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27696 * sysdeps/s390/fpu/libm-test-ulps: Update.
27698 2012-05-03 Andreas Jaeger <aj@suse.de>
27700 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
27701 does not get optimized out.
27702 (malloc_opt_barrier): New.
27704 2012-05-03 Andreas Jaeger <aj@suse.de>
27705 Roland McGrath <roland@hack.frob.com>
27707 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
27708 intermediate file deletion.
27709 (generated): Add .symlist files.
27711 2012-05-03 Joseph Myers <joseph@codesourcery.com>
27714 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
27715 Redirect under this condition.
27716 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
27717 [__USE_GNU] (__dprintf_chk): Not under this condition.
27718 [__USE_GNU] (__vdprintf_chk): Likewise.
27719 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
27720 under this condition.
27721 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
27722 [__USE_XOPEN2K8] (dprintf): Define under this condition.
27723 [__USE_XOPEN2K8] (vdprintf): Likewise.
27724 [__USE_GNU] (__dprintf_chk): Not under this condition.
27725 [__USE_GNU] (__vdprintf_chk): Likewise.
27726 [__USE_GNU] (dprintf): Likewise.
27727 [__USE_GNU] (vdprintf): Likewise.
27729 2012-05-03 Roland McGrath <roland@hack.frob.com>
27731 * elf/Makefile (common-generated): Set this instead of generated for
27732 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
27733 $(all-built-dso)-derived lists.
27735 2012-05-03 Andreas Jaeger <aj@suse.de>
27737 * sysdeps/i386/fpu/libm-test-ulps: Update.
27740 * FAQ.in: Likewise.
27741 * scripts/gen-FAQ.pl: Likewise.
27742 * manual/install.texi (Installation): Point to online location of
27744 * Makefile (files-for-dist): Remove FAQ.
27747 2012-05-02 Allan McRae <allan@archlinux.org>
27749 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
27750 (LDFLAGS-reldepmod5.so): Likewise.
27751 (LDFLAGS-reldep6mod1.so): Likewise.
27752 (LDFLAGS-reldep6mod4.so): Likewise.
27753 (LDFLAGS-reldep8mod3.so): Likewise.
27754 (LDFLAGS-unload4mod1.so): Likewise.
27755 (LDFLAGS-unload4mod2.so): Likewise.
27756 (LDFLAGS-tst-initorder): Likewise.
27757 (LDFLAGS-tst-initordera2.so): Likewise.
27758 (LDFLAGS-tst-initordera3.so): Likewise.
27759 (LDFLAGS-tst-initordera4.so): Likewise.
27760 (LDFLAGS-tst-initorderb2.so): Likewise.
27761 (LDFLAGS-noload): Likewise.
27762 (LDFLAGS-next): Likewise.
27763 (LDFLAGS-order2mod1.so): Likewise.
27764 (LDFLAGS-order2mod2.so): Likewise.
27765 (LDFLAGS-tst-initorder2): Likewise.
27766 (LDFLAGS-tst-initorder2a.so): Likewise.
27767 (LDFLAGS-tst-initorder2b.so): Likewise.
27768 (LDFLAGS-tst-initorder2c.so): Likewise.
27769 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
27771 2012-05-02 David S. Miller <davem@davemloft.net>
27773 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27775 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
27778 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
27780 2012-05-02 Andreas Jaeger <aj@suse.de>
27782 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
27783 since we manipulate rounding mode.
27784 (CPPFLAGS-test-idouble.c): Likewise.
27785 (CPPFLAGS-test-ifloat.c): Likewise.
27786 (CFLAGS-test-ldouble.c): Likewise.
27787 (CFLAGS-test-double.c): Likewise.
27788 (CFLAGS-test-float.c): Likewise.
27789 (CFLAGS-test-misc.c): Likewise.
27790 (CFLAGS-test-test-fenv.c): Likewise.
27792 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27796 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
27797 comparisons to determine direction to adjust input.
27799 2012-05-01 Roland McGrath <roland@hack.frob.com>
27801 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
27802 output to the target.
27804 * scripts/localplt.awk: New file.
27805 * elf/Makefile ($(objpfx)check-localplt): Target removed.
27806 (check-localplt-CFLAGS): Variable removed.
27807 ($(all-built-dso:=.jmprel)): New static pattern rule.
27808 (generated): Add those targets.
27809 (localplt-built-dso): New variable.
27810 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
27812 * elf/check-localplt.c: File removed.
27814 * scripts/check-execstack.awk: New file.
27815 * elf/Makefile ($(objpfx)check-execstack): Target removed.
27816 (check-execstack-CFLAGS): Variable removed.
27817 ($(objpfx)check-execstack.h): Target removed.
27818 ($(objpfx)execstack-default): New target.
27819 (generated): Add that instead of check-execstack.h.
27820 ($(all-built-dso:=.phdr)): New static pattern rule.
27821 (generated): Add those targets.
27822 * elf/check-execstack.c: File removed.
27824 * scripts/check-textrel.awk: New file.
27825 * elf/Makefile ($(objpfx)check-textrel): Target removed.
27826 (check-textrel-CFLAGS): Variable removed.
27827 (all-built-dso): Use := to define.o
27828 ($(all-built-dso:=.dyn)): New static pattern rule.
27829 (generated): Add those targets.
27830 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
27831 * config.make.in (READELF): New substituted variable.
27832 * elf/check-textrel.c: File removed.
27834 2012-05-01 Joseph Myers <joseph@codesourcery.com>
27836 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
27838 * conform/data/ctype.h-data [C99-based standards] (isblank):
27840 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
27841 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
27842 [ISO || ISO99 || ISO11] (*_t): Do not allow.
27843 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
27844 Specify type. Require positive value.
27845 (EILSEQ): Likewise.
27846 (ERANGE): Likewise.
27847 [ISO || POSIX] (EILSEQ): Do not expect.
27848 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
27849 Specify type. Require positive value.
27850 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
27851 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
27852 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
27853 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
27854 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
27855 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
27856 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
27857 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
27858 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
27859 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
27860 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
27861 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
27862 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
27863 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
27864 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
27865 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
27866 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
27867 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
27868 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
27869 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
27870 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
27871 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
27872 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
27873 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
27874 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
27875 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
27876 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
27877 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
27878 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
27879 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
27880 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
27881 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
27882 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
27883 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
27884 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
27885 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
27886 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
27887 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
27888 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
27889 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
27890 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
27891 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
27892 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
27893 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
27894 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
27895 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
27896 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
27897 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
27898 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
27899 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
27900 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
27901 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
27902 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
27903 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
27904 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
27905 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
27906 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
27907 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
27908 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
27909 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
27910 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
27911 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
27912 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
27913 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
27914 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
27915 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
27916 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
27917 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
27918 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
27919 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
27920 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
27921 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
27922 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
27923 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
27924 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
27925 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
27926 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
27928 (FLT_ROUNDS): Expect as macro, not constant.
27929 (FLT_MANT_DIG): Use macro-int-constant.
27930 (DBL_MANT_DIG): Likewise.
27931 (LDBL_MANT_DIG): Likewise.
27932 (FLT_DIG): Likewise.
27933 (DBL_DIG): Likewise.
27934 (LDBL_DIG): Likewise.
27935 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
27936 (DBL_MIN_EXP): Likewise.
27937 (LDBL_MIN_EXP): Likewise.
27938 (FLT_MAX_EXP): Use macro-int-constant.
27939 (DBL_MAX_EXP): Likewise.
27940 (LDBL_MAX_EXP): Likewise.
27941 (FLT_MAX_10_EXP): Likewise.
27942 (DBL_MAX_10_EXP): Likewise.
27943 (LDBL_MAX_10_EXP): Likewise.
27944 (FLT_MAX): Use macro-constant.
27945 (DBL_MAX): Likewise.
27946 (LDBL_MAX): Likewise.
27947 (FLT_EPSILON): Use macro-constant. Give upper bound.
27948 (DBL_EPSILON): Likewise.
27949 (LDBL_EPSILON): Likewise.
27950 (FLT_MIN): Likewise.
27951 (DBL_MIN): Likewise.
27952 (LDBL_MIN): Likewise.
27953 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
27954 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
27955 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
27956 [ISO11] (FLT_HAS_SUBNORM): Likewise.
27957 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
27958 [ISO11] (DBL_DECIMAL_DIG): Likewise.
27959 [ISO11] (FLT_DECIMAL_DIG): Likewise.
27960 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
27961 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
27962 [ISO11] (FLT_TRUE_MIN): Likewise.
27963 [ISO11] (LDBL_TRUE_MIN): Likewise.
27964 [ISO || ISO99 || ISO11] (*_t): Do not allow.
27965 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
27966 (SCHAR_MIN): Use macro-int-constant. Specify type.
27967 (SCHAR_MAX): Likewise.
27968 (UCHAR_MAX): Likewise.
27969 (CHAR_MIN): Likewise.
27970 (CHAR_MAX): Likewise.
27971 (MB_LEN_MAX): Use macro-int-constant.
27972 (SHRT_MIN): Use macro-int-constant. Specify type.
27973 (SHRT_MAX): Likewise.
27974 (USHRT_MAX): Likewise.
27975 (INT_MAX): Likewise.
27976 (INT_MIN): Use macro-int-constant. Specify type. Make upper
27978 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
27980 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
27982 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
27983 bound negative. Suffix upper bound with "L".
27984 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
27986 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
27988 [C99-based standards] (LLONG_MAX): Likewise.
27989 [C99-based standards] (ULLONG_MAX): Likewise.
27990 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
27992 [ISO11] (max_align_t): Require type.
27993 [ISO || ISO99 || ISO11] (*_t): Do not allow.
27995 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
27996 from $CFLAGS, without defining away __attribute__ calls.
27997 (checknamespace): Use $CFLAGS_namespace.
27999 * conform/conformtest.pl (@keywords): Only include C99 keywords
28000 for standards based on C99 or C11.
28002 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
28004 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
28007 * conform/conformtest.pl: Handle "macro-int-constant" and test for
28008 usability of symbols in #if.
28010 * conform/conformtest.pl: If macro or constant types start
28011 "promoted:", expect the symbol to be of the following type
28012 promoted by the integer promotions.
28014 * conform/conformtest.pl: Parse all "constant" and "macro" lines
28015 in one place. Also handle "macro-constant".
28017 * conform/conformtest.pl: Only accept expected macro values with
28018 "==". Parse all "macro" lines in one place.
28019 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
28021 * conform/conformtest.pl: Handle braced types on "constant" lines
28022 instead of handling "typed-constant".
28023 * conform/data/signal.h-data: Use "constant" instead of
28026 * conform/conformtest.pl: Handle "optional-" at start of lines in
28027 one place rather than duplicating several cases. Handle each
28028 format of "macro" line with initial "optional-".
28030 * conform/conformtest.pl: Only accept expected constant or
28031 optional-constant values with "==". Parse all "constant" lines in
28032 one place. Parse all "optional-constant" lines in one place.
28033 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
28034 * conform/data/fmtmsg.h-data: Likewise.
28035 * conform/data/netinet/in.h-data: Likewise.
28036 * conform/data/tar.h-data: Likewise.
28037 * conform/data/limits.h-data: Use "==" form on "constant" and
28038 "optional-constant" lines.
28040 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
28041 Use -std=c99 for XOPEN2K.
28042 (@knownproblems): Remove.
28043 (newtoken): Don't check %isknown.
28045 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
28046 Do not expect macro.
28047 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
28048 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
28049 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
28050 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
28051 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
28052 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
28053 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
28054 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
28055 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
28056 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
28057 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
28058 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
28059 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
28060 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
28061 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
28062 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
28063 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
28064 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
28065 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
28066 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
28067 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
28068 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
28069 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
28070 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
28071 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
28072 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
28073 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
28074 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
28075 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
28076 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
28077 [XPG3] (acosh): Likewise.
28078 [XPG3] (asinh): Likewise.
28079 [XPG3] (atanh): Likewise.
28080 [XPG3] (cbrt): Likewise.
28081 [XPG3] (expm1): Likewise.
28082 [XPG3] (ilogb): Likewise.
28083 [XPG3] (log1p): Likewise.
28084 [XPG3] (logb): Likewise.
28085 [XPG3] (nextafter): Likewise.
28086 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
28087 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
28088 [XPG3] (remainder): Likewise.
28089 [XPG3] (rint): Likewise.
28090 [XPG3 || XPG4 || UNIX98] (round): Likewise.
28091 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
28092 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
28093 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
28094 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
28095 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
28096 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
28097 [UNIX98 || XOPEN2K] (scalb): Expect.
28098 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
28099 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
28100 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
28101 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
28102 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
28103 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
28104 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
28105 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
28106 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
28107 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
28108 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
28109 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
28110 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
28111 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
28112 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
28113 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
28114 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
28115 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
28116 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
28117 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
28118 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
28119 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
28120 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
28121 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
28122 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
28123 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
28124 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
28125 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
28126 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
28127 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
28128 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
28129 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
28130 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
28131 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
28132 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
28133 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
28134 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
28135 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
28136 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
28137 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
28138 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
28139 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
28140 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
28141 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
28142 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
28143 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
28144 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
28145 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
28146 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
28147 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
28148 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
28149 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
28150 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
28151 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
28152 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
28153 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
28154 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
28155 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
28156 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
28157 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
28158 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
28159 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
28160 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
28161 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
28162 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
28163 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
28164 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
28165 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
28166 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
28167 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
28168 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
28169 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
28170 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
28171 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
28172 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
28173 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
28174 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
28175 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
28176 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
28177 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
28178 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
28179 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
28180 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
28181 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
28182 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
28183 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
28184 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
28185 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
28186 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
28187 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
28188 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
28189 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
28190 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
28191 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
28192 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
28193 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
28194 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
28195 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
28196 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
28197 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
28198 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
28199 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
28200 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
28201 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
28202 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
28203 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
28204 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
28205 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
28206 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
28207 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
28208 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
28209 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
28210 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
28211 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
28212 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
28213 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
28214 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
28215 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
28216 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
28217 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
28218 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
28219 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
28220 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
28221 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
28222 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
28223 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
28224 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
28225 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
28226 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
28227 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
28228 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
28229 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
28230 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
28231 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
28232 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
28233 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
28234 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
28236 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
28237 _XOPEN_SOURCE_EXTENDED for XPG4.
28239 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
28241 * Makeconfig (localtime): Remove variable.
28242 (inst_localtime-file): Likewise.
28244 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
28246 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
28248 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28250 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
28252 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
28254 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
28256 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
28258 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
28260 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
28262 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
28265 2012-05-01 Joseph Myers <joseph@codesourcery.com>
28269 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
28270 comparisons to determine direction to adjust input.
28271 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
28272 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
28273 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
28275 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
28277 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
28279 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
28280 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
28282 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
28284 * math/libm-test.inc (nexttoward_test): Add more tests.
28286 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
28289 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
28290 in version GLIBC_2.1, not GLIBC_2.0.
28291 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
28294 2012-04-30 Joseph Myers <joseph@codesourcery.com>
28297 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
28299 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
28300 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
28301 * math/libm-test.inc (acos_test): Add more tests.
28302 (asin_test): Likewise.
28303 * sysdeps/i386/fpu/libm-test-ulps: Update.
28304 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28307 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
28309 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
28310 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
28311 * math/libm-test.inc (acos_test_tonearest): New function.
28312 (acos_test_towardzero): Likewise.
28313 (acos_test_downward): Likewise.
28314 (acos_test_upward): Likewise.
28315 (asin_test_tonearest): Likewise.
28316 (asin_test_towardzero): Likewise.
28317 (asin_test_downward): Likewise.
28318 (asin_test_upward): Likewise.
28319 (main): Call the new functions.
28320 * sysdeps/i386/fpu/libm-test-ulps: Update.
28321 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28325 * math/e_exp10.c: Include <float.h>.
28326 (__ieee754_exp10): Handle underflow here rather than multiplying
28327 large negative argument by M_LN10.
28328 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
28330 * math/e_exp10l.c: Include <float.h>.
28331 (__ieee754_exp10l): Handle underflow here rather than multiplying
28332 large negative argument by M_LN10l.
28333 * math/libm-test.inc (exp10_test): Add another test. Do not allow
28334 spurious overflow exception on underflow.
28336 2012-04-29 Marek Polacek <polacek@redhat.com>
28338 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
28339 (__fortify_function): New macro.
28340 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
28341 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
28342 __extern_always_inline.
28343 * libio/bits/stdio2.h: Likewise.
28344 * libio/bits/stdio.h: Likewise.
28345 * string/string.h: Likewise.
28346 * string/bits/string3.h: Likewise.
28347 * include/stdio.h: Likewise.
28348 * stdlib/bits/stdlib.h: Likewise.
28349 * stdlib/stdlib.h: Likewise.
28350 * rt/bits/mqueue2.h: Likewise.
28351 * rt/mqueue.h: Likewise.
28352 * posix/bits/unistd.h: Likewise.
28353 * posix/unistd.h: Likewise.
28354 * io/bits/poll2.h: Likewise.
28355 * io/bits/fcntl2.h: Likewise.
28356 * io/fcntl.h: Likewise.
28357 * io/sys/poll.h: Likewise.
28358 * misc/bits/syslog.h: Likewise.
28359 * misc/bits/syslog-ldbl.h: Likewise.
28360 * misc/sys/syslog.h: Likewise.
28361 * socket/bits/socket2.h: Likewise.
28362 * socket/sys/socket.h: Likewise.
28363 * debug/tst-chk1.c: Likewise.
28364 * wcsmbs/bits/wchar2.h: Likewise.
28365 * wcsmbs/bits/wchar-ldbl.h: Likewise.
28366 * wcsmbs/wchar.h: Likewise.
28368 2012-04-29 Andreas Jaeger <aj@suse.de>
28370 * Makerules (tests): Remove enable-check-abi protection.
28371 (check-abi-warn): Remove.
28372 (check-abi-%): Remove check-abi-warn usage.
28374 * configure.in: Remove check-abi configure option.
28375 * configure: Regenerated.
28376 * config.make.in (enable-check-abi): Remove.
28378 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
28381 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
28382 double functions to double *_finite functions.
28385 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
28386 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
28388 * stdio-common/Makefile (tests): Add tst-sprintf3.
28389 * stdio-common/tst-sprintf3.c: New file.
28391 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
28392 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
28394 2012-04-28 Joseph Myers <joseph@codesourcery.com>
28396 * conform/conformtest.pl: Remove duplicate typed-constant
28399 2012-04-28 David S. Miller <davem@davemloft.net>
28401 * Makerules (%.abilist): Add vpath on sysdep_dirs.
28402 (check-abi-%): Remove AWK script prerequisite and explicit
28404 (check-abi): Rewrite to just diff the symlist with the abilist.
28405 (config-tls, config-abi-config): Delete, no longer used.
28406 (update-abi-%): Remove AWK script and explicit abilist directory.
28407 (update-abi): Rewrite to simply compare and conditionally copy the
28408 symlist and the sysdep abilist file. Remove update-abi-config
28410 * abilist/ld.abilist: Remove.
28411 * abilist/libBrokenLocale.abilist: Remove.
28412 * abilist/libanl.abilist: Remove.
28413 * abilist/libcrypt.abilist: Remove.
28414 * abilist/libdl.abilist: Remove.
28415 * abilist/librt.abilist: Remove.
28416 * abilist/libthread_db.abilist: Remove.
28417 * abilist/libutil.abilist: Remove.
28418 * scripts/extract-abilist.awk: Remove.
28419 * scripts/merge-abilist.awk: Remove.
28420 * sysdeps/generic/libcidn.abilist: New file.
28421 * sysdeps/generic/libnss_compat.abilist: New file.
28422 * sysdeps/generic/libnss_db.abilist: New file.
28423 * sysdeps/generic/libnss_dns.abilist: New file.
28424 * sysdeps/generic/libnss_files.abilist: New file.
28425 * sysdeps/generic/libnss_hesiod.abilist: New file.
28426 * sysdeps/generic/libnss_nis.abilist: New file.
28427 * sysdeps/generic/libnss_nisplus.abilist: New file.
28428 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
28429 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
28430 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
28432 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
28433 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
28434 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
28435 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
28436 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
28437 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
28438 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
28439 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
28440 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
28442 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
28443 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
28444 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
28445 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
28447 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
28448 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
28449 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
28450 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
28451 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
28452 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
28454 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
28455 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
28456 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
28458 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
28459 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
28461 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
28463 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
28465 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
28467 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
28469 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
28471 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
28473 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
28475 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
28477 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
28479 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
28481 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
28483 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
28485 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
28487 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
28489 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
28491 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
28493 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
28495 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
28497 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
28499 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
28501 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
28503 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
28505 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
28507 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
28509 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
28511 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
28512 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
28514 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
28516 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
28518 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
28520 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
28522 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
28524 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
28526 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
28528 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
28530 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
28532 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
28534 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
28536 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
28537 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
28539 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
28541 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
28543 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
28545 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
28547 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
28549 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
28551 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
28553 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
28555 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
28557 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
28559 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
28561 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
28562 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
28563 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
28565 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
28566 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
28567 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
28568 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
28569 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
28570 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
28571 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
28572 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
28573 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
28574 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
28575 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
28576 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
28578 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
28580 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
28582 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
28584 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
28586 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
28588 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
28590 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
28592 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
28594 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
28596 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
28598 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
28600 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
28601 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
28603 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
28605 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
28607 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
28609 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
28611 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
28613 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
28615 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
28617 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
28619 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
28621 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
28623 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
28626 2012-04-28 Joseph Myers <joseph@codesourcery.com>
28628 * conform/conformtest.pl: Fix typo in handling typed-constant from
28631 2012-04-27 Joseph Myers <joseph@codesourcery.com>
28633 * README: Cut down references to pre-2.6 Linux kernels and
28634 Linuxthreads. Update lists of configurations in libc and ports
28635 and sort alphabetically. Say "or newer" with Linux kernel version
28638 * config.h.in [IS_IN_build]: Allow compiling without optimization.
28640 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
28643 * math/libm-test.inc (logb_test_downward): New test to expose
28644 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
28647 2012-04-27 Joseph Myers <joseph@codesourcery.com>
28650 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
28652 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
28653 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
28655 2012-04-26 Joseph Myers <joseph@codesourcery.com>
28657 * sysdeps/unix/i386/brk.S: Remove file.
28658 * sysdeps/unix/i386/dl-brk.S: Likewise.
28659 * sysdeps/unix/i386/pipe.S: Likewise.
28660 * sysdeps/unix/i386/sigreturn.S: Likewise.
28661 * sysdeps/unix/i386/syscall.S: Likewise.
28662 * sysdeps/unix/i386/vfork.S: Likewise.
28663 * sysdeps/unix/i386/wait.S: Likewise.
28665 * sysdeps/unix/common/tcsendbrk.c: Move to ...
28666 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
28668 * configure.in (arm*-none*): Do not allow without
28669 --enable-hacker-mode.
28670 (netbsd*): Remove case setting base_os.
28671 (386bsd*): Likewise.
28672 (freebsd*): Likewise.
28675 (sunos*): Likewise.
28676 (ultrix*): Likewise.
28677 (newsos*): Likewise.
28678 (dynix*): Likewise.
28684 (minix*): Likewise.
28685 (irix4*): Likewise.
28686 (irix6*): Likewise.
28687 (solaris[2-9]*): Likewise.
28689 * configure: Regenerated.
28691 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28694 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
28695 overflow or cancellation in calculating denominator.
28696 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
28697 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
28698 down expression to avoid unexpected rounding in newer GCCs.
28699 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
28701 2012-04-26 David S. Miller <davem@davemloft.net>
28703 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
28704 long-double compat symbols.
28705 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
28706 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
28707 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
28708 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
28709 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
28710 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
28711 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
28712 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
28713 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
28714 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
28715 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
28716 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
28717 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
28719 2012-04-25 David S. Miller <davem@davemloft.net>
28721 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
28722 HWCAP_* values only after the memory barriers have been defined.
28723 (atomic_full_barrier): Define.
28724 (atomic_read_barrier): Define.
28725 (atomic_write_barrier): Define.
28727 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
28729 * shlib-versions: Add libgcc_s version information.
28730 * sysdeps/generic/libgcc_s.h: Remove.
28731 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
28733 * sysdeps/gnu/unwind-resume.c: Likewise.
28734 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
28736 2012-04-25 David S. Miller <davem@davemloft.net>
28738 * sysdeps/unix/sparc/brk.S: Delete.
28739 * sysdeps/unix/sparc/dl-brk.S: Delete.
28740 * sysdeps/unix/sparc/pipe.S: Delete.
28741 * sysdeps/unix/sparc/sysdep.S: Delete.
28742 * sysdeps/unix/sparc/sysdep.h: Delete.
28743 * sysdeps/unix/sparc/vfork.S: Delete.
28744 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
28745 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
28746 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
28747 ret_ERRVAL, r0, r1, MOVE): Define.
28748 (JUMPTARGET): Remove.
28749 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
28750 sysdeps/unix/sparc/sysdep.h
28751 (ENTRY, END): Remove.
28752 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
28754 2012-04-25 Joseph Myers <joseph@codesourcery.com>
28756 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
28757 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
28760 * timezone/README: Update upstream location and email address for
28762 * timezone/zdump.c: Update from tzcode 2012b.
28763 * timezone/zic.c: Likewise.
28765 * configure.in (libc_cv_as_needed): Remove test.
28766 * configure: Regenerated.
28767 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
28768 conditional definition.
28769 [$(have-as-needed) != yes] (no-as-needed): Likewise.
28770 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
28771 * config.make.in (have-as-needed): Remove variable.
28773 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
28774 Paul Pluzhnikov <ppluzhnikov@google.com>
28776 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
28779 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
28781 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
28782 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
28783 * sysdeps/sh/strlen.S: Likewise.
28785 2012-04-24 Joseph Myers <joseph@codesourcery.com>
28787 * sysdeps/unix/fork.S: Remove file.
28788 * sysdeps/unix/i386/fork.S: Likewise.
28789 * sysdeps/unix/sparc/fork.S: Likewise.
28791 * sysdeps/unix/system.c: Remove file.
28792 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
28794 * sysdeps/unix/getegid.S: Remove file.
28795 * sysdeps/unix/geteuid.S: Likewise.
28797 2012-04-24 Roland McGrath <roland@hack.frob.com>
28799 * scripts/check-localplt.awk: New file.
28800 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
28802 * scripts/data/localplt-generic.data: Add a comment.
28804 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
28805 NODE when __dir_mkfile failed.
28806 * sysdeps/mach/hurd/symlinkat.c: Likewise.
28807 Reported by Ludovic Courtès <ludo@gnu.org>.
28809 2012-04-24 Andreas Jaeger <aj@suse.de>
28811 * Makerules (common-clean): Also remove gen-as-const-headers
28814 2012-04-24 Joseph Myers <joseph@codesourcery.com>
28816 * Makerules (native-compile): Do not change working directory for
28817 build. Use $(OUTPUT_OPTION) in command.
28818 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
28820 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28823 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
28824 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
28825 * math/libm-test.inc (floor_test): Add more tests.
28826 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
28828 2012-04-24 Joseph Myers <joseph@codesourcery.com>
28830 * sysdeps/unix/getdents.c: Remove file.
28831 * sysdeps/unix/sysv/getdents.c: Likewise.
28832 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
28834 * sysdeps/unix/syscalls.list (madvise): Add syscall from
28835 sysdeps/unix/mman/syscalls.list.
28837 (mprotect): Likewise.
28839 (munmap): Likewise.
28840 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
28841 * sysdeps/unix/mman/syscalls.list: Remove.
28842 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
28844 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
28845 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
28846 * configure: Regenerated.
28847 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
28848 $(libgcc_s_suffix).
28849 * config.make.in (libgcc_s_suffix): Remove variable.
28851 2012-04-23 Joseph Myers <joseph@codesourcery.com>
28853 * sysdeps/unix/sysv/gethostname.c: Move to ...
28854 * sysdeps/posix/gethostname.c: ... here.
28856 * sysdeps/unix/execve.S: Remove file.
28858 * sysdeps/unix/_exit.S: Remove file.
28860 2012-04-23 Andreas Jaeger <aj@suse.de>
28863 * manual/Makefile: Remove make dist support, there's no
28864 need for a stand-alone documentation tar ball.
28865 (TEXI2DVI): Define always, it's not in Makeconfig.
28868 (edition): Removed.
28869 (glibc-doc-$(edition).tar): Removed
28873 (ETAGS): Remove, it's in Makeconfig.
28874 (move-if-change): Remove, it's in Makeconfig.
28876 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
28879 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
28880 (strtod, strtof, strtold, strtol, strtoul, strtoq)
28881 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
28882 (strtod_l, strtof_l, strtold_l): Remove __wur.
28883 It is not necessarily an error to ignore strtol's return value.
28884 One can reliably look at the stored endptr to decide whether
28885 the number had valid syntax.
28887 2012-04-21 Andreas Jaeger <aj@suse.de>
28890 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
28892 2012-04-21 Joseph Myers <joseph@codesourcery.com>
28894 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
28895 * sysdeps/unix/sysv/Versions: Remove file.
28897 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
28900 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28902 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
28905 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
28906 version from __vm86.
28908 2012-04-20 Joseph Myers <joseph@codesourcery.com>
28910 * sysdeps/unix/common/lxstat.c: Remove file.
28911 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
28913 * sysdeps/unix/sysv/Makefile: Remove file.
28915 * sysdeps/unix/sysv/direct.h: Remove file.
28917 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
28918 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
28919 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
28920 * sysdeps/unix/sysv/bits/signum.h: Likewise.
28921 * sysdeps/unix/sysv/bits/stat.h: Likewise.
28922 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
28923 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
28925 * sysdeps/unix/sysv/setrlimit.c: Remove file.
28927 * sysdeps/unix/xmknod.c: Remove file.
28928 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
28930 * sysdeps/unix/sysv/settimeofday.c: Remove file.
28932 * sysdeps/unix/sysv/i386/time.S: Remove file.
28934 * sysdeps/unix/fxstat.c: Remove file.
28935 * sysdeps/unix/xstat.c: Likewise.
28936 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
28938 * sysdeps/unix/sysv/sigaction.c: Remove file.
28940 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
28941 (sysdep_headers): Remove variable.
28942 [termio.h not in sysdep_headers] (generated): Likewise.
28943 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
28944 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
28945 * sysdeps/unix/sysv/tcdrain.c: Likewise.
28946 * sysdeps/unix/sysv/tcflow.c: Likewise.
28947 * sysdeps/unix/sysv/tcflush.c: Likewise.
28948 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
28949 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
28950 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
28951 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
28952 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
28954 * sysdeps/unix/siglist.c: Remove file.
28956 * sysdeps/unix/getppid.S: Remove file.
28958 * sysdeps/unix/mkdir.c: Remove file.
28959 * sysdeps/unix/rmdir.c: Likewise.
28961 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
28963 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
28965 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
28966 errlist-compat value.
28968 2012-04-18 David S. Miller <davem@davemloft.net>
28970 * sysdeps/generic/memcopy.h (reg_char): Delete.
28971 * debug/strcat_chk.c: Use char, not reg_char.
28972 * debug/strcpy_chk.c: Likewise.
28973 * debug/strncat_chk.c: Likewise.
28974 * debug/strncpy_chk.c: Likewise.
28975 * string/memchr.c: Likewise.
28976 * string/memrchr.c: Likewise.
28977 * string/rawmemchr.c: Likewise.
28978 * string/strcat.c: Likewise.
28979 * string/strchr.c: Likewise.
28980 * string/strchrnul.c: Likewise.
28981 * string/strcmp.c: Likewise.
28982 * string/strcpy.c: Likewise.
28983 * string/strncat.c: Likewise.
28984 * string/strncmp.c: Likewise.
28985 * string/strncpy.c: Likewise.
28987 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
28989 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
28990 __builtin_memcopy is called when src and dest ranges are known to not
28993 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
28995 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
28996 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
28997 fwd_align_merge macro call.
28998 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
28999 bwd_align_merge macro call.
29000 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
29002 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
29004 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
29005 bwd_align_merge macros.
29006 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
29007 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
29008 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
29010 2012-04-18 David S. Miller <davem@davemloft.net>
29012 * sysdeps/sparc/sparc64/memcopy.h: Delete.
29014 2012-04-18 Andreas Jaeger <aj@suse.de>
29017 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
29018 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
29019 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
29021 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
29022 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
29023 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
29025 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
29026 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
29027 Adjust for changed ldbl-128 files.
29029 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
29030 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
29031 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
29033 2012-04-17 David S. Miller <davem@davemloft.net>
29035 * sysdeps/sparc/sparc32/memcopy.h: Delete.
29037 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
29039 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
29040 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
29041 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
29042 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
29043 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
29044 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
29046 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29049 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
29050 * math/libm-test.inc: Add ilogb errno and exception tests.
29051 * math/w_ilogb.c: New file: ilogb wrapper.
29052 * math/w_ilogbf.c: New file: ilogbf wrapper.
29053 * math/w_ilogbl.c: New file: ilogbl wrapper.
29054 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
29055 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
29056 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
29057 exception being thrown with 0.0 as argument.
29058 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
29059 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
29060 exception being thrown with 0.0 as argument.
29061 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
29062 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
29063 exception being thrown with 0.0 as argument.
29064 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
29065 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
29066 exception being thrown with 0.0 as argument.
29067 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
29068 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
29069 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
29070 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
29071 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
29072 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
29073 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
29074 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
29075 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
29077 2012-04-17 Petr Baudis <pasky@ucw.cz>
29079 * include/sys/uio.h: Change __vector to __iovec to avoid clash
29082 2012-04-16 Marek Polacek <polacek@redhat.com>
29084 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
29086 2012-04-16 Marek Polacek <polacek@redhat.com>
29088 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
29089 operands of fdivp instruction.
29091 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
29093 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
29094 * elf/tst-auditmod3b.c: Likewise.
29095 * elf/tst-auditmod4b.c: Likewise.
29096 * elf/tst-auditmod5b.c: Likewise.
29097 * elf/tst-auditmod6b.c: Likewise.
29098 * elf/tst-auditmod6c.c: Likewise.
29099 * elf/tst-auditmod7b.c: Likewise.
29100 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
29101 * sysdeps/x86_64/preconfigure.in: Likewise.
29102 * sysdeps/x86_64/preconfigure: Regenerated.
29104 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
29106 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
29109 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
29111 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
29112 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
29114 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
29117 * locale/iso-639.def: Fix gl language name. Spotted by
29120 2012-04-12 Roland McGrath <roland@hack.frob.com>
29123 * libio/libio.h (__io_write_fn): Update comment.
29125 2012-04-12 Petr Baudis <pasky@ucw.cz>
29128 * stdio.texi (Hook Functions): The user provided writer function
29129 is not allowed to return -1.
29131 2012-04-11 David S. Miller <davem@davemloft.net>
29133 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29135 2012-04-11 Mike Frysinger <vapier@gentoo.org>
29137 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
29138 Add a leading slash to rtkaio.
29140 2012-04-11 Jim Meyering <meyering@redhat.com>
29143 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
29144 It is not necessarily an error to ignore fwrite's return
29145 value. One can reliably use ferror to test for errors after
29148 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
29150 * bits/types.h (__snseconds_t): New type.
29151 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
29153 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
29154 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
29155 (__SNSECONDS_T_TYPE): Likewise.
29156 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
29157 (__SNSECONDS_T_TYPE): Likewise.
29158 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
29159 (__SNSECONDS_T_TYPE): Likewise.
29161 2012-04-10 Andreas Jaeger <aj@suse.de>
29164 * manual/time.texi (Processor Time): Return type of times is
29165 elapsed real time since an arbitrary point in the past.
29166 (CPU Time): Move CLK_TCK from here...
29167 (Processor Time): ...to here. Correct description.
29168 * manual/conf.texi (Constants for Sysconf): Correct description of
29171 2012-04-10 David S. Miller <davem@davemloft.net>
29174 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
29175 where the is a gap between DT_REL(A) and DT_JMPREL.
29177 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
29179 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
29180 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
29181 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
29183 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
29185 * elf/dl-support.c (_dl_inhibit_cache): New variable.
29186 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
29187 (dl_main): Handle --inhibit-cache.
29188 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
29190 * elf/dl-load.c (_dl_map_object): Use it.
29191 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
29193 2012-04-09 Joseph Myers <joseph@codesourcery.com>
29196 * sysdeps/i386/fpu/e_powl.S (p78): New object.
29197 (__ieee754_powl): Saturate large exponents rather than testing for
29198 overflow of y*log2(x).
29199 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
29200 * math/libm-test.inc (pow_test): Do not permit spurious overflow
29204 * math/s_ctan.c: Include <float.h>.
29205 (__ctan): Avoid internal overflow or cancellation in calculating
29207 * math/s_ctanf.c: Likewise.
29208 * math/s_ctanl.c: Likewise.
29209 * math/s_ctanh.c: Likewise.
29210 * math/s_ctanhf.c: Likewise.
29211 * math/s_ctanhl.c: Likewise.
29212 * math/libm-test.inc (ctan_test): Add more tests.
29213 (ctanh_test): Likewise.
29214 * sysdeps/i386/fpu/libm-test-ulps: Update.
29215 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29217 2012-04-09 Andreas Jaeger <aj@suse.de>
29220 * manual/filesys.texi (Directory Entries): Mention that d_namlen
29221 is an optional BSD extension.
29224 * manual/stdio.texi (Opening Streams): Document additional fopen
29227 2012-04-09 Roland McGrath <roland@hack.frob.com>
29229 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
29230 %eax without telling the compiler.
29232 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
29235 * manual/install.texi: Use sourceware.org.
29237 2012-04-09 Joseph Myers <joseph@codesourcery.com>
29240 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
29241 (__ieee754_pow): Generate overflow and underflow using huge*huge
29242 and tiny*tiny rather than just returning constant infinity or zero
29243 for large exponents.
29244 * math/libm-test.inc (pow_test): Require overflow exceptions for
29245 applicable cases of large exponents.
29248 * sysdeps/i386/fpu/e_pow.S (p10): New object.
29249 (__ieee754_pow): Use iterative multiplication algorithm only for
29250 integer exponents with absolute value below 1024. Check for odd
29251 integer exponents when using algorithm for real exponents.
29252 * math/libm-test.inc (pow_test): Add more tests.
29253 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29255 2012-04-08 Joseph Myers <joseph@codesourcery.com>
29258 * math/libm-test.inc (exp_test): Do not allow overflow exception
29261 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
29264 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
29265 instead of __kernel_standard_f.
29267 2012-04-08 Mike Frysinger <vapier@gentoo.org>
29269 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
29270 * sysdeps/x86_64/memset_chk.S: Likewise.
29272 2012-04-08 Andreas Jaeger <aj@suse.de>
29275 * manual/startup.texi (Environment Access): Describe return value
29276 for putenv and setenv.
29279 * manual/filesys.texi (Directory Entries): Add description for
29283 * manual/filesys.texi (Directory Entries): Clarify that it's file
29284 system not operating system in the description of DT_UNKNOWN.
29287 * manual/syslog.texi (closelog): Fix reference, it's openlog.
29289 2012-04-08 Stephen Compall <s11@member.fsf.org>
29292 * manual/llio.texi (Opening and Closing Files): Add cross
29293 reference to explain mode argument.
29295 2012-04-07 Mike Frysinger <vapier@gentoo.org>
29297 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
29298 * sysdeps/x86_64/memset_chk.S: Likewise.
29300 2012-04-07 David S. Miller <davem@davemloft.net>
29302 * elf/elf.h (R_SPARC_WDISP10): Define.
29303 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
29305 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
29306 R_SPARC_SIZE64 and R_SPARC_H34.
29308 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
29310 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
29311 conditions and remove no longer applicable assertion.
29313 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
29315 * bits/byteswap.h: Include <features.h>.
29316 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
29317 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
29319 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
29321 * bits/byteswap.h (__bswap_16): Removed.
29322 Include <bits/byteswap-16.h> to get __bswap_16.
29323 * sysdeps/i386/bits/byteswap.h: Likewise.
29324 * sysdeps/s390/bits/byteswap.h: Likewise.
29325 * sysdeps/x86_64/bits/byteswap.h: Likewise.
29326 * bits/byteswap-16.h: New file.
29327 * sysdeps/i386/bits/byteswap-16.h: Likewise.
29328 * sysdeps/s390/bits/byteswap-16.h: Likewise.
29329 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
29330 * string/Makefile (headers): Add bits/byteswap-16.h.
29332 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
29335 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
29337 * nss/Makefile (tests-static, tests): Add tst-nss-static.
29338 * nss/tst-nss-static.c: New.
29340 2012-04-06 Robert Millan <rmh@gnu.org>
29343 * manual/llio.texi (File Position Primitive): lseek
29344 refers to WHENCE when it really means OFFSET.
29346 2012-04-06 Andreas Jaeger <aj@suse.de>
29348 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
29349 strncmp declarations.
29351 * abilist/libc.abilist: Add __poll and __ppoll.
29353 2012-04-05 David S. Miller <davem@davemloft.net>
29355 * scripts/check-local-headers.sh: Accept a host triplet in the
29356 path matched by the exclude regexp.
29358 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
29360 * sysdeps/powerpc/powerpc32/dl-machine.h
29361 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
29362 * sysdeps/s390/s390-32/dl-machine.h
29363 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
29364 * sysdeps/sparc/sparc32/dl-machine.h
29365 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
29366 * sysdeps/sparc/sparc64/dl-machine.h
29367 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
29369 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
29371 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
29372 undefined symbol errors.
29374 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
29377 2012-04-05 Michael Matz <matz@suse.de>
29380 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
29382 2012-04-05 Andreas Jaeger <aj@suse.de>
29385 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
29388 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
29390 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
29391 which ROUND is no valid rounding mode.
29393 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
29395 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
29397 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
29399 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
29401 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
29402 an exception using FPU order intentionally.
29404 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
29406 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
29407 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
29408 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
29409 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
29411 2012-04-05 Simon Josefsson <simon@josefsson.org>
29414 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
29415 EINVAL when BUFLEN is too smal.
29417 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
29420 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
29421 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
29423 2012-04-03 Andreas Jaeger <aj@suse.de>
29426 * manual/setjmp.texi (System V contexts): Fix sentence.
29429 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
29430 New macro for this case.
29431 [!__GNUC__] (__bswap_64): New inline function for this case.
29432 * sysdeps/x86_64/bits/byteswap.h: Likewise.
29433 * bits/byteswap.h: Likewise.
29434 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
29435 ull, guard with __GLIBC_HAVE_LONG_LONG.
29437 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
29438 __GLIBC_HAVE_LONG_LONG.
29440 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
29441 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
29443 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
29446 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
29447 inptr and inend, rather than using last_ch.
29449 2012-04-02 David S. Miller <davem@davemloft.net>
29451 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
29452 * stdio-common/printf-parse.h (read_int): Change return type to
29453 'int', return -1 on INT_MAX overflow.
29454 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
29455 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
29456 overflows INT_MAX. Check for overflow of in-format-string precision
29457 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
29458 SIZE_MAX not INT_MAX for integer overflow test.
29459 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
29460 skip the construct in the format string but do not record anything.
29461 * stdio-common/bug22.c: Adjust to test both width/prevision
29462 INT_MAX overflow as well as total length INT_MAX overflow. Check
29463 explicitly for proper errno values.
29465 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
29467 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
29469 * string/test-strcmp.c [! WIDE]: Likewise.
29470 * time/tst-mktime2.c: Likewise for INT_MAX.
29471 * string/test-string.h: #include <sys/param.h> for MIN.
29473 * csu/init-first.c (__libc_init_first): Call __ctype_init.
29474 * sysdeps/i386/init-first.c (init): Likewise.
29475 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
29476 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
29477 * sysdeps/sh/init-first.c (init): Likewise.
29479 2012-04-01 Ulrich Drepper <drepper@gmail.com>
29481 * po/ru.po: Update from translation team.
29482 * po/vi.po: Likewise.
29484 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
29486 * resolv/nss_dns/dns-host.c: Merge copyright years.
29488 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29490 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
29491 Optimize memcpy with prefetch if
29492 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
29493 src, dst pointers have unequal 16 byte alignments.
29495 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
29498 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
29499 from a CNAME entry and return the minimum ttl for the query.
29500 (gaih_getanswer_slice): Likewise.
29502 2012-03-30 Jeff Law <law@redhat.com>
29504 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
29506 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
29507 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
29509 * resolv/nss_dns/dns-host.c: Update copyright year.
29511 2012-03-30 Ulrich Drepper <drepper@gmail.com>
29513 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
29514 requests to save a system call. Fix check that all bytes are sent.
29516 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
29517 comments for sendmmsg.
29519 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
29522 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
29523 with only 1 character between 0x0041 and 0x01b0.
29524 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
29525 * wcsmbs/tst-mbsnrtowcs.c: New file.
29527 2012-03-29 David S. Miller <davem@davemloft.net>
29529 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
29530 small copies by hand.
29532 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
29535 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
29536 _nss_compat_initgroups_dyn): Fall back to malloc/free
29537 for large group memberships.
29539 2012-03-28 David S. Miller <davem@davemloft.net>
29541 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
29542 that branches into memcpy.
29543 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
29544 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
29545 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
29546 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
29547 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
29549 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
29550 implementation too.
29551 * sysdeps/sparc/mempcpy.S: New file.
29553 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
29554 the IFUNC routine in the libc case.
29555 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
29557 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
29558 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
29559 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
29560 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
29561 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
29562 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
29563 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
29564 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
29566 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
29567 loop to 256 bytes instead of 64 bytes and fix test signedness.
29569 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
29570 * sysdeps/sparc/sparc32/Makefile: rather than here...
29571 * sysdeps/sparc/sparc64/Makefile: and here.
29573 2012-03-28 Ulrich Drepper <drepper@gmail.com>
29575 * malloc/mallocbug.c: Avoid warnings about unused variables.
29577 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
29580 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
29581 in the right place. Discard and retry query if response is
29582 larger than input buffer size.
29584 2012-03-28 Joseph Myers <joseph@codesourcery.com>
29589 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
29590 x for large integer exponent.
29591 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
29592 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
29593 sign of result as needed afterwards.
29594 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
29595 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
29596 result for underflowing pow the same as for overflow.
29597 (__kernel_standard_l): Handle powl overflow and underflow here
29598 rather than calling __kernel_standard.
29599 * math/libm-test.inc (pow_test): Add more tests.
29614 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
29615 * sysdeps/ieee754/k_standard.c: Include <float.h>.
29616 (__kernel_standard_l): New function.
29617 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
29619 * math/w_acosl.c (__acosl): Likewise.
29620 * math/w_asinl.c (__asinl): Likewise.
29621 * math/w_atan2l.c (__atan2l): Likewise.
29622 * math/w_atanhl.c (__atanhl): Likewise.
29623 * math/w_coshl.c (__coshl): Likewise.
29624 * math/w_exp10l.c (__exp10l): Likewise.
29625 * math/w_exp2l.c (__exp2l): Likewise.
29626 * math/w_fmodl.c (__fmodl): Likewise.
29627 * math/w_hypotl.c (__hypotl): Likewise.
29628 * math/w_j0l.c (__j0l, __y0l): Likewise.
29629 * math/w_j1l.c (__j1l, __y1l): Likewise.
29630 * math/w_jnl.c (__jnl, __ynl): Likewise.
29631 * math/w_lgammal.c (__lgammal): Likewise.
29632 * math/w_log10l.c (__log10l): Likewise.
29633 * math/w_log2l.c (__log2l): Likewise.
29634 * math/w_logl.c (__logl): Likewise.
29635 * math/w_powl.c (__powl): Likewise.
29636 * math/w_remainderl.c (__remainderl): Likewise.
29637 * math/w_scalbl.c (sysv_scalbl): Likewise.
29638 * math/w_sinhl.c (__sinhl): Likewise.
29639 * math/w_sqrtl.c (__sqrtl): Likewise.
29640 * math/w_tgammal.c (__tgammal): Likewise.
29641 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
29642 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
29643 * math/libm-test.inc (acos_test): Add more tests.
29644 (acosh_test): Likewise.
29645 (asin_test): Likewise.
29646 (atanh_test): Likewise.
29647 (exp_test): Likewise.
29648 (exp10_test): Likewise.
29649 (exp2_test): Likewise.
29650 (expm1_test): Likewise.
29651 (lgamma_test): Likewise.
29652 (log_test): Likewise.
29653 (log10_test): Likewise.
29654 (log1p_test): Likewise.
29655 (log2_test): Likewise.
29656 (pow_test): Do not allow some spurious overflow exceptions.
29657 (sqrt_test): Add more tests.
29658 (tgamma_test): Likewise.
29659 (y0_test): Likewise.
29660 (y1_test): Likewise.
29661 (yn_test): Likewise.
29663 2012-03-27 Anton Blanchard <anton@samba.org>
29665 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
29667 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
29668 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
29669 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
29671 2012-03-27 David S. Miller <davem@davemloft.net>
29673 * conform/Makefile: Run run-conformtest.sh using $(BASH).
29675 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
29676 have-as-vis3 check.
29678 2012-03-27 Andreas Jaeger <aj@suse.de>
29680 * sysdeps/x86_64/elf/configure.in: Moved to ...
29681 * sysdeps/x86_64/configure.in: ... here.
29682 * sysdeps/x86_64/elf/start.S: Moved to ...
29683 * sysdeps/x86_64/start.S: ... here.
29684 * sysdeps/x86_64/elf/configure: Delete.
29686 * sysdeps/x86_64/configure.in: Merge contents from
29687 sysdeps/i386/configure.in (without i686 check).
29689 * sysdeps/i386/elf/Versions: Merge into ...
29690 * sysdeps/i386/Versions: ... this.
29691 * sysdeps/i386/elf/Versions: Delete file.
29692 * sysdeps/i386/elf/start.S: Moved to ...
29693 * sysdeps/i386/start.S: ...here.
29694 * sysdeps/i386/elf/configure.in: Merge into...
29695 * sysdeps/i386/configure.in: ...here.
29696 * sysdeps/i386/elf/configure.in: Delete file.
29697 * sysdeps/i386/elf/configure: Delete file.
29699 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
29700 * debug/backtracesyms.c: ... here.
29701 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
29702 * debug/backtracesymsfd.c: ... here.
29703 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
29704 * sysdeps/generic/ifunc-sel.h: ... here.
29706 * sysdeps/unix/i386/start.c: Delete file.
29707 * sysdeps/unix/sparc/start.c: Delete file.
29708 * sysdeps/unix/start.c: Delete file.
29710 * sysdeps/sh/elf/configure.in: Moved to ...
29711 * sysdeps/sh/configure.in: ... here.
29712 * sysdeps/sh/elf/start.S: Moved to ...
29713 * sysdeps/sh/start.S: ... here.
29714 * sysdeps/sh/elf/configure: Delete file.
29716 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
29717 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
29718 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
29719 * sysdeps/powerpc/powerpc64/entry.h: ... here.
29720 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
29721 * sysdeps/powerpc/powerpc64/start.S: here.
29722 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
29723 * sysdeps/powerpc/powerpc64/Makefile: ... this.
29724 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
29725 * sysdeps/powerpc/powerpc64/configure.in: ... this.
29726 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
29728 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
29729 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
29730 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
29731 * sysdeps/powerpc/powerpc32/start.S: ... here.
29732 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
29733 * sysdeps/powerpc/powerpc32/configure.in: ... this.
29734 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
29736 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
29737 * sysdeps/powerpc/ifunc-sel.h: ... here.
29738 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
29739 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
29741 * sysdeps/sparc/elf/configure.in: Moved to ...
29742 * sysdeps/sparc/configure.in: ... here.
29743 * sysdeps/sparc/elf/configure: Delete file.
29744 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
29745 * sysdeps/sparc/sparc32/start.S: ... here.
29746 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
29747 * sysdeps/sparc/sparc64/start.S: ... here.
29748 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
29749 * sysdeps/sparc/sparc32/Makefile: ... this.
29750 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
29751 * sysdeps/sparc/sparc64/Makefile: ... this.
29753 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
29754 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
29755 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
29756 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
29757 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
29758 * sysdeps/s390/s390-32/setjmp.S: ... here.
29759 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
29760 * sysdeps/s390/s390-32/configure.in: ... here.
29761 * sysdeps/s390/s390-32/elf/configure: Delete file.
29762 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
29763 * sysdeps/s390/s390-32/start.S: ... here.
29765 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
29766 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
29767 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
29768 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
29769 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
29770 * sysdeps/s390/s390-64/setjmp.S: ... here.
29771 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
29772 * sysdeps/s390/s390-64/configure.in: ... here
29773 * sysdeps/s390/s390-64/elf/configure: Delete file.
29774 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
29775 * sysdeps/s390/s390-64/start.S: ... here.
29776 * sysdeps/s390/s390-64/elf/configure: Delete.
29778 * configure.in: Remove support for elf directories in sysdeps.
29780 * configure: Regenerated.
29781 * sysdeps/i386/configure: Regenerated.
29782 * sysdeps/powerpc/powerpc32/configure: Regenerated.
29783 * sysdeps/powerpc/powerpc64/configure: Regenerated.
29784 * sysdeps/s390/s390-32/configure: Regenerated.
29785 * sysdeps/s390/s390-64/configure: Regenerated.
29786 * sysdeps/sh/configure: Regenerated.
29787 * sysdeps/sparc/configure: Regenerated.
29788 * sysdeps/x86_64/configure: Regenerated.
29790 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
29792 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29794 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
29795 denormal result into account.
29797 2012-03-25 Roland McGrath <roland@hack.frob.com>
29799 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
29800 Reported by Allan McRae <allan@archlinux.org>.
29802 2012-03-23 Jeff Law <law@redhat.com>
29804 * nss/getnssent.c (__nss_getent): Fix typo.
29806 2012-03-23 David S. Miller <davem@davemloft.net>
29808 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29810 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
29812 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
29813 to pad to uint64_t for each field.
29814 (dl_tls_index): Replace unsigned long with uint64_t.
29816 2012-03-23 Daniel Jacobowitz <dmj@google.com>
29817 Paul Pluzhnikov <ppluzhnikov@google.com>
29820 * grp/Makefile (otherlibs): Don't set it.
29821 * inet/Makefile (otherlibs): Likewise.
29822 * login/Makefile (otherlibs): Likewise.
29823 * nscd/Makefile (otherlibs): Likewise.
29824 * posix/Makefile (otherlibs): Likewise.
29825 * pwd/Makefile (otherlibs): Likewise.
29826 * rt/Makefile (otherlibs): Likewise.
29827 * sunrpc/Makefile (otherlibs): Likewise.
29828 * nss/Makefile (otherlibs): Likewise.
29829 Add libnss_files to routines and static-only-routines.
29830 ($(objpfx)getent): Remove rule.
29831 * resolv/Makefile: Add libnss_dns and libresolv to routines and
29832 static-only-routines.
29834 2012-03-22 Joseph Myers <joseph@codesourcery.com>
29837 * math/s_cexp.c: Include <float.h>.
29838 (__cexp): Handle exp result overflowing not necessarily
29839 overflowing both real and imaginary parts of result.
29840 * math/s_cexpf.c: Likewise.
29841 * math/s_cexpl.c: Likewise.
29842 * math/libm-test.inc (cexp_test): Add more tests.
29843 * sysdeps/i386/fpu/libm-test-ulps: Update.
29844 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29846 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
29848 * include/link.h (ELFW): New macro.
29849 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
29850 Replace ELF64_R_TYPE with ELFW(R_TYPE).
29852 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
29854 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
29857 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
29859 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
29861 (struct La_x32_retval): Likewise.
29863 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
29865 * sysdeps/x86_64/preconfigure.in: New file.
29866 * sysdeps/x86_64/preconfigure: New generated file.
29868 2012-03-22 Joseph Myers <joseph@codesourcery.com>
29871 * math/e_exp2l.c: Include <float.h>.
29872 (__ieee754_exp2l): Handle overflow and underflow cases
29873 separately. Only pass fractional part of argument to
29875 * math/libm-test.inc (exp2_test): Add more tests.
29877 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
29878 negating x to take absolute value.
29879 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
29881 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
29882 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
29884 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
29885 computing low part if x was negated.
29886 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
29888 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
29890 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
29891 la_x32_gnu_pltexit.
29892 (pltexit): Cast int_retval to ptrdiff_t.
29893 * elf/tst-auditmod3b.c: Likewise.
29894 * elf/tst-auditmod4b.c: Likewise.
29895 * elf/tst-auditmod5b.c: Likewise.
29896 * elf/tst-auditmod6b.c: Likewise.
29897 * elf/tst-auditmod6c.c: Likewise.
29898 * elf/tst-auditmod7b.c: Likewise.
29900 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
29901 and x32_gnu_pltexit.
29903 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
29904 __ELF_NATIVE_CLASS.
29905 (La_x32_regs): New macro.
29906 (La_x32_retval): Likewise.
29907 (la_x32_gnu_pltenter): New function prototype.
29908 (la_x32_gnu_pltexit): Likewise.
29910 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
29912 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
29915 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29917 * configure.in (libc_cv_cc_nofma): Check for option to disable
29918 generation of FMA instructions.
29919 * configure: Regenerate.
29920 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
29921 * sysdeps/ieee754/dbl-64/Makefile: New file.
29922 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
29923 Remove brandred-fma4.
29924 (CFLAGS-brandred-fma4.c): Remove.
29925 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
29926 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
29928 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
29931 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
29933 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
29934 LLONG_MAX != LONG_MAX.
29935 (_itoa_word): Use _ITOA_WORD_TYPE on value.
29936 (_fitoa_word): Likewise.
29937 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
29938 LLONG_MAX != LONG_MAX.
29939 * stdio-common/_itowa.h: Include <_itoa.h>.
29940 (_itowa_word): Use _ITOA_WORD_TYPE on value.
29941 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
29942 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
29943 only if not defined.
29944 (_ITOA_WORD_TYPE): Likewise.
29945 (_itoa_word): Use _ITOA_WORD_TYPE on value.
29946 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
29948 2012-03-21 David S. Miller <davem@davemloft.net>
29950 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29952 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
29954 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
29955 of x86_64 when setting libc_cv_slibdir, libdir and
29957 * sysdeps/unix/sysv/linux/configure: Regenerated.
29959 2012-03-21 Joseph Myers <joseph@codesourcery.com>
29961 * manual/lang.texi (Old Varargs): Remove section.
29962 (How Variadic): Update menu.
29963 (va_start): Do not mention varargs.h.
29965 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
29966 Joseph Myers <joseph@codesourcery.com>
29968 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
29970 * configure: Regenerated.
29972 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
29974 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
29975 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
29978 2012-03-21 Joseph Myers <joseph@codesourcery.com>
29981 * Makefile (files-for-dist): Remove NOTES.
29982 (NOTES): Remove rule.
29983 * README: Don't refer to NOTES.
29984 * manual/creature.texi: Don't include macros.texi.
29985 * manual/intro.texi (creature.texi): Remove comment referring to
29988 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
29989 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
29990 * configure: Regenerated.
29991 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
29992 LIBC_TRY_CC_OPTION.
29993 (libc_cv_as_i686): Likewise.
29994 (libc_cv_cc_avx): Likewise.
29995 (libc_cv_cc_sse2avx): Likewise.
29996 (libc_cv_cc_fma4): Likewise.
29997 (libc_cv_cc_novzeroupper): Likewise.
29998 * sysdeps/i386/configure: Regenerated.
30001 * sysdeps/i386/fpu/s_cexp.S: Remove.
30002 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
30003 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
30004 * math/libm-test.inc (cexp_test): Add more tests.
30005 * sysdeps/i386/fpu/libm-test-ulps: Update.
30006 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30008 2012-03-21 Allan McRae <allan@archlinux.org>
30010 * timezone/Makefile: Do not install iso3166.tab and zone.tab
30012 2012-03-21 Joseph Myers <joseph@codesourcery.com>
30015 * math/w_exp2.c: Do not include <float.h>.
30016 (o_threshold, u_threshold): Remove.
30017 (__exp2): Calculate result before checking finiteness and calling
30019 * math/w_exp2f.c: Likewise.
30020 * math/w_exp2l.c: Likewise.
30021 * math/libm-test.inc (exp2_test): Require overflow exception for
30025 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
30026 range of signed 64-bit integers before using fistpll. Remove
30027 checks for whether integers fit in mantissa bits.
30028 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
30029 the range of signed 32-bit integers before using fistpl. Remove
30030 checks for whether integers fit in mantissa bits.
30031 * sysdeps/i386/fpu/e_powl.S (p64): New object.
30032 (__ieee754_powl): Test for y outside the range of signed 64-bit
30033 integers before using fistpll. Reduce 64-bit values to 63-bit
30035 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
30036 divide-by-zero is raised for zero to large negative powers.
30037 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
30038 (__ieee754_powl): Test for y outside the range of signed 64-bit
30039 integers before using fistpll. Reduce 64-bit values to 63-bit
30041 * math/libm-test.inc (pow_test): Add more tests.
30043 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
30045 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
30046 <stdio-common/_itoa.h>.
30047 * debug/segfault.c: Likewise.
30048 * elf/dl-cache.c: Likewise.
30049 * elf/dl-minimal.c: Likewise.
30050 * elf/dl-misc.c: Likewise.
30051 * elf/dl-sysdep.c: Likewise.
30052 * elf/dl-version.c: Likewise.
30053 * elf/rtld.c: Likewise.
30054 * hurd/hurdsock.c: Likewise.
30055 * hurd/lookup-retry.c: Likewise.
30056 * malloc/malloc.c: Likewise.
30057 * malloc/mtrace.c: Likewise.
30058 * nscd/nscd_getgr_r.c: Likewise.
30059 * nscd/nscd_getpw_r.c: Likewise.
30060 * nscd/nscd_getserv_r.c: Likewise.
30061 * posix/getopt_init.c: Likewise.
30062 * posix/wordexp.c: Likewise.
30063 * stdio-common/_itoa.c: Likewise.
30064 * stdio-common/printf_fphex.c: Likewise.
30065 * stdio-common/vfprintf.c: Likewise.
30066 * string/_strerror.c: Likewise.
30067 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
30068 * sysdeps/i386/i686/hp-timing.h: Likewise.
30069 * sysdeps/mach/_strerror.c: Likewise.
30070 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
30071 * sysdeps/mach/hurd/sethostid.c: Likewise.
30072 * sysdeps/mach/hurd/xmknodat.c: Likewise.
30073 * sysdeps/mach/xpg-strerror.c: Likewise.
30074 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
30075 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
30076 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
30077 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
30078 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
30079 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
30080 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
30081 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
30082 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
30083 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
30084 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
30085 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
30086 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
30087 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
30088 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
30089 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
30090 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
30091 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
30092 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
30093 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
30094 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
30096 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
30098 * stdio-common/_itoa.h: Moved to ...
30099 * sysdeps/generic/_itoa.h: Here.
30101 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
30103 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
30104 instead of "_itoa.h" and "_itowa.h".
30105 * stdio-common/vfprintf.: Likewise.
30107 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
30109 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
30111 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
30112 (__signbit): Likwise.
30113 (llrintf): Likwise.
30116 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
30118 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
30121 2012-03-20 Joseph Myers <joseph@codesourcery.com>
30123 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
30124 OVERFLOW_EXCEPTION_OK.
30125 * math/libm-test.inc ("Philosophy"): Update comment about
30127 (OVERFLOW_EXCEPTION): Define.
30128 (OVERFLOW_EXCEPTION_OK): Likewise.
30129 (INVALID_EXCEPTION_OK): Renumber.
30130 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
30131 (IGNORE_ZERO_INF_SIGN): Likewise.
30132 (test_exceptions): Handle FE_OVERFLOW.
30133 (exp10_test): Expect overflow exceptions.
30134 (exp2_test): Likewise.
30135 (expm1_test): Likewise.
30136 (nextafter_test): Likewise.
30137 (pow_test): Likewise.
30138 (scalbn_test): Likewise.
30139 (scalbln_test): Likewise.
30141 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
30143 * sysdeps/x86_64/bits/atomic.h
30144 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
30146 (atomic_exchange_acq): Likewise.
30147 (__arch_exchange_and_add_body): Likewise.
30148 (__arch_add_body): Likewise.
30149 (atomic_add_negative): Likewise.
30150 (atomic_add_zero): Likewise.
30152 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
30154 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
30155 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
30157 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
30159 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
30160 Check __x86_64__ instead of __WORDSIZE.
30162 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
30164 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
30166 2012-03-19 David S. Miller <davem@davemloft.net>
30168 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30170 * sysdeps/sparc/fpu/fenv_private.h: New file.
30171 * sysdeps/sparc/fpu/math_private.h: Use it.
30172 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
30174 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
30175 (libc_feholdexcept_setroundl): Remove.
30176 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
30178 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
30179 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
30181 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
30183 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
30184 int64_t instead of long int.
30185 (INSERT_WORDS64): Likwise.
30187 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
30189 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
30190 _Unwind_GetCFA return to _Unwind_Ptr first.
30192 2012-03-19 Joseph Myers <joseph@codesourcery.com>
30195 * math/s_clog.c: Include <float.h>.
30196 (__clog): Scale large or subnormal inputs.
30197 * math/s_clogf.c: Likewise.
30198 * math/s_clogl.c: Likewise.
30199 * math/s_clog10.c: Include <float.h>.
30200 (M_LOG10_2): Define.
30201 (__clog10): Scale large or subnormal inputs.
30202 * math/s_clog10f.c: Likewise.
30203 * math/s_clog10l.c: Likewise.
30204 * math/libm-test.inc (clog_test): Add more tests.
30205 (clog10_test): Likewise.
30206 * sysdeps/i386/fpu/libm-test-ulps: Update.
30207 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30210 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
30212 * math/libm-test.inc (atan2_test): Add another test.
30214 * Makerules (common-objdir-compile): Remove.
30215 * sysdeps/unix/Makefile (config-generated): Do not add
30216 $(unix-generated) to variable.
30217 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
30218 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
30220 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
30222 [generic bits/local_lim.h] (before-compile): Do not append to
30224 [generic bits/local_lim.h] (common-generated): Likewise.
30225 [generic sys/param.h] (before-compile): Do not append to variable.
30226 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
30227 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
30228 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
30229 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
30231 [generic sys/param.h] (sys/param.h-includes): Remove variable.
30232 [generic sys/param.h] (sys/param.h-includes): Remove rule.
30233 [generic sys/param.h] ($(addprefix
30234 $(common-objpfx),$(sys/param.h-includes))): Likewise.
30235 [generic sys/param.h] (common-generated): Do not append to
30237 [generic sys/param.h] (sysdep_headers): Likewise.
30238 [generic bits/errno.h] (before-compile): Do not append to
30240 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
30242 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
30243 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
30244 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
30245 [generic bits/errno.h] (common-generated): Do not append to
30247 [generic bits/ioctls.h] (before-compile): Do not append to
30249 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
30251 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
30252 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
30253 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
30255 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
30256 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
30257 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
30258 [generic bits/ioctls.h] (common-generated): Do not append to
30260 [generic sys/syscall.h] (syscall.h): Remove variable.
30261 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
30263 [generic sys/syscall.h] (before-compile): Do not append to
30265 [generic sys/syscall.h] (common-generated): Likewise.
30266 * sysdeps/unix/errnos-tmpl.c: Remove file.
30267 * sysdeps/unix/errnos.awk: Likewise.
30268 * sysdeps/unix/ioctls-tmpl.c: Likewise.
30269 * sysdeps/unix/ioctls.awk: Likewise.
30270 * sysdeps/unix/mk-local_lim.c: Likewise.
30271 * sysdeps/unix/snarf-ioctls: Likewise.
30273 2012-03-19 Richard Henderson <rth@twiddle.net>
30275 * sysdeps/i386/fpu/fenv_private.h: New file.
30276 * sysdeps/i386/fpu/math_private.h: Use it.
30277 (math_opt_barrier, math_force_eval): Remove.
30278 (libc_feholdexcept_setround_53bit): Remove.
30279 (libc_feupdateenv_53bit): Remove.
30280 * sysdeps/x86_64/fpu/math_private.h: Likewise.
30281 (math_opt_barrier, math_force_eval): Remove.
30282 (libc_feholdexcept): Remove.
30283 (libc_feholdexcept_setround): Remove.
30284 (libc_fetestexcept, libc_fesetenv): Remove.
30285 (libc_feupdateenv_test): Remove.
30286 (libc_feupdateenv, libc_feholdsetround): Remove.
30287 (libc_feresetround): Remove.
30289 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
30290 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
30292 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
30293 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
30294 (libc_feupdateenv_testl): New.
30295 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
30296 (libc_feupdateenv_testf): New.
30297 (libc_feupdateenv): Use libc_feupdateenv_test.
30298 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
30299 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
30301 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
30302 (libc_feholdsetroundf, libc_feholdsetroundl): New.
30303 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
30304 (libc_feresetround_noex): New.
30305 (libc_feresetround_noexf): New.
30306 (libc_feresetround_noexl): New.
30307 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
30308 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
30309 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
30310 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
30312 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
30313 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
30315 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
30316 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
30317 SET_RESTORE_ROUND_NOEX.
30318 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
30319 SET_RESTORE_ROUND_NOEXF.
30320 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
30321 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
30322 (libc_feholdsetroundf): New.
30323 (libc_feresetround, libc_feresetroundf): New.
30325 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
30326 (libc_feholdexcept_setround_53bit): Convert from macro to function.
30327 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
30329 * sysdeps/generic/math_private.h: Include <fenv.h>.
30330 (default_libc_feholdexcept): New.
30331 (default_libc_feholdexcept_setround): New.
30332 (default_libc_fesetenv, default_libc_feupdateenv): New.
30333 (libc_feholdexcept): Only define if undefined.
30334 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
30335 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
30336 (libc_feholdexcept_setroundl): Likewise.
30337 (libc_feholdexcept_setround_53bit): Likewise.
30338 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
30339 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
30340 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
30341 (libc_feupdateenv_53bit): Likewise.
30342 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
30343 (libc_feholdexcept): Convert from macro to inline function.
30344 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
30345 (libc_fesetenv, libc_feupdateenv): Likewise.
30347 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
30348 not previously defined.
30349 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
30350 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
30351 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
30352 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
30353 * sysdeps/ieee754/flt-32/math_private.h: New file.
30354 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
30355 math_private.h below SET_FLOAT_WORD.
30356 (__isnan, __isinf_ns, __finite): Remove.
30357 (__isnanf, __isinf_nsf, __finitef): Remove.
30359 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
30361 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30363 2012-03-17 David S. Miller <davem@davemloft.net>
30366 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
30369 2012-03-16 David S. Miller <davem@davemloft.net>
30371 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
30375 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
30377 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
30378 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
30379 sysdep_routines when subdir is sysvipc.
30380 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
30381 __getshmlba helper.
30383 * sysdeps/sparc/fpu/libm-test/ulps: Update.
30385 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
30387 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
30390 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
30392 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
30393 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
30394 (__lround): Renamed to ...
30395 (__llround): This. Replace long int with long long int.
30396 Define lround functions as aliases of llround functions.
30397 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
30399 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
30401 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
30402 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
30403 adresses to uintptr_t. Replace "long int" and "unsigned long
30404 int" with "greg_t" on va_arg.
30406 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
30408 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
30409 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
30411 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
30412 Move e_machine check before EI_CLASS check. Handle x32
30413 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
30414 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
30415 SKIP_EM_IA_64 and include
30416 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
30418 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
30419 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
30420 (add_system_dir): New macro.
30422 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
30423 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
30425 2012-03-16 Joseph Myers <joseph@codesourcery.com>
30436 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
30438 * math/w_j0f.c (j0f): Likewise.
30440 * math/w_j0l.c (__j0l): Likewise.
30442 * math/w_j1.c (j1): Likewise.
30444 * math/w_j1f.c (j1f): Likewise.
30446 * math/w_j1l.c (__j1l): Likewise.
30448 * math/w_jn.c (jn): Likewise.
30450 * math/w_jnf.c (jnf): Likewise.
30452 * math/w_jnl.c (__jnl): Likewise.
30454 * math/libm-test.inc (j0_test): Add more tests.
30455 (j1_test): Likewise.
30456 (jn_test): Likewise. Add trailing semicolon to existing test.
30457 (y0_test): Likewise.
30458 (y1_test): Likewise.
30459 * sysdeps/i386/fpu/libm-test-ulps: Update.
30460 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30464 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
30465 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
30466 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
30467 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
30468 (__tanl): Set errno for infinite argument.
30469 * sysdeps/i386/fpu/mptan.c: Remove.
30470 * sysdeps/i386/fpu/s_tan.S: Likewise.
30471 * sysdeps/i386/fpu/s_tanl.S: Likewise.
30472 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
30473 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
30474 * math/libm-test.inc (tan_test): Add more tests and enable more
30475 tests for double and long double.
30476 * sysdeps/i386/fpu/libm-test-ulps: Update.
30477 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30479 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
30481 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
30482 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
30484 2012-03-16 Roland McGrath <roland@hack.frob.com>
30486 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
30487 * configure.in: Use it for both main tree and add-ons.
30488 * configure: Regenerated.
30490 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
30492 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
30494 2012-03-16 Joseph Myers <joseph@codesourcery.com>
30496 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
30500 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
30501 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
30502 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
30503 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
30504 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
30506 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
30507 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
30508 != 0 for prec == 2.
30509 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
30510 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
30511 * sysdeps/i386/fpu/s_cosl.S: Likewise.
30512 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
30513 * sysdeps/i386/fpu/s_sinl.S: Likewise.
30514 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
30515 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
30516 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
30517 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
30518 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
30519 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
30520 * math/libm-test.inc (cos_test): Add more tests and enable more
30521 tests for long double.
30522 (sin_test): Likewise.
30523 (sincos_test): Likewise.
30524 * sysdeps/i386/fpu/libm-test-ulps: Update.
30525 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30527 2012-03-16 David S. Miller <davem@davemloft.net>
30529 * sysdeps/sparc/fpu/math_private.h: New file.
30531 2012-03-15 David S. Miller <davem@davemloft.net>
30533 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
30535 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
30536 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
30538 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
30539 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
30540 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
30541 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
30542 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
30543 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
30545 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
30547 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
30548 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
30550 * sysdeps/sparc/sparc-ifunc.h: New file.
30551 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
30553 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
30554 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
30556 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
30558 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
30559 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
30560 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
30561 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
30563 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
30564 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
30565 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
30566 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
30567 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
30569 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
30571 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
30572 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
30573 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
30574 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
30575 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
30576 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
30577 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
30578 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
30579 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
30580 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
30581 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
30582 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
30583 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
30584 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
30585 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
30586 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
30587 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
30588 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
30589 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
30590 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
30591 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
30592 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
30593 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
30594 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
30596 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
30598 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
30600 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30602 2012-03-15 Andreas Jaeger <aj@suse.de>
30605 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
30606 ieee754/flt-32 implementation for sin, cos and sincos.
30607 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
30608 * sysdeps/i386/fpu/s_cosf.S: Likewise.
30609 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
30610 * sysdeps/i386/fpu/s_sinf.S: Likewise.
30611 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
30612 ieee754/flt-32 implementation for tan.
30614 * math/libm-test.inc (cos_test): Enable some large input tests for
30616 (sin_test): Likewise.
30617 (sincos_test): Likewise.
30618 (tan_test): Add tests for large input.
30620 * sysdeps/i386/fpu/libm-test-ulps: Update.
30622 2012-03-15 Andreas Jaeger <aj@suse.de>
30625 * math/libm-test.inc (cos_test): Add more test cases.
30626 (sin_test): Likewise.
30627 (sincos_test): Likewise.
30629 2012-03-15 Andreas Jaeger <aj@suse.de>
30632 * math/libm-test.inc (cos_test): Add a test case for large input
30634 (sin_test): Likewise.
30635 (sincos_test): Likewise.
30637 2012-03-15 Andreas Jaeger <aj@suse.de>,
30638 Joseph Myers <joseph@codesourcery.com>
30641 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
30642 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
30643 * sysdeps/i386/fpu/branred.c: Likewise.
30644 * sysdeps/i386/fpu/dosincos.c: Likewise.
30645 * sysdeps/i386/fpu/mpa.c: Likewise.
30646 * sysdeps/i386/fpu/s_cos.S: Likewise.
30647 * sysdeps/i386/fpu/s_sin.S: Likewise.
30648 * sysdeps/i386/fpu/s_sincos.S: Likewise.
30649 * sysdeps/i386/fpu/sincos32.c: Likewise.
30651 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
30653 (libc_feupdateenv_53bit): Define.
30654 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
30656 (libc_feupdateenv_53bit): Define.
30658 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
30659 53 bit (without extend i386 double precision).
30661 * math/libm-test.inc (sincos_test): Add tests for large input.
30665 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
30667 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
30669 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30671 2012-03-15 David S. Miller <davem@davemloft.net>
30673 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
30674 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
30675 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
30676 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
30677 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
30678 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
30679 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
30680 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
30681 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
30682 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
30683 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
30684 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
30685 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
30686 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
30687 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
30688 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
30690 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
30691 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
30693 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
30694 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
30696 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
30697 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
30699 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
30700 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
30701 fmin/fmax sysdep routines.
30702 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
30704 2012-03-14 David S. Miller <davem@davemloft.net>
30706 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
30707 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
30708 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
30709 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
30710 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
30711 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
30712 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
30713 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
30714 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
30715 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
30716 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
30717 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
30718 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
30719 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
30720 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
30721 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
30722 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
30723 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
30724 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
30725 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
30726 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
30727 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
30728 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
30729 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
30730 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
30731 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
30732 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
30733 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
30734 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
30736 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
30738 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
30739 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
30741 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
30742 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
30744 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
30745 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
30747 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
30748 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
30750 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
30751 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
30753 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
30755 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
30757 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
30759 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
30761 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
30763 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
30765 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
30766 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
30768 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
30769 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
30771 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
30772 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
30774 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
30775 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
30778 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
30781 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30783 * sysdeps/sparc/configure.in: New file.
30784 * sysdeps/sparc/configure: Generate.
30785 * configure.in (libc_cv_sparc_as_vis3): Substitute.
30786 * configure: Regenerate.
30787 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
30788 * config.make.in (have-as-vis3): New.
30789 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
30790 available use -Av9d instead of -Av9a.
30791 * sysdeps/sparc/sparc64/Makefile: Likewise.
30792 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
30793 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
30795 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
30797 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
30799 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
30801 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
30802 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
30803 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
30804 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
30805 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
30807 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
30808 fzeros/fnegs to load 0x80000000 into a float register instead of
30810 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
30812 2012-03-14 Joseph Myers <joseph@codesourcery.com>
30814 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30816 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
30817 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
30818 ($(inst_includedir)/bits/syscall.h): Remove rule.
30819 ($(objpfx)bits/syscall.d): Include instead of
30820 $(objpfx)syscall-list.d.
30821 (generated): Change syscall-list.h and syscall-list.d to
30822 bits/syscall.h and bits/syscall.d.
30824 2012-03-14 Roland McGrath <roland@hack.frob.com>
30827 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
30829 2012-03-14 Joseph Myers <joseph@codesourcery.com>
30832 * math/s_csqrt.c: Include <float.h>.
30833 (__csqrt): Scale large or subnormal inputs.
30834 * math/s_csqrtf.c: Likewise.
30835 * math/s_csqrtl.c: Likewise.
30836 * math/libm-test.inc (csqrt_test): Add more tests.
30837 * sysdeps/i386/fpu/libm-test-ulps: Update.
30838 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30841 * math/libm-test.inc (hypot_test): Add more tests.
30843 2012-03-13 David S. Miller <davem@davemloft.net>
30846 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
30847 double-precision for the calculation instead of scaling.
30849 2012-03-13 Joseph Myers <joseph@codesourcery.com>
30851 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
30852 manipulate bits before adding and subtracting TWO52[sx].
30853 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
30854 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
30856 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
30858 2012-03-13 David S. Miller <davem@davemloft.net>
30860 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
30861 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
30862 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
30863 rtld-global-offsets.h
30864 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
30866 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
30869 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
30871 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
30872 'err' in the ifdef scope in which it is actually used.
30874 * nss/nss_db/db-init.c: Include string.h
30876 2012-03-12 David S. Miller <davem@davemloft.net>
30878 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
30879 masking out of the most significant byte of random value used.
30880 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
30881 Fix coding style in previous change.
30883 * sysdeps/unix/sysv/linux/kernel-features.h
30884 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
30885 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
30887 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
30890 2012-03-11 David S. Miller <davem@davemloft.net>
30892 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
30893 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
30894 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
30895 for 'resultvar' otherwise things get truncated on 64-bit.
30897 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
30898 Fix masking out of the most significant byte of random value used.
30900 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30902 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
30904 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30906 2012-03-09 David S. Miller <davem@davemloft.net>
30908 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
30909 variables with appropriate CPP guards.
30910 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
30911 frame pointer, not the stack pointer. Correct layout comments. Fix test
30912 on resulting framesize and the management of the outregs buffer for pltexit.
30913 Preserve floating point return values across _dl_call_pltexit call.
30914 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
30915 framesize and the management of the outregs buffer for pltexit.
30916 Preserve floating point return values across _dl_call_pltexit
30918 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
30919 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
30920 (print_exit): Fix format string for return register value.
30922 2012-03-10 Joseph Myers <joseph@codesourcery.com>
30924 * sunrpc/Makefile (others): Add rpcgen.
30925 ($(objpfx)rpcgen): Remove special build rule and dependency on
30927 * sunrpc/rpcgen.c: New file.
30929 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
30932 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
30933 * stdio-common/bug-vfprintf-nargs.c: Likewise.
30934 * sysdeps/i386/crti.S: Likewise.
30935 * sysdeps/i386/crtn.S: Likewise.
30936 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
30937 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
30938 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
30939 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
30940 * sysdeps/sh/crti.S: Likewise.
30941 * sysdeps/sh/crtn.S: Likewise.
30942 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
30945 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
30947 * locale/programs/locfile-kw.gperf: Likewise.
30948 * locale/programs/charmap-kw.h: Regenerated.
30949 * locale/programs/locfile-kw.h: Likewise.
30952 * intl/plural.y: Replace FSF snail mail address with URL.
30953 * intl/plural.c: Regenerated.
30955 2012-03-09 Richard Henderson <rth@twiddle.net>
30957 * include/math_private.h: Remove file.
30958 * math/math_private.h: Move file ...
30959 * sysdeps/generic/math_private.h: ... here.
30961 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
30962 * sysdeps/powerpc/fpu/math_private.h: Likewise.
30963 * sysdeps/x86_64/fpu/math_private.h: Likewise.
30965 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
30966 and <math_private.h>.
30967 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
30968 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
30969 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
30970 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
30971 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
30972 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
30973 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
30974 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
30975 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
30976 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
30977 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
30978 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
30979 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
30980 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
30981 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
30982 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
30983 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
30984 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
30985 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
30986 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
30987 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30988 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
30989 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
30990 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
30991 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
30992 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
30993 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
30994 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
30995 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
30996 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
30997 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
30998 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
30999 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
31000 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
31001 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
31002 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
31003 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
31004 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
31005 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
31006 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
31007 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
31008 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
31009 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
31010 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
31011 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
31012 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
31013 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
31014 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
31015 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
31016 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
31017 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
31018 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
31019 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
31020 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
31021 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
31022 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
31023 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
31024 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
31025 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
31026 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
31027 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
31028 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
31029 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
31030 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
31031 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
31032 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
31033 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
31034 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
31035 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
31036 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
31037 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
31038 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
31039 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
31040 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
31041 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
31042 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
31043 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
31044 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
31045 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
31046 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
31047 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
31048 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
31049 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
31050 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
31051 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
31052 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
31053 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
31054 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
31055 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
31056 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
31057 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
31058 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
31059 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
31060 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
31061 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
31062 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
31063 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
31064 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
31065 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
31066 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
31067 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
31068 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
31069 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
31070 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
31071 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
31072 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
31073 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
31074 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
31075 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
31076 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
31077 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
31078 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
31079 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
31080 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
31081 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
31082 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
31083 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
31084 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
31085 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
31086 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
31087 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
31088 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
31089 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
31090 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
31091 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
31092 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
31093 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
31094 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
31095 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
31096 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
31097 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
31098 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
31099 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
31100 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
31101 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
31102 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
31103 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
31104 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
31105 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
31106 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
31107 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
31108 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
31109 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
31110 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
31111 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
31112 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
31113 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
31114 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
31115 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
31116 * sysdeps/ieee754/k_standard.c: Likewise.
31117 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
31118 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
31119 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
31120 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
31121 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
31122 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
31123 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
31124 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
31125 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
31126 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
31127 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
31128 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
31129 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
31130 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
31131 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
31132 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
31133 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
31134 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
31135 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
31136 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
31137 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
31138 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
31139 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
31140 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
31141 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
31142 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
31143 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
31144 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
31145 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
31146 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
31147 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
31148 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
31149 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
31150 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
31151 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
31152 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
31153 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
31154 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
31155 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
31156 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
31157 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
31158 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
31159 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
31160 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
31161 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
31162 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
31163 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
31164 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
31165 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
31166 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
31167 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
31168 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
31169 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
31170 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
31171 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
31172 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
31173 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
31174 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
31175 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
31176 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
31177 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
31178 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
31179 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
31180 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
31181 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
31182 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
31183 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
31184 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
31185 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
31186 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
31187 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
31188 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
31189 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
31190 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
31191 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
31192 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
31193 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
31194 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
31195 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
31196 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
31197 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
31198 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
31199 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
31200 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
31201 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
31202 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
31203 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
31204 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
31205 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
31206 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
31207 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
31208 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
31209 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
31210 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
31211 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
31212 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
31213 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
31214 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
31215 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
31216 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
31217 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
31218 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
31219 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
31220 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
31221 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
31222 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
31223 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
31224 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
31225 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
31226 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
31227 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
31228 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
31229 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
31230 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
31231 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
31232 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
31233 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
31234 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
31235 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
31236 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
31237 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
31238 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
31239 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
31240 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
31241 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
31242 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
31243 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
31244 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
31245 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
31246 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
31247 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
31248 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
31249 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
31250 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
31251 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
31252 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
31253 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
31254 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
31255 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
31256 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
31257 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
31258 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
31259 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
31260 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
31261 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
31262 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
31263 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
31264 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
31265 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
31266 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
31267 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
31268 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
31269 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
31270 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
31271 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
31272 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
31273 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
31274 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
31275 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
31276 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
31277 * sysdeps/ieee754/s_lib_version.c: Likewise.
31278 * sysdeps/ieee754/s_matherr.c: Likewise.
31279 * sysdeps/ieee754/s_signgam.c: Likewise.
31280 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
31281 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
31282 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
31283 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
31284 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
31285 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
31286 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
31287 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
31288 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
31289 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
31290 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
31291 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
31292 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
31293 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
31294 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
31295 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
31296 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
31297 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
31298 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
31299 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
31300 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
31302 2012-03-09 Joseph Myers <joseph@codesourcery.com>
31304 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
31305 * sunrpc/rpc_main.c: Likewise.
31306 * sunrpc/rpc_svcout.c: Likewise.
31308 2012-03-09 David S. Miller <davem@davemloft.net>
31310 * include/math_private.h: New file.
31312 2012-03-09 Joseph Myers <joseph@codesourcery.com>
31314 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
31315 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
31316 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
31317 from <bits/socket_type.h>.
31318 (enum __socket_type): Don't define here.
31319 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
31320 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31321 bits/socket_type.h.
31324 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
31325 checking __USE_GNU.
31327 * Makerules ($(inst_includedir)/%.h): New rule.
31328 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
31329 (install-others): Remove variable setting.
31330 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
31332 2012-03-08 Richard Henderson <rth@twiddle.net>
31334 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
31335 from macro to inline function; merge with the
31336 !__LIBC_INTERNAL_MATH_INLINES version.
31337 (__ieee754_sqrtf): Likewise.
31339 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
31340 to inline function.
31341 (__rintf, __floor, __floorf): Likewise.
31343 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
31344 macro to inline function.
31345 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
31347 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
31348 not <math/math_private.h>.
31350 2012-03-08 David S. Miller <davem@davemloft.net>
31352 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
31354 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
31356 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
31358 * resolv/gai_misc.c (handle_requests): Fix struct timespec
31360 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
31361 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
31363 2012-03-08 Ulrich Drepper <drepper@gmail.com>
31365 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
31366 be defined individually, they must be defined as a block. Define
31367 S for printing a string instead of hidint the different by using a
31368 macro for adding the 'l'.
31369 * stdio-common/tst-fphex-wide.c: Adjust.
31371 2012-03-07 Marek Polacek <polacek@redhat.com>
31373 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
31375 2012-03-08 Marek Polacek <polacek@redhat.com>
31378 * stdio-common/Makefile (tests): Add tst-fphex-wide.
31379 * stdio-common/tst-fphex.c: Define a few macros to make the
31380 test reusable. Use them.
31381 * stdio-common/tst-fphex-wide.c: New file.
31383 2012-03-08 Joseph Myers <joseph@codesourcery.com>
31386 * manual/macros.texi (gnusystems): New macro.
31387 (nongnusystems): Likewise.
31388 (gnulinuxhurdsystems): Likewise.
31389 (gnuhurdsystems): Likewise..
31390 (gnulinuxsystems): Likewise.
31391 * manual/charset.texi: Use new macros or @theglibc{} to refer to
31392 variants of the GNU system, not "GNU system".
31393 * manual/conf.texi: Likewise.
31394 * manual/errno.texi: Likewise. Update example of errno macro
31396 * manual/filesys.texi: Likewise.
31397 (getumask): Document as specific to GNU/Hurd.
31398 * manual/install.texi: Likewise. Reword some references to
31400 * manual/intro.texi: Likewise.
31401 * manual/io.texi: Likewise.
31402 (File Name Portability): Detail which constraints are inapplicable
31403 to all GNU systems and which are only inapplicable to GNU/Hurd.
31404 * manual/job.texi: Likewise.
31405 * manual/llio.texi: Likewise.
31406 (O_NOCTTY): Document as present on GNU/Linux.
31407 * manual/maint.texi: Likewise.
31408 * manual/memory.texi: Likewise.
31409 * manual/pattern.texi: Likewise.
31410 * manual/pipe.texi: Likewise.
31411 * manual/process.texi: Likewise.
31412 * manual/resource.texi: Likewise.
31413 (RUSAGE_CHILDREN): Remove statement about specifying a particular
31415 * manual/setjmp.texi: Likewise.
31416 * manual/signal.texi: Likewise.
31417 * manual/startup.texi: Likewise.
31418 * manual/stdio.texi: Likewise.
31419 * manual/terminal.texi: Likewise.
31420 (ONLCR): Document as POSIX.
31421 (OXTABS): Document availability on GNU/Linux as XTABS.
31422 (ONOEOT): Document availability separately from other bits.
31423 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
31424 * manual/time.texi: Likewise.
31425 * manual/users.texi: Likewise.
31426 * INSTALL: Regenerated.
31427 * sysdeps/gnu/errlist.c: Regenerated.
31429 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
31430 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
31431 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
31433 * configure: Regenerated.
31435 2012-03-07 Joseph Myers <joseph@codesourcery.com>
31437 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
31438 default includes instead of AC_HEADER_CHECK.
31439 * sysdeps/i386/configure: Regenerated.
31442 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
31443 * math/s_cacoshf.c (__cacoshf): Likewise.
31444 * math/s_cacoshl.c (__cacoshl): Likewise.
31445 * math/s_casinh.c (__casinh): Set signs of result from argument.
31446 * math/s_casinhf.c (__casinhf): Likewise.
31447 * math/s_casinhl.c (__casinhl): Likewise.
31448 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
31449 (casinh_test): Add more tests.
31450 * sysdeps/i386/fpu/libm-test-ulps: Update.
31451 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31453 2012-03-07 Ulrich Drepper <drepper@gmail.com>
31455 * po/zh_TW.po: Update from translation team.
31457 * login/Makefile (distribute): Remove variable.
31458 * catgets/Makefile: Likewise.
31459 * mach/Makefile: Likewise.
31460 * malloc/Makefile: Likewise.
31461 * misc/Makefile: Likewise.
31462 * iconv/Makefile: Likewise.
31463 * nscd/Makefile: Likewise.
31464 * hurd/Makefile: Likewise.
31465 * manual/Makefile: Likewise.
31466 * locale/Makefile: Likewise.
31467 * intl/Makefile: Likewise.
31468 * conform/Makefile: Likewise.
31469 * nss/Makefile: Likewise.
31470 * time/Makefile: Likewise.
31471 * soft-fp/Makefile: Likewise.
31472 * dirent/Makefile: Likewise.
31473 * gmon/Makefile: Likewise.
31474 * po/Makefile: Likewise.
31475 * rt/Makefile: Likewise.
31476 * socket/Makefile: Likewise.
31477 * math/Makefile: Likewise.
31478 * signal/Makefile: Likewise.
31479 * debug/Makefile: Likewise.
31480 * elf/Makefile: Likewise.
31481 * timezone/Makefile: Likewise.
31482 * stdlib/Makefile: Likewise.
31483 * iconvdata/Makefile: Likewise.
31484 * sunrpc/Makefile: Likewise.
31485 * io/Makefile: Likewise.
31486 * argp/Makefile: Likewise.
31487 * inet/Makefile: Likewise.
31488 * hesiod/Makefile: Likewise.
31489 * grp/Makefile: Likewise.
31490 * csu/Makefile: Likewise.
31491 * wctype/Makefile: Likewise.
31492 * crypt/Makefile: Likewise.
31493 * libio/Makefile: Likewise.
31494 * string/Makefile: Likewise.
31495 * nis/Makefile: Likewise.
31496 * resolv/Makefile: Likewise.
31497 * stdio-common/Makefile: Likewise.
31498 * wcsmbs/Makefile: Likewise.
31499 * dlfcn/Makefile: Likewise.
31500 * posix/Makefile: Likewise.
31503 * timezone/Makefile: Don't install timezone files, just the programs
31506 2012-03-06 Ulrich Drepper <drepper@gmail.com>
31508 * nss/databases.def: Add missing gshadow entry.
31510 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
31512 2012-03-06 Marek Polacek <polacek@redhat.com>
31515 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
31516 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
31517 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
31518 * stdio-common/tst-long-dbl-fphex.c: New file.
31520 2012-03-06 David S. Miller <davem@davemloft.net>
31522 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
31523 (set_obp_int): New function.
31524 (get_obp_int): New function.
31525 (__get_clockfreq_via_dev_openprom): Likewise.
31526 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
31527 Avoid unused variable warnings on 'val' and use builtin_expect.
31528 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
31530 (INLINE_CLONE_SYSCALL): Likewise.
31532 2012-03-05 David S. Miller <davem@davemloft.net>
31534 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31536 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
31538 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31540 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
31541 only for |x| >= 40.
31542 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
31544 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
31546 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
31547 Replace gettimeofday with __vdso_gettimeofday.
31549 * sysdeps/unix/sysv/linux/x86_64/init-first.c
31550 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
31551 __vdso_clock_gettime and __vdso_getcpu.
31553 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
31554 time with __vdso_time.
31556 2012-03-05 Joseph Myers <joseph@codesourcery.com>
31558 * manual/lang.texi (size_t): Note types to which size_t may be
31559 equivalent with the GNU C Library, but do not describe when
31560 differences between them are significant.
31562 2012-03-05 Andreas Jaeger <aj@suse.de>
31564 * sysdeps/i386/fpu/libm-test-ulps: Update.
31566 2012-03-05 Joseph Myers <joseph@codesourcery.com>
31569 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
31570 (__ieee754_pow): Save and restore rounding mode and use
31571 round-to-nearest for main computations.
31572 * math/libm-test.inc (pow_test_tonearest): New function.
31573 (pow_test_towardzero): Likewise.
31574 (pow_test_downward): Likewise.
31575 (pow_test_upward): Likewise.
31576 (main): Call the new functions.
31577 * sysdeps/i386/fpu/libm-test-ulps: Update.
31578 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31581 * math/libm-test.inc (cosh_test_tonearest): New function.
31582 (cosh_test_towardzero): Likewise.
31583 (cosh_test_downward): Likewise.
31584 (cosh_test_upward): Likewise.
31585 (sinh_test_tonearest): Likewise.
31586 (sinh_test_towardzero): Likewise.
31587 (sinh_test_downward): Likewise.
31588 (sinh_test_upward): Likewise.
31589 (main): Call the new functions.
31590 * sysdeps/i386/fpu/libm-test-ulps: Update.
31591 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31593 2012-03-05 Tom de Vries <tom@codesourcery.com>
31595 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
31596 default stack guard is set in last bytes.
31597 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
31599 2012-03-05 Kees Cook <keescook@chromium.org>
31601 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
31604 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
31605 possibly allocate from heap instead of stack.
31606 * stdio-common/bug-vfprintf-nargs.c: New file.
31607 * stdio-common/Makefile (tests): Add nargs overflow test.
31609 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
31611 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31613 2012-03-03 Marek Polacek <polacek@redhat.com>
31615 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
31616 * math/math_private.h: Likewise.
31617 * stdlib/tst-strtod.c: Likewise.
31618 * sysdeps/i386/i486/bits/atomic.h: Likewise.
31619 * sysdeps/x86_64/bits/atomic.h: Likewise.
31621 2012-03-02 David S. Miller <davem@davemloft.net>
31623 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
31624 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
31625 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
31626 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
31627 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
31628 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
31629 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
31630 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
31632 2012-03-02 Roland McGrath <roland@hack.frob.com>
31635 * manual/examples/README: New file, says the example source files
31636 can be used under GPL>=2.
31637 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
31638 line containing just "*/".
31639 * manual/examples/add.c: Add copyright header (GPL>=2).
31640 * manual/examples/argp-ex1.c: Likewise.
31641 * manual/examples/argp-ex2.c: Likewise.
31642 * manual/examples/argp-ex3.c: Likewise.
31643 * manual/examples/argp-ex4.c: Likewise.
31644 * manual/examples/atexit.c: Likewise.
31645 * manual/examples/db.c: Likewise.
31646 * manual/examples/dir.c: Likewise.
31647 * manual/examples/dir2.c: Likewise.
31648 * manual/examples/execinfo.c: Likewise.
31649 * manual/examples/filecli.c: Likewise.
31650 * manual/examples/filesrv.c: Likewise.
31651 * manual/examples/fmtmsgexpl.c: Likewise.
31652 * manual/examples/genpass.c: Likewise.
31653 * manual/examples/inetcli.c: Likewise.
31654 * manual/examples/inetsrv.c: Likewise.
31655 * manual/examples/isockad.c: Likewise.
31656 * manual/examples/longopt.c: Likewise.
31657 * manual/examples/memopen.c: Likewise.
31658 * manual/examples/memstrm.c: Likewise.
31659 * manual/examples/mkfsock.c: Likewise.
31660 * manual/examples/mkisock.c: Likewise.
31661 * manual/examples/mygetpass.c: Likewise.
31662 * manual/examples/pipe.c: Likewise.
31663 * manual/examples/popen.c: Likewise.
31664 * manual/examples/rprintf.c: Likewise.
31665 * manual/examples/search.c: Likewise.
31666 * manual/examples/select.c: Likewise.
31667 * manual/examples/setjmp.c: Likewise.
31668 * manual/examples/sigh1.c: Likewise.
31669 * manual/examples/sigusr.c: Likewise.
31670 * manual/examples/stpcpy.c: Likewise.
31671 * manual/examples/strdupa.c: Likewise.
31672 * manual/examples/strftim.c: Likewise.
31673 * manual/examples/strncat.c: Likewise.
31674 * manual/examples/subopt.c: Likewise.
31675 * manual/examples/swapcontext.c: Likewise.
31676 * manual/examples/termios.c: Likewise.
31677 * manual/examples/testopt.c: Likewise.
31678 * manual/examples/testpass.c: Likewise.
31679 * manual/examples/timeval_subtract.c: Likewise.
31682 * manual/time.texi (Elapsed Time): Move timeval_subtract example
31684 * manual/timeval_subtract.c.texi: ... here, new file.
31686 2012-03-02 David S. Miller <davem@davemloft.net>
31688 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
31690 2012-03-02 Joseph Myers <joseph@codesourcery.com>
31693 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
31694 (__sin): Save and restore rounding mode and use round-to-nearest
31695 for all computations.
31696 (__cos): Save and restore rounding mode and use round-to-nearest
31697 for all computations.
31698 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
31700 (tan): Save and restore rounding mode and use round-to-nearest for
31702 * math/libm-test.inc (cos_test_tonearest): New function.
31703 (cos_test_towardzero): Likewise.
31704 (cos_test_downward): Likewise.
31705 (cos_test_upward): Likewise.
31706 (sin_test_tonearest): Likewise.
31707 (sin_test_towardzero): Likewise.
31708 (sin_test_downward): Likewise.
31709 (sin_test_upward): Likewise.
31710 (tan_test_tonearest): Likewise.
31711 (tan_test_towardzero): Likewise.
31712 (tan_test_downward): Likewise.
31713 (tan_test_upward): Likewise.
31714 (main): Call the new functions.
31715 * sysdeps/i386/fpu/libm-test-ulps: Update.
31716 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31719 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
31720 small n, then large n, before computing and testing k+n.
31721 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
31722 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
31724 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
31726 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
31727 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
31728 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
31729 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
31730 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
31731 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
31732 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
31733 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
31734 * math/libm-test.inc (scalbn_test): Add more tests.
31735 (scalbln_test): Likewise.
31737 * manual/filesys.texi (mode_t): Describe constraints on size and
31738 signedness, not exact equivalence to a particular type.
31740 (ino64_t): Likewise.
31742 (nlink_t): Likewise.
31743 (blkcnt_t): Likewise.
31744 (blkcnt64_t): Likewise.
31745 * manual/llio.texi (off_t): Likewise.
31748 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
31749 (__ieee754_exp): Save and restore rounding mode and use
31750 round-to-nearest for all computations.
31751 * math/libm-test.inc (exp_test_tonearest): New function.
31752 (exp_test_towardzero): Likewise.
31753 (exp_test_downward): Likewise.
31754 (exp_test_upward): Likewise.
31755 (main): Call the new functions.
31756 * sysdeps/i386/fpu/libm-test-ulps: Update.
31757 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31759 2012-03-01 Chris Demetriou <cgd@google.com>
31761 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
31762 have predictable order.
31764 2012-03-01 David S. Miller <davem@davemloft.net>
31766 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
31768 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
31769 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
31770 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
31771 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
31773 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
31774 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
31775 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
31776 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
31777 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
31778 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
31779 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
31780 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
31781 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
31783 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31785 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
31786 * sysdeps/sparc/fpu/libm-test-ulps: to here.
31787 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
31789 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
31790 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
31791 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
31792 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
31793 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
31794 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
31795 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
31796 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
31797 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
31798 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
31799 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
31800 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
31801 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
31802 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
31803 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
31804 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
31805 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
31806 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
31807 * sysdeps/sparc/elf/configure: Regenerated.
31809 2012-03-01 Joseph Myers <joseph@codesourcery.com>
31811 * configure.in (AS, LD): Require binutils 2.20 or later.
31812 * configure: Regenerated.
31813 * manual/install.texi (Tools for Compilation): Give binutils 2.20
31814 as required minimum version.
31815 * INSTALL: Regenerated.
31819 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
31820 before squaring exponent.
31821 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
31822 bottom long double and 27 bits of top long double before squaring
31824 * math/libm-test.inc (erfc_test): Add more tests.
31825 * sysdeps/i386/fpu/libm-test-ulps: Update.
31826 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
31827 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31829 2012-03-01 Kai Tietz <ktietz@redhat.com>
31831 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
31832 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
31833 containing bit-fields.
31834 * soft-fp/extended.h (_FP_UNION_E): Likewise.
31835 * soft-fp/single.h (_FP_UNION_S): Likewise.
31836 * soft-fp/double.h (_FP_UNION_D): Likewise.
31838 2012-02-29 Joseph Myers <joseph@codesourcery.com>
31841 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
31842 not include ../strcmp.S.
31843 [USE_AS_STRNCASECMP_L]: Likewise.
31844 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
31845 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
31846 * sysdeps/i386/i686/multiarch/strncase_l-c.c
31847 (__strncasecmp_l_ia32): Define as alias to
31848 __strncasecmp_l_nonascii.
31851 * math/libm-test.inc (expm1_test): Add test for bug 5794.
31852 * sysdeps/i386/fpu/libm-test-ulps: Update.
31853 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31855 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
31856 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31858 2012-02-29 Jeff Law <law@redhat.com>
31860 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
31861 out of bounds read.
31863 2012-02-29 Marek Polacek <polacek@redhat.com>
31866 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
31867 * elf/Makefile: Add rules to run tst-unused-dep.out.
31869 2012-02-28 David S. Miller <davem@davemloft.net>
31871 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
31872 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
31873 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
31874 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
31875 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
31876 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
31878 2012-02-29 Joseph Myers <joseph@codesourcery.com>
31880 * math/libm-test.inc (llround_test): Move one test from
31881 lround_test. Use TEST_f_L in moved test.
31882 (lround_test): Move misplaced test to llround_test. Add testcase
31885 2012-02-28 Ulrich Drepper <drepper@gmail.com>
31887 * sysdeps/x86_64/fpu/e_expf.S: New file.
31888 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
31890 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
31893 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
31894 of remain_len that may cause incomplete multi-byte character and
31896 * posix/bug-regex33.c: New file.
31897 * posix/Makefile (tests): Add bug-regex33.
31899 2012-02-28 Joseph Myers <joseph@codesourcery.com>
31901 * manual/macros.texi: New file.
31902 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
31903 * manual/libc.texinfo: Include macros.texi.
31904 * manual/creatute.texi: Likewise.
31905 * manual/install.texi: Likewise.
31906 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
31907 @glibcadj{} in references to the GNU C Library.
31908 * manual/charset.texi: Likewise.
31909 * manual/conf.texi: Likewise.
31910 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
31911 when not using those macros.
31912 * manual/creature.texi: Likewise.
31913 * manual/crypt.texi: Likewise.
31914 * manual/errno.texi: Likewise.
31915 * manual/filesys.texi: Likewise.
31916 * manual/header.texi: Likewise.
31917 * manual/install.texi: Likewise.
31918 * manual/intro.texi: Likewise.
31919 * manual/io.texi: Likewise.
31920 * manual/job.texi: Likewise.
31921 * manual/lang.texi: Likewise.
31922 * manual/libc.texiinfo: Likewise.
31923 * manual/llio.texi: Likewise.
31924 * manual/locale.texi: Likewise.
31925 * manual/maint.texi: Likewise.
31926 * manual/math.texi: Likewise.
31927 * manual/memory.texi: Likewise.
31928 * manual/message.texi: Likewise.
31929 * manual/nss.texi: Likewise.
31930 * manual/pattern.texi: Likewise.
31931 * manual/process.texi: Likewise.
31932 * manual/resource.texi: Likewise.
31933 * manual/search.texi: Likewise.
31934 * manual/setjmp.texi: Likewise.
31935 * manual/signal.texi: Likewise.
31936 * manual/socket.texi: Likewise.
31937 * manual/startup.texi: Likewise.
31938 * manual/stdio.texi: Likewise.
31939 * manual/string.texi: Likewise.
31940 * manual/sysinfo.texi: Likewise.
31941 * manual/syslog.texi: Likewise.
31942 * manual/terminal.texi: Likewise.
31943 * manual/time.texi: Likewise.
31944 * manual/users.texi: Likewise.
31945 * INSTALL: Regenerated.
31946 * NOTES: Regenerated.
31947 * sysdeps/gnu/errlist.c: Regenerated.
31949 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
31951 * include/dirent.h: Include <dirstream.h> before
31954 2012-02-28 David S. Miller <davem@davemloft.net>
31956 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
31957 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
31958 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
31959 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
31961 2012-02-27 David S. Miller <davem@davemloft.net>
31963 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
31964 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
31965 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
31966 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
31968 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
31969 frame pointer instead of stack pointer relative arg slot.
31970 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
31971 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
31972 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
31974 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
31977 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
31979 2012-02-27 David S. Miller <davem@davemloft.net>
31981 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
31982 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
31983 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
31984 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
31985 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
31986 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
31987 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
31988 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
31990 2012-02-27 Joseph Myers <joseph@codesourcery.com>
31992 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
31993 later. Allow versions 5-9.
31994 * configure: Regenerated.
31995 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
31996 required minimum version and 4.6 as recommended version. Do not
31997 mention bugs in GCC 2.7 and 2.8.
31998 * INSTALL: Regenerated.
32000 2012-02-27 David S. Miller <davem@davemloft.net>
32002 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
32003 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
32004 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
32005 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
32006 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
32007 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
32008 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
32009 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
32011 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
32012 manipulate bits before adding and subtracting TWO112[sx].
32013 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
32015 2012-02-27 Roland McGrath <roland@hack.frob.com>
32018 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
32019 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
32020 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
32021 being in POSIX, because they are in 1003.1-2008.
32023 * rt/tst-aio.c: Include <fcntl.h>.
32024 * rt/tst-aio7.c: Likewise.
32025 * rt/tst-aio64.c: Likewise.
32027 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
32029 2012-02-27 Joseph Myers <joseph@codesourcery.com>
32031 * manual/install.texi (--with-headers): Describe headers as
32032 interface headers, not private headers.
32033 (Specific advice for GNU/Linux systems): Describe use of headers
32034 from "make headers_install", not private headers from older
32036 * INSTALL: Regenerated.
32037 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
32039 * sysdeps/unix/sysv/linux/configure: Regenerated.
32041 * manual/llio.texi (fclean): Remove documentation.
32043 * manual/Makefile (libc-texi-generated): New variable. Include
32045 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
32046 $(libc-texi-generated), not duplicated list of files.
32047 (version.texi, stamp-version): New rules.
32048 (realclean): Remove $(libc-texi-generated), not individual files
32049 from that list. Do not remove dir-add.texinfo.
32050 * manual/libc.texinfo: Comment out uses of edition numbers and
32051 references to printed manual. Remove last-updated dates.
32052 (EDITION): Comment out.
32054 (VERSION, UPDATED): Remove.
32055 (version.texi): Include.
32057 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
32059 * sysdeps/posix/spawni.c: Include <signal.h>.
32060 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
32061 * sysdeps/pthread/aio_fsync.c: Likewise.
32063 2012-02-26 Ulrich Drepper <drepper@gmail.com>
32065 * conform/Makefile (tests): Run only when not cross-compiling and
32066 when fast-check is not defined.
32068 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
32069 * conform/data/limits.h-data: Fixes for POSIX2008.
32070 * conform/run-conformtest.sh: Run all tests.
32071 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
32073 * include/bits/dlfcn.h: Likewise.
32074 * include/langinfo.h: Likewise.
32075 * include/monetary.h: Likewise.
32076 * include/sys/poll.h: Likewise.
32078 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
32080 * posix/spawn.h: Define __need_sigset_t.
32081 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
32082 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
32083 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
32084 to get sigevent_t only.
32085 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
32086 only for __USE_GNU.
32087 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
32088 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
32089 process_vm_writev only for __USE_GNU.
32090 * termios/termios.h: Declare tcgetsid also for POSIX2008.
32092 * conform/Makefile: For now ignore errors from run-conformtest.
32093 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
32094 POSIX to avoid namespace pollution. Don't prepend headers.
32095 * conform/data/aio.h-data: Fixes for POSIX testing.
32096 * conform/data/fcntl.h-data: Likewise.
32097 * conform/data/glob.h-data: Likewise.
32098 * conform/data/grp.h-data: Likewise.
32099 * conform/data/pthread.h-data: Likewise.
32100 * conform/data/pwd.h-data: Likewise.
32101 * conform/data/signal.h-data: Likewise.
32102 * conform/data/spawn.h-data: Likewise.
32103 * conform/data/stdio.h-data: Likewise.
32104 * conform/data/stdlib.h-data: Likewise.
32105 * conform/data/stropts.h-data: Likewise.
32106 * conform/data/sys/mman.h-data: Likewise.
32107 * conform/data/sys/stat.h-data: Likewise.
32108 * conform/data/sys/types.h-data: Likewise.
32109 * conform/data/sys/wait.h-data: Likewise.
32110 * conform/data/time.h-data: Likewise.
32111 * conform/data/unistd.h-data: Likewise.
32112 * conform/data/utime.h-data: Likewise.
32114 * io/sys/stat.h: fchmod was always in POSIX.
32115 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
32116 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
32117 * rt/aio.h: Define __need_timespec before including <time.h>.
32118 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
32119 struct. Add forward declaration of pthread_attr_t and use it in
32121 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
32122 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
32123 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
32124 always remove CLK_TCK definition.
32126 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
32128 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
32130 2012-02-25 Ulrich Drepper <drepper@gmail.com>
32132 * conform/run-conformtest.sh: New file.
32133 * conform/Makefile: Run run-conformtest for tests.
32134 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
32137 * conform/data/uchar.h-data: New file.
32138 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
32139 * conform/data/arpa/inet.h-data: Likewise.
32140 * conform/data/assert.h-data: Likewise.
32141 * conform/data/complex.h-data: Likewise.
32142 * conform/data/cpio.h-data: Likewise.
32143 * conform/data/ctype.h-data: Likewise.
32144 * conform/data/dirent.h-data: Likewise.
32145 * conform/data/dlfcn.h-data: Likewise.
32146 * conform/data/errno.h-data: Likewise.
32147 * conform/data/fcntl.h-data: Likewise.
32148 * conform/data/float.h-data: Likewise.
32149 * conform/data/fmtmsg.h-data: Likewise.
32150 * conform/data/fnmatch.h-data: Likewise.
32151 * conform/data/ftw.h-data: Likewise.
32152 * conform/data/glob.h-data: Likewise.
32153 * conform/data/grp.h-data: Likewise.
32154 * conform/data/iconv.h-data: Likewise.
32155 * conform/data/inttypes.h-data: Likewise.
32156 * conform/data/langinfo.h-data: Likewise.
32157 * conform/data/libgen.h-data: Likewise.
32158 * conform/data/limits.h-data: Likewise.
32159 * conform/data/locale.h-data: Likewise.
32160 * conform/data/math.h-data: Likewise.
32161 * conform/data/monetary.h-data: Likewise.
32162 * conform/data/mqueue.h-data: Likewise.
32163 * conform/data/ndbm.h-data: Likewise.
32164 * conform/data/net/if.h-data: Likewise.
32165 * conform/data/netdb.h-data: Likewise.
32166 * conform/data/netinet/in.h-data: Likewise.
32167 * conform/data/nl_types.h-data: Likewise.
32168 * conform/data/poll.h-data: Likewise.
32169 * conform/data/pthread.h-data: Likewise.
32170 * conform/data/pwd.h-data: Likewise.
32171 * conform/data/regex.h-data: Likewise.
32172 * conform/data/sched.h-data: Likewise.
32173 * conform/data/search.h-data: Likewise.
32174 * conform/data/semaphore.h-data: Likewise.
32175 * conform/data/setjmp.h-data: Likewise.
32176 * conform/data/signal.h-data: Likewise.
32177 * conform/data/spawn.h-data: Likewise.
32178 * conform/data/stdarg.h-data: Likewise.
32179 * conform/data/stdio.h-data: Likewise.
32180 * conform/data/stdlib.h-data: Likewise.
32181 * conform/data/string.h-data: Likewise.
32182 * conform/data/strings.h-data: Likewise.
32183 * conform/data/stropts.h-data: Likewise.
32184 * conform/data/sys/ipc.h-data: Likewise.
32185 * conform/data/sys/mman.h-data: Likewise.
32186 * conform/data/sys/msg.h-data: Likewise.
32187 * conform/data/sys/resource.h-data: Likewise.
32188 * conform/data/sys/select.h-data: Likewise.
32189 * conform/data/sys/sem.h-data: Likewise.
32190 * conform/data/sys/shm.h-data: Likewise.
32191 * conform/data/sys/socket.h-data: Likewise.
32192 * conform/data/sys/stat.h-data: Likewise.
32193 * conform/data/sys/statvfs.h-data: Likewise.
32194 * conform/data/sys/time.h-data: Likewise.
32195 * conform/data/sys/timeb.h-data: Likewise.
32196 * conform/data/sys/times.h-data: Likewise.
32197 * conform/data/sys/types.h-data: Likewise.
32198 * conform/data/sys/uio.h-data: Likewise.
32199 * conform/data/sys/un.h-data: Likewise.
32200 * conform/data/sys/utsname.h-data: Likewise.
32201 * conform/data/sys/wait.h-data: Likewise.
32202 * conform/data/syslog.h-data: Likewise.
32203 * conform/data/tar.h-data: Likewise.
32204 * conform/data/termios.h-data: Likewise.
32205 * conform/data/utime.h-data: Likewise.
32206 * conform/data/utmpx.h-data: Likewise.
32207 * conform/data/varargs.h-data: Likewise.
32208 * conform/data/wchar.h-data: Likewise.
32209 * conform/data/wctype.h-data: Likewise.
32210 * conform/data/wordexp.h-data: Likewise.
32212 * include/stropts.h: New file.
32213 * include/uchar.h: New file.
32214 * include/aio.h: Changes to allow conformtest.pl to use the headers.
32215 * include/assert.h: Likewise.
32216 * include/ctype.h: Likewise.
32217 * include/dirent.h: Likewise.
32218 * include/dlfcn.h: Likewise.
32219 * include/fcntl.h: Likewise.
32220 * include/fnmatch.h: Likewise.
32221 * include/glob.h: Likewise.
32222 * include/grp.h: Likewise.
32223 * include/libio.h: Likewise.
32224 * include/locale.h: Likewise.
32225 * include/math.h: Likewise.
32226 * include/net/if.h: Likewise.
32227 * include/netdb.h: Likewise.
32228 * include/netinet/in.h: Likewise.
32229 * include/pthread.h: Likewise.
32230 * include/pwd.h: Likewise.
32231 * include/regex.h: Likewise.
32232 * include/sched.h: Likewise.
32233 * include/search.h: Likewise.
32234 * include/setjmp.h: Likewise.
32235 * include/signal.h: Likewise.
32236 * include/stdio.h: Likewise.
32237 * include/stdlib.h: Likewise.
32238 * include/string.h: Likewise.
32239 * include/sys/cdefs.h: Likewise.
32240 * include/sys/mman.h: Likewise.
32241 * include/sys/msg.h: Likewise.
32242 * include/sys/resource.h: Likewise.
32243 * include/sys/select.h: Likewise.
32244 * include/sys/socket.h: Likewise.
32245 * include/sys/stat.h: Likewise.
32246 * include/sys/statvfs.h: Likewise.
32247 * include/sys/time.h: Likewise.
32248 * include/sys/times.h: Likewise.
32249 * include/sys/uio.h: Likewise.
32250 * include/sys/utsname.h: Likewise.
32251 * include/sys/wait.h: Likewise.
32252 * include/termios.h: Likewise.
32253 * include/time.h: Likewise.
32254 * include/ulimit.h: Likewise.
32255 * include/unistd.h: Likewise.
32256 * include/utime.h: Likewise.
32257 * include/wchar.h: Likewise.
32258 * include/wctype.h: Likewise.
32259 * include/wordexp.h: Likewise.
32261 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
32263 * time/time.h: TIME_UTC must be a macro.
32264 Make timespec_get available for ISO C11 only as well.
32266 2012-02-24 Ulrich Drepper <drepper@gmail.com>
32268 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
32269 Reported by Peng Haitao <penght@cn.fujitsu.com>.
32271 2012-02-24 Joseph Myers <joseph@codesourcery.com>
32273 * configure.in: Use -o not -a in test for unsupported multi-arch.
32275 2012-02-24 Joseph Myers <joseph@codesourcery.com>
32277 * manual/texinfo.tex: Update to version 2012-01-19.16.
32279 2012-02-24 Joseph Myers <joseph@codesourcery.com>
32281 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
32283 2012-02-24 Roland McGrath <roland@hack.frob.com>
32286 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
32287 * manual/fdl-1.3.texi: New file.
32288 * manual/fdl-1.1.texi: File removed.
32291 * manual/libc.texinfo (FDL_VERSION): New @set.
32292 Use it for mention of FDL in cover text.
32293 (Documentation License): Use it in @include file name.
32295 2012-02-22 Joseph Myers <joseph@codesourcery.com>
32296 Roland McGrath <roland@hack.frob.com>
32299 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
32300 not LONG_LONG_MAX and LONG_LONG_MIN.
32301 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
32302 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
32304 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
32306 2012-02-22 Joseph Myers <joseph@codesourcery.com>
32310 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
32311 manipulate bits before adding and subtracting TWO23[sx].
32312 * math/libm-test.inc (nearbyint_test): Add more tests.
32314 2012-02-22 Joseph Myers <joseph@codesourcery.com>
32317 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
32318 bits before adding and subtracting TWO23[sx].
32319 * math/libm-test.inc (rint_test): Add more tests.
32320 (rint_test_tonearest): Likewise.
32321 (rint_test_towardzero): Likewise.
32322 (rint_test_downward): Likewise.
32323 (rint_test_upward: Likewise.
32325 2012-02-22 Joseph Myers <joseph@codesourcery.com>
32328 * include/stdc-predef.h: New file. Extracted from features.h.
32329 * include/features.h: Include stdc-predef.h.
32330 * Makefile (headers): Add stdc-predef.h.
32331 * CONFORMANCE (Compiler limitations): Update.
32333 2012-02-22 Joseph Myers <joseph@codesourcery.com>
32335 * manual/libc.texinfo (VERSION, UPDATED): Revert.
32337 2012-02-21 David S. Miller <davem@davemloft.net>
32339 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
32340 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
32342 2012-02-20 David S. Miller <davem@davemloft.net>
32344 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
32345 using a normal save/restore sequence, rather than allocating a
32346 dummy stack frame just to store a frame pointer and restore.
32347 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
32349 2012-02-21 Joseph Myers <joseph@codesourcery.com>
32351 * manual/install.texi: Fix stray word in line-wrapped comment.
32353 2012-02-20 David S. Miller <davem@davemloft.net>
32355 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
32356 both binutils and gcc support GOTDATA.
32358 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
32359 "rd %pc" in the PIC register setup sequences.
32361 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
32362 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
32363 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
32364 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
32365 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
32366 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
32367 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
32368 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
32369 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
32370 (SYSCALL_ERROR_HANDLER): Likewise.
32371 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
32372 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
32373 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
32374 (SYSCALL_ERROR_HANDLER): Likewise.
32376 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
32377 (HAVE_GCC_GOTDATA): New.
32378 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
32379 relocation support in both binutils and gcc.
32380 * sysdeps/sparc/elf/configure: Regenerate.
32382 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
32383 * sysdeps/sparc/sparc32/elf/configure: Delete.
32384 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
32385 * sysdeps/sparc/sparc64/elf/configure: Delete.
32386 * sysdeps/sparc/elf/configure.in: New file.
32387 * sysdeps/sparc/elf/configure: Generate.
32389 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
32390 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
32391 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
32392 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
32393 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
32395 2012-02-21 Joseph Myers <joseph@codesourcery.com>
32397 * manual/install.texi: Do not mention specific glibc version
32399 * manual/libc.texinfo (VERSION, UPDATED): Update.
32400 (@copying): Use @copyright{} and range of years.
32402 2012-02-21 Joseph Myers <joseph@codesourcery.com>
32405 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
32406 [crti.S not in sysdirs] (generated): Do not append.
32407 [crti.S not in sysdirs] (omit-deps): Likewise.
32408 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
32409 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
32410 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
32411 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
32412 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
32414 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
32415 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
32416 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
32417 * csu/defs.awk: Remove file.
32418 * sysdeps/generic/initfini.c: Likewise.
32419 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
32421 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
32424 2012-02-20 Joseph Myers <joseph@codesourcery.com>
32426 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
32427 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
32428 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
32429 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
32430 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
32431 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
32433 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
32434 (__EPOLL_PACKED): Define to empty if not defined by
32436 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
32437 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32440 2012-02-20 Joseph Myers <joseph@codesourcery.com>
32442 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
32443 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
32444 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
32445 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
32447 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
32448 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32451 2012-02-20 Joseph Myers <joseph@codesourcery.com>
32453 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
32455 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
32456 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
32457 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
32458 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32460 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
32462 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
32463 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
32465 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
32467 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
32468 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
32470 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
32472 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
32475 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
32477 * math/w_acos.c: Use non-signaling floating-point comparisons.
32478 * math/w_acosf.c: Likewise.
32479 * math/w_acosh.c: Likewise.
32480 * math/w_acoshf.c: Likewise.
32481 * math/w_acoshl.c: Likewise.
32482 * math/w_acosl.c: Likewise.
32483 * math/w_asin.c: Likewise.
32484 * math/w_asinf.c: Likewise.
32485 * math/w_asinl.c: Likewise.
32486 * math/w_atanh.c: Likewise.
32487 * math/w_atanhf.c: Likewise.
32488 * math/w_atanhl.c: Likewise.
32489 * math/w_exp2.c: Likewise.
32490 * math/w_exp2f.c: Likewise.
32491 * math/w_exp2l.c: Likewise.
32492 * math/w_j0.c: Likewise.
32493 * math/w_j0f.c: Likewise.
32494 * math/w_j0l.c: Likewise.
32495 * math/w_j1.c: Likewise.
32496 * math/w_j1f.c: Likewise.
32497 * math/w_j1l.c: Likewise.
32498 * math/w_jn.c: Likewise.
32499 * math/w_jnf.c: Likewise.
32500 * math/w_log.c: Likewise.
32501 * math/w_log10.c: Likewise.
32502 * math/w_log10f.c: Likewise.
32503 * math/w_log10l.c: Likewise.
32504 * math/w_log2.c: Likewise.
32505 * math/w_log2f.c: Likewise.
32506 * math/w_log2l.c: Likewise.
32507 * math/w_logf.c: Likewise.
32508 * math/w_logl.c: Likewise.
32509 * math/w_sqrt.c: Likewise.
32510 * math/w_sqrtf.c: Likewise.
32511 * math/w_sqrtl.c: Likewise.
32512 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
32513 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
32514 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
32515 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
32516 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
32518 2012-02-19 Joseph Myers <joseph@codesourcery.com>
32521 * manual/string.texi (strnlen): Use correct parameter name in
32522 equivalent expression.
32524 2012-02-19 Joseph Myers <joseph@codesourcery.com>
32527 * manual/users.texi (seteuid): Consistently use neweuid for
32530 2012-02-19 Joseph Myers <joseph@codesourcery.com>
32533 * manual/nss.texi (Services in the NSS configuration): Correct
32534 list of services in example configuration file.
32536 2012-02-19 Nick Bowler <nbowler@draconx.ca>
32539 * manual/arith.texi: Remove statements about negative zero
32540 behaving identically to zero.
32542 2012-02-18 Joseph Myers <joseph@codesourcery.com>
32545 * manual/install.texi: Do not document upgrading from libc5.
32547 2012-02-18 Joseph Myers <joseph@codesourcery.com>
32550 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
32552 2012-02-18 David S. Miller <davem@davemloft.net>
32554 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
32555 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
32556 %o7 across the call.
32557 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
32559 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
32560 SETUP_PIC_REG_LEAF.
32561 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
32562 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
32563 * sysdeps/sparc/crtn.S: Likewise.
32565 2012-02-17 Ulrich Drepper <drepper@gmail.com>
32567 * aout/Makefile: Remove.
32569 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
32572 * manual/examples/argp-ex1.c (main): Format definition in GNU
32574 * manual/examples/argp-ex2.c (main): Likewise.
32575 * manual/examples/argp-ex3.c (main): Likewise.
32576 * manual/examples/argp-ex4.c (main): Likewise.
32577 * manual/examples/longopt.c (main): Use new-style prototype
32579 * manual/examples/strncat.c (main): Specify return type and use
32580 (void) for arguments.
32581 * manual/examples/subopt.c (main): Use char **argv argument.
32583 2012-02-17 Joseph Myers <joseph@codesourcery.com>
32586 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
32589 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
32592 * manual/string.texi (strchr): Change when strchrnul is
32595 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
32598 * manual/locale.texi (setlocale): Document LOCPATH.
32600 2012-02-17 Joseph Myers <joseph@codesourcery.com>
32603 * manual/process.texi (execle): Move @dots{} before last argument.
32605 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
32608 * manual/charset.texi (Generic Charset Conversion): Fix typo
32609 (LC_TYPE -> LC_CTYPE).
32611 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
32614 * manual/arith.texi (scalbn): Use @var{} on parameter names.
32615 (scalbnf): Likewise.
32616 (scalbnl): Likewise.
32617 (scalbln): Likewise.
32618 (scalblnf): Likewise.
32619 (scalblnl): Likewise.
32620 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
32621 (vwarnx): Likewise.
32624 * manual/filesys.texi (telldir): Use braces around return type.
32625 * manual/llio.texi (mmap): Add space after comma.
32626 (mmap64): Likewise.
32627 * manual/math.texi (jn): Use @var{} on parameter names.
32633 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
32635 * manual/resource.texi (ulimit): Use @dots{} instead of literal
32637 (sched_get_priority_min): Remove semicolon on @deftypefun line.
32638 (sched_get_priority_max): Likewise.
32639 * manual/signal.texi (sigvec): Add space after comma.
32640 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
32642 (if_indextoname): Likewise.
32643 (if_freenameindex): Likewise.
32644 (sendto): Use ',' instead of '.' in prototype.
32645 * manual/startup.texi (syscall): Use @dots{} instead of literal
32647 * manual/stdio.texi (__fpending): Separate initial words of
32648 paragraph from @deftypefun line.
32649 * manual/syslog.texi (syslog): Use @dots{} instead of literal
32651 (vsyslog): Use @var{} on parameter names.
32652 * manual/terminal.texi (stty): Use @var{} on parameter names.
32653 * manual/users.texi (getutmp): Use @var{} on parameter names.
32654 (getutmpx): Likewise.
32656 2012-02-17 Joseph Myers <joseph@codesourcery.com>
32659 * manual/stdio.texi (fopen): Fix typos in description of
32662 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
32665 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
32666 get clock_id definition.
32668 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
32671 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
32672 (madvise): Cast every argument to void on its own.
32674 2012-02-17 Joseph Myers <joseph@codesourcery.com>
32677 * manual/startup.texi (Exit Status): Fix typo.
32679 2012-02-17 Joseph Myers <joseph@codesourcery.com>
32682 * manual/examples/argp-ex1.c: Include <stdlib.h>.
32683 * manual/examples/argp-ex2.c: Likewise.
32684 * manual/examples/argp-ex3.c: Likewise.
32686 2012-02-16 Richard Henderson <rth@redhat.com>
32688 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
32689 * sysdeps/s390/s390-32/initfini.c: Remove.
32690 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
32691 * sysdeps/s390/s390-64/initfini.c: Remove.
32693 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
32695 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
32696 compiler output for sysdeps/generic/initfini.c.
32697 * sysdeps/sh/elf/initfini.c: Remove file.
32699 2012-02-16 David S. Miller <davem@davemloft.net>
32702 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
32704 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
32705 * sysdeps/sparc/crti.S: New file.
32706 * sysdeps/sparc/crtn.S: New file.
32707 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
32708 * sysdeps/sparc/sparc64/Makefile: Likewise.
32710 2012-02-15 Mike Frysinger <vapier@gentoo.org>
32713 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
32715 2012-02-15 Roland McGrath <roland@hack.frob.com>
32718 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
32720 * mach/devstream.c (cookie_io_functions_t): Macro removed.
32721 (write, read, close): Likewise.
32722 Patch by Aurelien Jarno <aurelien@aurel32.net>.
32724 2012-02-15 Joseph Myers <joseph@codesourcery.com>
32726 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
32727 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
32728 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
32729 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
32731 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
32732 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32735 2012-02-14 Marek Polacek <polacek@redhat.com>
32737 * sysdeps/x86_64/crti.S: New file.
32738 * sysdeps/x86_64/crtn.S: New file.
32739 * sysdeps/x86_64/elf/initfini.c: Remove file.
32741 2012-02-13 Joseph Myers <joseph@codesourcery.com>
32743 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
32744 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
32745 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
32746 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
32748 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
32749 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32752 2012-02-13 Joseph Myers <joseph@codesourcery.com>
32754 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
32755 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
32756 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
32757 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
32759 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
32760 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32763 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
32765 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
32766 __feraiseexcept instead of feraiseexcept.
32768 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
32769 nanosleep invocations.
32770 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
32771 strings, and add error checking for a nanosleep invocations.
32773 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
32775 Replace FSF snail mail address with URLs, as per GNU coding standards.
32776 Most of the snail mail addresses were wrong anyway, and omitting
32777 them makes the source code easier to maintain. Almost all of the
32778 changes are to license notices and to locale LC_IDENTIFICATION
32779 addresses, except for this one:
32780 * manual/libc.texinfo: In "Published by", give the FSF's URL,
32781 not its snail mail address.
32783 2012-02-09 Richard Henderson <rth@twiddle.net>
32785 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
32786 of kernel-features.h.
32788 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
32790 2012-02-08 Marek Polacek <polacek@redhat.com>
32792 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
32793 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
32794 * sysdeps/gnu/_G_config.h: Likewise.
32795 * sysdeps/generic/_G_config.h: Likewise.
32797 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
32799 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
32801 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32803 * sysdeps/powerpc/powerpc32/crti.S: New file.
32804 * sysdeps/powerpc/powerpc32/crtn.S: New file.
32805 * sysdeps/powerpc/powerpc64/crti.S: New file.
32806 * sysdeps/powerpc/powerpc64/crtn.S: New file.
32808 * Makeconfig (have-initfini): Don't set.
32809 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
32810 * configure.in (nopic_initfini): Don't substitute.
32811 * config.h.in (HAVE_INITFINI): Don't #undef.
32812 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
32813 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
32815 2012-02-08 Joseph Myers <joseph@codesourcery.com>
32817 Support crti.S and crtn.S provided directly by architectures.
32818 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
32819 [crti.S in sysdirs] (omit-deps): Likewise.
32820 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
32821 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
32822 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
32823 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
32824 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
32825 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
32826 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
32827 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
32828 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
32829 compiler output for sysdeps/generic/initfini.c.
32830 * sysdeps/i386/elf/Makefile: Remove file.
32831 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
32833 2012-02-07 Marek Polacek <polacek@redhat.com>
32835 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
32836 * sysdeps/gnu/_G_config.h: Likewise.
32837 * sysdeps/mach/hurd/_G_config.h: Likewise.
32839 2012-02-07 Marek Polacek <polacek@redhat.com>
32841 * math/Makefile (tests): Add tst-CMPLX2.
32842 * math/tst-CMPLX2.c: New file.
32844 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
32846 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
32848 * math/libm-test.inc (jn_test): Add missing L suffix.
32850 2012-02-06 Marek Polacek <polacek@redhat.com>
32852 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
32853 * sysdeps/i386/fpu/e_powf.S: Likewise.
32854 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
32855 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
32856 * sysdeps/i386/fpu/e_acosh.S: Likewise.
32857 * sysdeps/i386/fpu/e_pow.S: Likewise.
32858 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
32859 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
32860 * sysdeps/i386/fpu/s_expm1.S: Likewise.
32861 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
32862 * sysdeps/i386/fpu/e_log2.S: Likewise.
32863 * sysdeps/i386/fpu/e_log2l.S: Likewise.
32864 * sysdeps/i386/fpu/e_scalb.S: Likewise.
32865 * sysdeps/i386/fpu/e_powl.S: Likewise.
32866 * sysdeps/i386/fpu/s_log1p.S: Likewise.
32867 * sysdeps/i386/fpu/e_log10f.S: Likewise.
32868 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
32869 * sysdeps/i386/fpu/e_logl.S: Likewise.
32870 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
32871 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
32872 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
32873 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
32874 * sysdeps/i386/fpu/e_log2f.S: Likewise.
32875 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
32876 * sysdeps/i386/fpu/e_log.S: Likewise.
32877 * sysdeps/i386/fpu/s_cexp.S: Likewise.
32878 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
32879 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
32880 * sysdeps/i386/fpu/e_logf.S: Likewise.
32881 * sysdeps/i386/fpu/e_log10l.S: Likewise.
32882 * sysdeps/i386/fpu/e_atanh.S: Likewise.
32883 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
32884 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
32885 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
32886 * sysdeps/i386/fpu/e_log10.S: Likewise.
32887 * sysdeps/i386/fpu/s_frexp.S: Likewise.
32888 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
32889 * sysdeps/i386/fpu/s_asinh.S: Likewise.
32890 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
32891 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
32892 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
32893 * sysdeps/i386/asm-syntax.h: Likewise.
32894 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
32895 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
32896 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
32897 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
32898 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
32899 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
32900 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
32901 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
32902 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
32903 * sysdeps/powerpc/sysdep.h: Likewise.
32904 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
32905 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
32907 2012-02-06 Joseph Myers <joseph@codesourcery.com>
32910 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
32912 2012-02-06 Joseph Myers <joseph@codesourcery.com>
32914 * sysdeps/i386/sysdep.h: Include <features.h>.
32915 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
32918 2012-02-05 Joseph Myers <joseph@codesourcery.com>
32920 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
32922 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
32925 2012-02-03 Joseph Myers <joseph@codesourcery.com>
32927 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
32928 (SETUP_PIC_REG): Use GET_PC_THUNK.
32929 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
32932 2012-02-03 Joseph Myers <joseph@codesourcery.com>
32934 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
32935 for non-PIC compilation.
32936 (SETUP_PIC_REG): Add .p2align directive.
32937 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
32938 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
32939 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
32940 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
32941 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
32942 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
32943 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
32944 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
32945 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
32946 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
32947 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
32948 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
32949 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
32950 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
32951 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
32952 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
32953 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
32954 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
32955 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
32956 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
32957 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
32958 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
32959 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
32960 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
32961 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
32962 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
32963 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
32964 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
32965 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
32966 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
32967 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
32968 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
32969 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
32970 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
32971 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
32972 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
32973 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
32974 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
32975 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
32976 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
32977 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
32979 2012-02-03 Joseph Myers <joseph@codesourcery.com>
32981 * math/tst-CMPLX.c: Include <stdio.h>.
32983 2012-01-31 Joseph Myers <joseph@codesourcery.com>
32985 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
32987 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
32988 * sysdeps/sparc/bits/mathdef.h: Likewise.
32990 2012-01-31 Marek Polacek <polacek@redhat.com>
32992 * libio/libio.h: Don't define _PARAMS.
32993 * locale/programs/config.h: Don't define PARAMS.
32994 * stdlib/strtol_l.c: Likewise.
32995 (__strtol_l): Remove PARAMS from the prototype.
32997 2012-01-31 Ulrich Drepper <drepper@gmail.com>
32999 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
33000 names. Just use the correct names. Remove unnecessary wrapper
33002 * malloc/arena.c: Likewise.
33003 * malloc/hooks.c: Likewise.
33005 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
33006 ARENA_TEST says not to. Simplify test for creation of a new arena.
33007 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
33009 2012-01-30 Ulrich Drepper <drepper@gmail.com>
33011 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
33013 (update_get_addr): New function.
33014 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
33015 GET_ADDR_MODULE parameter.
33017 2012-01-30 Joseph Myers <joseph@codesourcery.com>
33019 * crypt/cert.c: Remove __STDC__ conditionals.
33020 * crypt/crypt-entry.c: Likewise.
33021 * crypt/crypt_util.c: Likewise.
33022 * libio/filedoalloc.c: Likewise.
33023 * libio/fileops.c: Likewise.
33024 * libio/genops.c: Likewise.
33025 * libio/iofclose.c: Likewise.
33026 * libio/iofdopen.c: Likewise.
33027 * libio/iofopen.c: Likewise.
33028 * libio/iofopen64.c: Likewise.
33029 * libio/iogetdelim.c: Likewise.
33030 * libio/iopopen.c: Likewise.
33031 * libio/obprintf.c: Likewise.
33032 * libio/oldfileops.c: Likewise.
33033 * libio/oldiofclose.c: Likewise.
33034 * libio/oldiofdopen.c: Likewise.
33035 * libio/oldiofopen.c: Likewise.
33036 * libio/oldiopopen.c: Likewise.
33037 * libio/wfiledoalloc.c: Likewise.
33038 * libio/wgenops.c: Likewise.
33039 * locale/programs/xmalloc.c: Likewise.
33040 * misc/syslog.c: Likewise.
33041 * stdio-common/xbug.c: Likewise.
33042 * string/memchr.c: Likewise.
33043 * string/memcmp.c: Likewise.
33044 * string/memrchr.c: Likewise.
33045 * string/rawmemchr.c: Likewise.
33046 * sysdeps/posix/getcwd.c: Likewise.
33047 * time/strftime_l.c: Likewise.
33049 2012-01-30 Joseph Myers <joseph@codesourcery.com>
33051 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
33052 * config.make.in (config-cflags-sse2avx): Define.
33053 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
33056 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
33058 * scripts/config.guess: Update from upstream config git repository.
33059 * scripts/config.sub: Likewise.
33061 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
33063 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
33065 (R_TILEPRO_*, R_TILEGX_*): New macros.
33067 * scripts/firstversions.awk: Fix bug in version range handling.
33069 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
33071 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
33073 * include/sys/epoll.h: New file.
33074 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
33077 2012-01-28 Ulrich Drepper <drepper@gmail.com>
33079 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
33080 Avoid unnecessary __WORDSIZE == 64 test.
33081 (fmaxf): Use VEX format if possible.
33086 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
33087 * math/math_private.h: Remove libc_fegetround* and
33089 * sysdeps/i386/configure.in: Check for -msse2avx.
33090 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
33091 also if SSE2AVX is defined.
33092 Remove libc_fegetround* and libc_fesetround*.
33093 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
33094 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
33095 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
33097 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
33098 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
33099 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
33100 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
33101 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
33103 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
33105 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33107 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
33109 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
33111 2012-01-27 Ulrich Drepper <drepper@gmail.com>
33114 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
33116 * Makeconfig (libm): Define.
33117 * elf/Makefile: Add rules to build and run tst-relsort1.
33118 * elf/tst-relsort1.c: New file.
33119 * elf/tst-relsort1mod1.c: New file.
33120 * elf/tst-relsort1mod2.c: New file.
33122 2012-01-27 Joseph Myers <joseph@codesourcery.com>
33124 * math/s_ldexp.c: Remove __STDC__ conditionals.
33125 * math/s_ldexpf.c: Likewise.
33126 * math/s_ldexpl.c: Likewise.
33127 * math/s_nextafter.c: Likewise.
33128 * math/s_nexttowardf.c: Likewise.
33129 * math/s_significand.c: Likewise.
33130 * math/s_significandf.c: Likewise.
33131 * math/s_significandl.c: Likewise.
33132 * math/w_jnl.c: Likewise.
33133 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
33134 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
33135 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
33136 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
33137 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
33138 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
33139 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
33140 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
33141 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
33142 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
33143 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
33144 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
33145 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
33146 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
33147 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
33148 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
33149 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
33150 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
33151 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
33152 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
33153 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
33154 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
33155 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
33156 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
33157 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
33158 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
33159 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
33160 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
33161 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
33162 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
33163 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
33164 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
33165 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
33166 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
33167 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
33168 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
33169 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
33170 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
33171 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
33172 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
33173 * sysdeps/ieee754/k_standard.c: Likewise.
33174 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
33175 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
33176 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
33177 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
33178 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
33179 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
33180 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
33181 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
33182 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
33183 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
33184 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
33185 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
33186 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
33187 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
33188 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
33189 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
33190 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
33191 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
33192 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
33193 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
33194 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
33195 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
33196 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
33197 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
33198 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
33199 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
33200 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
33201 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
33202 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
33203 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
33204 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
33205 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
33206 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
33207 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
33208 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
33209 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
33210 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
33211 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
33212 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
33213 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
33214 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
33215 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
33216 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
33217 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
33218 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
33219 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
33220 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
33221 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
33222 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
33223 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
33224 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
33225 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
33226 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
33227 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
33228 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
33229 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
33230 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
33231 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
33232 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
33233 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
33234 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
33235 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
33236 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
33237 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
33238 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
33239 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
33240 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
33241 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
33242 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
33243 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
33244 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
33245 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
33246 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
33247 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
33248 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
33249 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
33250 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
33251 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
33252 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
33253 * sysdeps/ieee754/s_matherr.c: Likewise.
33254 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
33255 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
33256 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
33257 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
33259 2012-01-26 Joseph Myers <joseph@codesourcery.com>
33261 * crypt/md5.h: Remove __STDC__ conditionals.
33262 * libio/libioP.h: Likewise.
33263 * locale/programs/config.h: Likewise.
33264 * sysdeps/generic/sysdep.h: Likewise.
33265 * sysdeps/i386/asm-syntax.h: Likewise.
33266 * sysdeps/s390/asm-syntax.h: Likewise.
33267 * sysdeps/unix/sysdep.h: Likewise.
33268 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
33269 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
33271 2012-01-26 Joseph Myers <joseph@codesourcery.com>
33273 * libio/libio.h: Remove __STDC__ conditionals.
33274 * malloc/obstack.h: Likewise.
33275 * math/complex.h: Likewise.
33276 * math/math.h: Likewise.
33277 * sysdeps/generic/_G_config.h: Likewise.
33278 * sysdeps/gnu/_G_config.h: Likewise.
33279 * sysdeps/mach/hurd/_G_config.h: Likewise.
33280 * sysdeps/powerpc/bits/mathdef.h: Likewise.
33281 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
33282 * sysdeps/sparc/bits/mathdef.h: Likewise.
33284 2012-01-26 Ulrich Drepper <drepper@gmail.com>
33287 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
33288 Clean up HAS_* macros.
33289 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
33290 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
33292 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
33294 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
33295 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
33296 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
33297 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
33298 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
33300 2012-01-25 Joseph Myers <joseph@codesourcery.com>
33302 * elf/tst-unique3.cc (gets): Remove declaration.
33303 * elf/tst-unique3lib.cc (gets): Likewise.
33304 * elf/tst-unique3lib2.cc (gets): Likewise.
33305 * elf/tst-unique4.cc (gets): Likewise.
33307 2012-01-24 Ulrich Drepper <drepper@gmail.com>
33309 * include/stdio.h: Add C++ protection. Add gets declarations and
33311 * debug/tst-chk1.c: Don't declare gets here.
33312 * stdio-common/tst-gets.c: Likewise.
33314 2012-01-24 Joseph Myers <joseph@codesourcery.com>
33316 * posix/glob: Remove directory.
33318 2012-01-24 Joseph Myers <joseph@codesourcery.com>
33320 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
33322 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
33324 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
33325 of the non-standard EPFNOSUPPORT.
33327 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
33329 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
33330 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
33331 ANYWHERE set to 1 only on KERN_NO_SPACE error.
33333 2012-01-21 Ulrich Drepper <drepper@gmail.com>
33335 * wcsmbs/uchar.h: Test __STDC_VERSION__.
33337 2012-01-20 Ulrich Drepper <drepper@gmail.com>
33339 * nscd/aicache.c (addhstaiX): Do not cache negative results of
33341 * nscd/grpcache.c (cache_addgr): Likewise.
33342 * nscd/hstcache.c (cache_addhst): Likewise.
33343 * nscd/initgrcache.c (addinitgroupsX): Likewise.
33344 * nscd/pwdcache.c (cache_addpw): Likewise.
33345 * nscd/servicescache.c (cache_addserv): Likewise.
33347 2012-01-16 Ulrich Drepper <drepper@gmail.com>
33349 * malloc/malloc.c: Various cleanups.
33350 * malloc/hooks.c: Likewise.
33352 * stdlib/Makefile (tests): Add bug-fmtmsg1.
33353 * stdlib/bug-fmtmsg1.c: New file.
33355 * stdlib/fmtmsg.c (init): Add missing unlock.
33356 Patch by Peng Haitao <penght@cn.fujitsu.com>.
33358 2012-01-12 Marek Polacek <polacek@redhat.com>
33360 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
33363 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
33365 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
33366 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
33367 macro to ensure uniqueness of label name.
33368 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
33369 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
33371 2012-01-11 Ulrich Drepper <drepper@gmail.com>
33373 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
33375 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
33376 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
33377 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
33378 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
33380 2012-01-10 Ulrich Drepper <drepper@gmail.com>
33382 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
33384 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
33385 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
33386 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
33388 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
33390 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
33391 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
33392 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
33393 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
33395 * math/bits/math-finite.h: Add ldexp support.
33397 2012-01-10 Marek Polacek <polacek@redhat.com>
33399 * locale/programs/localedef.h (show_archive_content): Add noreturn
33402 2012-01-09 Ulrich Drepper <drepper@gmail.com>
33404 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
33406 2012-01-08 Ulrich Drepper <drepper@gmail.com>
33408 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
33410 * io/Makefile (headers): Add bits/poll2.h.
33412 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
33414 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
33415 typo #include statement.
33417 2012-01-08 Ulrich Drepper <drepper@gmail.com>
33419 * include/sys/cdefs.h: Define __attribute_alloc_size.
33420 * catgets/gencat.c: Add alloc_size attribute and apply consistently
33421 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
33422 * elf/pldd.c: Likewise.
33423 * iconv/iconv_charmap.c: Likewise.
33424 * iconv/iconvconfig.c: Likewise.
33425 * iconv/strtab.c: Likewise.
33426 * locale/programs/locale.c: Likewise.
33427 * locale/programs/localedef.h: Likewise.
33428 * locale/programs/simple-hash.c: Likewise.
33429 * nscd/nscd.h: Likewise.
33430 * nss/makedb.c: Likewise.
33431 * sysdeps/generic/ldconfig.h: Likewise.
33432 * locale/programs/localedef.c: Remove xmalloc prototype.
33433 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
33435 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
33437 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
33440 2012-01-08 Ulrich Drepper <drepper@gmail.com>
33442 * math/Makefile (tests): Add tst-CMPLX.
33443 * math/tst-CMPLX.c: New file.
33445 * math/complex.h (CMPLXL): Fix typo.
33447 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
33448 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
33450 * debug/tst-chk1.c: Add poll and ppoll tests.
33451 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
33452 * include/sys/poll.h: Add hidden proto for ppoll.
33453 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
33454 * sysdeps/mach/hurd/ppoll.c: Likewise.
33455 * io/ppoll.c: Likewise.
33456 * debug/poll_chk.c: New file.
33457 * debug/ppoll_chk.c: New file.
33458 * include/bits/poll2.h: New file.
33459 * io/bits/poll2.h: New file.
33462 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
33464 * configure.in: static is always set to yes. Remove.
33465 * config.make.in: Don't set build-static.
33466 * Makeconfig: Remove use of build-static.
33467 * dlfcn/Makefile: Likewise.
33468 * elf/Makefile: Likewise.
33469 * math/Makefile: Likewise.
33470 * misc/Makefile: Likewise.
33471 * nptl/Makefile: Likewise.
33472 * sysdeps/mach/hurd/Makefile: Likewise.
33474 * configure.in: PWD_P is not used anymore.
33475 * config.make.in: Remove PWD_P entry.
33477 * configure.in: Remove last remnants of RANLIB.
33478 No need to check for signed size_t anymore.
33479 Don't set libc_commonpagesize and libc_relro_required here for Alpha
33481 Remove __builtin_expect test because we require at least gcc 3.4.
33482 * aclocal.m4: Likewise.
33484 * wcsmbs/mbrtoc16.c: Implement using towc function.
33485 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
33486 * wcsmbs/wcsmbsload.c: Likewise.
33487 * iconv/gconv_simple.c: Likewise.
33488 * iconv/gconv_int.h: Likewise.
33489 * iconv/gconv_builtin.h: Likewise.
33490 * iconv/iconv_prog.c: Remove CHAR16 handling.
33492 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
33494 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
33496 * configure.in: Remove --with-elf and --enable-bounded options.
33497 Dont set base_machine for ia64. More non-ELF conditions removed.
33498 Remove testing and setting of leading underscore information.
33499 * config.make.in (build-bounded): Set to no.
33500 * config.h.in: Remove NO_UNDERSCORES entry.
33501 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
33503 * csu/start.c: Remove !NO_UNDERSCORE code.
33504 * locale/localeinfo.h: Likewise.
33505 * sysdeps/generic/machine-gmon.h: Likewise.
33506 * sysdeps/generic/sysdep.h: Likewise.
33507 * sysdeps/i386/sysdep.h: Likewise.
33508 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
33509 * sysdeps/mach/sysdep.h: Likewise.
33510 * sysdeps/s390/s390-32/sysdep.h: Likewise.
33511 * sysdeps/s390/s390-64/sysdep.h: Likewise.
33512 * sysdeps/sh/sysdep.h: Likewise.
33513 * sysdeps/sparc/sparc32/alloca.S: Likewise.
33514 * sysdeps/unix/i386/sysdep.S: Likewise.
33515 * sysdeps/unix/sparc/start.c: Likewise.
33516 * sysdeps/unix/sparc/sysdep.S: Likewise.
33517 * sysdeps/unix/sparc/sysdep.h: Likewise.
33518 * sysdeps/unix/start.c: Likewise.
33519 * sysdeps/unix/x86_64/sysdep.S: Likewise.
33520 * sysdeps/x86_64/sysdep.h: Likewise.
33522 2012-01-07 Ulrich Drepper <drepper@gmail.com>
33525 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
33527 * argp/argp-fmtstream.h: Use const instead __const.
33528 * argp/argp.h: Likewise.
33529 * assert/assert.h: Likewise.
33530 * bits/fenv.h: Likewise.
33531 * bits/sched.h: Likewise.
33532 * bits/sigset.h: Likewise.
33533 * bits/sigthread.h: Likewise.
33534 * catgets/nl_types.h: Likewise.
33535 * conform/data/pthread.h-data: Likewise.
33536 * crypt/crypt-private.h: Likewise.
33537 * crypt/crypt.h: Likewise.
33538 * crypt/crypt_util.c: Likewise.
33539 * ctype/ctype.h: Likewise.
33540 * debug/execinfo.h: Likewise.
33541 * debug/mbsnrtowcs_chk.c: Likewise.
33542 * debug/mbsrtowcs_chk.c: Likewise.
33543 * debug/wcsnrtombs_chk.c: Likewise.
33544 * debug/wcsrtombs_chk.c: Likewise.
33545 * debug/wcstombs_chk.c: Likewise.
33546 * dirent/dirent.h: Likewise.
33547 * dlfcn/dlfcn.h: Likewise.
33548 * elf/neededtest4.c: Likewise.
33549 * grp/grp.h: Likewise.
33550 * gshadow/gshadow.h: Likewise.
33551 * iconv/gconv.h: Likewise.
33552 * iconv/gconv_int.h: Likewise.
33553 * iconv/gconv_simple.c: Likewise.
33554 * iconv/iconv.h: Likewise.
33555 * iconv/loop.c: Likewise.
33556 * iconv/skeleton.c: Likewise.
33557 * include/aio.h: Likewise.
33558 * include/aliases.h: Likewise.
33559 * include/argz.h: Likewise.
33560 * include/arpa/inet.h: Likewise.
33561 * include/assert.h: Likewise.
33562 * include/dirent.h: Likewise.
33563 * include/dlfcn.h: Likewise.
33564 * include/execinfo.h: Likewise.
33565 * include/fcntl.h: Likewise.
33566 * include/fenv.h: Likewise.
33567 * include/glob.h: Likewise.
33568 * include/grp.h: Likewise.
33569 * include/libintl.h: Likewise.
33570 * include/mntent.h: Likewise.
33571 * include/netdb.h: Likewise.
33572 * include/pwd.h: Likewise.
33573 * include/rpc/netdb.h: Likewise.
33574 * include/sched.h: Likewise.
33575 * include/search.h: Likewise.
33576 * include/shadow.h: Likewise.
33577 * include/signal.h: Likewise.
33578 * include/stdio.h: Likewise.
33579 * include/stdlib.h: Likewise.
33580 * include/string.h: Likewise.
33581 * include/sys/socket.h: Likewise.
33582 * include/sys/stat.h: Likewise.
33583 * include/sys/statfs.h: Likewise.
33584 * include/sys/statvfs.h: Likewise.
33585 * include/sys/syslog.h: Likewise.
33586 * include/sys/time.h: Likewise.
33587 * include/sys/uio.h: Likewise.
33588 * include/time.h: Likewise.
33589 * include/unistd.h: Likewise.
33590 * include/utmp.h: Likewise.
33591 * include/wchar.h: Likewise.
33592 * include/wctype.h: Likewise.
33593 * inet/aliases.h: Likewise.
33594 * inet/arpa/inet.h: Likewise.
33595 * inet/netinet/ether.h: Likewise.
33596 * inet/netinet/in.h: Likewise.
33597 * intl/libintl.h: Likewise.
33598 * io/bits/fcntl2.h: Likewise.
33599 * io/fcntl.h: Likewise.
33600 * io/ftw.h: Likewise.
33601 * io/sys/poll.h: Likewise.
33602 * io/sys/stat.h: Likewise.
33603 * io/sys/statfs.h: Likewise.
33604 * io/sys/statvfs.h: Likewise.
33605 * io/utime.h: Likewise.
33606 * libio/bits/stdio.h: Likewise.
33607 * libio/bits/stdio2.h: Likewise.
33608 * libio/libio.h: Likewise.
33609 * libio/libioP.h: Likewise.
33610 * libio/stdio.h: Likewise.
33611 * locale/lc-ctype.c: Likewise.
33612 * locale/locale.h: Likewise.
33613 * login/utmp.h: Likewise.
33614 * malloc/arena.c: Likewise.
33615 * malloc/malloc.c: Likewise.
33616 * malloc/malloc.h: Likewise.
33617 * malloc/mcheck.c: Likewise.
33618 * malloc/mtrace.c: Likewise.
33619 * math/bits/mathcalls.h: Likewise.
33620 * math/fenv.h: Likewise.
33621 * math/math_private.h: Likewise.
33622 * misc/bits/error.h: Likewise.
33623 * misc/bits/syslog.h: Likewise.
33624 * misc/err.h: Likewise.
33625 * misc/error.h: Likewise.
33626 * misc/fstab.h: Likewise.
33627 * misc/mntent.h: Likewise.
33628 * misc/regexp.h: Likewise.
33629 * misc/search.h: Likewise.
33630 * misc/sgtty.h: Likewise.
33631 * misc/sys/mman.h: Likewise.
33632 * misc/sys/syslog.h: Likewise.
33633 * misc/sys/uio.h: Likewise.
33634 * misc/sys/xattr.h: Likewise.
33635 * misc/ttyent.h: Likewise.
33636 * nis/rpcsvc/ypclnt.h: Likewise.
33637 * nss/nss.h: Likewise.
33638 * posix/bits/unistd.h: Likewise.
33639 * posix/fnmatch.h: Likewise.
33640 * posix/glob.h: Likewise.
33641 * posix/sched.h: Likewise.
33642 * posix/spawn.h: Likewise.
33643 * posix/sys/wait.h: Likewise.
33644 * posix/unistd.h: Likewise.
33645 * posix/wordexp.h: Likewise.
33646 * pwd/pwd.h: Likewise.
33647 * resolv/netdb.h: Likewise.
33648 * resource/sys/resource.h: Likewise.
33649 * rt/aio.h: Likewise.
33650 * rt/bits/mqueue2.h: Likewise.
33651 * rt/mqueue.h: Likewise.
33652 * shadow/shadow.h: Likewise.
33653 * signal/signal.h: Likewise.
33654 * socket/send.c: Likewise.
33655 * socket/sendto.c: Likewise.
33656 * socket/sys/socket.h: Likewise.
33657 * stdio-common/printf.h: Likewise.
33658 * stdlib/bits/stdlib.h: Likewise.
33659 * stdlib/fmtmsg.h: Likewise.
33660 * stdlib/monetary.h: Likewise.
33661 * stdlib/stdlib.h: Likewise.
33662 * stdlib/ucontext.h: Likewise.
33663 * streams/stropts.h: Likewise.
33664 * string/argz.h: Likewise.
33665 * string/bits/string2.h: Likewise.
33666 * string/string.h: Likewise.
33667 * string/strings.h: Likewise.
33668 * sunrpc/rpc/auth.h: Likewise.
33669 * sunrpc/rpc/auth_des.h: Likewise.
33670 * sunrpc/rpc/clnt.h: Likewise.
33671 * sunrpc/rpc/netdb.h: Likewise.
33672 * sunrpc/rpc/pmap_clnt.h: Likewise.
33673 * sunrpc/rpc/xdr.h: Likewise.
33674 * sysdeps/generic/inttypes.h: Likewise.
33675 * sysdeps/generic/net/if.h: Likewise.
33676 * sysdeps/generic/sys/swap.h: Likewise.
33677 * sysdeps/gnu/net/if.h: Likewise.
33678 * sysdeps/gnu/utmpx.h: Likewise.
33679 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
33680 * sysdeps/i386/i486/bits/string.h: Likewise.
33681 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
33682 * sysdeps/s390/bits/string.h: Likewise.
33683 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
33684 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
33685 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
33686 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
33687 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
33688 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
33689 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
33690 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
33691 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
33692 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
33693 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
33694 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
33695 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
33696 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
33697 * sysdeps/unix/sysv/linux/readv.c: Likewise.
33698 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
33699 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
33700 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
33701 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
33702 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
33703 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
33704 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
33705 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
33706 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
33707 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
33708 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
33709 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
33710 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
33711 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
33712 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
33713 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
33714 * sysvipc/sys/ipc.h: Likewise.
33715 * sysvipc/sys/msg.h: Likewise.
33716 * sysvipc/sys/sem.h: Likewise.
33717 * sysvipc/sys/shm.h: Likewise.
33718 * termios/termios.h: Likewise.
33719 * time/sys/time.h: Likewise.
33720 * time/time.h: Likewise.
33721 * wcsmbs/bits/wchar2.h: Likewise.
33722 * wcsmbs/uchar.h: Likewise.
33723 * wcsmbs/wchar.h: Likewise.
33724 * wctype/wctype.h: Likewise.
33727 * Makeconfig: Remove all but ELF support including AIX support.
33728 * Makerules: Likewise.
33729 * config.h.in: Likewise.
33730 * config.make.in: Likewise.
33731 * configure: Likewise.
33732 * configure.in: Likewise.
33733 * csu/Makefile: Likewise.
33734 * csu/version.c: Likewise.
33735 * debug/Makefile: Likewise.
33736 * dlfcn/Makefile: Likewise.
33737 * elf/Makefile: Likewise.
33738 * extra-lib.mk: Likewise.
33739 * iconv/Makefile: Likewise.
33740 * include/libc-symbols.h: Likewise.
33741 * include/shlib-compat.h: Likewise.
33742 * resolv/Makefile: Likewise.
33743 * resolv/res_libc.c: Likewise.
33744 * rt/Makefile: Likewise.
33745 * sysdeps/i386/asm-syntax.h: Likewise.
33746 * sysdeps/i386/sysdep.h: Likewise.
33747 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
33748 * sysdeps/mach/sysdep.h: Likewise.
33749 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
33750 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
33751 * sysdeps/s390/asm-syntax.h: Likewise.
33752 * sysdeps/s390/s390-32/sysdep.h: Likewise.
33753 * sysdeps/s390/s390-64/sysdep.h: Likewise.
33754 * sysdeps/sh/sysdep.h: Likewise.
33755 * sysdeps/unix/sparc/sysdep.h: Likewise.
33756 * sysdeps/wordsize-32/divdi3.c: Likewise.
33757 * sysdeps/x86_64/sysdep.h: Likewise.
33759 * argp/Versions: Remove _argp_unlock_xxx.
33762 * abilist/ld.abilist: Update. Adjust for removal of tls option.
33763 * abilist/libBrokenLocale.abilist: Likewise.
33764 * abilist/libanl.abilist: Likewise.
33765 * abilist/libc.abilist: Likewise.
33766 * abilist/libcrypt.abilist: Likewise.
33767 * abilist/libdl.abilist: Likewise.
33768 * abilist/libm.abilist: Likewise.
33769 * abilist/libnsl.abilist: Likewise.
33770 * abilist/libpthread.abilist: Likewise.
33771 * abilist/libresolv.abilist: Likewise.
33772 * abilist/librt.abilist: Likewise.
33773 * abilist/libthread_db.abilist: Likewise.
33774 * abilist/libutil.abilist: Likewise.
33775 * abilist/libnss_db.abilist: New file.
33777 * scripts/abilist.awk: Add support for indirect functions.
33779 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
33781 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
33783 * shlib-versions: Remove entries for ports architectures.
33785 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
33787 * elf/stackguard-macros.h: Remove support for IA-64.
33788 * elf/tst-auditmod1.c: Likewise.
33789 * sysdeps/generic/ldsodefs.h: Likewise.
33791 * sysdeps/unix/sysv/linux/configure.in: Ports should define
33792 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
33796 * configure.in: Remove --enable-omitfp support.
33798 * config.make.in: Likewise.
33799 * Makeconfig: Likewise.
33800 * manual/install.texi: Likewise.
33802 In case anyone cares, the IA-64 architecture could move to ports.
33803 * sysdeps/ia64/*: Removed.
33804 * sysdeps/unix/sysv/linux/ia64/*: Removed.
33805 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
33808 * configure.in: Remove entries for unsupported architectures.
33811 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
33812 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
33814 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
33815 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
33816 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
33817 fall back to using wcrtomb.
33818 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
33819 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
33821 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
33822 * wcsmbs/tst-c16c32-1.c: New file.
33824 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
33827 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
33829 * elf/tst-unique3.cc: Add explicit declaration of gets.
33830 * elf/tst-unique3lib.cc: Likewise.
33831 * elf/tst-unique3lib2.cc: Likewise.
33832 * elf/tst-unique4.cc: Likewise.
33834 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
33836 2012-01-06 Joseph Myers <joseph@codesourcery.com>
33839 * assert/assert.h (static_assert): Don't define for C++.
33840 * libio/stdio.h (gets): Do declare for C++ <= C++11.
33841 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
33843 2012-01-03 Ulrich Drepper <drepper@gmail.com>
33845 * iconv/loop.c (single loop): Fix assertion in storing of
33848 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
33850 2012-01-01 Ulrich Drepper <drepper@gmail.com>
33852 * posix/getconf.c: Update copyright year.
33853 * nss/getent.c: Likewise.
33854 * nss/makedb.c: Likewise.
33855 * iconv/iconvconfig.c: Likewise.
33856 * iconv/iconv_prog.c: Likewise.
33857 * elf/ldconfig.c: Likewise.
33858 * elf/pldd.c: Likewise.
33859 * elf/sotruss.ksh: Likewise.
33860 * catgets/gencat.c: Likewise.
33861 * csu/version.c: Likewise.
33862 * elf/ldd.bash.in: Likewise.
33863 * elf/sprof.c (print_version): Likewise.
33864 * locale/programs/locale.c: Likewise.
33865 * locale/programs/localedef.c: Likewise.
33866 * login/programs/pt_chown.c: Likewise.
33867 * nscd/nscd.c (print_version): Likewise.
33868 * debug/xtrace.sh: Likewise.
33869 * malloc/memusage.sh: Likewise.
33870 * malloc/mtrace.pl: Likewise.
33871 * debug/catchsegv.sh: Likewise.
33873 2011-12-30 Jakub Jelinek <jakub@redhat.com>
33875 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
33878 2011-12-24 Ulrich Drepper <drepper@gmail.com>
33881 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
33882 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
33884 * iconv/gconv_int.h: Likewise.
33885 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
33886 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
33887 from libc for GLIBC_2.16.
33888 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
33889 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
33890 * wcsmbs/uchar.h: Really define mbstate_t.
33891 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
33892 * wcsmbs/c16rtomb.c: New file.
33893 * wcsmbs/mbrtoc16.c: New file.
33894 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
33895 for C/POSIX locale.
33896 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
33897 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
33899 * wcsmbs/wchar.h: Add missing __restrict.
33901 2011-12-23 Ulrich Drepper <drepper@gmail.com>
33904 * time/Makefile (routines): Add timespec_get.
33905 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
33906 * time/time.h: Define TIME_UTC and declare timespec_get. Define
33907 timespec for ISO C11.
33908 * time/timespec_get.c: New file.
33909 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
33910 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
33913 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
33914 * stdlib/stdlib.h: Declare aligned_alloc.
33915 * Versions.def: Add GLIBC_2.16 for libc.
33916 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
33919 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
33922 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
33926 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
33929 * assert/assert.h (static_assert): Define.
33931 * version.h: Update for 2.16 development version.
33934 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
33937 * version.h (RELEASE): Bump for 2.15 release.
33938 * include/features.h (__GLIBC_MINOR__): Bump to 15.
33940 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
33941 Patch by Marek Polacek <mpolacek@redhat.com>.
33943 * bits/byteswap.h: Protect long long constants with __extension__.
33944 * sysdeps/i386/bits/byteswap.h: Likewise.
33945 * sysdeps/ia64/bits/byteswap.h: Likewise.
33946 * sysdeps/s390/bits/byteswap.h: Likewise.
33947 * sysdeps/x86_64/bits/byteswap.h: Likewise.
33949 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33952 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
33953 destination buffer.
33954 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
33956 2011-12-23 Marek Polacek <polacek@redhat.com>
33958 * elf/dl-addr.c (determine_info): Add inline keyword.
33959 * elf/tst-auditmod4b.c (check_avx): Likewise.
33960 * elf/tst-auditmod6b.c (check_avx): Likewise.
33961 * elf/tst-auditmod6c.c (check_avx): Likewise.
33962 * elf/tst-auditmod7b.c (check_avx): Likewise.
33964 2011-12-23 Ulrich Drepper <drepper@gmail.com>
33966 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
33969 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33972 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
33973 processing for last bytes.
33975 2011-08-06 Bruno Haible <bruno@clisp.org>
33978 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
33979 U+0385, not to U+1FEE.
33982 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
33983 entry for U+00A5 U+0301.
33985 2011-12-22 Ulrich Drepper <drepper@gmail.com>
33988 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
33989 buffer for the output is too small.
33991 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
33995 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
33996 SSE flags if possible.
33998 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34001 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
34002 processing for last bytes.
34004 2011-12-22 Joseph Myers <joseph@codesourcery.com>
34006 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
34007 (syscall-list-default-options, syscall-list-default-condition)
34008 (syscall-list-includes): Define.
34009 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
34010 list of ABIs and options and #if conditions for each ABI. Do not
34011 handle common syscalls between ABIs specially.
34012 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
34014 (syscall-list-variants, syscall-list-32bit-options)
34015 (syscall-list-32bit-condition, syscall-list-64bit-options)
34016 (syscall-list-64bit-condition): Define.
34017 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
34018 (syscall-list-variants, syscall-list-32bit-options)
34019 (syscall-list-32bit-condition, syscall-list-64bit-options)
34020 (syscall-list-64bit-condition): Define.
34021 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
34023 (syscall-list-variants, syscall-list-32bit-options)
34024 (syscall-list-32bit-condition, syscall-list-64bit-options)
34025 (syscall-list-64bit-condition): Define.
34026 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
34028 (syscall-list-variants, syscall-list-32bit-options)
34029 (syscall-list-32bit-condition, syscall-list-64bit-options)
34030 (syscall-list-64bit-condition): Define.
34032 2011-12-22 Ulrich Drepper <drepper@gmail.com>
34034 * locale/iso-639.def: Add brx entry.
34037 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
34038 Proposed by Mariusz_Cukr <marcukr@op.pl>.
34040 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
34041 __feraiseexcept_renamed.
34043 2011-12-21 Ulrich Drepper <drepper@gmail.com>
34046 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
34047 EPOLLET with unsigned values.
34048 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
34049 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
34051 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
34052 to large cancellation.
34053 * math/s_cacoshf.c: Likewise.
34054 * math/s_cacoshl.c: Likewise.
34056 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
34060 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
34061 * math/s_cacoshf.c: Likewise.
34062 * math/s_cacoshl.c: Likewise.
34064 2011-12-21 Ulrich Drepper <drepper@gmail.com>
34067 * iconv/gconv.h: Define __GCONV_SWAP.
34068 * iconvdata/unicode.c: The swap bit must be stored in __flags.
34069 * iconvdata/utf-16.c: Likewise.
34070 * iconvdata/utf-32.c: Likewise.
34072 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
34075 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
34076 numerator after shifting it by one limb.
34078 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
34080 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
34081 under [__USE_EXTERN_INLINES].
34083 2011-12-17 Ulrich Drepper <drepper@gmail.com>
34086 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
34088 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34090 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
34091 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
34093 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
34094 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
34095 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
34096 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
34097 for strncasecmp/strncasecmp_l compilation.
34098 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
34099 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
34101 2011-12-08 Marek Polacek <mpolacek@redhat.com>
34104 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
34107 2011-12-17 Ulrich Drepper <drepper@gmail.com>
34110 * time/tzfile.c (__tzfile_read): Check values from file header.
34112 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
34114 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
34115 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
34116 * powerpc/powerpc32/dl-start.S: Likewise.
34117 * powerpc/powerpc32/elf/start.S: Likewise.
34118 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
34119 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
34120 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
34121 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
34122 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
34123 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
34124 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
34125 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
34126 * powerpc/powerpc32/fpu/s_round.S: Likewise.
34127 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
34128 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
34129 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
34130 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
34131 * powerpc/powerpc32/memset.S: Likewise.
34132 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
34133 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
34134 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
34135 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
34136 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
34137 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
34138 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
34139 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
34140 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
34141 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
34142 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
34143 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
34144 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
34146 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34148 * math/libm-test.inc: Added more nearbyint tests.
34149 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
34150 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
34151 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
34152 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
34154 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
34156 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
34159 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34161 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
34162 Add wcscpy-ssse3 wcscpy-c.
34163 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
34164 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
34165 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
34166 * sysdeps/x86_64/wcschr.S: New file.
34167 * sysdeps/x86_64/wcsrchr.S: New file.
34168 * string/test-strcmp.c: Remove checking of wcscmp function for
34170 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
34171 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
34172 wcsrchr-sse2 wcsrchr-c.
34173 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
34174 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
34175 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
34176 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
34177 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
34178 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
34179 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
34180 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
34181 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
34182 * wcsmbc/wcschr.c (WCSCHR): New macro.
34184 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34186 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
34187 * wcsmbs/test-wcsrchr.c: New file.
34188 * string/test-strrchr.c: Add wcsrchr support.
34190 * wcsmbs/test-wcscpy.c: New file.
34191 * string/test-strcpy.c: Add wcscpy support.
34194 2011-12-10 Ulrich Drepper <drepper@gmail.com>
34196 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
34199 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
34202 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
34204 2011-12-04 Ulrich Drepper <drepper@gmail.com>
34206 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
34207 Minor optimizations.
34209 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
34210 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
34211 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
34213 2011-12-03 Ulrich Drepper <drepper@gmail.com>
34215 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
34216 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
34217 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
34218 for gcc to avoid warnings.
34219 * inet/Makefile (tests): Add tst-checks.
34220 * inet/tst-checks.c: New file.
34222 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
34225 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
34228 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
34229 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
34231 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
34233 2011-12-02 Ulrich Drepper <drepper@gmail.com>
34235 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
34238 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
34240 2011-11-29 Joseph Myers <joseph@codesourcery.com>
34242 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
34243 conditional on GCC version.
34244 (__arch_compare_and_exchange_val_8_acq)
34245 (__arch_compare_and_exchange_val_16_acq)
34246 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
34247 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
34248 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
34250 2011-12-02 Joseph Myers <joseph@codesourcery.com>
34252 * sysdeps/sh/backtrace.c: New file.
34254 2011-12-02 Andreas Schwab <schwab@redhat.com>
34256 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
34259 2011-12-01 Andreas Schwab <schwab@redhat.com>
34261 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
34262 falling back to utime.
34264 2011-11-30 Andreas Schwab <schwab@redhat.com>
34266 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
34267 expectations for float.
34269 2011-11-29 Andreas Schwab <schwab@redhat.com>
34271 * locale/weight.h (findidx): Add parameter len.
34272 * locale/weightwc.h (findidx): Likewise.
34273 * posix/fnmatch_loop.c (FCT): Adjust caller.
34274 * posix/regcomp.c (build_equiv_class): Likewise.
34275 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
34276 * posix/regexec.c (check_node_accept_bytes): Likewise.
34277 * string/strcoll_l.c (STRCOLL): Likewise.
34278 * string/strxfrm_l.c (STRXFRM): Likewise.
34280 2011-11-17 Ulrich Drepper <drepper@gmail.com>
34282 * Makefile.in: Remove CVSOPT handling.
34283 * configure.in: Remove use of AC_REVISION.
34284 * iconvdata/Makefile (distribute): No need to filter out CVS.
34285 * scripts/list-sources.sh: Remove CVS, subversion and monotone
34288 2011-11-16 Andreas Schwab <schwab@redhat.com>
34290 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
34291 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
34292 [USE_AS_STRNCASECMP_L]: Likewise.
34293 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
34294 NO_TLS_DIRECT_SEG_REFS.
34295 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
34296 Fix argument offsets for non-PIC.
34297 [USE_AS_STRNCASECMP_L]: Likewise.
34298 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
34299 NO_TLS_DIRECT_SEG_REFS.
34301 2011-11-15 Ulrich Drepper <drepper@gmail.com>
34303 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
34305 * locale/loadlocale.c (_nl_load_locale): Likewise.
34307 2011-11-15 Andreas Schwab <schwab@redhat.com>
34309 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
34310 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
34311 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
34312 (SYSCALL_GETTIME): Set errno on error.
34314 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
34315 count references to noai6ai_cached.
34317 2011-11-15 Ulrich Drepper <drepper@gmail.com>
34319 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
34321 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
34322 FD_CLOEXEC for /proc/self/maps.
34324 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
34325 FD_CLOEXEC for /proc/meminfo.
34327 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
34330 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
34331 FD_CLOEXEC for given file.
34333 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
34335 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
34336 FD_CLOEXEC for /etc/hosts.
34337 (_gethtent): Likewise.
34339 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
34341 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
34342 cancellation and set FD_CLOEXEC for /etc/netgroup.
34344 * nss/nss_files/files-key.c (search): Don't allow cancellation when
34345 reading /etc/publickey.
34347 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
34348 allow cancellation when reading /etc/group.
34350 * nss/nss_files/files-alias.c (internal_setent): Don't allow
34352 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
34354 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
34355 when using data file.
34357 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
34359 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
34360 (write_nis_obj): Use "c" and "e" in fopen.
34362 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
34364 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
34366 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
34368 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
34370 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
34373 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
34375 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
34377 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
34379 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
34380 file parsing and set FD_CLOEXEC.
34382 2011-11-14 Ulrich Drepper <drepper@gmail.com>
34384 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
34386 2011-11-14 Andreas Schwab <schwab@redhat.com>
34388 * malloc/arena.c (arena_get2): Don't call reused_arena when
34389 _int_new_arena failed.
34391 2011-11-14 Ulrich Drepper <drepper@gmail.com>
34393 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
34394 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
34395 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
34396 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
34397 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
34398 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
34399 to compile strcasecmp and strncasecmp.
34400 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
34401 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
34403 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
34405 2011-11-13 Ulrich Drepper <drepper@gmail.com>
34407 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
34408 locale-defines.sym to gen-as-const-headers.
34409 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
34410 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
34411 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
34412 to compile strcasecmp and strncasecmp.
34413 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
34414 strcasecmp_l and strncasecmp_l.
34415 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
34416 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
34417 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
34418 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
34419 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
34420 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
34421 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
34422 * sysdeps/i386/i686/multiarch/strncase.S: New file.
34423 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
34424 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
34425 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
34427 2011-11-12 Ulrich Drepper <drepper@gmail.com>
34429 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
34430 result of SYSDEP_GETTIME_CPU to retval.
34431 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
34432 parameter list to macro. Remove trailing semicolon. Adjust users.
34434 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
34437 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
34439 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
34441 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
34442 from unused variable.
34444 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
34446 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
34449 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
34452 * sunrpc/rpc_prot.c (rejected): Fix case value.
34454 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
34455 unsigned long long int to avoid warnings in shift.
34457 * posix/regex_internal.c (re_string_reconstruct): Actually use result
34459 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
34462 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
34463 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
34464 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
34466 * nis/nis_table.c (nis_list): Use variable of correct type for
34467 result of __follow_path call.
34469 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34471 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
34472 of math functions ceil, trunc, floor, round, and sqrt, when
34473 avaliable on the platform.
34474 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
34476 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
34477 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
34478 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
34480 2011-10-30 Marek Polacek <mpolacek@redhat.com>
34482 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
34483 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
34485 2011-11-11 Roland McGrath <roland@hack.frob.com>
34487 * include/unistd.h: Fix __readlink return type.
34488 Reported by Chris Metcalf <cmetcalf@tilera.com>.
34490 2011-11-11 Ulrich Drepper <drepper@gmail.com>
34492 * stdlib/ucontext.h: Undo last change for makecontext.
34494 2011-11-11 Andreas Schwab <schwab@redhat.com>
34496 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
34498 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
34499 * setjmp/setjmp.h: Mark functions as non-leaf.
34500 * setjmp/bits/setjmp2.h: Likewise.
34501 * stdlib/ucontext.h: Likewise.
34503 2011-11-10 Andreas Schwab <schwab@redhat.com>
34505 * malloc/arena.c (_int_new_arena): Don't increment narenas.
34506 (reused_arena): Don't check arena limit.
34507 (arena_get2): Atomically check arena limit.
34509 2011-11-08 Ulrich Drepper <drepper@gmail.com>
34511 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
34512 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
34514 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
34517 2011-11-07 Andreas Schwab <schwab@redhat.com>
34519 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
34520 handler when locking.
34522 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
34523 Fix size of allocated buffer.
34525 2011-11-04 Andreas Schwab <schwab@redhat.com>
34528 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
34529 declarations for long double functions.
34530 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
34532 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
34534 2011-11-03 Andreas Schwab <schwab@redhat.com>
34536 * nscd/nscd.c (main): Don't start AVC thread until credentials are
34539 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
34542 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
34544 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
34546 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
34548 * include/alloca.h (stackinfo_alloca_round): Define.
34549 (extend_alloca): Use it.
34550 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
34551 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
34554 * scripts/check-local-headers.sh: Ignore libaudit.h.
34556 * nscd/Makefile (extra-objs): Make recursively expanded.
34558 2011-11-01 Ulrich Drepper <drepper@gmail.com>
34560 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
34561 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
34563 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
34564 * posix/tst-rfc3484-2.c: Likewise.
34565 * posix/tst-rfc3484-3.c: Likewise.
34567 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
34569 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
34571 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
34572 process_vm_writev from libc using GLIBC_2.15 version.
34574 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
34576 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
34578 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
34581 2011-10-31 Ulrich Drepper <drepper@gmail.com>
34584 * nss/getent.c (initgroups_keys): Show error message in case no group
34587 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
34588 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
34589 __bump_nl_timestamp.
34590 * nscd/connections (nscd_init): When host database is served open
34591 netlink socket and request notification about configuration changes.
34592 (main_loop_poll): Track netlink file descriptor and bump timestamp
34593 in case data becomes available.
34594 (main_loop_epoll): Likewise.
34595 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
34596 (database_pers_head): Add extra_data fileds.
34597 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
34598 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
34599 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
34601 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
34602 in6ai data, call __free_in6ai.
34603 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
34604 Add -DHAVE_NETLINK.
34605 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
34606 interface information. Reuse previous data if netlink timestamp
34608 (__bump_nl_timestamp): New function.
34609 (__free_in6ai): New function.
34611 2011-10-30 Ulrich Drepper <drepper@gmail.com>
34613 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
34614 close_not_cancel_no_status here.
34615 (__check_pf): Reorganize code a bit to not call close twice if OOM.
34617 2011-10-29 Ulrich Drepper <drepper@gmail.com>
34620 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
34623 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
34624 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
34625 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
34627 2011-07-03 Andreas Jaeger <aj@suse.de>
34630 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
34631 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
34632 * math/libm-test.inc (sin_test): Add test case.
34634 2011-10-29 Ulrich Drepper <drepper@gmail.com>
34637 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
34638 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
34640 * elf/chroot_canon.c (chroot_canon): Cleanups.
34642 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
34645 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
34646 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
34648 * string/test-strchr.c: Make usable for strchrnul testing.
34649 * string/test-strchrnul.c: New file.
34650 * string/Makefile (strop-tests): Add strchrnul.
34652 * po/it.po: Update from translation team.
34653 * po/es.po: Likewise.
34655 2011-10-28 Ulrich Drepper <drepper@gmail.com>
34657 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
34658 the three constants needed as parameters. Drop the others.
34659 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
34660 __m128i_strloadu_tolower.
34661 Create and initialize variable zero and use it in all the places
34662 where _mm_setzero_si128 was used.
34664 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
34665 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
34666 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
34667 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
34669 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
34670 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
34671 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
34672 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
34673 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
34674 __mpranred, __mptan.
34675 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
34676 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
34677 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
34678 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
34679 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
34680 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
34681 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
34682 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
34683 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
34685 2011-10-28 Andreas Schwab <schwab@redhat.com>
34687 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
34688 redefine if SHARED.
34689 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
34691 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
34692 wide char related routines to wcsmbs subdir.
34694 2011-10-27 Andreas Schwab <schwab@redhat.com>
34697 * misc/sys/cdefs.h (__THROWNL): Define.
34698 * posix/unistd.h: Use __THREADNL instead of __THREAD
34699 for memory synchronization functions.
34701 2011-10-26 Roland McGrath <roland@hack.frob.com>
34704 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
34706 * manual/stdio.texi (Obstack Streams): Node removed.
34708 2011-10-26 Andreas Schwab <schwab@redhat.com>
34710 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
34711 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
34712 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
34714 * math/math_private.h (math_force_eval): Allow non-addressable
34716 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
34718 2011-10-25 Ulrich Drepper <drepper@gmail.com>
34720 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
34721 file is not needed.
34723 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
34724 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
34725 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
34726 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
34727 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
34728 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
34729 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
34730 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
34732 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
34733 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
34734 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
34735 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
34736 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
34737 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
34738 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
34739 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
34740 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
34741 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
34742 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
34743 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
34744 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
34745 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
34746 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
34747 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
34748 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
34749 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
34750 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
34752 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
34753 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
34755 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
34756 place. Use VEX encoding when compiling for AVX.
34758 2011-10-25 Andreas Schwab <schwab@redhat.com>
34760 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
34761 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
34763 * string/test-strchr.c (do_test): Don't generate NUL bytes.
34765 2011-10-25 Ulrich Drepper <drepper@gmail.com>
34767 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
34768 useless if() expression.
34769 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
34770 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
34771 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
34772 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
34773 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
34774 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
34775 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
34776 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
34777 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
34778 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
34779 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
34780 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
34781 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
34782 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
34783 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
34784 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
34785 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
34786 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
34787 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
34789 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
34791 2011-10-25 Andreas Schwab <schwab@redhat.com>
34793 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
34795 * elf/dl-fini.c (_dl_sort_fini): Likewise.
34797 2011-10-25 Ulrich Drepper <drepper@gmail.com>
34799 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
34800 .text section. Avoid duplicate constants.
34801 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
34802 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
34803 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
34804 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
34805 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
34806 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
34807 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
34808 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
34809 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
34810 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
34811 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
34812 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
34813 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
34814 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
34815 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
34816 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
34817 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
34818 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
34819 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
34820 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
34821 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
34822 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
34823 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
34824 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
34825 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
34826 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
34827 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
34828 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
34829 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
34830 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
34831 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
34832 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
34833 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
34834 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
34835 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
34836 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
34837 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
34838 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
34839 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
34840 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
34841 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
34842 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
34843 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
34844 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
34845 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
34847 2011-10-24 Ulrich Drepper <drepper@gmail.com>
34849 * sysdeps/x86_64/dla.h: Move to ...
34850 * sysdeps/x86_64/fpu/dla.h: ...here.
34851 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
34852 situations. Use __builtin_fma only for gcc 4.6 and up.
34854 * config.make.in: Add have-mfma4 entry.
34855 * configure.in: Substitute libc_cv_cc_fma4.
34856 * math/Makefile (dbl-only-routines): Add sincostab.
34857 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
34858 Use __sincostab not sincos.
34859 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
34861 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
34862 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
34863 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
34864 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
34866 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
34867 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
34868 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
34869 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
34871 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
34872 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
34874 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
34875 define aliases when function name is a macro.
34876 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
34877 sysdeps/ieee754/dbl-64/sincos.tbl.
34878 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
34879 fma4-enabled routines.
34880 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
34881 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
34882 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
34883 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
34884 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
34885 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
34886 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
34887 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
34888 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
34889 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
34890 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
34891 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
34892 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
34893 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
34894 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
34895 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
34896 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
34897 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
34898 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
34899 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
34900 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
34901 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
34902 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
34903 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
34904 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
34905 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
34906 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
34907 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
34908 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
34909 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
34911 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
34913 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
34914 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
34915 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
34916 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
34917 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
34918 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
34919 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
34920 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
34922 2011-10-24 Andreas Schwab <schwab@redhat.com>
34924 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
34926 2011-10-23 Ulrich Drepper <drepper@gmail.com>
34928 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
34930 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
34932 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
34934 * string/strnlen.c: Don't define STRNLEN, reverse logic.
34935 Remove unused variable magic_bits.
34936 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
34938 * string/strnlen.c: Define and use STRNLEN macro.
34939 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
34940 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
34941 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
34942 * wcsmbs/wcslen.c: Define and use WCSLEN.
34943 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
34944 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
34945 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
34946 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
34947 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
34948 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
34949 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
34951 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34953 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34954 strnlen-sse2-no-bsf.
34955 Rename strlen-no-bsf to strlen-sse2-no-bsf.
34956 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
34957 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
34958 Add strnlen support.
34959 (USE_AS_STRNLEN): New macro.
34960 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
34961 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
34962 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
34963 * sysdeps/x86_64/wcslen.S: New file.
34965 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
34967 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
34968 XMM-moves are used for copying on small sizes.
34970 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34972 * wcsmbs/Makefile (strop-tests): Add wcschr.
34973 * wcsmbs/test-wcschr.c: New file.
34974 * string/test-strchr.c: Update.
34975 Add wcschr support.
34978 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34980 * wcsmbs/Makefile (strop-tests): Add wcslen.
34981 * wcsmbs/test-wcslen.c: New file.
34982 * string/test-strlen.c: Update.
34983 Add wcslen support.
34986 2011-10-23 Ulrich Drepper <drepper@gmail.com>
34988 * po/it.po: Update from translation team.
34990 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34992 * sysdeps/x86_64/wcscmp.S: Update.
34993 Fix wrong comparison semantics.
34994 wcscmp shall use signed comparison not unsigned.
34995 Don't use substraction to avoid overflow bug.
34996 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
34997 * wcsmbc/wcscmp.c: Likewise.
34998 * string/test-strcmp.c: Likewise.
34999 Add new tests to check cases with negative values.
35001 2011-10-23 Ulrich Drepper <drepper@gmail.com>
35003 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
35004 * sysdeps/x86_64/dla.h: ...here. New file.
35005 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
35006 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
35007 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
35008 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
35009 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
35010 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
35011 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
35012 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
35013 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
35015 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
35017 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
35018 __ynl_finite aliases.
35020 2011-10-22 Ulrich Drepper <drepper@gmail.com>
35022 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35024 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
35026 [DLA_FMA] (EMULV): Use DLA_FMA.
35027 [DLA_FMA] (MUL12): Use EMULV.
35028 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
35029 that are not needed.
35030 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
35031 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
35032 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
35033 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
35034 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
35035 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
35036 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
35038 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
35040 * math/s_nan.c: Undef __nan.
35041 * math/s_nanf.c: Undef __nanf.
35042 * math/s_nanl.c: Undef __nanl.
35043 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
35046 2011-10-22 Ulrich Drepper <drepper@gmail.com>
35048 * math/s_catan.c: Add branch predictions.
35049 * math/s_catanf.c: Likewise.
35050 * math/s_catanh.c: Likewise.
35051 * math/s_catanhf.c: Likewise.
35052 * math/s_catanhl.c: Likewise.
35053 * math/s_catanl.c: Likewise.
35054 * math/s_cexp.c: Likewise.
35055 * math/s_cexpf.c: Likewise.
35056 * math/s_cexpl.c: Likewise.
35057 * math/s_clog.c: Likewise.
35058 * math/s_clog10.c: Likewise.
35059 * math/s_clog10f.c: Likewise.
35060 * math/s_clog10l.c: Likewise.
35061 * math/s_clogf.c: Likewise.
35062 * math/s_clogl.c: Likewise.
35063 * math/s_csqrt.c: Likewise.
35064 * math/s_csqrtf.c: Likewise.
35065 * math/s_csqrtl.c: Likewise.
35066 * math/s_ctanf.c: Likewise.
35067 * math/s_ctanh.c: Likewise.
35068 * math/s_ctanhf.c: Likewise.
35069 * math/s_ctanhl.c: Likewise.
35070 * math/s_ctanl.c: Likewise.
35072 * math/math_private.h: Define __nan, __nanf, __nanl.
35073 * math/s_cacosh.c: Include <math_private.h>.
35074 * math/s_cacoshl.c: Likewise.
35075 * math/s_casinh.c: Likewise.
35076 * math/s_casinhf.c: Likewise.
35077 * math/s_casinhl.c: Likewise.
35078 * math/s_ccos.c: Rely entire on ccosh.
35079 * math/s_ccosf.c: Rely entire on ccoshf.
35080 * math/s_ccosl.c: Rely entirely on ccoshl.
35081 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
35082 Remove tests for FE_INVALID.
35083 * math/s_ccoshf.c: Likewise.
35084 * math/s_ccoshl.c: Likewise.
35085 * math/s_csin.c: Likewise.
35086 * math/s_csinf.c: Likewise.
35087 * math/s_csinh.c Likewise.
35088 * math/s_csinhf.c: Likewise.
35089 * math/s_csinhl.c: Likewise.
35090 * math/s_csinl.c: Likewise.
35091 * math/s_ctan.c: Likewise.
35092 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
35093 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
35094 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
35096 2011-10-21 Ulrich Drepper <drepper@gmail.com>
35098 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
35099 compilation problems.
35101 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
35104 2011-10-20 Ulrich Drepper <drepper@gmail.com>
35106 * sysdeps/i386/configure.in: Test for -mfma4 option.
35107 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
35108 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
35109 COMMON_CPUID_INDEX_80000001.
35110 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
35111 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
35112 use it if FMA3 is not supported.
35113 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
35115 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
35116 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
35118 2011-10-20 Andreas Schwab <schwab@redhat.com>
35121 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
35122 it would create a cycle with a link time dependency.
35124 2011-10-19 Ulrich Drepper <drepper@gmail.com>
35126 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
35128 * string/Makefile (strop-tests): Add rawmemchr.
35129 * string/test-rawmemchr.c: New file.
35131 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
35132 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
35133 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
35134 when compiling str{,n}casecmp and when AVX is available. Hook up
35135 new optimized code in initializers.
35137 2011-10-19 Andreas Schwab <schwab@redhat.com>
35139 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
35140 __feraiseexcept instead of feraiseexcept.
35142 2011-10-18 Ulrich Drepper <drepper@gmail.com>
35144 * math/math_private.h: Define defaults for libc_fetestexcept and
35146 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
35147 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
35148 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
35149 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
35150 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
35151 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
35152 libc_fetestexcept and libc_feupdateenv.
35154 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
35155 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
35156 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
35157 * sysdeps/x86_64/fpu/math_private.h: Define special version of
35158 libc_feholdexcept_setround.
35160 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
35161 Add s_nearbyint-c and s_nearbyintf-c.
35162 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
35163 nearbyintf inlines.
35164 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
35165 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
35166 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
35167 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
35169 * math/math_private.h: Define defaults for libc_fegetround,
35170 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
35171 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
35172 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
35173 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
35174 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
35175 standard functions.
35176 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
35177 Remove comments and hacks for old compiler versions.
35178 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
35179 libc_fegetround, libc_fesetround, libc_feholdexcept, and
35180 libc_feholdexceptl.
35182 2011-10-18 Andreas Schwab <schwab@redhat.com>
35184 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
35185 (__feraiseexcept_renamed): Add __NTH.
35186 (feraiseexcept): Add __NTH. Rename local variables to fix
35187 namespace violations.
35189 2011-10-17 Ulrich Drepper <drepper@gmail.com>
35191 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
35193 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
35195 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
35196 recently added interfaces.
35197 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
35199 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
35200 about macro parameter expansion.
35202 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
35203 __NO_MATH_INLINES is defined. Cleanups.
35205 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
35206 and __floorf is target has SSE4.1.
35207 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
35208 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
35209 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
35210 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
35212 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
35214 (floorf): Likewise.
35216 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
35218 2011-10-17 Andreas Schwab <schwab@redhat.com>
35220 * misc/sys/cdefs.h: Fix last change.
35222 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
35225 2011-10-16 Ulrich Drepper <drepper@gmail.com>
35227 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
35229 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
35230 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
35231 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
35232 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
35233 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
35234 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
35235 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
35236 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
35237 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
35238 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
35239 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
35240 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
35241 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
35242 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
35243 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
35244 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
35245 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
35246 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
35247 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
35248 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
35249 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
35250 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
35252 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
35253 ceil, ceilf, floor, floorf.
35255 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
35256 Perform IRELATIVE relocations last.
35258 * elf/do-rel.h: Add another parameter nrelative, replacing the
35259 local variable with the same name. Change name of the function
35260 to end in Rel or Rela (uppercase).
35261 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
35262 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
35263 elf_dynamic_do_##reloc function.
35265 2011-10-15 Ulrich Drepper <drepper@gmail.com>
35267 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
35268 is sufficient, at least on modern CPUs.
35270 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
35272 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
35273 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
35275 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
35277 * math/bits/math-finite.h: Add entries for exp.
35278 * math/e_expl.c: Add __*_finite alias.
35279 * sysdeps/i386/fpu/e_exp.S: Likewise.
35280 * sysdeps/i386/fpu/e_expf.S: Likewise.
35281 * sysdeps/i386/fpu/e_expl.c: Likewise.
35282 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
35283 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
35284 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
35285 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
35286 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
35287 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
35288 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
35290 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
35291 is sufficient, at least on modern CPUs.
35293 * ctype/ctype-info.c (__ctype_init): Define.
35294 * include/ctype.h (__ctype_init): Declare.
35295 (__ctype_b_loc): The variable is always initialized.
35296 (__ctype_toupper_loc): Likewise.
35297 (__ctype_tolower_loc): Likewise.
35298 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
35299 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
35301 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
35303 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
35305 * configure.in: Also look in $cxxmachine/include for C++ system
35308 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35310 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
35311 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
35312 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
35313 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
35314 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
35315 (USE_AS_WMEMCMP): New macro.
35317 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
35318 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
35319 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
35320 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
35321 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35322 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
35323 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
35324 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
35325 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
35326 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
35327 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
35328 (USE_AS_WMEMCMP): New macro.
35329 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
35330 * sysdeps/string/test-memcmp.c: Update.
35331 Fix simple_wmemcmp.
35333 * wcsmbs/wmemcmp.c: Update.
35334 (WMEMCMP): New macro.
35337 2011-10-12 Andreas Jaeger <aj@suse.de>
35340 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
35342 2011-10-15 Ulrich Drepper <drepper@gmail.com>
35344 * libio/iofwide.c (do_length): Avoid warning.
35346 * ctype/ctype.h (__isctype_f): Add missing __THROW.
35348 2011-10-14 Ulrich Drepper <drepper@gmail.com>
35350 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
35352 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
35353 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
35354 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
35355 * sysdeps/i386/i686/fpu/e_log.S: New file.
35356 * sysdeps/i386/i686/fpu/e_logf.S: New file.
35357 * sysdeps/i386/i686/fpu/e_logl.S: New file.
35359 * ctype/ctype.h: Add support for inlined isXXX functions when
35360 compiling C++ code.
35362 2011-10-14 Andreas Schwab <schwab@redhat.com>
35364 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
35366 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
35368 2011-10-13 Roland McGrath <roland@hack.frob.com>
35371 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
35373 2011-10-13 Andreas Schwab <schwab@redhat.com>
35375 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
35376 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
35379 * sysdeps/x86_64/memrchr.S: Check for zero size.
35381 * string/stratcliff.c: Add memrchr tests.
35383 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35385 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35386 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
35387 rawmemchr-sse2 rawmemchr-sse2-bsf.
35388 * sysdeps/i386/i686/multiarch/memchr.S: New file.
35389 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
35390 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
35391 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
35392 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
35393 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
35394 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
35395 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
35396 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
35397 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
35398 * string/memrchr.c (MEMRCHR): New macro.
35400 2011-10-12 Ulrich Drepper <drepper@gmail.com>
35402 Add integration with gcc's -ffinite-math-only and optimize wrapper
35404 * Versions.def: Define GLIBC_2.15 version for libm.
35405 * math/Makefile (headers): Add bits/math-finite.h.
35406 * math/bits/math-finite.h: New file.
35407 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
35408 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
35409 * math/e_acoshl.c: Add __*_finite alias.
35410 * math/e_acosl.c: Likewise.
35411 * math/e_asinl.c: Likewise.
35412 * math/e_atan2l.c: Likewise.
35413 * math/e_atanhl.c: Likewise.
35414 * math/e_coshl.c: Likewise.
35415 * math/e_exp10.c: Likewise.
35416 * math/e_exp10f.c: Likewise.
35417 * math/e_exp10l.c: Likewise.
35418 * math/e_exp2l.c: Likewise.
35419 * math/e_fmodl.c: Likewise.
35420 * math/e_gammal_r.c: Likewise.
35421 * math/e_hypotl.c: Likewise.
35422 * math/e_j0l.c: Likewise.
35423 * math/e_j1l.c: Likewise.
35424 * math/e_jnl.c: Likewise.
35425 * math/e_lgammal_r.c: Likewise.
35426 * math/e_log10l.c: Likewise.
35427 * math/e_log2l.c: Likewise.
35428 * math/e_logl.c: Likewise.
35429 * math/e_powl.c: Likewise.
35430 * math/e_sinhl.c: Likewise.
35431 * math/e_sqrtl.c: Likewise.
35432 * math/e_scalb.c: Completely rewritten and optimized.
35433 * math/e_scalbf.c: Likewise.
35434 * math/e_scalbl.c: Likewise.
35435 * math/w_acos.c: Likewise.
35436 * math/w_acosf.c: Likewise.
35437 * math/w_acosl.c: Likewise.
35438 * math/w_acosh.c: Likewise.
35439 * math/w_acoshf.c: Likewise.
35440 * math/w_acoshl.c: Likewise.
35441 * math/w_asin.c: Likewise.
35442 * math/w_asinf.c: Likewise.
35443 * math/w_asinl.c: Likewise.
35444 * math/w_atan2.c: Likewise.
35445 * math/w_atan2f.c: Likewise.
35446 * math/w_atan2l.c: Likewise.
35447 * math/w_atanh.c: Likewise.
35448 * math/w_atanhf.c: Likewise.
35449 * math/w_atanhl.c: Likewise.
35450 * math/w_exp10.c: Likewise.
35451 * math/w_exp10f.c: Likewise.
35452 * math/w_exp10l.c: Likewise.
35453 * math/w_fmod.c: Likewise.
35454 * math/w_fmodf.c: Likewise.
35455 * math/w_fmodl.c: Likewise.
35456 * math/w_j0.c: Likewise.
35457 * math/w_j0f.c: Likewise.
35458 * math/w_j0l.c: Likewise.
35459 * math/w_j1.c: Likewise.
35460 * math/w_j1f.c: Likewise.
35461 * math/w_j1l.c: Likewise.
35462 * math/w_jn.c: Likewise.
35463 * math/w_jnf.c: Likewise.
35464 * math/w_log.c: Likewise.
35465 * math/w_logf.c: Likewise.
35466 * math/w_logl.c: Likewise.
35467 * math/w_log10.c: Likewise.
35468 * math/w_log10f.c: Likewise.
35469 * math/w_log10l.c: Likewise.
35470 * math/w_log2.c: Likewise.
35471 * math/w_log2f.c: Likewise.
35472 * math/w_log2l.c: Likewise.
35473 * math/w_pow.c: Likewise.
35474 * math/w_powf.c: Likewise.
35475 * math/w_powl.c: Likewise.
35476 * math/w_remainder.c: Likewise.
35477 * math/w_remainderf.c: Likewise.
35478 * math/w_remainderl.c: Likewise.
35479 * math/w_scalb.c: Likewise.
35480 * math/w_scalbf.c: Likewise.
35481 * math/w_scalbl.c: Likewise.
35482 * math/w_sqrt.c: Likewise.
35483 * math/w_sqrtf.c: Likewise.
35484 * math/w_sqrtl.c: Likewise.
35485 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
35486 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
35488 * math/math_private.h: Declare __kernel_standard_f.
35489 * math/w_cosh.c: Remove cruft and optimize a bit.
35490 * math/w_coshf.c: Likewise.
35491 * math/w_coshl.c: Likewise.
35492 * math/w_exp2.c: Likewise.
35493 * math/w_exp2f.c: Likewise.
35494 * math/w_exp2l.c: Likewise.
35495 * math/w_hypot.c: Likewise.
35496 * math/w_hypotf.c: Likewise.
35497 * math/w_hypotl.c: Likewise.
35498 * math/w_lgamma.c: Likewise.
35499 * math/w_lgamma_r.c: Likewise.
35500 * math/w_lgammaf.c: Likewise.
35501 * math/w_lgammaf_r.c: Likewise.
35502 * math/w_lgammal.c: Likewise.
35503 * math/w_lgammal_r.c: Likewise.
35504 * math/w_sinh.c: Likewise.
35505 * math/w_sinhf.c: Likewise.
35506 * math/w_sinhl.c: Likewise.
35507 * math/w_tgamma.c: Likewise.
35508 * math/w_tgammaf.c: Likewise.
35509 * math/w_tgammal.c: Likewise.
35510 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
35511 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
35512 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
35513 Minor optimizations. Pretty printing. Remove cruft.
35514 * sysdeps/i386/fpu/e_acosf.S: Likewise.
35515 * sysdeps/i386/fpu/e_acosh.S: Likewise.
35516 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
35517 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
35518 * sysdeps/i386/fpu/e_acosl.c: Likewise.
35519 * sysdeps/i386/fpu/e_asin.S: Likewise.
35520 * sysdeps/i386/fpu/e_asinf.S: Likewise.
35521 * sysdeps/i386/fpu/e_atan2.S: Likewise.
35522 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
35523 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
35524 * sysdeps/i386/fpu/e_atanh.S: Likewise.
35525 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
35526 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
35527 * sysdeps/i386/fpu/e_exp10.S: Likewise.
35528 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
35529 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
35530 * sysdeps/i386/fpu/e_exp2.S: Likewise.
35531 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
35532 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
35533 * sysdeps/i386/fpu/e_fmod.S: Likewise.
35534 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
35535 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
35536 * sysdeps/i386/fpu/e_hypot.S: Likewise.
35537 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
35538 * sysdeps/i386/fpu/e_log.S: Likewise.
35539 * sysdeps/i386/fpu/e_log10.S: Likewise.
35540 * sysdeps/i386/fpu/e_log10f.S: Likewise.
35541 * sysdeps/i386/fpu/e_log10l.S: Likewise.
35542 * sysdeps/i386/fpu/e_log2.S: Likewise.
35543 * sysdeps/i386/fpu/e_log2f.S: Likewise.
35544 * sysdeps/i386/fpu/e_log2l.S: Likewise.
35545 * sysdeps/i386/fpu/e_logf.S: Likewise.
35546 * sysdeps/i386/fpu/e_logl.S: Likewise.
35547 * sysdeps/i386/fpu/e_pow.S: Likewise.
35548 * sysdeps/i386/fpu/e_powf.S: Likewise.
35549 * sysdeps/i386/fpu/e_powl.S: Likewise.
35550 * sysdeps/i386/fpu/e_remainder.S: Likewise.
35551 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
35552 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
35553 * sysdeps/i386/fpu/e_scalb.S: Likewise.
35554 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
35555 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
35556 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
35557 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
35558 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
35559 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
35560 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
35561 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
35562 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
35563 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
35564 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
35565 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
35566 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
35567 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
35568 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
35569 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
35570 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
35571 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
35572 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
35573 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
35574 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
35575 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
35576 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
35577 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
35578 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
35579 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
35580 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
35581 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
35582 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
35583 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
35584 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
35585 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
35586 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
35587 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
35588 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
35589 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
35590 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
35591 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
35592 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
35593 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
35594 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
35595 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
35596 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
35597 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
35598 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
35599 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
35600 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
35601 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
35602 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
35603 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
35604 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
35605 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
35606 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
35607 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
35608 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
35609 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
35610 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
35611 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
35612 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
35613 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
35614 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
35615 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
35616 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
35617 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
35618 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
35619 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
35620 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
35621 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
35622 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
35623 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
35624 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
35625 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
35626 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
35627 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
35628 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
35629 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
35630 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
35631 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
35632 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
35633 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
35634 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
35635 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
35636 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
35637 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
35638 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
35639 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
35640 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
35641 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
35642 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
35643 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
35644 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
35645 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
35646 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
35647 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
35648 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
35649 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
35650 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
35651 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
35652 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
35653 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
35654 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
35655 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
35656 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
35657 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
35658 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
35659 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
35660 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
35661 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
35662 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
35663 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
35664 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
35665 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
35666 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
35667 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
35668 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
35669 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
35670 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
35671 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
35672 (__isnanf): Likewise.
35673 (__isinf_ns): Likewise.
35674 (__isinf_nsf): Likewise.
35675 (__finite): Likewise.
35676 (__finitef): Likewise.
35677 (__ieee754_sqrt): Define as macro.
35678 (__ieee754_sqrtf): Define as macro.
35679 (__ieee754_sqrtl): Define as macro.
35680 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
35682 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
35683 __FINITE_MATH_ONLY__ consistent.
35684 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
35686 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
35688 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
35691 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
35693 2011-10-09 Ulrich Drepper <drepper@gmail.com>
35695 * po/ja.po: Update from translation team.
35697 2011-10-08 Roland McGrath <roland@hack.frob.com>
35699 * locale/programs/locarchive.c (prepare_address_space): New function.
35700 (create_archive, enlarge_archive, open_archive): Use it.
35702 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
35703 inside [SHARED], where it is used.
35705 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
35707 * nss/getent.c (netgroup_keys): Remove unused variable.
35708 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
35710 2011-10-08 Ulrich Drepper <drepper@gmail.com>
35712 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
35713 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
35714 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
35715 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
35716 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
35717 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
35718 * math/Makefile (libm-calls): Add s_isinf_ns.
35719 * math/divtc3.c: Use __isinf_nsl instead of isinf.
35720 * math/multc3.c: Likewise.
35721 * math/s_casin.c: Likewise.
35722 * math/s_casinf.c: Likewise.
35723 * math/s_casinl.c: Likewise.
35724 * math/s_ccos.c: Likewise.
35725 * math/s_ccosf.c: Likewise.
35726 * math/s_ccosl.c: Likewise.
35727 * math/s_ctan.c: Likewise.
35728 * math/s_ctanf.c: Likewise.
35729 * math/s_ctanh.c: Likewise.
35730 * math/s_ctanhf.c: Likewise.
35731 * math/s_ctanhl.c: Likewise.
35732 * math/s_ctanl.c: Likewise.
35733 * math/w_fmod.c: Likewise.
35734 * math/w_fmodf.c: Likewise.
35735 * math/w_fmodl.c: Likewise.
35736 * math/w_remainder.c: Likewise.
35737 * math/w_remainderf.c: Likewise.
35738 * math/w_remainderl.c: Likewise.
35739 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
35740 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
35741 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
35742 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
35743 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
35744 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
35745 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
35746 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
35748 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
35750 * stdio-common/printf_fphex.c: Likewise.
35751 * stdio-common/printf_size.c: Likewise.
35753 * math/e_exp10.c: Include math_private.h using <...> not "...".
35754 * math/e_exp10f.c: Likewise.
35755 * math/e_exp10l.c: Likewise.
35756 * math/e_exp2l.c: Likewise.
35757 * math/e_j0l.c: Likewise.
35758 * math/e_j1l.c: Likewise.
35759 * math/e_jnl.c: Likewise.
35760 * math/e_lgammal_r.c: Likewise.
35761 * math/e_rem_pio2l.c: Likewise.
35762 * math/e_scalb.c: Likewise.
35763 * math/e_scalbf.c: Likewise.
35764 * math/e_scalbl.c: Likewise.
35765 * math/k_cosl.c: Likewise.
35766 * math/k_sinl.c: Likewise.
35767 * math/k_tanl.c: Likewise.
35768 * math/s_cacoshf.c: Likewise.
35769 * math/s_catan.c: Likewise.
35770 * math/s_catanf.c: Likewise.
35771 * math/s_catanh.c: Likewise.
35772 * math/s_catanhf.c: Likewise.
35773 * math/s_catanhl.c: Likewise.
35774 * math/s_catanl.c: Likewise.
35775 * math/s_ccosh.c: Likewise.
35776 * math/s_ccoshf.c: Likewise.
35777 * math/s_ccoshl.c: Likewise.
35778 * math/s_cexp.c: Likewise.
35779 * math/s_cexpf.c: Likewise.
35780 * math/s_cexpl.c: Likewise.
35781 * math/s_clog.c: Likewise.
35782 * math/s_clog10.c: Likewise.
35783 * math/s_clog10f.c: Likewise.
35784 * math/s_clog10l.c: Likewise.
35785 * math/s_clogf.c: Likewise.
35786 * math/s_clogl.c: Likewise.
35787 * math/s_csin.c: Likewise.
35788 * math/s_csinf.c: Likewise.
35789 * math/s_csinh.c: Likewise.
35790 * math/s_csinhf.c: Likewise.
35791 * math/s_csinhl.c: Likewise.
35792 * math/s_csinl.c: Likewise.
35793 * math/s_csqrt.c: Likewise.
35794 * math/s_csqrtf.c: Likewise.
35795 * math/s_csqrtl.c: Likewise.
35796 * math/s_ctan.c: Likewise.
35797 * math/s_ctanf.c: Likewise.
35798 * math/s_ctanh.c: Likewise.
35799 * math/s_ctanhf.c: Likewise.
35800 * math/s_ctanhl.c: Likewise.
35801 * math/s_ctanl.c: Likewise.
35802 * math/s_ldexp.c: Likewise.
35803 * math/s_ldexpf.c: Likewise.
35804 * math/s_ldexpl.c: Likewise.
35805 * math/s_significand.c: Likewise.
35806 * math/s_significandf.c: Likewise.
35807 * math/s_significandl.c: Likewise.
35808 * math/w_acos.c: Likewise.
35809 * math/w_acosf.c: Likewise.
35810 * math/w_acosh.c: Likewise.
35811 * math/w_acoshf.c: Likewise.
35812 * math/w_acoshl.c: Likewise.
35813 * math/w_acosl.c: Likewise.
35814 * math/w_asin.c: Likewise.
35815 * math/w_asinf.c: Likewise.
35816 * math/w_asinl.c: Likewise.
35817 * math/w_atan2.c: Likewise.
35818 * math/w_atan2f.c: Likewise.
35819 * math/w_atan2l.c: Likewise.
35820 * math/w_atanh.c: Likewise.
35821 * math/w_atanhf.c: Likewise.
35822 * math/w_atanhl.c: Likewise.
35823 * math/w_cosh.c: Likewise.
35824 * math/w_coshf.c: Likewise.
35825 * math/w_coshl.c: Likewise.
35826 * math/w_dremf.c: Likewise.
35827 * math/w_exp10.c: Likewise.
35828 * math/w_exp10f.c: Likewise.
35829 * math/w_exp10l.c: Likewise.
35830 * math/w_exp2.c: Likewise.
35831 * math/w_exp2f.c: Likewise.
35832 * math/w_fmod.c: Likewise.
35833 * math/w_fmodf.c: Likewise.
35834 * math/w_fmodl.c: Likewise.
35835 * math/w_hypot.c: Likewise.
35836 * math/w_hypotf.c: Likewise.
35837 * math/w_hypotl.c: Likewise.
35838 * math/w_j0.c: Likewise.
35839 * math/w_j0f.c: Likewise.
35840 * math/w_j0l.c: Likewise.
35841 * math/w_j1.c: Likewise.
35842 * math/w_j1f.c: Likewise.
35843 * math/w_j1l.c: Likewise.
35844 * math/w_jn.c: Likewise.
35845 * math/w_jnf.c: Likewise.
35846 * math/w_jnl.c: Likewise.
35847 * math/w_lgamma.c: Likewise.
35848 * math/w_lgamma_r.c: Likewise.
35849 * math/w_lgammaf.c: Likewise.
35850 * math/w_lgammaf_r.c: Likewise.
35851 * math/w_lgammal.c: Likewise.
35852 * math/w_lgammal_r.c: Likewise.
35853 * math/w_log.c: Likewise.
35854 * math/w_log10.c: Likewise.
35855 * math/w_log10f.c: Likewise.
35856 * math/w_log10l.c: Likewise.
35857 * math/w_log2.c: Likewise.
35858 * math/w_log2f.c: Likewise.
35859 * math/w_log2l.c: Likewise.
35860 * math/w_logf.c: Likewise.
35861 * math/w_logl.c: Likewise.
35862 * math/w_pow.c: Likewise.
35863 * math/w_powf.c: Likewise.
35864 * math/w_powl.c: Likewise.
35865 * math/w_remainder.c: Likewise.
35866 * math/w_remainderf.c: Likewise.
35867 * math/w_remainderl.c: Likewise.
35868 * math/w_scalb.c: Likewise.
35869 * math/w_scalbf.c: Likewise.
35870 * math/w_scalbl.c: Likewise.
35871 * math/w_sinh.c: Likewise.
35872 * math/w_sinhf.c: Likewise.
35873 * math/w_sinhl.c: Likewise.
35874 * math/w_sqrt.c: Likewise.
35875 * math/w_sqrtf.c: Likewise.
35876 * math/w_sqrtl.c: Likewise.
35877 * math/w_tgamma.c: Likewise.
35878 * math/w_tgammaf.c: Likewise.
35879 * math/w_tgammal.c: Likewise.
35881 * po/ja.po: Update from translation team.
35883 2011-09-29 Andreas Jaeger <aj@suse.de>
35886 * sunrpc/netname.c (netname2host): Fix logic.
35890 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
35892 * math/w_remainder.c (__remainder): Likewise.
35893 * math/w_remainderf.c (__remainderf): Likewise.
35894 * math/libm-test.inc (remainder_test): Add test cases.
35896 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35898 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
35901 2011-10-07 Ulrich Drepper <drepper@gmail.com>
35903 * string/test-memcmp.c: Avoid unncessary #defines.
35904 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
35906 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35908 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
35909 Use new sse2 version for core i3 - i7 as it's faster
35910 than sse42 version.
35911 (bit_Prefer_PMINUB_for_stringop): New.
35912 * sysdeps/x86_64/rawmemchr.S: Update.
35913 Replace with faster SSE2 version.
35914 * sysdeps/x86_64/memrchr.S: New file.
35915 * sysdeps/x86_64/memchr.S: Update.
35916 Replace with faster SSE2 version.
35918 2011-09-12 Marek Polacek <mpolacek@redhat.com>
35920 * elf/dl-load.c (lose): Add cast to avoid warning.
35922 2011-10-07 Ulrich Drepper <drepper@gmail.com>
35924 * po/ca.po: Update from translation team.
35926 * inet/getnetgrent_r.c: Hook up nscd.
35927 * nscd/Makefile (routines): Add nscd_netgroup.
35928 (nscd-modules): Add netgroupcache.
35929 (CFLAGS-netgroupcache.c): Define.
35930 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
35931 (cache_search): Add const to second parameter.
35932 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
35934 (dbs): Add netgrdb entry.
35935 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
35936 (verify_persistent_db): Handle netgrdb.
35937 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
35938 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
35940 (netgroup_response_header): Define.
35941 (innetgroup_response_header): Define.
35942 (datahead): Add netgroup_response_header and innetgroup_response_header
35944 * nscd/nscd.conf: Add entries for netgroup cache.
35945 * nscd/nscd.h (dbtype): Add netgrdb.
35946 (_PATH_NSCD_NETGROUP_DB): Define.
35947 (netgroup_iov_disabled): Declare.
35948 (xmalloc, xcalloc, xrealloc): Move declarations here.
35949 (cache_search): Adjust prototype.
35950 Add netgroup-related prototypes.
35951 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
35952 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
35953 (__nscd_innetgr): Declare.
35954 * nscd/selinux.c (perms): Use access_vector_t as element type and
35955 add netgroup-related initializers.
35956 * nscd/netgroupcache.c: New file.
35957 * nscd/nscd_netgroup.c: New file.
35958 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
35959 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
35960 For four parameters use innetgr.
35961 * nss/nss_files/files-init.c: Add definition and callback for netgr.
35962 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
35963 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
35964 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
35966 * nscd/connections.c (register_traced_file): Don't register file
35967 for disabled databases.
35969 2011-10-06 Ulrich Drepper <drepper@gmail.com>
35971 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
35973 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
35974 from tree and freeing node.
35976 2011-09-25 Jiri Olsa <jolsa@redhat.com>
35978 * nss/nsswitch.c (__nss_database_lookup): Handle
35979 nss_parse_service_list out of memory case.
35981 2011-09-15 Jiri Olsa <jolsa@redhat.com>
35983 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
35984 out of memory case.
35986 2011-10-04 Andreas Schwab <schwab@redhat.com>
35988 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
35989 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
35991 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
35992 elf_machine_rela, elf_machine_lazy_rel.
35993 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
35994 (ELF_DYNAMIC_DO_REL): Likewise.
35995 (ELF_DYNAMIC_DO_RELA): Likewise.
35996 (ELF_DYNAMIC_RELOCATE): Likewise.
35997 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
35998 to ELF_DYNAMIC_DO_REL.
35999 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
36000 (dl_main): In trace mode always set __RTLD_NOIFUNC.
36001 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
36003 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
36004 skip_ifunc, don't call ifunc function if non-zero.
36005 (elf_machine_rela): Likewise.
36006 (elf_machine_lazy_rel): Likewise.
36007 (elf_machine_lazy_rela): Likewise.
36008 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
36009 (elf_machine_lazy_rel): Likewise.
36010 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
36012 (elf_machine_lazy_rel): Likewise.
36013 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
36015 (elf_machine_lazy_rel): Likewise.
36016 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
36017 (elf_machine_lazy_rel): Likewise.
36018 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
36019 (elf_machine_lazy_rel): Likewise.
36020 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
36021 (elf_machine_lazy_rel): Likewise.
36022 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
36023 (elf_machine_lazy_rel): Likewise.
36024 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
36025 (elf_machine_lazy_rel): Likewise.
36026 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
36027 (elf_machine_lazy_rel): Likewise.
36029 2011-09-28 Ulrich Drepper <drepper@gmail.com>
36031 * nss/nss_files/files-init.c (_nss_files_init): Use static
36032 initialization for all the *_traced_file variables.
36034 2011-09-28 Andreas Schwab <schwab@redhat.com>
36036 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
36038 2011-09-27 Roland McGrath <roland@hack.frob.com>
36041 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
36043 2011-09-27 Andreas Schwab <schwab@redhat.com>
36045 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
36046 Reread the line before reparsing it.
36048 2011-09-26 Andreas Schwab <schwab@redhat.com>
36050 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
36052 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
36053 Maxim Kuvyrkov <maxim@codesourcery.com>
36054 Joseph Myers <joseph@codesourcery.com>
36056 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
36057 if needed for __stack_chk_guard.
36059 2011-09-19 Roland McGrath <roland@hack.frob.com>
36061 * sysdeps/posix/spawni.c (script_execute): Always define it.
36062 It will be optimized away if unused.
36063 (maybe_script_execute): New function.
36064 (__spawni): Call it.
36066 * Makerules: Don't include tls.make.
36067 (config-tls): Always set to thread.
36068 * tls.make.c: File removed.
36070 2011-09-19 Mike Frysinger <vapier@gentoo.org>
36072 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
36073 * config.make.in (CPPFLAGS-config): New substituted variable.
36075 2011-09-15 Ulrich Drepper <drepper@gmail.com>
36077 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
36080 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
36081 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
36083 2011-09-15 Roland McGrath <roland@hack.frob.com>
36085 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
36086 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
36087 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
36088 (CALL_FAIL): Likewise.
36089 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
36090 (CALL_FAIL): Macro removed.
36091 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
36093 2011-09-15 Ulrich Drepper <drepper@gmail.com>
36095 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
36096 for __FINITE_MATH_ONLY__ == 1.
36098 2011-09-15 Andreas Schwab <schwab@redhat.com>
36100 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
36101 __ieee754_sqrt instead of sqrt.
36102 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
36103 __ieee754_sqrtf instead of sqrtf.
36104 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
36105 __floorf instead of floorf.
36106 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
36107 __floorf, __truncf instead of floorf, truncf.
36109 2011-09-14 Ulrich Drepper <drepper@gmail.com>
36111 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
36113 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
36114 __extern_always_inline.
36115 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
36118 2011-09-14 Andreas Schwab <schwab@redhat.com>
36120 * elf/rtld.c (dl_main): Also relocate in dependency order when
36121 doing symbol dependency testing.
36123 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
36125 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
36126 Always define `refsym'.
36128 2011-09-13 Andreas Schwab <schwab@redhat.com>
36130 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
36131 (__FD_ELT): Renamed from __FDELT.
36132 * misc/bits/select2.h (__FD_ELT): Likewise.
36133 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
36134 __FD_MASK instead of __FDELT, __FDMASK.
36135 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
36137 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
36140 * elf/Makefile (gen-ldd): Fix pattern.
36142 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
36143 (init_tls): Likewise.
36145 2011-09-12 Ulrich Drepper <drepper@gmail.com>
36147 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
36149 2011-09-12 Andreas Schwab <schwab@redhat.com>
36151 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
36152 `struct cmsghdr *' instead of `void *'.
36153 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
36156 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
36158 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
36160 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
36161 ldd_rewrite_script.
36163 2011-09-11 Ulrich Drepper <drepper@gmail.com>
36165 * configure.in: Remove --with-tls option.
36166 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
36167 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
36168 out in case it is missing.
36169 * sysdeps/ia64/elf/configure.in: Likewise.
36170 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
36171 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
36172 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
36173 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
36174 * sysdeps/sh/elf/configure.in: Likewise.
36175 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
36176 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
36177 * sysdeps/x86_64/elf/configure.in: Likewise.
36178 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
36179 * sysdeps/mach/hurd/tls.h: Likewise.
36182 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
36185 * configure.in: Fix use of AC_INIT.
36187 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
36189 2011-09-10 Ulrich Drepper <drepper@gmail.com>
36191 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
36193 * malloc/hooks.c: Likewise.
36196 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
36197 variables statically.
36198 (narenas): Initialize.
36199 (list_lock): Initialize.
36200 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
36201 initializtion of main_arena and list_lock. Small cleanups.
36202 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
36203 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
36204 Add initializers to main_arena and mp_.
36205 (malloc_state): Remove pagesize member. Change all users to use
36208 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
36209 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
36210 is always initialized.
36212 * malloc/malloc.c: Removed unused configurations and dead code.
36213 * malloc/arena.c: Likewise.
36214 * malloc/hooks.c: Likewise.
36215 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
36217 * include/tls.h: Removed. USE___THREAD must always be defined.
36218 * bits/libc-tsd.h: Don't handle !USE___THREAD.
36219 * elf/dl-libc.c: Likewise.
36220 * elf/dl-tsd.c: Likewise.
36221 * include/errno.h: Likewise.
36222 * include/netdb.h: Likewise.
36223 * include/resolv.h: Likewise.
36224 * inet/herrno-loc.c: Likewise.
36225 * inet/herrno.c: Likewise.
36226 * malloc/arena.c: Likewise.
36227 * malloc/hooks.c: Likewise.
36228 * malloc/malloc.c: Likewise.
36229 * resolv/res-state.c: Likewise.
36230 * resolv/res_libc.c: Likewise.
36231 * sysdeps/i386/dl-machine.h: Likewise.
36232 * sysdeps/ia64/dl-machine.h: Likewise.
36233 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
36234 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
36235 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
36236 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
36237 * sysdeps/sh/dl-machine.h: Likewise.
36238 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
36239 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
36240 * sysdeps/unix/i386/sysdep.S: Likewise.
36241 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
36242 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
36243 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
36244 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
36245 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
36246 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
36247 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
36248 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
36249 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
36250 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
36251 * sysdeps/unix/x86_64/sysdep.S: Likewise.
36252 * sysdeps/x86_64/dl-machine.h: Likewise.
36253 * tls.make.c: Likewise.
36255 * configure.in: Remove --with-__thread option. Make tests for
36256 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
36257 tls_model attribute fail if no support is available. Remove
36259 * Makeconfig: Adjust for dropped configure option. All features are
36261 * Makerules: Likewise.
36262 * Versions.def: Likewise.
36263 * argp/argp-fmtstream.c: Likewise.
36264 * argp/argp-fmtstream.h: Likewise.
36265 * argp/argp-help.c: Likewise.
36266 * assert/assert.c: Likewise.
36267 * config.h.in: Likewise.
36268 * config.make.in: Likewise.
36269 * configure: Likewise.
36270 * configure.in: Likewise.
36271 * csu/Versions: Likewise.
36272 * csu/init.c: Likewise.
36273 * elf/tst-audit2.c: Likewise.
36274 * elf/tst-tls10.c: Likewise.
36275 * elf/tst-tls10.h: Likewise.
36276 * elf/tst-tls11.c: Likewise.
36277 * elf/tst-tls12.c: Likewise.
36278 * elf/tst-tls14.c: Likewise.
36279 * elf/tst-tlsmod11.c: Likewise.
36280 * elf/tst-tlsmod12.c: Likewise.
36281 * elf/tst-tlsmod13.c: Likewise.
36282 * elf/tst-tlsmod13a.c: Likewise.
36283 * elf/tst-tlsmod14a.c: Likewise.
36284 * elf/tst-tlsmod15b.c: Likewise.
36285 * elf/tst-tlsmod16a.c: Likewise.
36286 * elf/tst-tlsmod16b.c: Likewise.
36287 * elf/tst-tlsmod7.c: Likewise.
36288 * elf/tst-tlsmod8.c: Likewise.
36289 * elf/tst-tlsmod9.c: Likewise.
36290 * gmon/gmon.c: Likewise.
36291 * grp/fgetgrent_r.c: Likewise.
36292 * grp/putgrent.c: Likewise.
36293 * hurd/fopenport.c: Likewise.
36294 * include/libc-symbols.h: Likewise.
36295 * include/tls.h: Likewise.
36296 * intl/gettextP.h: Likewise.
36297 * intl/loadinfo.h: Likewise.
36298 * locale/global-locale.c: Likewise.
36299 * locale/localeinfo.h: Likewise.
36300 * mach/devstream.c: Likewise.
36301 * malloc/arena.c: Likewise.
36302 * malloc/set-freeres.c: Likewise.
36303 * misc/err.c: Likewise.
36304 * misc/getttyent.c: Likewise.
36305 * misc/mntent_r.c: Likewise.
36306 * posix/getopt.c: Likewise.
36307 * posix/wordexp.c: Likewise.
36308 * pwd/fgetpwent_r.c: Likewise.
36309 * resolv/Versions: Likewise.
36310 * resolv/res_hconf.c: Likewise.
36311 * shadow/fgetspent_r.c: Likewise.
36312 * shadow/putspent.c: Likewise.
36313 * stdio-common/printf_fphex.c: Likewise.
36314 * stdio-common/tmpfile.c: Likewise.
36315 * stdlib/abort.c: Likewise.
36316 * stdlib/fmtmsg.c: Likewise.
36317 * sunrpc/auth_unix.c: Likewise.
36318 * sunrpc/clnt_perr.c: Likewise.
36319 * sunrpc/clnt_tcp.c: Likewise.
36320 * sunrpc/clnt_udp.c: Likewise.
36321 * sunrpc/clnt_unix.c: Likewise.
36322 * sunrpc/openchild.c: Likewise.
36323 * sunrpc/svc_simple.c: Likewise.
36324 * sunrpc/svc_tcp.c: Likewise.
36325 * sunrpc/svc_udp.c: Likewise.
36326 * sunrpc/svc_unix.c: Likewise.
36327 * sunrpc/xdr.c: Likewise.
36328 * sunrpc/xdr_array.c: Likewise.
36329 * sunrpc/xdr_rec.c: Likewise.
36330 * sunrpc/xdr_ref.c: Likewise.
36331 * sunrpc/xdr_stdio.c: Likewise.
36333 2011-09-09 Ulrich Drepper <drepper@gmail.com>
36335 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
36337 2011-07-03 Andreas Jaeger <aj@suse.de>
36339 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
36340 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
36341 regenerate with gen-libm-tests.pl.
36343 2010-05-12 Petr Baudis <pasky@suse.cz>
36346 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
36347 around j0() zero points by switching to j1().
36348 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
36349 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
36350 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
36351 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
36353 2011-09-09 Ulrich Drepper <drepper@gmail.com>
36355 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
36357 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
36359 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
36360 Patch in part by Pavel Roskin <proski@gnu.org>.
36363 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
36365 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
36366 Free memory block if necessary.
36369 * libio/genops.c (INTDEF): For string streams the _lock pointer can
36370 be NULL. Don't lock in this case.
36372 2011-09-09 Roland McGrath <roland@hack.frob.com>
36374 * elf/elf.h (ELFOSABI_GNU): New macro.
36375 (ELFOSABI_LINUX): Define to that.
36377 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
36379 * string/strncat.c (strncat): Undef the symbol in case it has been
36380 defined in bits/string.h.
36382 2011-09-09 Ulrich Drepper <drepper@gmail.com>
36384 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
36386 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
36389 2011-08-17 Andreas Jaeger <aj@suse.de>
36391 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
36393 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
36394 Ian Lance Taylor <iant@google.com>
36396 * math/libm-test.inc (lround_test): New testcase.
36397 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
36399 2011-09-08 Ulrich Drepper <drepper@gmail.com>
36401 * Makefile: Remove support for automatic cvs check-ins.
36402 * Makerules: Likewise.
36403 * config.make.in: Likewise.
36404 * configure.in: Likewise.
36405 * intl/Makefile: Likewise.
36406 * locale/Makefile: Likewise.
36407 * po/Makefile: Likewise.
36408 * posix/Makefile: Likewise.
36409 * sysdeps/gnu/Makefile: Likewise.
36410 * sysdeps/mach/hurd/Makefile: Likewise.
36411 * sysdeps/sparc/sparc32/Makefile: Likewise.
36414 * posix/Makefile (bug-regex32-ENV): Define.
36415 Patch by John Stanley <jpsinthemix@verizon.net>.
36417 * misc/Makefile (headers): Add bits/select2.h.
36418 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
36419 * misc/bits/select2.h: New file.
36420 * include/bits/select2.h: New file.
36421 * debug/Makefile (routines): Add fdelt_chk.
36422 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
36423 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
36425 * debug/fdelt_chk.c: New file.
36427 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
36428 * wcsmbs/test-wmemcmp.c: Likewise.
36429 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
36430 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
36432 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36434 * string/Makefile (strop-tests): Add memcmp.
36435 * string/test-wmemcmp.c: New file.
36436 * string/test-memcmp.c: Add wmemcmp support.
36438 2011-09-08 Roland McGrath <roland@hack.frob.com>
36441 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
36444 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
36445 garbage value in a __mach_port_mod_refs call in the cases of the
36446 task-self and thread-self ports.
36448 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
36450 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
36452 2011-09-08 Andreas Schwab <schwab@redhat.com>
36454 * elf/dl-load.c (lose): Check for non-null L.
36456 2011-09-07 Ulrich Drepper <drepper@gmail.com>
36458 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
36460 * elf/dl-libc.c (dlerror_run): Pass back error code from
36464 * elf/dl-load.c (lose): Free l_origin if it is valid.
36466 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
36468 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
36469 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
36470 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
36471 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
36472 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
36473 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
36475 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36477 * sysdeps/powerpc/fpu/e_hypot.c: New file.
36478 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
36479 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
36480 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
36481 * sysdeps/powerpc/fpu/k_cosf.c: New file.
36482 * sysdeps/powerpc/fpu/k_sinf.c: New file.
36483 * sysdeps/powerpc/fpu/s_cosf.c: New file.
36484 * sysdeps/powerpc/fpu/s_sinf.c: New file.
36485 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
36486 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
36488 2011-08-15 Alan Modra <amodra@gmail.com>
36491 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
36492 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
36493 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
36494 ppc_mcount to static-only-routines.
36495 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
36497 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
36498 __mcount_internal with usual JUMPTARGET. Remove useless nop.
36500 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
36502 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
36503 for finite and infinity parameters.
36505 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
36507 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
36508 and add nop instructions for throughput optimization.
36509 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
36511 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
36513 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
36514 aligned copy for power7 with vector-scalar instructions.
36515 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
36517 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
36519 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
36522 2011-09-07 Andreas Schwab <schwab@redhat.com>
36525 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
36528 2011-09-07 Ulrich Drepper <drepper@gmail.com>
36530 * sysdeps/unix/sysv/linux/x86_64/init-first.c
36531 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
36532 syscall wrapper around clock_gettime in __vdso_clock_gettime.
36533 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
36536 2011-09-06 Ulrich Drepper <drepper@gmail.com>
36538 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
36539 Forgot to demangle the pointer.
36541 * sysdeps/i386/sysdep.h: Define atom_text_section.
36542 * sysdeps/x86_64/sysdep.h: Likewise.
36543 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
36544 section with atom_text_section.
36545 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
36546 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
36547 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
36548 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
36549 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
36551 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
36552 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
36553 already be defined. Change to take two parameters and don't assign
36554 result to variable. Adjust all users.
36555 Define INTERNAL_GETTIME if not already defined.
36556 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
36558 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
36559 HAVE_CLOCK_GETTIME_VSYSCALL.
36560 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
36562 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
36563 gettimeofday vsyscall, just use time.
36565 2011-09-06 Andreas Schwab <schwab@redhat.com>
36567 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
36570 2011-09-06 Ulrich Drepper <drepper@gmail.com>
36572 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
36574 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
36576 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
36577 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
36578 syscall if possible.
36580 2011-09-05 Ulrich Drepper <drepper@gmail.com>
36582 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
36583 e_ident. Don't pass to find_mapsXX.
36584 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
36586 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
36588 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
36589 strchr-sse2-no-bsf strrchr-sse2-no-bsf
36590 * sysdeps/x86_64/multiarch/strchr.S: Update.
36591 Check bit_slow_BSF bit.
36592 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
36593 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
36594 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
36596 2011-09-05 Ulrich Drepper <drepper@gmail.com>
36599 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
36601 (tryshell): Define.
36602 (__spawni): Change last parameter to be flag. Test
36603 SPAWN_XFLAGS_USE_PATH flag to use path or not.
36604 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
36605 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
36606 * posix/spawni.c: Likewise.
36607 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
36608 * posix/spawnp.c: Likewise. Change normal version to use
36609 SPAWN_XFLAGS_USE_PATH.
36610 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
36611 SPAWN_XFLAGS_TRY_SHELL.
36614 * posix/glob.h: Remove gcc 1.x support.
36617 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
36619 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
36621 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
36622 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
36624 * sysdeps/i386/i686/multiarch/strchr.S: New file.
36625 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
36626 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
36627 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
36628 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
36629 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
36631 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36633 * sysdeps/x86_64/wcscmp.S: New file.
36635 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
36636 wcscmp-c wcscmp-sse2
36637 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
36638 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
36639 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
36640 * wcsmbs/wcscmp.c: Allow renaming.
36642 2011-09-05 David S. Miller <davem@davemloft.net>
36644 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
36645 stack slot, rather than the struct return pointer slot.
36646 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
36647 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
36648 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
36649 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
36651 2011-09-05 Ulrich Drepper <drepper@gmail.com>
36653 * po/ja.po: Update from translation team.
36656 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
36657 kernel in 64-bit binaries.
36659 2011-09-01 David S. Miller <davem@davemloft.net>
36661 * elf/elf.h (HWCAP_SPARC_*): Move to..
36662 * sysdeps/sparc/sysdep.h: this new file and add new values.
36663 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
36664 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
36665 _DL_HWCAP_COUNT to 24.
36666 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
36668 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
36669 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
36670 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
36671 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
36672 instead of magic constants.
36673 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
36675 2011-08-31 David S. Miller <davem@davemloft.net>
36677 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
36678 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
36679 Reimplement to do errno handling inline.
36680 (SYSCALL_ERROR_HANDLER): New macro.
36681 (__SYSCALL_STRING): Do not do errno handling in asm.
36682 (__CLONE_SYSCALL_STRING): Delete.
36683 (__INTERNAL_SYSCALL_STRING): Delete.
36684 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
36685 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
36686 (PSEUDO): Reimplement to do errno handling inline.
36687 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
36688 (SYSCALL_ERROR_HANDLER): New macro.
36689 (__SYSCALL_STRING): Do not do errno handling in asm.
36690 (__CLONE_SYSCALL_STRING): Delete.
36691 (__INTERNAL_SYSCALL_STRING): Delete.
36692 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
36693 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
36695 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
36696 (inline_syscall*): Add 'err' argument.
36697 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
36698 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
36699 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
36700 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
36702 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
36703 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
36705 2011-08-30 Andreas Schwab <schwab@redhat.com>
36707 * elf/rtld.c (dl_main): Relocate objects in dependency order.
36709 2011-08-29 Jiri Olsa <jolsa@redhat.com>
36711 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
36714 2011-08-24 David S. Miller <davem@davemloft.net>
36716 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
36718 2011-08-24 Andreas Schwab <schwab@redhat.com>
36720 * elf/Makefile: Add rules to build and run unload8 test.
36721 * elf/unload8.c: New file.
36722 * elf/unload8mod1.c: New file.
36723 * elf/unload8mod1x.c: New file.
36724 * elf/unload8mod2.c: New file.
36725 * elf/unload8mod3.c: New file.
36727 * elf/dl-close.c (_dl_close_worker): Reset private search list if
36730 2011-08-23 David S. Miller <davem@davemloft.net>
36732 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
36733 subtract stack bias.
36734 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
36735 %sp not %fp in calculations.
36736 (_JMPBUF_UNWINDS_ADJ): Likewise.
36738 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
36739 (aio_suspend): Call it to force an exception region around the
36740 AIO_MISC_WAIT() invocation.
36742 2011-08-23 Andreas Schwab <schwab@redhat.com>
36744 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
36747 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
36749 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
36751 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
36752 and <dl-machine.h>.
36753 (Elf64_FuncDesc): Remove.
36755 2011-08-22 David S. Miller <davem@davemloft.net>
36757 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
36758 sigaltstack check, add missing cfi directives.
36759 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
36760 missing cfi directives, and sigaltstack handling.
36762 2011-08-16 Andreas Schwab <schwab@redhat.com>
36765 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
36766 object is seen twice.
36767 * elf/dl-fini.c (_dl_sort_fini): Likewise.
36769 * elf/Makefile (distribute): Add tst-initorder2.c.
36770 (tests): Add tst-initorder2.
36771 (modules-names): Add tst-initorder2a tst-initorder2b
36772 tst-initorder2c tst-initorder2d. Add rules to build them.
36773 ($(objpfx)tst-initorder2.out): New rule.
36774 * elf/tst-initorder2.c: New file.
36775 * elf/tst-initorder2.exp: New file.
36777 2011-08-22 Andreas Schwab <schwab@redhat.com>
36779 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
36781 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
36782 dependencies back to end of function.
36784 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
36785 $(elfobjdir)/ld.so.
36787 2011-08-21 Ulrich Drepper <drepper@gmail.com>
36789 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
36790 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
36791 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
36792 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
36793 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
36794 of __vdso_gettimeofday.
36795 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
36796 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
36798 (_libc_vdso_platform_setup): Remove initialization of
36799 __vdso_gettimeofday and __vdso_time.
36801 2011-08-20 Ulrich Drepper <drepper@gmail.com>
36803 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
36804 and fgetc_unlocked.
36805 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
36808 * elf/dl-open.c (add_to_global): Report additions to the global scope
36809 for LD_DEBUG=scopes.
36810 (dl_open_worker): Also print scope of newly loaded dependencies.
36811 (_dl_show_scope): Indicate if there is no scope.
36814 * stdio-common/Makefile (tests): Add bug24.
36815 * stdio-common/bug24.c: New file.
36817 2011-08-19 Andreas Jaeger <aj@suse.de>
36820 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
36821 non-existant file when using close-on-exec mode.
36823 2011-08-20 Ulrich Drepper <drepper@gmail.com>
36825 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
36826 the very first instruction.
36828 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
36829 the CFI state in the end.
36830 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
36831 inclusion of dl-trampoline.h.
36832 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
36834 2011-08-19 Andreas Schwab <schwab@redhat.com>
36836 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
36837 expectations for long double.
36839 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
36840 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
36842 2011-08-14 David S. Miller <davem@davemloft.net>
36844 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
36845 artificual limit depends upon the system page size.
36847 2011-08-17 Ulrich Drepper <drepper@gmail.com>
36849 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
36850 * resolv/Makefile: Define CFLAGS-libresolv.
36852 2011-08-17 Andreas Schwab <schwab@redhat.com>
36854 * nss/makedb.c (compute_tables): Make variables used in nested
36857 2011-08-17 Ulrich Drepper <drepper@gmail.com>
36859 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
36860 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
36861 if buffer was too small.
36863 * elf/pldd.c (main): Attach to all threads in the process.
36864 Rewrite /proc handling to use *at functions.
36866 2011-08-16 Ulrich Drepper <drepper@gmail.com>
36868 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
36869 specifies first scope to show.
36870 (dl_open_worker): Update callers. Move printing scope of new
36871 object to before the relocation.
36872 * elf/rtld.c (dl_main): Update _dl_show_scope call.
36873 * sysdeps/generic/ldsodefs.h: Update declaration.
36875 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
36876 string for the scope number.
36878 2011-08-14 Ulrich Drepper <drepper@gmail.com>
36880 * nscd/servicescache.c (cache_addserv): Make sure written is always
36883 2011-08-14 Roland McGrath <roland@hack.frob.com>
36885 * sysdeps/i386/i486/bits/atomic.h
36886 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
36887 statement expression, so as to suppress "set but not used" warning.
36888 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
36890 * string/strncat.c (STRNCAT): Use prototype definition.
36892 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
36893 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
36895 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
36896 (localedef-modules): Add localedef.
36897 (locale-modules): Add locale.
36899 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
36900 * elf/rtld.c (dl_main): Invert order of assignment in last change,
36901 to avoid a warning.
36903 2011-08-14 David S. Miller <davem@davemloft.net>
36905 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
36906 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
36908 2011-08-13 Ulrich Drepper <drepper@gmail.com>
36910 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
36911 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
36912 * elf/rtld.c (dl_main): Set l_name of vDSO.
36913 Call _dl_show_scope when DL_DEBUG_SCOPES.
36914 (process_dl_debug): Recognize scopes flag and also set it for all.
36915 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
36916 Declare _dl_show_scope.
36918 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
36919 (do_dlopen): Pass caller_dlopen to dl_open.
36920 (__libc_dlopen_mode): Initialize caller_dlopen.
36922 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
36923 of libc. Make tolower call locale-independent. Optimize a bit by
36924 using isdigit instead of isalnum.
36925 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
36927 2011-08-12 Ulrich Drepper <drepper@gmail.com>
36929 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
36930 was a dependency or dynamically loaded.
36932 2011-08-11 Ulrich Drepper <drepper@gmail.com>
36934 * intl/l10nflist.c: Allow architecture-specific pop function.
36935 * sysdeps/x86_64/l10nflist.c: New file.
36937 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
36940 2011-08-10 Andreas Schwab <schwab@redhat.com>
36942 * include/dirent.h: Add libc_hidden_proto for scandirat and
36943 scandirat64. Don't declare __scandirat64.
36944 * dirent/scandirat.c: Add libc_hidden_def.
36945 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
36946 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
36948 2011-08-10 David S. Miller <davem@davemloft.net>
36950 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
36952 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
36953 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
36954 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
36956 2011-08-09 Ulrich Drepper <drepper@gmail.com>
36958 * Versions.def [libc]: Add GLIBC_2.15.
36959 * dirent/Makefile (routines): Add scandirat and scandirat64.
36960 * dirent/Versions [libc]: Export scandirat and scandirat64 for
36962 * dirent/dirent.h: Declare scandirat and scandirat64.
36963 * dirent/scandirat.c: New file.
36964 * dirent/scandirat64.c: New file.
36965 * sysdeps/wordsize-64/scandirat.c: New file.
36966 * sysdeps/wordsize-64/scandirat64.c: New file.
36967 * dirent/opendir.c: Define opendirat.
36968 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
36970 * dirent/scandir64.c: Adjust for scandir.c change.
36971 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
36972 __scandirat64, and __scandir_cancel_handler.
36973 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
36974 additional parameter and use openat instead of open (outside of ld.so).
36975 Add new __opendir as wrapper around __opendirat.
36976 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
36977 here without requiring old scandirat implementation.
36979 2011-08-08 Ulrich Drepper <drepper@gmail.com>
36981 * dirent/scandir.c (cancel_handler): Renamed to
36982 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
36983 defined. Adjust users.
36984 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
36985 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
36987 2011-08-04 Ulrich Drepper <drepper@gmail.com>
36989 * string/test-string.h (IMPL): Use __STRING to expand name and then
36992 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
36995 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36997 * string/Makefile: Update.
36998 (strop-tests): Append strncat.
36999 * string/test-wcscmp.c: New file.
37000 New comprehensive test for wcscmp.
37001 * string/test-strcmp.c: Update.
37002 (WIDE): New define.
37004 2011-07-22 Andreas Schwab <schwab@redhat.com>
37006 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
37009 2011-07-26 Andreas Schwab <schwab@redhat.com>
37011 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
37012 encoding to ACE if AI_IDN.
37014 2011-08-01 Jakub Jelinek <jakub@redhat.com>
37016 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
37017 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
37019 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
37021 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
37022 Fix overflow bug in strncat.
37023 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
37025 * string/test-strncat.c: Update.
37026 Add new tests for checking overflow bugs.
37028 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
37030 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37031 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
37032 * sysdeps/i386/i686/multiarch/strcat.S: New file.
37033 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
37034 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
37035 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
37036 * sysdeps/i386/i686/multiarch/strncat.S: New file.
37037 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
37038 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
37040 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
37041 (USE_AS_STRCAT): Define.
37042 Add strcat and strncat support.
37043 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
37045 2011-07-25 Andreas Schwab <schwab@redhat.com>
37047 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
37048 __n bigger than INT_MAX+1.
37049 (__strncmp_g): Likewise.
37051 2011-07-23 Ulrich Drepper <drepper@gmail.com>
37053 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
37054 * libio/stido.h: Likewise.
37056 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
37058 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
37061 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
37062 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
37063 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
37064 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
37065 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
37068 * scripts/test-installation.pl: Don't expect libnss_test1 to be
37071 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
37073 (_dl_x86_64_save_sse): Likewise.
37075 2011-07-22 Ulrich Drepper <drepper@gmail.com>
37077 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
37079 (_dl_x86_64_save_sse): Likewise.
37081 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
37083 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
37085 2011-07-21 Andreas Schwab <schwab@redhat.com>
37087 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
37089 (_dl_x86_64_save_sse): Use correct AVX check.
37091 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37093 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
37094 bug in strncpy/strncat.
37095 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
37097 2011-07-21 Ulrich Drepper <drepper@gmail.com>
37099 * string/tester.c (test_strcat): Add tests for different alignments
37100 of source and destination.
37101 (test_strncat): Likewise.
37103 2011-07-20 Ulrich Drepper <drepper@gmail.com>
37106 * posix/glob.c (glob): Check passed in values before using them in
37107 expressions to avoid some overflows.
37108 (glob_in_dir): Likewise.
37111 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
37112 check for AVX enablement so that we don't crash with old kernels and
37114 * elf/tst-audit4.c: Add same checks here.
37115 * elf/tst-audit6.c: Likewise.
37117 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
37119 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
37121 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
37123 2011-07-20 Ulrich Drepper <drepper@gmail.com>
37125 * po/cs.po: Update from translation team.
37126 * po/bg.po: Likewise.
37128 2011-07-12 Marek Polacek <mpolacek@redhat.com>
37130 * misc/sys/cdefs.h: Add support for const attribute.
37131 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
37132 to gnu_dev_{major,minor,makedev} functions.
37134 2011-07-20 Marek Polacek <mpolacek@redhat.com>
37136 * intl/dcigettext.c (get_output_charset): Add missing bracket.
37138 2011-07-20 Andreas Schwab <schwab@redhat.com>
37140 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
37143 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37145 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
37146 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
37147 register in order to avoid conflicts with the soft frame pointer
37148 being held in r11 when necessary.
37149 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
37150 (INTERNAL_VSYSCALL_NCS): Likewise.
37152 2011-07-14 Marek Polacek <mpolacek@redhat.com>
37154 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
37155 * elf/dl-fini.c (_dl_fini): Adjust caller.
37156 * elf/dl-close.c (_dl_close_worker): Likewise.
37157 * sysdeps/generic/ldsodefs.h: Adjust declaration.
37159 2011-07-15 Marek Polacek <mpolacek@redhat.com>
37161 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
37162 "aux_cache->nlibs < 0".
37164 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
37165 in the reload-count case.
37167 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
37169 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37170 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
37171 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
37172 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
37173 * sysdeps/x86_64/multiarch/strcat.S: New file.
37174 * sysdeps/x86_64/multiarch/strncat.S: New file.
37175 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
37176 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
37177 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
37178 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
37179 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
37180 (USE_AS_STRCAT): Define.
37181 Add strcat and strncat support.
37182 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
37183 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
37184 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
37185 * string/strncat.c: Update.
37186 (USE_AS_STRNCAT): Define.
37187 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37188 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
37190 * sysdeps/x86_64/multiarch/init-arch.h
37191 (bit_Prefer_PMINUB_for_stringop): New.
37192 (index_Prefer_PMINUB_for_stringop): Likewise.
37193 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
37194 bit_Prefer_PMINUB_for_stringop.
37196 2011-07-19 Ulrich Drepper <drepper@gmail.com>
37198 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
37200 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
37201 of casting of buffer.
37202 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
37203 buffer32 and buffer64.
37204 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
37205 writes instead of casting of buffer.
37206 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
37208 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
37211 2011-07-19 Andreas Schwab <schwab@redhat.com>
37213 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
37215 2011-07-19 Ulrich Drepper <drepper@gmail.com>
37217 * nscd/nscd.c (termination_handler): Don't do anything for a database
37218 if it has not yet been initialized.
37220 2011-07-18 Ulrich Drepper <drepper@gmail.com>
37222 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
37224 2011-07-15 Marek Polacek <mpolacek@redhat.com>
37226 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
37228 2011-07-18 Ulrich Drepper <drepper@gmail.com>
37230 * po/nl.po: Update from translation team.
37231 * po/sv.po: Likewise.
37233 2011-07-16 Roland McGrath <roland@hack.frob.com>
37235 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
37236 now disallowed by GCC.
37238 * configure.in (use-default-link): Default to yes if a test -shared
37239 link meets our qualifications.
37240 * configure: Regenerated.
37242 * config.make.in (output-format): New variable.
37243 * configure.in: Check for ld --print-output-format support.
37244 * configure: Regenerated.
37245 * Makerules ($(common-objpfx)format.lds)
37246 [$(output-format) != unknown]: Just use $(output-format),
37247 instead of the linker-script munging.
37249 2011-07-14 Roland McGrath <roland@hack.frob.com>
37251 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
37252 of $(common-objpfx)shlib.lds.
37253 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
37255 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
37256 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
37258 * configure.in (-z relro check): Adjust test code to add a large
37259 writable data section after it.
37260 * configure: Regenerated.
37262 2011-07-11 Roland McGrath <roland@hack.frob.com>
37264 * configure.in (-z relro check): Fix test code to make the variable
37266 * configure: Regenerated.
37268 2011-07-11 Ulrich Drepper <drepper@gmail.com>
37270 * nscd/nscd.h (struct traced_file): Define.
37271 (struct database_dyn): Remove inotify_descr, reset_res, and filename
37272 elements. Add traced_files.
37273 (inotify_fd): Declare.
37274 (register_traced_file): Declare.
37275 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
37276 (inotify_fd): Export.
37277 (resolv_conf_descr): Remove.
37278 (nscd_init): Move inotify descriptor creation to main.
37279 Don't register files for notification here.
37280 (register_traced_file): New function.
37281 (invalidate_cache): Don't use reset_res to determine whether to call
37282 res_init, go through the list of registered files.
37283 (main_loop_poll): The inotify descriptors are now stored in the
37284 structures for the traced files.
37285 (main_loop_epoll): Likewise
37286 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
37287 to __nss_disable_nscd.
37288 * nscd/cache.c (prune_cache): There is no single inotify descriptor
37289 for a database anymore. Check the records for all the registered
37291 * nss/Makefile (libnss_files-routines): Add files-init.
37292 (libnss_db-routines): Add db-init.
37293 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
37294 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
37295 * nss/nss_db/db-init.c: New file.
37296 * nss/nss_files/files-init.c: New file.
37297 * nss/nsswitch.c (nss_load_library): New function. Broken out of
37298 __nss_lookup_function.
37299 (__nss_lookup_function): Call nss_load_library.
37300 (nss_load_all_libraries): New function.
37301 (__nss_disable_nscd): Take parameter with callback function for files
37302 to register. Set is_nscd. Load all the DSOs for the NSS modules
37303 used for the cached services.
37304 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
37305 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
37306 options for features to all the files in nscd.
37308 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
37310 2011-07-10 Roland McGrath <roland@hack.frob.com>
37312 * csu/elf-init.c (__libc_csu_init): Comment typo.
37314 2011-07-09 Ulrich Drepper <drepper@gmail.com>
37316 * po/pl.po: Update from translation team.
37317 * po/ja.po: Likewise.
37318 * po/ru.po: Likewise.
37319 * po/ko.po: Likewise.
37320 * po/fr.po: Likewise.
37322 2011-07-09 Roland McGrath <roland@hack.frob.com>
37324 * configure.in (.ctors/.dtors header and trailer check):
37325 Use an empirical test on a built program.
37326 * configure: Regenerated.
37328 * configure.in (-z relro check): Use an empirical test on a built DSO.
37329 Detect, but do not require, on ia64.
37330 * configure: Regenerated.
37332 * configure.in (READELF): Find it with AC_CHECK_TOOL.
37333 Update tests that use readelf to use $READELF instead.
37334 * configure: Regenerated.
37336 2011-07-08 Ulrich Drepper <drepper@gmail.com>
37338 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
37339 if the result is not used.
37341 2011-07-05 Andreas Jaeger <aj@suse.de>
37344 * stdlib/tst-strtod.c: Add testcase.
37346 2011-07-07 Ulrich Drepper <drepper@gmail.com>
37348 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
37349 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
37350 The latter has a higher limit. Take additional parameter to pass to
37352 (__pathconf): Pass file to __statfs_link_max.
37353 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
37355 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
37359 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
37360 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
37362 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
37363 (__statfs_filesize_max): Likewise.
37364 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
37366 2011-07-05 Andreas Jaeger <aj@suse.de>
37368 * resolv/res_comp.c (dn_skipname): Remove unused variable.
37370 2011-07-06 Marek Polacek <mpolacek@redhat.com>
37372 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
37374 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
37377 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
37379 * Makefile (strop-tests): Add strncat.
37380 * string/test-strncat.c: New file.
37382 2011-06-30 Marek Polacek <mpolacek@redhat.com>
37384 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
37386 2011-06-21 Andreas Jaeger <aj@suse.de>
37388 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
37389 Copy rule from iconvdata/Makefile.
37391 2011-07-06 Ulrich Drepper <drepper@gmail.com>
37394 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
37395 but no long options are defined, just return 'W'.
37397 2011-06-22 Marek Polacek <mpolacek@redhat.com>
37400 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
37402 2011-07-06 Ulrich Drepper <drepper@gmail.com>
37404 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
37406 (innetgr): Likewise.
37408 2011-07-05 Roland McGrath <roland@hack.frob.com>
37410 * config.make.in (install_root): Default to $(DESTDIR).
37412 2011-07-05 Ulrich Drepper <drepper@gmail.com>
37414 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
37416 2011-07-02 Roland McGrath <roland@hack.frob.com>
37418 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
37420 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
37421 containing directory rather than embedding absolute directory names.
37423 * scripts/check-local-headers.sh: Rewritten using awk.
37424 Match by word, not by line. Print error messages for matches.
37425 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
37427 * Makerules [shlib-lds-flags empty]:
37428 ($(common-objpfx)libc_pic.opts): New target.
37429 ($(common-objpfx)libc_pic.os.clean): New target.
37430 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
37432 * config.make.in (OBJCOPY): New variable.
37433 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
37434 * configure: Regenerated.
37436 * config.make.in (use-default-link): New variable.
37437 * configure.in (use_default_link): Grok --with-default-link to set it.
37438 * configure: Regenerated.
37439 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
37440 (shlib-lds, shlib-lds-flags): Define to empty.
37442 * Makerules (shlib-lds): New variable.
37443 (shlib-lds-flags): New variable.
37444 (build-shlib, build-moduile, build-module-asneeded): Use it.
37445 ($(common-objpfx)libc.so): Use $(shlib-lds).
37446 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
37447 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
37449 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
37450 DT_FLAGS/DT_FLAGS_1 with zero flags.
37452 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
37453 linker script munging.
37455 2011-07-02 Ulrich Drepper <drepper@gmail.com>
37457 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
37459 * crypt/sha512.c (sha512_process_block): Perform total addition using
37460 128-bit if possible.
37461 (__sha512_finish_ctx): Likewise.
37462 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
37464 * crypt/sha256.c (SWAP64): Define.
37465 (sha256_process_block): Perform total addition using 64-bit if
37467 (__sha256_finish_ctx): Likewise.
37469 2011-07-01 Ulrich Drepper <drepper@gmail.com>
37471 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
37472 * nscd/initgrcache.c (addinitgroupsX): Likewise.
37473 * nscd/hstcache.c (cache_addhst): Likewise.
37474 * nscd/grpcache.c (cache_addgr): Likewise.
37475 * nscd/aicache.c (addhstaiX): Likewise
37476 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
37478 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
37480 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
37481 * nscd/initgrcache.c (addinitgroupsX): Likewise.
37482 * nscd/hstcache.c (cache_addhst): Likewise.
37483 * nscd/grpcache.c (cache_addgr): Likewise.
37484 * nscd/aicache.c (addhstaiX): Likewise
37486 2011-07-01 Andreas Schwab <schwab@redhat.com>
37488 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
37489 domain only when needed.
37491 2011-06-30 Andreas Schwab <schwab@redhat.com>
37493 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
37494 is always restored.
37496 2011-06-29 Ulrich Drepper <drepper@gmail.com>
37498 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
37499 are re-adding the entry.
37500 * nscd/servicescache.c (cache_addserv): Likewise.
37502 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
37504 * sysdeps/generic/dl-irel.h: fix protection against multiple
37506 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
37508 2011-06-28 Ulrich Drepper <drepper@gmail.com>
37511 * malloc/memusage.sh: Fix quoting in message.
37512 * debug/xtrace.sh: Likewise.
37514 * configure.in: Remove support for --experimental-malloc option, make
37516 * config.make.in: Likewise.
37517 * malloc/Makefile: Likewise.
37519 2011-06-27 Andreas Schwab <schwab@redhat.com>
37521 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
37522 two-byte characters.
37524 2011-06-27 Roland McGrath <roland@hack.frob.com>
37526 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
37527 AC_CACHE_CHECK invocation.
37528 * configure: Regenerated.
37530 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
37532 2011-06-27 Ulrich Drepper <drepper@gmail.com>
37535 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
37536 bit from old_res_options.
37538 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
37540 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
37541 value type for setfct.
37543 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
37545 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
37546 __gettimeofday instead of gettimeofday.
37548 2011-06-26 Ulrich Drepper <drepper@gmail.com>
37550 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
37552 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
37554 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
37556 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
37559 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
37561 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37562 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
37563 strcpy-sse2-unaligned strncpy-sse2-unaligned
37564 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
37565 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
37566 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
37567 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
37568 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
37569 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
37570 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
37571 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
37572 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
37573 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
37574 (STRCPY): Support SSE2 and SSSE3 versions.
37576 2011-06-24 Ulrich Drepper <drepper@gmail.com>
37579 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
37580 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
37581 kernels which artificially limit size of requests.
37583 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
37585 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37586 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
37587 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
37588 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
37589 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
37590 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
37591 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
37592 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
37593 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
37594 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
37595 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
37596 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
37597 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
37598 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
37599 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
37600 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37601 Enable unaligned load optimization for Intel Core i3, i5 and i7
37603 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
37605 (index_Fast_Unaligned_Load): Define.
37606 (HAS_FAST_UNALIGNED_LOAD): Define.
37608 2011-06-23 Marek Polacek <mpolacek@redhat.com>
37610 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
37612 2011-06-22 Ulrich Drepper <drepper@gmail.com>
37615 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
37616 until it is clear that the information is realy needed.
37617 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
37619 2011-06-22 Andreas Schwab <schwab@redhat.com>
37621 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
37623 2011-06-22 Ulrich Drepper <drepper@gmail.com>
37625 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
37626 /sys/devices/system/cpu/online if it is usable.
37628 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
37629 reading the information from the /proc filesystem to once a second.
37631 2011-06-21 Andreas Jaeger <aj@suse.de>
37633 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
37634 NULL after inclusion of kernel headers.
37636 2011-06-21 Ulrich Drepper <drepper@gmail.com>
37638 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
37639 calls to internal_setent.
37642 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
37643 addresses using gethostbyname4_r ignore IPv4 addresses.
37645 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
37646 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
37648 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
37650 2011-06-20 David S. Miller <davem@davemloft.net>
37652 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
37654 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
37656 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
37657 (elf_irel): Use it.
37658 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
37659 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
37660 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
37661 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
37662 * sysdeps/x86_64/dl-irel.h: Likewise.
37664 * elf/dl-runtime.c: Use elf_ifunc_invoke.
37665 * elf/dl-sym.c: Likewise.
37667 2011-06-15 Ulrich Drepper <drepper@gmail.com>
37669 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
37670 need to dereference resplen2.
37672 2011-06-14 Andreas Schwab <schwab@redhat.com>
37674 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
37676 2011-06-15 Ulrich Drepper <drepper@gmail.com>
37678 * Makeconfig: Define vardbdir and inst_vardbdir.
37679 * nss/Makefile: Add rules to install db-Makefile.
37681 * nss/nss_db/db-XXX.c: Cleanup.
37683 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
37684 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
37686 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
37687 * nss/makedb.c: Implement -g option to specify that value strings
37688 are generated and should not be added to table iterated over for
37690 * nss/nss_db/db-initgroups.c: New file.
37692 * nss/getent.c: Add support for initgroups lookups through getgrouplist
37695 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
37696 (internal_getgrouplist): Adjust to name change.
37697 Update use_initgroups_entry if this is not the first call.
37698 * nss/databases.def: Add initgroups entry.
37700 * nss/makedb.c (compute_tables): Check result of multiple hash table
37701 sizes to minimize maximum chain length.
37703 2011-06-14 Ulrich Drepper <drepper@gmail.com>
37705 * Versions.def: Add entry for libnss_db.
37706 * shlib-versions: Likewise.
37707 * nss/Makefile: Add rules to build libnss_db.
37708 * nss/Versions: Add libnss_db information. Organize libnss_files
37710 * nss/db-Makefile: Add gshadow support. Change rules for the new
37711 makedb progra. Some minor improvements to generate smaller files.
37712 * nss/nss_db/nss_db.h: Move NSS database header data structures to
37714 * nss/makedb.c: ...here.
37715 Improve database format to be smaller and require less memory at
37717 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
37719 * nss/nss_db/db-netgrp.c: Likewise.
37720 * nss/nss_db/db-open.c: Likewise.
37721 * nss/nss_files/flies-XXX.x: Adjust comments.
37722 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
37723 * nss/nss_files/files-grp.c: Likewise.
37724 * nss/nss_files/files-hosts.c: Likewise.
37725 * nss/nss_files/files-network.c: Likewise.
37726 * nss/nss_files/files-proto.c: Likewise.
37727 * nss/nss_files/files-pwd.c: Likewise.
37728 * nss/nss_files/files-rpc.c: Likewise.
37729 * nss/nss_files/files-service.c: Likewise.
37730 * nss/nss_files/files-sgrp.c: Likewise.
37731 * nss/nss_files/files-spwd.c: Likewise.
37732 * nss/nss_db/db-alias.c: Removed.
37733 * nss/nss_db/dummy-db.h: Removed.
37735 2011-06-02 Ulrich Drepper <drepper@gmail.com>
37737 * nss/makedb.c: Rewritten to not use database library.
37738 * nss/Makefile: Update to build new makedb program.
37740 2011-06-14 Andreas Jaeger <aj@suse.de>
37742 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
37743 memset declaration.
37745 2011-06-10 Andreas Schwab <schwab@redhat.com>
37747 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
37750 2011-06-10 Roland McGrath <roland@hack.frob.com>
37752 * Makerules (shlib.lds): Fail if the linker script comes out empty.
37753 * elf/Makefile ($(objpfx)ld.so): Likewise.
37755 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
37756 Don't list ld.so twice in dependencies.
37758 * posix/bug-regex31.c: Include <stdlib.h>.
37760 * nscd/hstcache.c (cache_addhst): Remove unused variable.
37762 * nis/nss_compat/compat-spwd.c
37763 (getspent_next_nss_netgr): Remove unused variable.
37764 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
37766 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
37767 nonmembers" output to use the right array.
37769 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
37771 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
37773 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
37774 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
37775 * catgets/gencat.c (read_input_file): Likewise.
37776 * locale/programs/locarchive.c (enlarge_archive): Likewise.
37778 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
37779 variable definition inside #if's controlling its use.
37781 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
37783 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
37785 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
37787 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
37790 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
37792 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
37793 * configure: Regenerated.
37795 * Makerules: Revert last change.
37796 * elf/Makefile: Likewise.
37798 2011-06-09 Roland McGrath <roland@hack.frob.com>
37800 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
37801 * elf/Makefile ($(objpfx)librtld.os): Likewise.
37802 (reloc-link): Likewise.
37804 2011-06-09 Ulrich Drepper <drepper@gmail.com>
37806 * elf/Makefile: Add rules to build pldd.
37807 * elf/pldd.c: New file.
37808 * elf/pldd-xx.c: New file.
37810 2011-06-07 Ulrich Drepper <drepper@gmail.com>
37812 * version.h: Update for 2.15 development version.
37814 2011-06-07 David S. Miller <davem@davemloft.net>
37816 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
37818 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
37819 elf_machine_lazy_rel): Likewise.
37820 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
37821 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
37822 elf_machine_lazy_rel): Likewise.
37823 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
37824 dl_hwcap via passed in argument.
37825 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
37828 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37830 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
37832 2011-06-06 Roland McGrath <roland@hack.frob.com>
37835 * manual/fdl-1.1.texi: New file, verbatim from:
37836 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
37837 * manual/lgpl-2.1.texi: New file, verbatim from:
37838 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
37839 * manual/Makefile (licenses): New variable, list those new file names.
37841 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
37843 * manual/fdl.texi: File removed.
37844 * manual/lesser.texi: File removed.
37845 * manual/libc.texinfo (Copying, Documentation License):
37846 Use new @include file names, put @appendix directive before @include.
37848 2011-06-04 Jakub Jelinek <jakub@redhat.com>
37851 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
37852 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
37853 (mq_open): Add __NTH.
37855 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
37857 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37858 Assume Intel Core i3/i5/i7 processor if AVX is available.
37860 2011-05-31 Ulrich Drepper <drepper@gmail.com>
37862 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
37865 2011-05-31 Andreas Schwab <schwab@redhat.com>
37867 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
37868 memory. Use alloca_account. Fix memory leak when retrying.
37870 2011-05-31 Ulrich Drepper <drepper@gmail.com>
37872 * version.h (RELEASE): Bump for 2.14 release.
37873 * include/features.h (__GLIBC_MINOR__): Bump to 14.
37875 * config.make.in (RANLIB): Remove entry.
37877 2011-05-30 Ulrich Drepper <drepper@gmail.com>
37879 * po/Makefile (po-sed-cmd): Add ksh to extensions.
37880 (libc.pot): Work around missing support for .ksh extension in xgettext.
37883 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
37884 if both request failed.
37885 (send_dg): In case of server errors clear resplen or *resplen2.
37888 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
37889 when there are multiple maps.
37890 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
37891 (_dl_fini): Remove test here.
37893 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
37895 2011-05-29 Ulrich Drepper <drepper@gmail.com>
37898 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
37899 bit from old_res_options.
37900 (gaih_inet): Likewise.
37903 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
37906 * resolv/res_init.c (res_setoptions): Make the code more compact.
37909 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
37913 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
37915 * malloc/malloc.h: Mark malloc hook variables as deprecated.
37918 * malloc/malloc.h: Declare malloc hook variables as volatile.
37920 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
37924 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
37925 raise in the comment.
37926 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
37927 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
37928 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
37930 2011-05-28 Ulrich Drepper <drepper@gmail.com>
37933 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
37934 grow the buffers more if it already has to be sufficient.
37935 (build_wcs_upper_buffer): Likewise.
37936 * posix/regexec.c (check_matching): Likewise.
37937 (clean_state_log_if_needed): Likewise.
37938 (extend_buffers): Don't enlarge buffers beyond size of the input
37940 Patches mostly by Emil Wojak <emil@wojak.eu>.
37941 * posix/bug-regex32.c: New file.
37942 * posix/Makefile (tests): Add bug-regex32.
37944 * locale/findlocale.c (_nl_find_locale): Return right away if
37945 _nl_explode_name failed.
37946 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
37948 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
37950 * debug/xtrace.sh: Unify messages.
37951 * malloc/memusage.sh: Likewise.
37954 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
37955 time symbol from vDSO. Substitute with vsyscall if not available.
37956 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
37959 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
37960 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
37961 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
37962 Add sendmmsg and internal_sendmmsg.
37963 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
37964 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
37965 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
37967 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
37968 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
37969 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
37971 2011-05-27 Ulrich Drepper <drepper@gmail.com>
37974 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
37975 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
37977 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
37981 * iconvdata/Makefile (tests): Add bug-iconv9.
37982 * iconvdata/bug-iconv9.c: New file.
37984 2011-05-27 Andreas Schwab <schwab@redhat.com>
37987 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
37989 2011-05-25 Jakub Jelinek <jakub@redhat.com>
37991 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
37992 (struct user_regs_struct): Change intcs field back to cs.
37994 2011-05-25 Ulrich Drepper <drepper@gmail.com>
37996 * po/ja.po: Update from translation team.
37998 2011-05-23 Ulrich Drepper <drepper@gmail.com>
38001 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
38002 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
38004 2011-05-20 Andreas Schwab <schwab@redhat.com>
38006 * stdlib/longlong.h: Update from GCC.
38008 2011-05-23 Andreas Schwab <schwab@redhat.com>
38010 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
38012 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
38013 Add parameter name.
38014 (__sysconf): Pass it down.
38016 2011-05-22 Ulrich Drepper <drepper@gmail.com>
38019 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
38021 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
38022 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
38023 add in in __libc_use_alloca calls. Adjust callers.
38024 (glob): Use malloc in some situations.
38026 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
38027 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
38030 2011-05-21 Ulrich Drepper <drepper@gmail.com>
38032 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
38033 and CLOCK_BOOTTIME_ALARM.
38036 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
38039 * string/_strerror.c (__strerror_r): Print negative errors as signed
38043 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
38044 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
38045 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
38047 * configure.in: Fix typo in redirection and correct removal of test
38048 files in two cases.
38051 * locale/setlocale.c (new_composite_name): Fix test to check for
38052 identical name of all categories.
38055 * libio/filedoalloc.c (local_isatty): New function.
38056 (_IO_file_doallocate): Use local_isatty.
38057 * stdio-common/perror.c (perror): In case a new stream is used
38058 forward the stream error.
38059 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
38062 2011-05-20 Ulrich Drepper <drepper@gmail.com>
38065 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
38067 * include/alloca.h (extend_alloca_account): Define.
38070 * posix/regex.h: Fix comments with documentation of user-accessible
38071 fields after compilation and describe correct free'ing of pattern
38072 after re_compile_pattern.
38073 Patch by Reuben Thomas <rrt@sc3d.org>.
38075 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
38077 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
38078 and -mno-altivec to prevent the compiler from using Altivec and/or
38079 VSX instructions when the corresponding registers are not available.
38081 2011-05-19 Andreas Schwab <schwab@redhat.com>
38083 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
38085 2011-05-19 Ulrich Drepper <drepper@gmail.com>
38087 * libio/freopen.c (freopen): Use __dup2, not dup2.
38088 * libio/freopen64.c (freopen64): Likewise.
38090 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
38093 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
38094 * math/Makefile (tests): Add test-powl.
38095 (CFLAGS-test-powl.c): Define.
38096 * math/test-powl.c: New file.
38098 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
38100 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
38102 2011-05-17 Ulrich Drepper <drepper@gmail.com>
38105 * iconvdata/gb18030.c: Update to GB18020-2005.
38107 2011-05-16 Ulrich Drepper <drepper@gmail.com>
38109 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
38110 RE_SYNTAX_POSIX_AWK): Update to match recent development.
38111 Patch by Aharon Robbins <arnold@skeeve.com>.
38114 * stdlib/putenv.c (putenv): Don't always create copy of the variable
38118 * misc/pselect.c (__pselect): Handle timeout value errors hidden
38119 through underflows.
38122 * misc/error.c (error_at_line): Ensure file_name and old_file_name
38123 point to strings before performing equality test for error_one_per_line
38127 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
38130 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
38131 (struct user_fpregs_struct): Avoid __uint*_t types.
38134 * malloc/mtrace.c (tr_where): Add additional parameter to point to
38135 symbol info. Use it instead of calling _dl_addr locally.
38136 (lock_and_info): New function.
38137 (tr_freehook): Call lock_and_info and pass symbol info as additional
38138 parameter to tr_where.
38139 (tr_mallochook): Likewise.
38140 (tr_reallochook): Likewise.
38141 (tr_memalignhook): Likewise.
38143 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
38144 used and couldn't be at all thread-safe.
38146 2011-05-15 Ulrich Drepper <drepper@gmail.com>
38148 * libio/freopen.c (freopen): Don't close old file descriptor
38149 before the new one is opened. Instead dup the new file descriptor
38150 to the old one after the new stream is created.
38151 * libio/freopen64.c (freopen64): Likewise.
38152 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
38153 * libio/fileops.c (_IO_new_file_close_it): Handle new
38154 _IO_FLAGS2_NOCLOSE flag.
38155 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
38156 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
38157 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
38158 _IO_FLAGS2_NOCLOSE flag.
38159 * include/unistd.h: Add hidden_proto for dup3.
38160 Define __have_dup3.
38161 * io/dup3.c: Define hidden symbol.
38162 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
38165 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
38166 when an incomplete long option is used.
38167 * posix/tst-getopt_long1.c: New file.
38168 * posix/Makefile (tests): Add tst-getopt_long1.
38171 * scripts/config.guess: Update from autoconf-2.68.
38172 * scripts/config.sub: Likewise.
38175 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
38177 (has_cpuclock): ...this. New function.
38178 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
38179 macro here based on has_cpuclock code.
38182 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
38183 First byte (not low byte) is now always NUL.
38184 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
38186 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
38187 Use non-cancelable interfaces.
38190 * locale/iso-639.def: Add entry for Sorani.
38193 * include/stdlib.h: Move include protection to the right place.
38194 Define abort_msg_s. Declare __abort_msg with it.
38195 * stdlib/abort.c (__abort_msg): Adjust type.
38196 * assert/assert.c (__assert_fail_base): New function. Majority
38197 of code from __assert_fail. Allocate memory for __abort_msg with
38199 (__assert_fail): Now call __assert_fail_base.
38200 * assert/assert-perr.c: Remove bulk of implementation. Use
38201 __assert_fail_base.
38202 * include/assert.hL Declare __assert_fail_base.
38203 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
38205 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
38207 2011-05-14 Ulrich Drepper <drepper@gmail.com>
38211 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
38212 until all modules are registered in the DTV.
38213 * elf/Makefile: Add rules to build and run tst-tls19.
38214 * elf/tst-tls19.c: New file.
38215 * elf/tst-tls19mod1.c: New file.
38216 * elf/tst-tls19mod2.c: New file.
38217 * elf/tst-tls19mod3.c: New file.
38218 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
38221 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
38225 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
38226 two-byte sequence errors.
38227 * iconvdata/Makefile (tests): Add bug-iconv8.
38228 * iconvdata/bug-iconv8.c: New file.
38231 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
38234 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
38237 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
38238 (dummy_getcfa): New function.
38239 (init): Get _Unwind_GetCFA address, use dummy if not found.
38240 (backtrace_helper): In recursion check, also check whether CFA changes.
38241 (__backtrace): Completely initialize arg.
38243 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
38244 storing incomplete byte sequence in state object. Avoid testing for
38245 guaranteed too small input if we know there is enough data available.
38247 2011-05-11 Andreas Schwab <schwab@redhat.com>
38249 * Makeconfig (+link-pie): Indent.
38250 * Rules (binaries-pie): Define if $(have-fpie) and
38252 (binaries-shared): Also filter out $(binaries-pie).
38253 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
38254 * nscd/Makefile (others-pie): Add nscd.
38255 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
38256 ($(objpfx)nscd): Remove command override.
38257 * login/Makefile (others-pie): Add pt_chown.
38258 ($(objpfx)pt_chown): Remove command override.
38259 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
38260 remove command overrides.
38262 2011-05-13 Ulrich Drepper <drepper@gmail.com>
38264 * libio/tst_putwc.c: Fix error messages.
38267 * libio/fileops.c (_IO_new_file_close_it): Always flush when
38268 currently writing and seek to current position when not.
38269 * libio/Makefile (tests): Add bug-fclose1.
38270 * libio/bug-fclose1.c: New file.
38272 2011-05-12 Ulrich Drepper <drepper@gmail.com>
38275 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
38276 don't set DF_1_NODELETE here.
38277 (do_lookup_x): When entering new entry test for copy relocation
38278 and if necessary set DF_1_NODELETE flag.
38279 * elf/tst-unique4.cc: New file.
38280 * elf/tst-unique4.h: New file.
38281 * elf/tst-unique4lib.cc: New file.
38282 * elf/Makefile: Add rules to build and run tst-unique4.
38283 Patch by Piotr Bury <pbury@goahead.com>.
38285 2011-05-11 Ulrich Drepper <drepper@gmail.com>
38288 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
38291 * misc/mntent_r.c (addmntent): Flush the stream after the output
38294 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
38295 (is_trusted_path_normalize): Skip initial colon. Append slash
38296 to empty buffer. Duplicate is_trusted_path code but allow
38297 constructed patch to be prefix.
38298 (is_dst): Allow $ORIGIN followed by /.
38299 (_dl_dst_substitute): Correct clearing of check_for_trusted.
38300 Correct testing of result of is_trusted_path_normalize
38301 (decompose_rpath): Fix warning.
38303 2011-05-10 Ulrich Drepper <drepper@gmail.com>
38306 * grp/initgroups.c (internal_getgrouplist): When we found the service
38307 list through the initgroups entry in nsswitch.conf do not always
38308 continue on a successful lookup. Don't always use the
38309 __nss_group_database value if it is set.
38310 * nss/nsswitch.conf (initgroups): Change action for successful db
38311 lookup to continue for compatibility.
38313 2011-05-09 Ulrich Drepper <drepper@gmail.com>
38316 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
38318 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
38320 * iconvdata/tst-tables.sh: Likewise.
38321 * iconvdata/cp770.c: New file.
38322 * iconvdata/cp771.c: New file.
38323 * iconvdata/cp772.c: New file.
38324 * iconvdata/cp773.c: New file.
38325 * iconvdata/cp774.c: New file.
38326 * iconvdata/testdata/CP770: New file.
38327 * iconvdata/testdata/CP770..UTF8: New file.
38328 * iconvdata/testdata/CP771: New file.
38329 * iconvdata/testdata/CP771..UTF8: New file.
38330 * iconvdata/testdata/CP772: New file.
38331 * iconvdata/testdata/CP772..UTF8: New file.
38332 * iconvdata/testdata/CP773: New file.
38333 * iconvdata/testdata/CP773..UTF8: New file.
38334 * iconvdata/testdata/CP774: New file.
38335 * iconvdata/testdata/CP774..UTF8: New file.
38337 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
38339 * iconvdata/gen-8bit-gap.sh: Likewise.
38340 * iconvdata/gen-8bit.sh: Likewise.
38342 * locale/iso-639.def: Add ary entry.
38345 * locale/C-translit.h.in: Add U20A1 transliteration.
38348 * locale/iso-639.def: Add wae entry.
38349 Patch by Kevin Bortis <bortis@translate-wae.ch>.
38352 * locale/programs/localedef.c (construct_output_path): Use ssize_t
38356 * locale/C-translit.h.in: Add entry for U20B9.
38357 Patch by pravin.d.s@gmail.com.
38359 2011-05-08 Ulrich Drepper <drepper@gmail.com>
38362 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
38363 ENAMETOOLONG use generic getcwd.
38364 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
38365 in rtld. Use *stat64.
38366 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
38367 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
38368 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
38369 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
38370 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
38371 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
38372 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
38373 __fstatat64 macros.
38374 * include/dirent.h: Add libc_hidden_proto for rewinddir.
38375 * dirent/rewinddir.c: Add libc_hidden_def.
38376 * sysdeps/mach/hurd/rewinddir.c: Likewise.
38377 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
38379 * include/dirent.h (__alloc_dir): Add flags parameter.
38380 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
38381 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
38383 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
38384 from fdopendir if O_CLOEXEC is already set.
38386 2011-03-15 Alan Modra <amodra@gmail.com>
38388 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
38389 l_tls_firstbyte_offset non-zero. Save padding offset in
38390 l_tls_firstbyte_offset for later use.
38391 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
38392 freeing static tls block.
38394 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
38396 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
38397 where #ifdef was intended. The intent is to prevent ARG_MAX from
38398 being defined by the kernel headers.
38400 2011-05-07 Ulrich Drepper <drepper@gmail.com>
38403 * resolv/resolv.h: Define RES_NOTLDQUERY.
38404 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
38405 no-tld-query and set RES_NOTLDQUERY.
38406 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
38407 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
38408 modern BIND to search name as TLD unless forbidden.
38410 2011-05-07 Petr Baudis <pasky@suse.cz>
38411 Ulrich Drepper <drepper@gmail.com>
38414 * elf/dl-load.c (fillin_rpath): Move trusted path check...
38415 (is_trusted_path): ...to here.
38416 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
38417 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
38418 using is_trusted_path_normalize() in setuid scripts.
38420 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
38422 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
38423 __BEGIN/__END_DECLS.
38425 2011-05-06 Ulrich Drepper <drepper@gmail.com>
38427 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
38428 NSS_STATUS_NOTFOUND if no record was found.
38430 2011-05-05 Andreas Schwab <schwab@redhat.com>
38432 * sunrpc/Makefile (headers): Add rpc/netdb.h.
38433 (headers-not-in-tirpc): Remove rpc/netdb.h
38434 * resolv/netdb.h: Revert last change.
38436 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
38438 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
38439 circular dependency between libgcc.a and libc.a.
38441 2011-05-05 Andreas Schwab <schwab@redhat.com>
38443 * resolv/netdb.h: Don't include <rpc/netdb.h>.
38444 * nis/Makefile: Don't install rpcsvc/*.
38445 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
38446 instead of <rpc/types.h>.
38447 (MAXHOSTNAMELEN): Define.
38449 2011-05-03 Andreas Schwab <schwab@redhat.com>
38451 * elf/ldconfig.c (add_dir): Don't crash on empty path.
38453 2011-04-28 Maciej Babinski <mbabinski@google.com>
38456 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
38457 gethostbyname4_r when IPv6 results are possible.
38459 2011-05-02 Ulrich Drepper <drepper@gmail.com>
38462 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
38463 _PC_PIPE_BUF handling.
38465 2011-04-30 Bruno Haible <bruno@clisp.org>
38468 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
38469 * resolv/netdb.h (getnameinfo): Change type of flags parameter
38471 * inet/getnameinfo.c (getnameinfo): Likewise.
38473 2011-04-29 Ulrich Drepper <drepper@gmail.com>
38475 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
38476 to groups setting in database lookup.
38477 * nss/nsswitch.conf: Add initgroups entry.
38479 2011-04-22 Ulrich Drepper <drepper@gmail.com>
38482 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
38484 Patch by Eric Blake <eblake@redhat.com>.
38486 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
38488 * sunrpc/Makefile (need-export-routines): Add svc_run.
38489 (routines): Remove svc_run.
38490 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
38491 * sunrpc/clnt_perr.c (clnt_perrno): Export.
38492 * sunrpc/svc_run.c (svc_run): Likewise.
38493 * sunrpc/svc_udp.c (svcudp_create): Likewise.
38495 2011-04-21 Ulrich Drepper <drepper@gmail.com>
38497 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
38498 problem in reallocation in last patch.
38500 2011-04-20 Ulrich Drepper <drepper@gmail.com>
38502 * sunrpc/Makefile: Move inclusion of Rules.
38504 2011-04-19 Ulrich Drepper <drepper@gmail.com>
38506 * nss/nss_files/files-initgroups.c: New file.
38507 * nss/Makefile (libnss_files-routines): Add files-initgroups.
38508 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
38509 _nss_files_initgroups_dyn.
38511 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
38513 * elf/elf.h (R_ARM_IRELATIVE): Define.
38515 2011-04-19 Ulrich Drepper <drepper@gmail.com>
38517 * po/ru.po: Update from translation team.
38519 2011-04-17 Ulrich Drepper <drepper@gmail.com>
38521 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
38524 2011-02-06 Mike Frysinger <vapier@gentoo.org>
38527 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
38528 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
38529 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
38530 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
38531 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
38533 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
38535 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
38537 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
38538 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
38539 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
38541 2011-04-17 Ulrich Drepper <drepper@gmail.com>
38544 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
38546 * stdlib/bug-getcontext.c: New file.
38547 * stdlib/Makefile: Add rules to build and run bug-getcontext.
38549 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38551 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
38552 instructions into .machine "z9-109".
38553 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
38554 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
38556 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38558 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
38559 between environment variables and auxiliary vector.
38561 2011-04-16 Ulrich Drepper <drepper@gmail.com>
38563 * Makefile: Add rules to build linkobj/libc.so.
38564 * include/libc-symbols.h: Define libc_hidden_nolink.
38565 * include/rpc/auth.h: Mark functions which are to be hidden.
38566 * include/rpc/auth_des.h: Likewise.
38567 * include/rpc/auth_unix.h: Likewise.
38568 * include/rpc/clnt.h: Likewise.
38569 * include/rpc/des_crypt.h: Likewise.
38570 * include/rpc/key_prot.h: Likewise.
38571 * include/rpc/pmap_clnt.h: Likewise.
38572 * include/rpc/pmap_prot.h: Likewise.
38573 * include/rpc/pmap_rmt.h: Likewise.
38574 * include/rpc/rpc_msg.h: Likewise.
38575 * include/rpc/svc.h: Likewise.
38576 * include/rpc/svc_auth.h: Likewise.
38577 * include/rpc/xdr.h: Likewise.
38578 * nis/Makefile: Link all DSOs against linkobj/libc.so.
38579 * nss/Makefile: Likewise.
38580 * sunrpc/Makefile: Don't install headers. Build library with normal
38581 entry points. Don't build rpcinfo. Link RPC tests appropriately.
38582 * sunrpc/auth_des.c: Hide exported symbols by default, export some
38583 for the compat linking library. Remove use of INTDEF/INTUSE.
38584 * sunrpc/auth_none.c: Likewise.
38585 * sunrpc/auth_unix.c: Likewise.
38586 * sunrpc/authdes_prot.c: Likewise.
38587 * sunrpc/authuxprot.c: Likewise.
38588 * sunrpc/clnt_gen.c: Likewise.
38589 * sunrpc/clnt_perr.c: Likewise.
38590 * sunrpc/clnt_raw.c: Likewise.
38591 * sunrpc/clnt_simp.c: Likewise.
38592 * sunrpc/clnt_tcp.c: Likewise.
38593 * sunrpc/clnt_udp.c: Likewise.
38594 * sunrpc/clnt_unix.c: Likewise.
38595 * sunrpc/des_crypt.c: Likewise.
38596 * sunrpc/des_soft.c: Likewise.
38597 * sunrpc/get_myaddr.c: Likewise.
38598 * sunrpc/key_call.c: Likewise.
38599 * sunrpc/key_prot.c: Likewise.
38600 * sunrpc/netname.c: Likewise.
38601 * sunrpc/pm_getmaps.c: Likewise.
38602 * sunrpc/pm_getport.c: Likewise.
38603 * sunrpc/pmap_clnt.c: Likewise.
38604 * sunrpc/pmap_prot.c: Likewise.
38605 * sunrpc/pmap_prot2.c: Likewise.
38606 * sunrpc/pmap_rmt.c: Likewise.
38607 * sunrpc/publickey.c: Likewise.
38608 * sunrpc/rpc_cmsg.c: Likewise.
38609 * sunrpc/rpc_common.c: Likewise.
38610 * sunrpc/rpc_dtable.c: Likewise.
38611 * sunrpc/rpc_prot.c: Likewise.
38612 * sunrpc/rpc_thread.c: Likewise.
38613 * sunrpc/rtime.c: Likewise.
38614 * sunrpc/svc.c: Likewise.
38615 * sunrpc/svc_auth.c: Likewise.
38616 * sunrpc/svc_authux.c: Likewise.
38617 * sunrpc/svc_raw.c: Likewise.
38618 * sunrpc/svc_run.c: Likewise.
38619 * sunrpc/svc_simple.c: Likewise.
38620 * sunrpc/svc_tcp.c: Likewise.
38621 * sunrpc/svc_udp.c: Likewise.
38622 * sunrpc/svc_unix.c: Likewise.
38623 * sunrpc/svcauth_des.c: Likewise.
38624 * sunrpc/xcrypt.c: Likewise.
38625 * sunrpc/xdr.c: Likewise.
38626 * sunrpc/xdr_array.c: Likewise.
38627 * sunrpc/xdr_float.c: Likewise.
38628 * sunrpc/xdr_intXX_t.c: Likewise.
38629 * sunrpc/xdr_mem.c: Likewise.
38630 * sunrpc/xdr_rec.c: Likewise.
38631 * sunrpc/xdr_ref.c: Likewise.
38632 * sunrpc/xdr_sizeof.c: Likewise.
38633 * sunrpc/xdr_stdio.c: Likewise.
38635 2011-04-10 Ulrich Drepper <drepper@gmail.com>
38638 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
38639 * sysdeps/ia64/dl-tls.h: Likewise.
38640 * sysdeps/powerpc/dl-tls.h: Likewise.
38641 * sysdeps/s390/dl-tls.h: Likewise.
38642 * sysdeps/sh/dl-tls.h: Likewise.
38643 * sysdeps/sparc/dl-tls.h: Likewise.
38644 * sysdeps/x86_64/dl-tls.h: Likewise.
38645 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
38647 2011-03-14 Andreas Schwab <schwab@redhat.com>
38649 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
38650 rpath element also skip the following colon.
38651 (expand_dynamic_string_token): Add is_path parameter and pass
38652 down to DL_DST_REQUIRED and _dl_dst_substitute.
38653 (decompose_rpath): Call expand_dynamic_string_token with
38654 non-zero is_path. Ignore empty rpaths.
38655 (_dl_map_object_from_fd): Call expand_dynamic_string_token
38658 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
38660 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
38663 2011-04-09 Ulrich Drepper <drepper@gmail.com>
38666 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
38667 Patch by Filipe David Manana <fdmanana@apache.org>.
38669 2011-04-07 Andreas Schwab <schwab@redhat.com>
38671 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
38672 Maintain aligned stack.
38673 (CHECK_RSP): Remove unused macro.
38675 2011-04-03 Ulrich Drepper <drepper@gmail.com>
38677 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
38678 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
38680 2011-04-02 Ulrich Drepper <drepper@gmail.com>
38682 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
38684 * include/features.h: Mention __USE_XOPEN2K8 in comment.
38686 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
38689 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
38690 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
38691 * sysdeps/x86_64/memmove.c: New file.
38692 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
38693 (memcpy): Renamed to ...
38694 (__new_memcpy): This.
38695 (memcpy): Provide GLIBC_2_14 memcpy.
38696 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
38697 (memcpy): Provide GLIBC_2_2_5 memcpy.
38699 2011-04-01 Ulrich Drepper <drepper@gmail.com>
38702 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
38704 2011-03-30 Andreas Schwab <schwab@redhat.com>
38706 * misc/syncfs.c: New file.
38707 * misc/Makefile (routines): Add syncfs.
38708 * posix/unistd.h: Declare syncfs.
38709 * sysdeps/unix/syscalls.list: Add syncfs.
38711 2011-04-01 Andreas Schwab <schwab@redhat.com>
38713 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
38715 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
38716 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
38717 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
38718 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
38719 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
38720 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
38721 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
38723 2011-04-01 Ulrich Drepper <drepper@gmail.com>
38725 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
38726 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
38727 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
38728 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
38729 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
38730 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
38731 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
38733 * io/Makefile: Compile fallocate.c, fallocate64.c, and
38734 sync_file_range.c with -fexceptions.
38735 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
38736 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
38737 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
38738 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
38739 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
38740 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
38741 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
38742 sync_file_range as cancellation point
38743 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
38744 now a wrapper around __call_sync_file_range with cancellation handling.
38745 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
38746 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
38747 function name to __call_sync_file_range.
38748 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
38749 Add call_sync_file_range.
38751 2011-04-01 Andreas Schwab <schwab@redhat.com>
38753 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38756 2011-04-01 Ulrich Drepper <drepper@gmail.com>
38758 * iconv/iconv.h: Fix typo in comment.
38759 * io/fcntl.h: Likewise.
38760 * libio/stdio.h: Likewise.
38761 * posix/spawn.h: Likewise.
38762 * posix/unistd.h: Likewise.
38763 * stdlib/stdlib.h: Likewise.
38764 * time/time.h: Likewise.
38765 * wcsmbs/wchar.h: Likewise.
38767 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
38768 open_by_handle): Add.
38769 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
38770 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
38771 Augment a few comments.
38772 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
38773 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
38774 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
38775 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
38776 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
38777 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
38780 * io/fcntl.h (AT_EMPTY_PATH): Define.
38782 2011-03-30 Ulrich Drepper <drepper@gmail.com>
38784 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
38785 * sysdeps/unix/sysv/linux/bits/time.h: New file.
38786 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
38788 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
38789 * Versions.def: Add GLIBC_2.14.
38790 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
38793 2011-03-22 Ulrich Drepper <drepper@gmail.com>
38795 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
38797 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
38799 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
38802 * string/test-strncmp.c (do_page_test): New function.
38803 (check2): Likewise.
38804 (test_main): Call check2.
38805 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
38807 2011-03-20 Ulrich Drepper <drepper@gmail.com>
38810 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
38811 Handle cache information in CPU leaf 4.
38812 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
38814 2011-03-18 Ulrich Drepper <drepper@gmail.com>
38817 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
38818 character representation.
38819 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
38821 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
38823 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
38824 END(__isnan) to END(__isnanf) to match function entry point/label
38825 EALIGN(__isnanf,...).
38827 2011-03-10 Jakub Jelinek <jakub@redhat.com>
38829 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
38831 2011-03-10 Ulrich Drepper <drepper@gmail.com>
38834 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
38835 copy from the symbol referenced in the relocation to initialize the
38837 Patch by Piotr Bury <pbury@goahead.com>.
38838 * elf/Makefile: Add rules to build and tst-unique3.
38839 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
38840 * elf/tst-unique3.cc: New file.
38841 * elf/tst-unique3.h: New file.
38842 * elf/tst-unique3lib.cc: New file.
38843 * elf/tst-unique3lib2.cc: New file.
38845 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
38847 2011-03-10 Mike Frysinger <vapier@gentoo.org>
38849 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
38850 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
38853 2011-03-06 Ulrich Drepper <drepper@gmail.com>
38855 * elf/dl-load.c (_dl_map_object): If we are looking for the first
38856 to-be-loaded object along a path to loader is ld.so.
38858 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
38859 Ulrich Drepper <drepper@gmail.com>
38861 * sysdeps/x86_64/memset.S: After aligning destination, code
38862 branches to different locations depending on the value of
38863 misalignment, when multiarch is enabled. Fix this.
38865 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
38867 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
38868 Set _x86_64_preferred_memory_instruction for AMD processsors.
38869 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38870 Set bit_Prefer_SSE_for_memop for AMD processors.
38872 2011-03-04 Ulrich Drepper <drepper@gmail.com>
38874 * libio/fmemopen.c (fmemopen): Optimize a bit.
38876 2011-03-03 Andreas Schwab <schwab@redhat.com>
38878 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
38880 2011-03-03 Roland McGrath <roland@redhat.com>
38882 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
38884 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
38886 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
38887 __bzero_ultra1 instead of __memset_ultra1.
38889 2011-02-23 Andreas Schwab <schwab@redhat.com>
38890 Ulrich Drepper <drepper@gmail.com>
38893 * include/link.h (struct link_map): Add l_orig_initfini.
38894 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
38895 returning unsuccessfully.
38896 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
38897 close of a file loaded at startup, restore the original l_initfini
38899 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
38900 list, store the pointer.
38901 * elf/Makefile ($(objpfx)noload-mem): New rule.
38902 (noload-ENV): Define.
38903 (tests): Add $(objpfx)noload-mem.
38904 * elf/noload.c: Include <memcheck.h>.
38905 (main): Call mtrace. Close all opened handles.
38907 2011-02-17 Andreas Schwab <schwab@redhat.com>
38910 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
38911 dependencies are missing.
38913 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
38915 Fix __if_freereq crash: Unlike the generic version which uses free,
38917 * sysdeps/mach/hurd/ifreq.h: New file.
38919 2011-01-27 Petr Baudis <pasky@suse.cz>
38920 Ulrich Drepper <drepper@gmail.com>
38923 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
38924 to extend_alloca().
38925 * stdio-common/bug23.c: New file.
38926 * stdio-common/Makefile (tests): Add bug23.
38928 2010-09-28 Andreas Schwab <schwab@redhat.com>
38929 Ulrich Drepper <drepper@gmail.com>
38932 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
38933 before performing relro protection. At old place add assertion
38934 to make sure nothing changed.
38936 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
38937 Glauber de Oliveira Costa <glommer@gmail.com>
38939 * elf/elf.h: Add new ARM TLS relocs.
38941 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
38943 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
38944 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
38946 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
38948 * sysdeps/wordsize-64/tst-writev.c: New file.
38950 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
38952 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
38953 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
38954 insns in _dl_start to prevent a TOC reference before relocs are
38957 2011-02-15 Ulrich Drepper <drepper@gmail.com>
38960 * Makeconfig: Remove RANLIB definition.
38961 * Makerules: Don't use RANLIB.
38962 * aclocal.m4: Remove ranlib test.
38963 * configure.in: No need to check for ranlib.
38964 * elf/rtld-Rules: Don't use RANLIB.
38966 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
38968 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
38970 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
38971 inclusion protection macro.
38973 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
38974 SIGRTMIN and SIGRTMAX and print information in that case only when
38975 SIGRTMIN is defined.
38977 2011-02-11 Jakub Jelinek <jakub@redhat.com>
38979 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
38980 arginfo fn returning -1.
38982 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
38983 and thousands string is zero terminated.
38985 2011-02-03 Andreas Schwab <schwab@redhat.com>
38987 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
38988 sysdeps/unix/sysv/linux/bits/socket.h.
38990 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
38992 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
38993 (__CPU_COUNT): Remove old macros.
38994 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
38995 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
38996 (__CPU_ALLOC, __CPU_FREE): Add macros.
38997 (__sched_cpualloc, __sched_cpufree): Add declarations.
38999 2011-02-05 Ulrich Drepper <drepper@gmail.com>
39001 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
39002 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
39003 * nscd/aicache.c (addhstaiX): Return timeout of added value.
39004 (readdhstai): Return value of addhstaiX call.
39005 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
39006 (addgrbyX): Return value returned by cache_addgr.
39007 (readdgrbyname): Return value returned by addgrbyX.
39008 (readdgrbygid): Likewise.
39009 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
39010 (addpwbyX): Return value returned by cache_addpw.
39011 (readdpwbyname): Return value returned by addhstbyX.
39012 (readdpwbyuid): Likewise.
39013 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
39014 (addservbyX): Return value returned by cache_addserv.
39015 (readdservbyname): Return value returned by addservbyX:
39016 (readdservbyport): Likewise.
39017 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
39018 (addhstbyX): Return value returned by cache_addhst.
39019 (readdhstbyname): Return value returned by addhstbyX.
39020 (readdhstbyaddr): Likewise.
39021 (readdhstbynamev6): Likewise.
39022 (readdhstbyaddrv6): Likewise.
39023 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
39024 (readdinitgroups): Return value returned by addinitgroupsX.
39025 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
39026 (prune_cache): Keep track of timeout value of re-added entries.
39027 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
39028 * nscd/nscd.h: Adjust prototypes of readd* functions.
39030 2011-02-04 Roland McGrath <roland@redhat.com>
39032 * nis/nis_server.c (nis_servstate): Use the right name for 0.
39033 (nis_stats): Likewise.
39034 * nis/nis_modify.c (nis_modify): Likewise.
39035 * nis/nis_remove.c (nis_remove): Likewise.
39036 * nis/nis_add.c (nis_add): Likewise.
39038 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
39040 * posix/fnmatch_loop.c: Add some consts.
39042 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
39044 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
39047 * config.make.in (config-cflags-novzeroupper): Define.
39048 * configure.in: Substitute libc_cv_cc_novzeroupper.
39049 * elf/Makefile (AVX-CFLAGS): Define.
39050 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
39051 (CFLAGS-tst-auditmod4a.c): Likewise.
39052 (CFLAGS-tst-auditmod4b.c): Likewise.
39053 (CFLAGS-tst-auditmod6b.c): Likewise.
39054 (CFLAGS-tst-auditmod6c.c): Likewise.
39055 (CFLAGS-tst-auditmod7b.c): Likewise.
39056 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
39058 2011-02-02 Ulrich Drepper <drepper@gmail.com>
39060 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
39061 function to the callback.
39062 Patch partly by Jiri Olsa <jolsa@redhat.com>.
39064 2011-02-02 Andreas Schwab <schwab@redhat.com>
39066 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
39069 2011-01-19 Ulrich Drepper <drepper@gmail.com>
39072 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
39074 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
39076 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
39079 * elf/Makefile: Add rules to build and run new test.
39080 * elf/tst-initorder.c: New file.
39081 * elf/tst-initorder.exp: New file.
39082 * elf/tst-initordera1.c: New file.
39083 * elf/tst-initordera2.c: New file.
39084 * elf/tst-initordera3.c: New file.
39085 * elf/tst-initordera4.c: New file.
39086 * elf/tst-initorderb1.c: New file.
39087 * elf/tst-initorderb2.c: New file.
39088 * elf/tst-order-a1.c: New file.
39089 * elf/tst-order-a2.c: New file.
39090 * elf/tst-order-a3.c: New file.
39091 * elf/tst-order-a4.c: New file.
39092 * elf/tst-order-b1.c: New file.
39093 * elf/tst-order-b2.c: New file.
39094 * elf/tst-order-main.c: New file.
39095 New test case by George Gensure <werkt0@gmail.com>.
39097 2010-10-01 Andreas Schwab <schwab@redhat.com>
39099 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
39100 decoding ACE if AI_CANONIDN.
39102 2011-01-18 Ulrich Drepper <drepper@gmail.com>
39104 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
39106 2011-01-17 Ulrich Drepper <drepper@gmail.com>
39108 * version.h (RELEASE): Bump for 2.13 release.
39109 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
39111 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
39113 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
39115 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
39116 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
39117 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
39118 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
39119 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
39120 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
39122 * posix/getconf.c: Update copyright year.
39123 * catgets/gencat.c: Likewise.
39124 * csu/version.c: Likewise.
39125 * debug/catchsegv.sh: Likewise.
39126 * debug/xtrace.sh: Likewise.
39127 * elf/ldconfig.c: Likewise.
39128 * elf/ldd.bash.in: Likewise.
39129 * elf/sprof.c (print_version): Likewise.
39130 * iconv/iconv_prog.c: Likewise.
39131 * iconv/iconvconfig.c: Likewise.
39132 * locale/programs/locale.c: Likewise.
39133 * locale/programs/localedef.c: Likewise.
39134 * malloc/memusage.sh: Likewise.
39135 * malloc/mtrace.pl: Likewise.
39136 * nscd/nscd.c (print_version): Likewise.
39137 * nss/getent.c: Likewise.
39139 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
39140 PF_CAIF, and PF_ALG.
39141 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
39143 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
39145 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
39146 (modules-names): Use them.
39147 (ifunc-test-modules, ifunc-pie-tests): Define.
39148 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
39149 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
39150 (test-extras): Likewise.
39151 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
39152 $(compile-command.c).
39153 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
39154 (all-built-dso): Define.
39155 (check-textrel.out, check-execstack.out): Depend on it.
39157 * configure.in: Don't override --enable-multi-arch.
39159 2011-01-15 Ulrich Drepper <drepper@gmail.com>
39162 * nscd/hstcache.c (tryagain): Define.
39163 (cache_addhst): Return tryagain not notfound for temporary errors.
39164 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
39167 2011-01-14 Ulrich Drepper <drepper@gmail.com>
39170 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
39171 to make the syscall.
39172 * sysdeps/unix/sysv/linux/setgroups.c: New file.
39175 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
39176 and fall back to matching as normal character if the string ends before
39177 the matching ']' is found. This is what POSIX requires.
39178 * posix/testfnm.c: Adjust test result.
39179 * posix/globtest.sh: Adjust test result. Add new test.
39180 * posix/tst-fnmatch.input: Likewise.
39181 * posix/tst-fnmatch2.c: Add new test.
39183 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
39185 * elf/Makefile (check-execstack): Revert last change. Depend on
39187 (check-execstack.h): New target.
39188 (generated): Add check-execstack.h.
39189 * elf/check-execstack.c: Include "check-execstack.h".
39190 (main): Revert last change.
39191 (handle_file): Return zero if GNU_STACK is absent and
39192 DEFAULT_STACK_PERMS doesn't include PF_X.
39194 2011-01-13 Ulrich Drepper <drepper@gmail.com>
39196 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
39197 in child fails because the descriptor is already closed.
39198 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
39199 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
39200 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
39203 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
39207 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
39208 temporary buffer used to handle multi lookups locally.
39209 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
39211 2011-01-12 Ulrich Drepper <drepper@gmail.com>
39213 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
39216 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
39218 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
39219 alignment for SSE2.
39221 2011-01-12 Ulrich Drepper <drepper@gmail.com>
39224 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
39225 characters. When rounding increased number of integer digits recompute
39227 * stdio-common/tst-grouping.c: New file.
39228 * stdio-common/Makefile: Add rules to build and run tst-grouping.
39230 2011-01-09 Ulrich Drepper <drepper@gmail.com>
39232 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
39233 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
39235 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
39237 * bits/select.h: Likewise.
39239 2011-01-08 Ulrich Drepper <drepper@gmail.com>
39241 * po/ja.po: Update from translation team.
39243 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
39246 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
39247 implementation just like for lxstat, fxstatat, et al.
39249 2010-12-27 Jim Meyering <meyering@redhat.com>
39252 * posix/regexec.c (build_trtable): Return failure indication upon
39253 calloc failure. Otherwise, re_search_internal could infloop on OOM.
39255 2010-12-25 Ulrich Drepper <drepper@gmail.com>
39258 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
39259 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
39260 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
39261 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
39264 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
39267 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
39268 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
39270 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
39272 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
39273 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
39274 script has SORT_BY_INIT_PRIORITY.
39275 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
39276 NO_CTORS_DTORS_SECTIONS is defined.
39277 * elf/soinit.c: Likewise.
39278 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
39279 NO_CTORS_DTORS_SECTIONS is defined.
39280 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
39281 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
39282 * sysdeps/sh/init-first.c: Likewise.
39283 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
39285 2010-12-24 Ulrich Drepper <drepper@gmail.com>
39287 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
39288 always use the slow path.
39290 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
39292 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
39293 similar rule which adds the sysdep directories to the header search in
39294 order to pick up the correct platform stackinfo.h.
39295 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
39296 perform test if it is, otherwise return successfully without testing.
39297 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
39298 DEFAULT_STACK_PERMS define in stackinfo.h.
39299 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
39300 defined in stackinfo.h.
39301 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
39302 DEFAULT_STACK_PERMS defined in stackinfo.h.
39303 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
39304 * sysdeps/ia64/stackinfo.h: Likewise.
39305 * sysdeps/s390/stackinfo.h: Likewise.
39306 * sysdeps/sh/stackinfo.h: Likewise.
39307 * sysdeps/sparc/stackinfo.h: Likewise.
39308 * sysdeps/x86_64/stackinfo.h: Likewise.
39309 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
39310 PF_X for powerpc64. Retain PF_X for powerpc32.
39312 2010-12-19 Ulrich Drepper <drepper@gmail.com>
39314 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
39316 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
39317 GETDENTS_64BIT_ALIGNED.
39319 2010-12-14 Ulrich Drepper <dreper@gmail.com>
39321 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
39323 2010-12-10 Andreas Schwab <schwab@redhat.com>
39325 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
39328 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
39329 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
39331 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
39332 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
39334 2010-12-09 Ulrich Drepper <drepper@gmail.com>
39337 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
39340 2010-12-09 Jakub Jelinek <jakub@redhat.com>
39342 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
39344 2010-12-03 Ulrich Drepper <drepper@gmail.com>
39346 * po/it.po: Update from translation team.
39348 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
39350 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
39353 2010-11-30 Ulrich Drepper <drepper@gmail.com>
39355 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
39357 2010-11-24 Andreas Schwab <schwab@redhat.com>
39359 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
39361 (gaih_getanswer_slice): Likewise.
39363 2010-10-20 Jakub Jelinek <jakub@redhat.com>
39365 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
39367 2010-05-31 Petr Baudis <pasky@suse.cz>
39370 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
39371 silently even in the chroot mode.
39373 2010-11-22 Ulrich Drepper <drepper@gmail.com>
39375 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
39376 last patch a bit. Pretty printing
39378 2010-05-31 Petr Baudis <pasky@suse.cz>
39381 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
39382 initialization of skip_initgroups_dyn.
39384 2010-11-19 Ulrich Drepper <drepper@gmail.com>
39386 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
39387 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
39389 2010-11-16 Ulrich Drepper <drepper@gmail.com>
39391 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
39393 2010-11-11 Andreas Schwab <schwab@redhat.com>
39395 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
39396 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
39397 (tst-fnmatch-ENV): Set MALLOC_TRACE.
39398 ($(objpfx)tst-fnmatch-mem): New rule.
39399 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
39400 * posix/tst-fnmatch.c (main): Call mtrace.
39402 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
39404 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39405 Support Intel processor model 6 and model 0x2c.
39407 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
39409 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
39412 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
39415 * string/test-strncasecmp.c (check_result): New function.
39416 (do_one_test): Use it.
39417 (check1): New function.
39418 (test_main): Use it.
39419 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
39420 Support strcasecmp and strncasecmp.
39422 2010-11-08 Ulrich Drepper <drepper@gmail.com>
39425 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
39426 * sysdeps/x86_64/bits/byteswap.h: Likewise.
39428 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
39430 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
39432 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39434 * sysdeps/x86_64/multiarch/bzero.S: New file.
39435 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
39436 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
39437 * sysdeps/x86_64/multiarch/memset.S: New file.
39438 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
39439 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39440 Set bit_Prefer_SSE_for_memop for Intel processors.
39441 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
39443 (index_Prefer_SSE_for_memop): Define.
39444 (HAS_PREFER_SSE_FOR_MEMOP): Define.
39446 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
39448 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
39449 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
39451 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
39454 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
39455 (__x86_64_raw_data_cache_size_half): Likewise.
39456 (__x86_64_raw_shared_cache_size): Likewise.
39457 (__x86_64_raw_shared_cache_size_half): Likewise.
39459 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
39460 (__x86_64_raw_data_cache_size_half): Likewise.
39461 (__x86_64_raw_shared_cache_size): Likewise.
39462 (__x86_64_raw_shared_cache_size_half): Likewise.
39463 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
39464 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
39465 and __x86_64_raw_shared_cache_size_half. Round
39466 __x86_64_data_cache_size_half, __x86_64_data_cache_size
39467 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
39468 to multiple of 256 bytes.
39470 2010-11-03 Ulrich Drepper <drepper@gmail.com>
39473 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
39474 of inacessible symlinks. Verify result of symlink before returning it.
39475 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
39476 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
39478 2010-10-28 Erich Ritz <erichritz@gmail.com>
39480 * math/math.h (isinf): Fix typo in comment.
39482 2010-11-01 Ulrich Drepper <drepper@gmail.com>
39484 * po/da.po: Update from translation team.
39486 2010-10-26 Ulrich Drepper <drepper@gmail.com>
39488 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
39489 is added to the list.
39491 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39492 Ulrich Drepper <drepper@gmail.com>
39494 * elf/dl-object.c (_dl_new_object): Don't append the new object to
39495 the global list here. Move code to...
39496 (_dl_add_to_namespace_list): ...here. New function.
39497 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
39498 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
39499 * elf/dl-load.c (lose): Don't remove the element from the list.
39500 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
39501 (_dl_map_object): Likewise.
39503 2010-10-25 Ulrich Drepper <drepper@gmail.com>
39506 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
39507 into all bytes of SSE register.
39508 Patch by Richard Li <richardpku@gmail.com>.
39510 2010-10-24 Ulrich Drepper <drepper@gmail.com>
39513 * malloc/malloc.c (_int_free): Fill correct number of bytes when
39516 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
39518 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
39519 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
39520 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
39521 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
39522 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
39524 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
39526 2010-10-22 Andreas Schwab <schwab@redhat.com>
39528 * include/dlfcn.h (__RTLD_SECURE): Define.
39529 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
39530 mode & __RTLD_SECURE instead.
39531 (open_path): Rename preloaded parameter to secure.
39532 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
39533 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
39534 * elf/dl-deps.c (openaux): Likewise.
39535 * elf/rtld.c (struct map_args): Remove is_preloaded.
39536 (map_doit): Don't use it.
39537 (dl_main): Likewise.
39538 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
39539 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
39541 2010-09-09 Andreas Schwab <schwab@redhat.com>
39543 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
39544 (sysd-rules-targets): Remove duplicates.
39545 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
39546 rtld-%.$o dependency.
39548 2010-10-18 Andreas Schwab <schwab@redhat.com>
39550 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
39551 _dl_map_object do it.
39553 2010-10-19 Ulrich Drepper <drepper@gmail.com>
39555 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
39556 fast fma builtins, define the macros in the C99 standard.
39557 (FP_FAST_FMAF): Likewise.
39558 (FP_FAST_FMAL): Likewise.
39559 * sysdeps/x86_64/bits/mathdef.h: Likewise.
39561 * bits/mathdef.h: Update copyright year.
39562 * sysdeps/powerpc/bits/mathdef.h: Likewise.
39564 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
39566 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
39567 builtins, define the macros in the C99 standard.
39568 (FP_FAST_FMAF): Likewise.
39569 (FP_FAST_FMAL): Likewise.
39570 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
39572 (FP_FAST_FMAF): Likewise.
39574 2010-10-15 Jakub Jelinek <jakub@redhat.com>
39577 * math/libm-test.inc (fma_test): Some new testcases.
39578 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
39579 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
39580 y and infinite z. Do multiplication by C already in long double.
39581 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
39582 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
39583 y and infinite z. Do bitwise or of inexact bit into u.d.
39584 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
39585 * sysdeps/i386/fpu/s_fmaf.S: Removed.
39586 * sysdeps/i386/fpu/s_fma.S: Removed.
39587 * sysdeps/i386/fpu/s_fmal.S: Removed.
39589 2010-10-16 Jakub Jelinek <jakub@redhat.com>
39592 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
39593 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
39594 computation is not scheduled after fetestexcept. Fix value
39595 of minimum denormal long double.
39597 2010-10-14 Jakub Jelinek <jakub@redhat.com>
39600 * math/libm-test.inc (fma_test): Add some more tests.
39601 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
39604 2010-10-15 Andreas Schwab <schwab@redhat.com>
39606 * scripts/data/localplt-s390-linux-gnu.data: New file.
39607 * scripts/data/localplt-s390x-linux-gnu.data: New file.
39609 2010-10-13 Jakub Jelinek <jakub@redhat.com>
39612 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
39613 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
39615 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
39617 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
39618 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
39619 if one of x and y is very large and the other is subnormal.
39620 * sysdeps/s390/fpu/s_fmaf.c: New file.
39621 * sysdeps/s390/fpu/s_fma.c: New file.
39622 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
39623 * sysdeps/powerpc/fpu/s_fma.S: New file.
39624 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
39625 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
39626 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
39628 2010-10-12 Jakub Jelinek <jakub@redhat.com>
39631 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
39633 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
39634 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
39635 * sysdeps/i386/i686/multiarch/s_fma.c: Include
39636 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
39637 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
39638 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
39639 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
39641 2010-10-12 Ulrich Drepper <drepper@redhat.com>
39644 * posix/regcomp.c (parse_branch): One more memory leak plugged.
39645 * posix/bug-regex31.input: Add test case.
39647 2010-10-11 Ulrich Drepper <drepper@gmail.com>
39649 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
39650 * posix/bug-regex31.input: New file.
39653 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
39654 (parse_sub_exp): Fix last change, use postorder.
39656 * posix/bug-regex31.c: New file.
39657 * posix/Makefile: Add rules to build and run bug-regex31.
39659 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
39662 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
39665 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
39666 to have entries in sys_siglist.
39669 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
39672 2010-10-07 Jakub Jelinek <jakub@redhat.com>
39675 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
39676 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
39677 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
39678 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
39679 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
39680 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
39681 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
39682 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
39683 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
39684 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
39685 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
39686 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
39687 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
39688 * math/ftestexcept.c (fetestexcept): Likewise.
39689 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
39690 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
39691 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
39692 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
39693 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
39694 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
39695 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
39697 2010-10-11 Ulrich Drepper <drepper@gmail.com>
39700 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
39703 2010-10-06 Ulrich Drepper <drepper@gmail.com>
39705 * string/bug-strstr1.c: New file.
39706 * string/Makefile: Add rules to build and run bug-strstr1.
39708 2010-10-05 Eric Blake <eblake@redhat.com>
39711 * string/str-two-way.h (two_way_long_needle): Always clear memory
39712 when skipping input due to the shift table.
39714 2010-10-03 Ulrich Drepper <drepper@gmail.com>
39717 * malloc/mcheck.c: Handle large requests.
39720 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
39721 for strncmp and strncasecmp.
39722 * string/stratcliff.c: Add tests for strcmp and strncmp.
39723 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
39725 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
39727 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
39730 2010-09-30 Andreas Jaeger <aj@suse.de>
39732 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
39733 (CGROUP_SUPER_MAGIC): Define.
39734 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
39735 Handle btrfs and cgroup file systems.
39736 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
39739 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
39741 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
39742 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
39744 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39747 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
39748 trying to locate the ELF header.
39750 2010-09-27 Andreas Schwab <schwab@redhat.com>
39753 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
39754 Mask out sign-bit copies when constructing f_fsid.
39756 2010-09-24 Petr Baudis <pasky@suse.cz>
39758 * debug/stack_chk_fail_local.c: Add missing licence exception.
39759 * debug/warning-nop.c: Likewise.
39761 2010-09-15 Joseph Myers <joseph@codesourcery.com>
39763 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
39764 implementing getdents64 using getdents syscall, set d_type if
39765 __ASSUME_GETDENTS32_D_TYPE.
39767 2010-09-16 Andreas Schwab <schwab@redhat.com>
39769 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
39770 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
39772 2010-09-21 Ulrich Drepper <drepper@redhat.com>
39775 * posix/unistd.h: Undo change of feature selection for ftruncate from
39778 2010-09-20 Ulrich Drepper <drepper@redhat.com>
39780 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
39783 2010-09-20 Andreas Schwab <schwab@redhat.com>
39785 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
39787 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
39789 2010-09-14 Andreas Schwab <schwab@redhat.com>
39791 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
39792 variables after CHECK_SP call.
39793 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
39795 2010-09-13 Andreas Schwab <schwab@redhat.com>
39796 Ulrich Drepper <drepper@redhat.com>
39798 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
39799 re-relocationg ld.so.
39800 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
39801 _dl_init_paths call.
39802 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
39805 2010-09-14 Ulrich Drepper <drepper@redhat.com>
39807 * resolv/res_init.c (__res_vinit): Count the default server we added.
39809 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
39810 Ulrich Drepper <drepper@redhat.com>
39813 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
39814 (____longjmp_chk): Use %ebx for saving value across system call.
39817 2010-09-06 Andreas Schwab <schwab@redhat.com>
39819 * manual/Makefile: Don't mix pattern rules with normal rules.
39821 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
39823 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
39825 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
39826 * libio/iofopncook.c (_IO_cookie_init): Likewise.
39827 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
39828 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
39829 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
39832 2010-09-04 Ulrich Drepper <drepper@redhat.com>
39835 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
39836 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
39838 2010-09-02 Ulrich Drepper <drepper@redhat.com>
39840 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
39841 * sysdeps/x86_64/addmul_1.S: Likewise.
39842 * sysdeps/x86_64/lshift.S: Likewise.
39843 * sysdeps/x86_64/mul_1.S: Likewise.
39844 * sysdeps/x86_64/rshift.S: Likewise.
39845 * sysdeps/x86_64/sub_n.S: Likewise.
39846 * sysdeps/x86_64/submul_1.S: Likewise.
39848 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
39850 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
39851 Define __sched_param instead of SCHED_* and sched_param when
39852 <bits/sched.h> is included with __need_schedparam defined.
39853 * bits/sched.h [__need_schedparam]
39854 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
39855 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
39856 (__defined_schedparam): Define to 1.
39857 (__sched_param): New structure, identical to sched_param.
39858 (__need_schedparam): Undefine.
39860 2010-08-31 Mike Frysinger <vapier@gentoo.org>
39862 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
39863 (epoll_create1): Declare.
39865 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
39867 2010-08-31 Andreas Schwab <schwab@redhat.com>
39870 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
39871 shifting retval into place.
39873 2010-09-01 Ulrich Drepper <drepper@redhat.com>
39875 * nis/rpcsvc/nis.h: Update copyright notice.
39876 * nis/rpcsvc/nis.x: Likewise.
39877 * nis/rpcsvc/nis_callback.h: Likewise.
39878 * nis/rpcsvc/nis_callback.x: Likewise.
39879 * nis/rpcsvc/nis_object.x: Likewise.
39880 * nis/rpcsvc/nis_tags.h: Likewise.
39881 * nis/rpcsvc/yp.h: Likewise.
39882 * nis/rpcsvc/yp.x: Likewise.
39883 * nis/rpcsvc/ypupd.h: Likewise.
39884 * nis/yp_xdr.c: Likewise.
39885 * nis/ypupdate_xdr.c: Likewise.
39887 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
39888 mainly the body of pmap_getport. Add parameters to specify timeouts.
39889 (pmap_getport): Use __libc_rpc_getport.
39890 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
39891 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
39892 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
39894 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
39896 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
39899 2010-08-27 Roland McGrath <roland@redhat.com>
39901 * sysdeps/i386/i686/multiarch/Makefile
39902 (CFLAGS-varshift.c): New variable.
39904 2010-08-27 Ulrich Drepper <drepper@redhat.com>
39906 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
39907 * sysdeps/i386/i686/multiarch/varshift.c: New file.
39909 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
39911 * sysdeps/x86_64/strlen.S: Minimal code improvement.
39913 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
39915 * sysdeps/x86_64/strlen.S: Unroll the loop.
39916 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39917 strlen-sse2 strlen-sse2-bsf.
39918 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
39919 __strlen_no_bsf if bit_Slow_BSF is set.
39920 (__strlen_sse42): Removed.
39921 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
39922 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
39924 2010-08-25 Roland McGrath <roland@redhat.com>
39926 * sysdeps/x86_64/multiarch/varshift.S: File removed.
39927 * sysdeps/x86_64/multiarch/varshift.c: New file.
39928 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
39929 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
39930 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
39931 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
39933 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
39935 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39936 strlen-sse2 strlen-sse2-bsf.
39937 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
39938 __strlen_sse2_bsf if bit_Slow_BSF is unset.
39939 (__strlen_sse2): Removed.
39940 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
39941 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
39942 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
39943 bit_Slow_BSF for Atom.
39944 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
39945 (index_Slow_BSF): Define.
39946 (HAS_SLOW_BSF): Define.
39948 2010-08-25 Ulrich Drepper <drepper@redhat.com>
39951 * resolv/res_init.c (__res_vinit): When no server address at all
39952 is given default to loopback.
39954 2010-08-24 Roland McGrath <roland@redhat.com>
39956 * configure.in: Remove config-name.h generation.
39957 * configure: Regenerated.
39958 * config-name.in: File removed.
39959 * scripts/config-uname.sh: New file.
39960 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
39961 ($(objdir)config-name.h): New target.
39963 * sunrpc/rpc_parse.h: Avoid nested comment.
39965 2010-08-24 Richard Henderson <rth@redhat.com>
39966 Ulrich Drepper <drepper@redhat.com>
39967 H.J. Lu <hongjiu.lu@intel.com>
39969 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
39970 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
39971 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
39972 Replace _mm_srli_si128 with __m128i_shift_right. Replace
39973 _mm_alignr_epi8 with _mm_loadu_si128.
39974 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
39975 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
39976 (__m128i_shift_right): Removed.
39977 * sysdeps/i386/i686/multiarch/varshift.h: New file.
39978 * sysdeps/i386/i686/multiarch/varshift.S: New file.
39979 * sysdeps/x86_64/multiarch/varshift.h: New file.
39980 * sysdeps/x86_64/multiarch/varshift.S: New file.
39982 2010-08-21 Mike Frysinger <vapier@gentoo.org>
39984 * configure.in: Move assembler checks to before sysdep dir checking.
39986 2010-08-20 Petr Baudis <pasky@suse.cz>
39988 * LICENSES: Sync the sunrpc license.
39990 2010-08-19 Ulrich Drepper <drepper@redhat.com>
39992 * sunrpc/auth_des.c: Update copyright notice once again.
39993 * sunrpc/auth_none.c: Likewise.
39994 * sunrpc/auth_unix.c: Likewise.
39995 * sunrpc/authdes_prot.c: Likewise.
39996 * sunrpc/authuxprot.c: Likewise.
39997 * sunrpc/bindrsvprt.c: Likewise.
39998 * sunrpc/clnt_gen.c: Likewise.
39999 * sunrpc/clnt_perr.c: Likewise.
40000 * sunrpc/clnt_raw.c: Likewise.
40001 * sunrpc/clnt_simp.c: Likewise.
40002 * sunrpc/clnt_tcp.c: Likewise.
40003 * sunrpc/clnt_udp.c: Likewise.
40004 * sunrpc/clnt_unix.c: Likewise.
40005 * sunrpc/des_crypt.c: Likewise.
40006 * sunrpc/des_soft.c: Likewise.
40007 * sunrpc/get_myaddr.c: Likewise.
40008 * sunrpc/getrpcport.c: Likewise.
40009 * sunrpc/key_call.c: Likewise.
40010 * sunrpc/key_prot.c: Likewise.
40011 * sunrpc/openchild.c: Likewise.
40012 * sunrpc/pm_getmaps.c: Likewise.
40013 * sunrpc/pm_getport.c: Likewise.
40014 * sunrpc/pmap_clnt.c: Likewise.
40015 * sunrpc/pmap_prot.c: Likewise.
40016 * sunrpc/pmap_prot2.c: Likewise.
40017 * sunrpc/pmap_rmt.c: Likewise.
40018 * sunrpc/rpc/auth.h: Likewise.
40019 * sunrpc/rpc/auth_unix.h: Likewise.
40020 * sunrpc/rpc/clnt.h: Likewise.
40021 * sunrpc/rpc/des_crypt.h: Likewise.
40022 * sunrpc/rpc/key_prot.h: Likewise.
40023 * sunrpc/rpc/netdb.h: Likewise.
40024 * sunrpc/rpc/pmap_clnt.h: Likewise.
40025 * sunrpc/rpc/pmap_prot.h: Likewise.
40026 * sunrpc/rpc/pmap_rmt.h: Likewise.
40027 * sunrpc/rpc/rpc.h: Likewise.
40028 * sunrpc/rpc/rpc_des.h: Likewise.
40029 * sunrpc/rpc/rpc_msg.h: Likewise.
40030 * sunrpc/rpc/svc.h: Likewise.
40031 * sunrpc/rpc/svc_auth.h: Likewise.
40032 * sunrpc/rpc/types.h: Likewise.
40033 * sunrpc/rpc/xdr.h: Likewise.
40034 * sunrpc/rpc_clntout.c: Likewise.
40035 * sunrpc/rpc_cmsg.c: Likewise.
40036 * sunrpc/rpc_common.c: Likewise.
40037 * sunrpc/rpc_cout.c: Likewise.
40038 * sunrpc/rpc_dtable.c: Likewise.
40039 * sunrpc/rpc_hout.c: Likewise.
40040 * sunrpc/rpc_main.c: Likewise.
40041 * sunrpc/rpc_parse.c: Likewise.
40042 * sunrpc/rpc_parse.h: Likewise.
40043 * sunrpc/rpc_prot.c: Likewise.
40044 * sunrpc/rpc_sample.c: Likewise.
40045 * sunrpc/rpc_scan.c: Likewise.
40046 * sunrpc/rpc_scan.h: Likewise.
40047 * sunrpc/rpc_svcout.c: Likewise.
40048 * sunrpc/rpc_tblout.c: Likewise.
40049 * sunrpc/rpc_util.c: Likewise.
40050 * sunrpc/rpc_util.h: Likewise.
40051 * sunrpc/rpcinfo.c: Likewise.
40052 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
40053 * sunrpc/rpcsvc/key_prot.x: Likewise.
40054 * sunrpc/rpcsvc/klm_prot.x: Likewise.
40055 * sunrpc/rpcsvc/mount.x: Likewise.
40056 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
40057 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
40058 * sunrpc/rpcsvc/rex.x: Likewise.
40059 * sunrpc/rpcsvc/rstat.x: Likewise.
40060 * sunrpc/rpcsvc/rusers.x: Likewise.
40061 * sunrpc/rpcsvc/sm_inter.x: Likewise.
40062 * sunrpc/rpcsvc/spray.x: Likewise.
40063 * sunrpc/rpcsvc/yppasswd.x: Likewise.
40064 * sunrpc/rtime.c: Likewise.
40065 * sunrpc/svc.c: Likewise.
40066 * sunrpc/svc_auth.c: Likewise.
40067 * sunrpc/svc_authux.c: Likewise.
40068 * sunrpc/svc_raw.c: Likewise.
40069 * sunrpc/svc_run.c: Likewise.
40070 * sunrpc/svc_simple.c: Likewise.
40071 * sunrpc/svc_tcp.c: Likewise.
40072 * sunrpc/svc_udp.c: Likewise.
40073 * sunrpc/svc_unix.c: Likewise.
40074 * sunrpc/svcauth_des.c: Likewise.
40075 * sunrpc/xcrypt.c: Likewise.
40076 * sunrpc/xdr.c: Likewise.
40077 * sunrpc/xdr_array.c: Likewise.
40078 * sunrpc/xdr_float.c: Likewise.
40079 * sunrpc/xdr_mem.c: Likewise.
40080 * sunrpc/xdr_rec.c: Likewise.
40081 * sunrpc/xdr_ref.c: Likewise.
40082 * sunrpc/xdr_sizeof.c: Likewise.
40083 * sunrpc/xdr_stdio.c: Likewise.
40085 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
40088 2010-08-19 Andreas Schwab <schwab@redhat.com>
40090 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
40092 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
40094 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
40095 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
40096 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
40097 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
40098 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
40099 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
40100 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
40101 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
40102 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
40103 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
40104 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
40105 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
40106 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
40107 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
40109 2010-07-26 Anton Blanchard <anton@samba.org>
40111 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
40112 * malloc/arena.c (heap_trim): Likewise.
40114 2010-08-16 Ulrich Drepper <drepper@redhat.com>
40116 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
40118 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
40119 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
40121 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
40123 * sysdeps/i386/elf/Makefile: New file.
40125 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
40127 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
40128 from fanotify_init.
40129 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
40130 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
40132 2010-08-15 Ulrich Drepper <drepper@redhat.com>
40134 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
40136 * sysdeps/multiarch/strcmp.S: Likewise.
40138 2010-08-14 Ulrich Drepper <drepper@redhat.com>
40140 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
40141 strncase_l-nonascii.
40142 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
40143 Add strncase_l-ssse3.
40144 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
40145 * sysdeps/x86_64/strcmp.S: Likewise.
40146 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
40147 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
40148 * sysdeps/x86_64/strncase.S: New file.
40149 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
40150 * sysdeps/x86_64/strncase_l.S: New file.
40151 * string/Makefile (strop-tests): Add strncasecmp.
40152 * string/test-strncasecmp.c: New file.
40154 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
40157 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
40158 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
40160 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
40162 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
40164 2010-08-12 Ulrich Drepper <drepper@redhat.com>
40166 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
40167 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
40168 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
40170 2010-05-01 Alan Modra <amodra@gmail.com>
40172 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
40173 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
40174 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
40175 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
40176 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
40177 tidying. Don't tail-call __sigjmp_save for static lib.
40178 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
40180 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
40181 (CALL_MCOUNT): Add eh info, and nop after bl.
40182 (TAIL_CALL_SYSCALL_ERROR): New macro.
40183 (PSEUDO_RET): Use it.
40184 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
40185 Correct save location of integer regs and cr.
40186 (_dl_profile_resolve): Correct cr save location. Delete nops
40187 after bl when SHARED. Reduce cfi size a little by better
40188 placement of cfi directives.
40189 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
40190 make a stack frame. Instead use parm save area as a temp.
40191 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
40192 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
40193 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
40194 Don't make a stack frame for parent, use parm save area.
40195 Increase child stack frame to 112 bytes. Don't save unused reg,
40196 and adjust reg usage. Set up cfi on error recovery and
40197 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
40198 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
40199 (__makecontext): Add dummy nop after jump to exit.
40200 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
40201 Use correct parm save area and cr save, reduce stack frame.
40202 Correct cfi for possible PSEUDO_RET frame setup.
40203 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
40204 Branch to local label emitted by PSEUDO_RET rather than
40207 2010-08-12 Andreas Schwab <schwab@redhat.com>
40210 * locale/programs/locale.c (print_assignment): New function.
40211 (show_locale_vars): Use it.
40213 2010-08-11 Ulrich Drepper <drepper@redhat.com>
40215 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
40217 (struct statfs64): Likewise.
40218 (_STATFS_F_FLAGS): Define.
40219 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
40220 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
40221 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
40222 (ST_VALID): Define locally.
40223 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
40224 __statvfs_getflags, use the provided value.
40225 * sysdeps/unix/sysv/linux/kernel-features.h: Define
40226 __ASSUME_STATFS_F_FLAGS.
40228 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
40230 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
40231 Add sys/fanotify.h.
40232 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
40233 fanotify_mask for GLIBC_2.13.
40234 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
40235 fanotify_init and fanotify_mark.
40236 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
40237 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
40239 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
40241 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
40242 prlimit64 for GLIBC_2.13.
40243 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
40245 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
40247 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
40248 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
40249 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
40250 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
40251 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
40253 * sysdeps/unix/sysv/linux/prlimit.c: New file.
40256 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
40257 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
40259 * nss/Makefile: Add rules to build and run tst-nss-test1.
40260 * shlib-versions: Add entry for libnss_test1.
40261 * nss/nss_test1.c: New file.
40262 * nss/tst-nss-test1.c: New file.
40264 * nss/nsswitch.c (__nss_database_custom): Define new variable.
40265 (__nss_configure_lookup): Set appropriate entry in
40266 __nss_configure_lookup to true.
40267 * nss/nsswitch.h: Define enum with indeces of databases in
40268 databases and __nss_database_custom arrays. Declare
40269 __nss_database_custom.
40270 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
40271 to avoid using nscd when custom rules are installed.
40272 * nss/getXXbyYY_r.c: Likewise.
40273 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
40275 * nss/nss_files/files-parse.c: Whitespace fixes.
40277 2010-08-09 Ulrich Drepper <drepper@redhat.com>
40280 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
40281 * posix/fnmatch_loop.c: Likewise.
40283 2010-07-17 Andi Kleen <ak@linux.intel.com>
40285 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
40286 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
40287 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
40288 * Versions.def [GLIBC_2.13]: Add.
40290 2010-08-06 Ulrich Drepper <drepper@redhat.com>
40292 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
40293 Also fail if tpwd after pwuid call is NULL.
40295 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
40297 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
40298 when converting to ms.
40300 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
40302 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
40303 EOPNOTSUPP errors with ENOTTY.
40304 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
40305 EOPNOTSUPP errors with ENOTTY.
40307 2010-07-31 Ulrich Drepper <drepper@redhat.com>
40309 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
40310 Add strcasecmp_l-ssse3.
40311 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
40313 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
40314 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
40315 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
40317 2010-07-30 Ulrich Drepper <drepper@redhat.com>
40319 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
40321 * string/Makefile (strop-tests): Add strcasecmp.
40322 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
40323 strcasecmp_l-nonascii.
40324 (gen-as-const-headers): Add locale-defines.sym.
40325 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
40326 * sysdeps/x86_64/strcasecmp.S: New file.
40327 * sysdeps/x86_64/strcasecmp_l.S: New file.
40328 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
40329 * sysdeps/x86_64/locale-defines.sym: New file.
40330 * string/test-strcasecmp.c: New file.
40332 * string/test-strcasestr.c: Test both ends of the range of characters.
40333 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
40335 2010-07-29 Roland McGrath <roland@redhat.com>
40338 * manual/locale.texi (Yes-or-No Questions): Fix example code.
40340 2010-07-27 Ulrich Drepper <drepper@redhat.com>
40342 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
40345 2010-07-27 Andreas Schwab <schwab@redhat.com>
40347 * manual/memory.texi (Malloc Tunable Parameters): Document
40350 2010-07-26 Roland McGrath <roland@redhat.com>
40353 * configure.in (-fgnu89-inline check): Set and substitute
40354 gnu89_inline, not libc_cv_gnu89_inline.
40355 * configure: Regenerated.
40356 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
40358 2010-07-26 Ulrich Drepper <drepper@redhat.com>
40360 * string/test-strnlen.c: New file.
40361 * string/Makefile (strop-tests): Add strnlen.
40362 * string/tester.c (test_strnlen): Add a few more test cases.
40363 * string/tst-strlen.c: Better error reporting.
40365 * sysdeps/x86_64/strnlen.S: New file.
40367 2010-07-24 Ulrich Drepper <drepper@redhat.com>
40369 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
40370 lower-latency instructions.
40372 2010-07-23 Ulrich Drepper <drepper@redhat.com>
40374 * string/test-strcasestr.c: New file.
40375 * string/test-strstr.c: New file.
40376 * string/Makefile (strop-tests): Add strstr and strcasestr.
40377 * string/str-two-way.h: Don't undefine MAX.
40378 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
40380 2010-07-21 Andreas Schwab <schwab@redhat.com>
40382 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
40383 strcasestr-nonascii.
40384 (CFLAGS-strcasestr-nonascii.c): Define.
40385 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
40386 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
40387 Remove unused attribute.
40389 2010-07-20 Roland McGrath <roland@redhat.com>
40391 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
40392 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
40393 ld.so.cache was broken. With it, there is no way to disable dsocaps
40394 like LD_HWCAP_MASK can disable hwcaps.
40396 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
40398 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
40400 2010-07-16 Ulrich Drepper <drepper@redhat.com>
40402 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
40403 call in strcasestr.
40404 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
40405 __strcasestr_sse42_nonascii.
40406 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
40407 strcasestr-nonascii.c.
40408 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
40410 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
40412 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
40413 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
40414 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
40415 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
40417 2010-07-09 Ulrich Drepper <drepper@redhat.com>
40419 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
40422 2010-07-06 Andreas Schwab <schwab@redhat.com>
40425 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
40428 2010-07-06 Ulrich Drepper <drepper@redhat.com>
40430 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
40431 _PC_PIPE_BUF using F_GETPIPE_SZ.
40433 2010-07-05 Roland McGrath <roland@redhat.com>
40435 * manual/arith.texi (Rounding Functions): Fix rint description
40436 implicit in round description.
40438 2010-07-02 Ulrich Drepper <drepper@redhat.com>
40440 * elf/Makefile: Fix linking for a few tests to make recent linker
40443 2010-06-30 Andreas Schwab <schwab@redhat.com>
40445 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
40446 $(common-objpfx)libc_nonshared.a.
40448 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
40450 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
40451 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
40452 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
40453 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
40454 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
40455 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
40456 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
40457 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
40458 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
40459 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
40460 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
40461 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
40462 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
40463 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
40464 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
40465 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
40466 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
40467 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
40468 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
40469 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
40470 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
40471 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
40472 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
40473 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
40474 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
40475 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
40476 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
40477 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
40478 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
40479 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
40480 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
40481 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
40482 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
40483 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
40484 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
40485 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
40486 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
40487 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
40488 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
40489 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
40490 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
40491 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
40492 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
40493 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
40494 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
40495 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
40496 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
40497 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
40499 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
40501 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
40502 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
40503 * string/memmove.c (memmove): Renamed to ...
40504 (MEMMOVE): ...this. Default to memmove.
40505 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
40506 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
40508 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
40509 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
40510 mempcpy-ssse3-back memmove-ssse3-back.
40511 * sysdeps/x86_64/multiarch/bcopy.S: New file .
40512 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
40513 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
40514 * sysdeps/x86_64/multiarch/memcpy.S: New file.
40515 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
40516 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
40517 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
40518 * sysdeps/x86_64/multiarch/memmove.c: New file.
40519 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
40520 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
40521 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
40522 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
40523 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
40524 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
40526 (index_Fast_Copy_Backward): Define.
40527 (HAS_ARCH_FEATURE): Define.
40528 (HAS_FAST_REP_STRING): Define.
40529 (HAS_FAST_COPY_BACKWARD): Define.
40531 2010-06-21 Andreas Schwab <schwab@redhat.com>
40533 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
40534 Restore proper fallback handling.
40536 2010-06-19 Ulrich Drepper <drepper@redhat.com>
40539 * posix/group_member.c (__group_member): Correct checking loop.
40541 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
40542 OOM in getpwuid_r correctly. Return error number when the caller
40543 should return, otherwise -1.
40544 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
40545 call returning > 0 value.
40546 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
40548 2010-06-07 Andreas Schwab <schwab@redhat.com>
40550 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
40551 libc_nonshared.a from targets in modules-names.
40553 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
40555 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
40558 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
40560 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
40561 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
40562 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
40563 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
40565 2010-06-02 Andreas Schwab <schwab@redhat.com>
40567 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
40569 2010-06-14 Ulrich Drepper <drepper@redhat.com>
40571 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
40573 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
40574 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
40575 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
40576 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
40577 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
40578 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
40580 2010-06-14 Roland McGrath <roland@redhat.com>
40582 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
40584 2010-06-07 Jakub Jelinek <jakub@redhat.com>
40586 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
40587 __REDIRECT followed by __THROW.
40588 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
40589 * posix/getopt.h (getopt): Likewise.
40591 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
40593 * hurd/lookup-at.c (__file_name_lookup_at): Accept
40594 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
40595 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
40597 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
40598 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
40600 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
40602 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
40604 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
40607 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40608 Properly check family and model.
40610 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
40612 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
40614 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
40616 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
40618 2010-05-21 Ulrich Drepper <drepper@redhat.com>
40620 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
40623 2010-05-19 Andreas Schwab <schwab@redhat.com>
40625 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
40628 2010-05-21 Andreas Schwab <schwab@redhat.com>
40630 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
40631 and internal_recvmmsg.
40632 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
40633 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
40634 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
40635 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
40637 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
40638 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
40639 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
40641 2010-05-20 Andreas Schwab <schwab@redhat.com>
40643 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
40645 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
40647 POWER7 optimizations.
40648 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
40649 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
40651 2010-05-19 Ulrich Drepper <drepper@redhat.com>
40653 * version.h: Update for 2.13 development version.
40655 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
40657 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
40658 exceptions. Return 0.
40660 2010-05-07 Roland McGrath <roland@redhat.com>
40662 * elf/ldconfig.c (main): Add a const.
40664 2010-05-06 Ulrich Drepper <drepper@redhat.com>
40666 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
40667 (args_options): Add no-idn option.
40668 (ahosts_keys_int): Add idn_flags to ai_flags.
40669 (parse_option): Handle 'i' option to clear idn_flags.
40671 * malloc/malloc.c (_int_free): Possible race in the most recently
40672 added check. Only act on the data if no current modification
40675 See ChangeLog.17 for earlier changes.