1 2014-01-01 Allan McRae <allan@archlinux.org>
3 * NEWS: Update copyright year.
4 * catgets/gencat.c: Likewise.
5 * csu/version.c: Likewise.
6 * debug/catchsegv.sh: Likewise.
7 * debug/pcprofiledump.c: Likewise.
8 * debug/xtrace.sh: Likewise.
9 * elf/ldconfig.c: Likewise.
10 * elf/ldd.bash.in: Likewise.
11 * elf/pldd.c: Likewise.
12 * elf/sotruss.ksh: Likewise.
13 * elf/sprof.c: Likewise.
14 * iconv/iconv_prog.c: Likewise.
15 * iconv/iconvconfig.c: Likewise.
16 * locale/programs/locale.c: Likewise.
17 * locale/programs/localedef.c: Likewise.
18 * login/programs/pt_chown.c: Likewise.
19 * malloc/memusage.sh: Likewise.
20 * malloc/memusagestat.c: Likewise.
21 * malloc/mtrace.pl: Likewise.
22 * manual/libc.texinfo: Likewise.
23 * nscd/nscd.c: Likewise.
24 * nss/getent.c: Likewise.
25 * nss/makedb.c: Likewise.
26 * posix/getconf.c: Likewise.
27 * scripts/test-installation.pl: Likewise.
29 * All files with FSF copyright notices: Update copyright dates
30 using scripts/update-copyrights.
31 * intl/plural.c: Regenerated.
32 * locale/programs/charmap-kw.h: Likewise.
33 * locale/programs/locfile-kw.h: Likewise.
35 2013-12-31 Mike Frysinger <vapier@gentoo.org>
37 * sysdeps/unix/sysv/linux/configure: Regenerated.
38 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
39 the linux/fanotify.h header.
40 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
41 HAVE_LINUX_FANOTIFY_H is defined.
43 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
45 * benchtests/cos-inputs: New inputs.
46 * benchtests/sin-inputs: Likewise.
48 * benchtests/atan-inputs: New inputs. Fix name of multiple
49 precision fallback inputs.
51 * benchtests/atanh-inputs: New inputs.
52 * benchtests/tanh-inputs: Likewise.
54 * benchtests/acosh-inputs: New inputs.
55 * benchtests/asinh-inputs: Likewise.
57 * benchtests/cosh-inputs: New inputs.
58 * benchtests/sinh-inputs: Likewise.
60 * benchtests/acos-inputs: Add more inputs.
61 * benchtests/asin-inputs: Likewise.
63 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
66 * manual/arith.texi: Fix spelling.
67 * manual/charset.texi: Likewise.
68 * manual/errno.texi: Likewise.
69 * manual/filesys.texi: Likewise.
70 * manual/lang.texi: Likewise.
71 * manual/llio.texi: Likewise.
72 * manual/locale.texi: Likewise.
73 * manual/message.texi: Likewise.
74 * manual/resource.texi: Likewise.
75 * manual/search.texi: Likewise.
76 * manual/setjmp.texi: Likewise.
77 * manual/stdio.texi: Likewise.
78 * manual/string.texi: Likewise.
79 * manual/sysinfo.texi: Likewise.
80 * manual/time.texi: Likewise.
82 2013-12-27 Carlos O'Donell <carlos@redhat.com>
86 2013-12-27 Mike Frysinger <vapier@gentoo.org>
88 * .gitignore: Add core/.gdbinit/.gdb_history.
90 2013-12-27 Allan McRae <allan@archlinux.org>
93 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
94 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
96 2013-12-24 Brooks Moses <bmoses@google.com>
98 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
99 all compilers that claim C++98 compliance, not just GCC.
100 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
103 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
105 * NEWS: Restore accidentally deleted bug-fix entries.
107 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
108 Ondřej Bílka <neleai@seznam.cz>
111 * malloc/malloc.c (_int_free): Perform sanity check only if we
114 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
117 * manual/stdio.texi (String Input Conversions): Clarify that character
118 classes are not supported.
120 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
122 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
124 2013-12-22 Joseph Myers <joseph@codesourcery.com>
127 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
128 Calculate results for small negative arguments directly rather
129 than using reflection formula with special underflow handling.
131 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
132 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
133 sysdeps/unix/bsd/bsd4.4/syscalls.list.
134 (fchflags): Likewise.
136 (setlogin): Likewise.
137 (sigaltstack): Likewise.
140 (sigsetmask): Likewise.
143 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
144 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
146 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
147 * sysdeps/unix/bsd/Makefile: ... here.
148 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
149 * sysdeps/unix/bsd/Versions: ... here.
150 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
151 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
152 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
153 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
154 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
155 * sysdeps/unix/bsd/sigblock.c: ... here.
156 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
157 * sysdeps/unix/bsd/sigsetmask.c: ... here.
158 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
159 * sysdeps/unix/bsd/sigvec.c: ... here.
160 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
161 * sysdeps/unix/bsd/tcdrain.c: ... here.
162 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
163 * sysdeps/unix/bsd/tcgetattr.c: ... here.
164 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
165 * sysdeps/unix/bsd/tcsetattr.c: ... here.
166 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
167 * sysdeps/unix/bsd/wait.c: ... here.
168 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
169 * sysdeps/unix/bsd/wait3.c: ... here.
170 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
171 * sysdeps/unix/bsd/waitpid.c: ... here.
173 2013-12-21 Joseph Myers <joseph@codesourcery.com>
176 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
177 round-to-nearest for [!USE_AS_EXPM1L].
178 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
179 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
180 more tests of exp and exp10. Expect some exp10 tests to miss
181 exceptions or fail in directed rounding modes.
182 * math/auto-libm-test-out: Regenerated.
183 * math/libm-test.inc (exp10_tonearest_test_data): New array.
184 (exp10_test_tonearest): New function.
185 (exp10_towardzero_test_data): New array.
186 (exp10_test_towardzero): New function.
187 (exp10_downward_test_data): New array.
188 (exp10_test_downward): New function.
189 (exp10_upward_test_data): New array.
190 (exp10_test_upward): New function.
191 (main): Call the new functions.
192 * sysdeps/i386/fpu/libm-test-ulps: Update.
193 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
195 2013-12-20 Joseph Myers <joseph@codesourcery.com>
197 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
198 asinh, atan, atan2, atanh, cbrt, cos and cosh.
199 * math/auto-libm-test-out: Regenerated.
200 * math/libm-test.inc (acosh_test_data): Add more tests.
201 (atanh_test_data): Likewise.
202 (ceil_test_data): Likewise.
203 (copysign_test_data): Likewise.
204 * sysdeps/i386/fpu/libm-test-ulps: Update.
205 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
207 * timezone/checktab.awk: Update from tzcode 2013i.
208 * timezone/private.h: Likewise.
209 * timezone/scheck.c: Likewise.
210 * timezone/tzfile.h: Likewise.
211 * timezone/tzselect.ksh: Likewise.
212 * timezone/zdump.c: Likewise.
213 * timezone/zic.c: Likewise.
215 * math/auto-libm-test-in: Add tests of cpow.
216 * math/auto-libm-test-out: Regenerated.
217 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
218 * * math/gen-auto-libm-tests.c (func_calc_method): Add value
220 (func_calc_desc): Add mpc_cc_c union field.
221 (test_functions): Add cpow.
222 (special_fill_2pi): New function.
223 (special_real_inputs): Add 2pi.
224 (calc_generic_results): Handle mpc_cc_c.
225 * sysdeps/i386/fpu/libm-test-ulps: Update.
226 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
228 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
229 csqrt, ctan and ctanh.
230 * math/auto-libm-test-out: Regenerated.
231 * math/libm-test.inc (TEST_COND_x86_64): New macro.
232 (TEST_COND_x86): Likewise.
233 (ccos_test_data): Use AUTO_TESTS_c_c.
234 (ccosh_test_data): Likewise.
235 (cexp_test_data): Likewise.
236 (clog_test_data): Likewise.
237 (csqrt_test_data): Likewise.
238 (ctan_test_data): Likewise.
239 (ctan_tonearest_test_data): Likewise.
240 (ctan_towardzero_test_data): Likewise.
241 (ctan_downward_test_data): Likewise.
242 (ctan_upward_test_data): Likewise.
243 (ctanh_test_data): Likewise.
244 (ctanh_tonearest_test_data): Likewise.
245 (ctanh_towardzero_test_data): Likewise.
246 (ctanh_downward_test_data): Likewise.
247 (ctanh_upward_test_data): Likewise.
248 * math/gen-auto-libm-tests.c (func_calc_method): Add value
250 (func_calc_desc): Add mpc_c_c union field.
251 (FUNC_mpc_c_c): New macro.
252 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
253 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
255 (special_fill_min_subnorm_p120): New function.
256 (special_real_inputs): Add min_subnorm_p120.
257 (calc_generic_results): Handle mpc_c_c.
258 * sysdeps/i386/fpu/libm-test-ulps: Update.
259 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
261 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
263 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin,
264 do_sin_slow): New functions.
265 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2,
266 cslow2, csloww1, csloww2): Use the new functions.
268 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
269 Use M to change sign of result instead of X. Assume X is
275 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
280 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
282 (sloww1): Don't adjust sign of DX.
284 (sloww2): Use X directly and don't adjust sign of DX.
287 2013-12-19 Joseph Myers <joseph@codesourcery.com>
289 * math/auto-libm-test-in: Add tests of cabs and carg.
290 * math/auto-libm-test-out: Regenerated.
291 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
292 (carg_test_data): Likewise.
293 * math/gen-auto-libm-tests.c (func_calc_method): Add value
295 (func_calc_desc): Add mpc_c_f union field.
296 (test_functions): Add cabs and carg.
297 (calc_generic_results): Handle mpc_c_f.
299 * sysdeps/powerpc/powerpc32/libgcc-compat.S
300 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
301 as a macro and a compat symbol.
302 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
303 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
304 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
305 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
306 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
307 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
309 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
311 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
313 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
315 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
317 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
319 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
320 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
323 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
325 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
327 2013-12-19 Paul Pluzhnikov <ppluzhnikov@google.com>
329 * elf/dl-misc.c (ptr_to_signal_safe_allocator_header): New function.
330 (__signal_safe_memalign, __signal_safe_free): Use it.
331 (__signal_safe_realloc): Likewise.
333 2013-12-19 Joseph Myers <joseph@codesourcery.com>
335 * manual/texinfo.tex: Update to version 2013-11-26.10 with
336 trailing whitespace removed.
337 * scripts/config.guess: Update to version 2013-11-29.
338 * scripts/config.sub: Update to version 2013-10-01.
340 * math/auto-libm-test-in: Add tests of sincos.
341 * math/auto-libm-test-out: Regenerated.
342 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
343 * math/gen-auto-libm-tests.c (func_calc_method): Add value
345 (func_calc_desc): Add mpfr_f_11 union field.
346 (test_functions): Add sincos.
347 (calc_generic_results): Handle mpfr_f_11.
348 * sysdeps/i386/fpu/libm-test-ulps: Update.
349 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
351 2013-12-19 Andreas Schwab <schwab@suse.de>
353 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
355 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
356 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
357 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
359 2013-12-19 Joseph Myers <joseph@codesourcery.com>
361 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
362 * sysdeps/i386/fpu/libm-test-ulps: Update.
363 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
366 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
367 round-to-nearest mode when using frndint.
368 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
369 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
370 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
372 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
374 * math/auto-libm-test-out: Regenerated.
375 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
376 (TEST_COND_x86): Likewise.
377 (expm1_tonearest_test_data): New array.
378 (expm1_test_tonearest): New function.
379 (expm1_towardzero_test_data): New array.
380 (expm1_test_towardzero): New function.
381 (expm1_downward_test_data): New array.
382 (expm1_test_downward): New function.
383 (expm1_upward_test_data): New array.
384 (expm1_test_upward): New function.
385 (main): Run the new test functions.
386 * sysdeps/i386/fpu/libm-test-ulps: Update.
387 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
389 * include/features.h: Update comment documenting feature test
390 macros. Mention _DEFAULT_SOURCE in comment.
391 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
392 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
393 _BSD_SOURCE and _SVID_SOURCE.
394 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
395 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
396 !_SVID_SOURCE]: Likewise.
397 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
398 (__USE_POSIX_IMPLICITLY): Define.
399 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
400 (_POSIX_SOURCE): Undefine and redefine.
401 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
402 (_POSIX_C_SOURCE): Likewise.
403 * manual/creature.texi (_DEFAULT_SOURCE): Document.
404 (Feature Test Macros): Update documentation of default features.
406 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
408 * benchtests/Makefile: Add bench-strtok.
409 * benchtests/bench-strtok.c: New file: strtok benchtest.
411 2013-12-19 Allan McRae <allan@archlinux.org>
413 * manual/install.texi: Suppress menu for plain text output.
414 * INSTALL: Regenerated.
416 2013-12-18 Andrew Hunter <ahh@google.com>
418 * sysdeps/generic/ldsodefs.h (__signal_safe_memalign): New prototype.
419 (__signal_safe_malloc, __signal_safe_free): Likewise.
420 (__signal_safe_realloc, __signal_safe_calloc): Likewise.
421 * elf/dl-misc.c (__signal_safe_allocator_header): New struct.
422 (__signal_safe_memalign, __signal_safe_malloc): New function.
423 (__signal_safe_free, __signal_safe_realloc): Likewise.
424 (__signal_safe_calloc): Likewise.
425 * elf/dl-tls.c (allocate_dtv, _dl_clear_dtv): Call signal-safe
427 (_dl_deallocate_tls, _dl_update_slotinfo): Likewise.
429 2013-12-18 Andrew Hunter <ahh@google.com>
431 * elf/Versions (ld): Add _dl_clear_dtv.
432 * sysdeps/generic/ldsodefs.h (_dl_clear_dtv): New prototype.
433 * elf/dl-tls.c (_dl_clear_dtv): New function.
434 * nptl/allocatestack.c (get_cached_stack): Call _dl_clear_dtv.
436 2013-12-18 Andrew Hunter <ahh@google.com>
438 * sysdeps/generic/ldsodefs.h (_dl_mask_all_signals): New prototype.
439 (_dl_unmask_signals): Likewise.
440 * sysdeps/mach/hurd/dl-sysdep.h (_dl_mask_all_signals): New stub.
441 (_dl_unmask_all_signals): Likewise.
442 * sysdeps/unix/sysv/linux/dl-sysdep.h (_dl_mask_all_signals): New prototype.
443 (_dl_unmask_all_signals): Likewise.
444 * sysdeps/unix/sysv/linux/dl-sysdep.c (_dl_mask_all_signals): New function.
445 (_dl_unmask_signals): Likewise.
447 2013-12-18 Brooks Moses <bmoses@google.com>
450 * misc/getauxval.c: Include errno.h.
451 (__getauxval): Set errno to ENOENT if the requested type is not
453 * misc/sys/auxv.h (getauxval): Document that it may set errno;
454 don't declare with __attribute_const__.
455 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
456 * manual/startup.texi: Document that getauxval sets errno.
458 2013-12-18 Joseph Myers <joseph@codesourcery.com>
460 * math/auto-libm-test-in: Add tests of jn and yn.
461 * math/auto-libm-test-out: Regenerated.
462 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
463 (yn_test_data): Likewise.
464 * math/gen-auto-libm-tests.c (func_calc_method): Add value
466 (func_calc_desc): Add mpfr_if_f union field.
467 (FUNC_mpfr_if_f): New macro.
468 (test_functions): Add jn and yn.
469 (calc_generic_results): Assert type of second input for
470 mpfr_ff_f. Handle mpfr_if_f.
471 (output_for_one_input_case): Disable all checking for arguments
472 fitting floating-point types in case of an integer argument.
473 * sysdeps/i386/fpu/libm-test-ulps: Update.
474 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
476 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
477 Don't expect fegetround reference in libm.so.
479 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
481 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
482 $(config-cflags-nofma).
484 2013-12-18 Joseph Myers <joseph@codesourcery.com>
486 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
487 * math/auto-libm-test-out: Regenerated.
490 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
491 to determine exponent and adjust argument to have exponent of -1.
492 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
494 * math/auto-libm-test-out: Regenerated.
495 * sysdeps/i386/fpu/libm-test-ulps: Update.
496 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
498 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
500 * manual/probes.texi: Remove cases when per-thread arenas are
503 2013-12-18 Andreas Schwab <schwab@suse.de>
505 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
506 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
507 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
508 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
509 * sysdeps/i386/i686/multiarch/Makefile: Update.
510 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
512 2013-12-17 Joseph Myers <joseph@codesourcery.com>
514 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
515 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
517 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
519 Support TZ transition times < 00:00:00.
520 This is needed for version-3 tz-format files; it supports time
521 stamps past 2037 for America/Godthab (the only entry in the tz
522 database for which this change is relevant).
523 * manual/time.texi (TZ Variable): Document transition times
524 from -167:59:59 through -00:00:01.
525 * time/tzset.c (tz_rule): Time of day is now signed.
526 (__tzset_parse_tz): Parse negative time of day.
528 Document TZ transition times >= 25:00:00.
529 * manual/time.texi (TZ Variable): Document transition times from
530 25:00:00 through 167:59:59. These are already supported, and this
531 support will help with version-3 tz-format files.
533 * manual/time.texi (TZ Variable): Modernize North America example
534 to reflect current (i.e., 2007-and-later) daylight saving rules.
536 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
538 2013-12-17 Joseph Myers <joseph@codesourcery.com>
540 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
541 * sysdeps/unix/bsd/bits/stat.h: Likewise.
542 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
543 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
544 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
545 * sysdeps/unix/bsd/bsdstat.h: Likewise.
546 * sysdeps/unix/bsd/clock.c: Likewise.
547 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
548 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
549 * sysdeps/unix/bsd/init-posix.c: Likewise.
550 * sysdeps/unix/bsd/poll.c: Likewise.
551 * sysdeps/unix/bsd/ptsname.c: Likewise.
552 * sysdeps/unix/bsd/seekdir.c: Likewise.
553 * sysdeps/unix/bsd/setegid.c: Likewise.
554 * sysdeps/unix/bsd/seteuid.c: Likewise.
555 * sysdeps/unix/bsd/setgid.c: Likewise.
556 * sysdeps/unix/bsd/setrgid.c: Likewise.
557 * sysdeps/unix/bsd/setruid.c: Likewise.
558 * sysdeps/unix/bsd/setsid.c: Likewise.
559 * sysdeps/unix/bsd/setuid.c: Likewise.
560 * sysdeps/unix/bsd/sigaction.c: Likewise.
561 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
562 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
563 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
564 * sysdeps/unix/bsd/telldir.c: Likewise.
565 * sysdeps/unix/bsd/times.c: Likewise.
566 * sysdeps/unix/bsd/usleep.c: Likewise.
568 * misc/Makefile (install-lib): Remove libbsd-compat.a.
569 ($(objpfx)libbsd-compat.a): Remove rule.
571 * include/features.h (__FAVOR_BSD): Do not define.
572 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
573 features conflicting with POSIX.
574 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
575 (_BSD_SOURCE): Remove description of not being a subset of other
577 * manual/job.texi (getpgrp): Do not document BSD version.
578 (getpgid): Do not document by reference to BSD getpgrp.
579 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
580 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
581 * signal/signal.h [__FAVOR_BSD]: Likewise.
582 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
583 instead of making contents conditional on [__FAVOR_BSD].
584 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
586 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
588 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
590 2013-12-17 Joseph Myers <joseph@codesourcery.com>
593 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
594 values below 2**-450, not 2**-500.
595 * math/auto-libm-test-in: Don't allow spurious underflow from
597 * math/auto-libm-test-out: Regenerated.
601 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
602 values of ha and hb and sort them after adjusting subnormal
604 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
606 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
607 values of ea and eb and sort them after adjusting subnormal
609 * math/auto-libm-test-in: Do not expect some hypot tests of
610 subnormals to fail. Add more hypot tests.
611 * math/auto-libm-test-out: Regenerated.
613 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
616 * sysdeps/sh/s_fma.c: New file.
617 * sysdeps/sh/s_fmaf.c: New file.
618 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
620 * sysdeps/sh/Implies: Add sh/soft-fp.
622 2013-12-16 Roland McGrath <roland@hack.frob.com>
624 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
625 level of indirection to members `objname', `errstring', `malloced'.
626 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
627 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
628 it as the __longjmp argument (just pass 1 instead).
629 (_dl_catch_error): Initialize C with argument pointers and address of
630 volatile local ERRCODE rather than copying values out of C at return.
632 2013-12-16 Joseph Myers <joseph@codesourcery.com>
634 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
635 * math/auto-libm-test-out: Regenerated.
636 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
637 (hypot_test_data): Likewise.
638 (pow_test_data): Likewise.
639 (pow_tonearest_test_data): Likewise.
640 * math/gen-auto-libm-tests.c (func_calc_method): Add value
642 (func_calc_desc): Add mpfr_ff_f union field.
643 (FUNC_mpfr_ff_f): New macro.
644 (test_functions): Add atan2, hypot and pow.
645 (special_fill_min): New function.
646 (special_fill_minus_min): Likewise.
647 (special_fill_min_subnorm): Likewise.
648 (special_fill_minus_min_subnorm): Likewise.
649 (special_real_inputs): Add min, -min, min_subnorm and
651 (calc_generic_results): Handle mpfr_ff_f.
652 * sysdeps/i386/fpu/libm-test-ulps: Update.
653 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
655 2013-12-16 Will Newton <will.newton@linaro.org>
657 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
658 (Aligned Memory Blocks): Add documentation for aligned_alloc
659 and suggest it as an alternative to posix_memalign.
660 (Hooks for Malloc): Document __memalign_hook is also called
661 for aligned_alloc. (Summary of Malloc): Add summary for
662 aligned alloc. Document __memalign_hook is also called
665 2013-12-16 Will Newton <will.newton@linaro.org>
667 * manual/memory.texi (Malloc Examples): Clarify default
668 alignment documentation. Suggest posix_memalign rather
669 than memalign or valloc.
670 (Aligned Memory Blocks): Remove suggestion to use memalign
671 or valloc. Remove obsolete comment about BSD.
672 Document memalign errno values and mark the function obsolete.
673 Document posix_memalign returned error codes. Mark valloc
674 as obsolete. (Hooks for Malloc): __memalign_hook is also
675 called for posix_memalign and valloc.
676 (Summary of Malloc): Add posix_memalign to function summary.
677 __memalign_hook is also called for posix_memalign and valloc.
679 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
681 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
685 (sloww): Use mynumber union. Expand ternary operator into
687 (cslow): use mynumber union.
689 2013-12-16 Allan McRae <allan@archlinux.org>
691 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
692 * configure: Regenerated.
694 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
697 * configure.ac: Added --enable-maintainer-mode. Check for
698 autoconf when enabled.
699 * configure: Regenerated.
701 * nscd/nscd.service: New file.
702 * nscd/nscd.tmpfiles: New file.
704 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
707 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
708 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
709 * sysdeps/x86_64/multiarch/strstr.c: ... here.
710 (strstr): Add __strstr_sse2_unaligned ifunc.
711 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
712 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
713 (strcasestr): Remove __strcasestr_sse42 ifunc.
714 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
715 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
716 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
718 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
720 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
721 * sysdeps/sh/bits/fenv.h: ... here.
722 * sysdeps/sh/sh4/fpu/bits: Remove directory.
724 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
726 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
728 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
730 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
731 hypotf multiarch implementations.
732 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
733 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
734 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
735 multiarch hypot for PPC64.
736 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
737 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
738 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
739 multiarch hypotf for PPC64.
741 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
743 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
744 modff multiarch implementations.
745 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
746 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
747 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
748 multiarch modf for PPC64.
749 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
750 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
751 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
752 multiarch modff for PPC64.
754 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
756 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
757 and logl multiarch implementations.
758 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
759 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
760 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
761 multiarch logb for PPC64.
762 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
763 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
764 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
765 multiarch logb for PPC64.
766 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
767 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
768 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
769 multiarch logb for PPC64.
771 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
773 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
774 isinff multiarch implementation.
775 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
777 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
778 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
779 multiarch isinf for PPC64.
780 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
782 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
783 multiarch isinff for PPC64.
785 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
787 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
788 finitef multiarch implementation.
789 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
791 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
792 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
793 multiarch finite for PPC64.
794 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
796 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
797 multiarch finitef for PPC64.
799 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
801 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
802 lrint multiarch implementation.
803 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
805 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
806 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
807 multiarch llrint for PPC64.
808 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
809 multiarch lrint for PPC64.
811 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
813 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
814 copysignf multiarch implementation.
815 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
817 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
819 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
820 multiarch copysign for PPC64.
821 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
822 multiarch copysignf for PPC64.
824 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
826 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
827 multiarch implementation.
828 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
830 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
832 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
834 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
836 multiarch llround for PPC64.
837 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
838 multiarch trunc for PPC64.
839 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
840 multiarch truncf for PPC64.
842 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
844 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
845 multiarch implementation.
846 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
848 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
850 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
852 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
854 multiarch llround for PPC64.
855 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
856 multiarch round for PPC64.
857 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
858 multiarch roundf for PPC64.
860 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
862 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
863 multiarch implementation.
864 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
866 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
868 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
870 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
872 multiarch llround for PPC64.
873 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
874 multiarch floor for PPC64.
875 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
876 multiarch floorf for PPC64.
878 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
880 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
881 multiarch implementation.
882 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
884 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
886 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
888 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
890 multiarch llround for PPC64.
891 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
892 multiarch ceil for PPC64.
893 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
894 multiarch ceilf for PPC64.
896 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
898 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
899 multiarch implementation.
900 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
902 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
904 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
906 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
907 multiarch llround for PPC64.
908 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
909 multiarch lround for PPC64.
911 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
913 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
914 multiarch implementation.
915 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
916 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
917 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
919 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
920 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
921 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
922 multiarch isnan for PPC64.
923 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
924 multiarch isnanf for PPC64.
926 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
928 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
929 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
930 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
931 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
932 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
933 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
935 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
937 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
938 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
939 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
940 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
942 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
944 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
945 multiarch implementations.
946 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
947 (__libc_ifunc_impl_list): Likewise.
948 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
949 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
950 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
951 multiarch stpcpy for PPC64.
953 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
955 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
956 multiarch implementations.
957 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
958 (__libc_ifunc_impl_list): Likewise.
959 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
960 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
961 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
962 multiarch strcpy for PPC64.
964 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
966 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
967 redefine function name.
968 (_wordcopy_fwd_dest_aligned): Likewise.
969 (_wordcopy_bwd_aligned): Likewise.
970 (_wordcopy_bwd_dest_aligned): Likewise.
971 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
972 multiarch implementations.
973 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
974 (__libc_ifunc_impl_list): Likewise.
975 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
976 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
977 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
978 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
979 multiarch wcscpy for PPC64.
981 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
983 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
984 multiarch implementations.
985 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
986 (__libc_ifunc_impl_list): Likewise.
987 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
988 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
989 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
990 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
991 multiarch wcscpy for PPC64.
993 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
995 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
996 multiarch implementations.
997 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
998 (__libc_ifunc_impl_list): Likewise.
999 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
1000 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
1001 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
1002 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
1003 multiarch wcsrchr for PPC64.
1005 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1007 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
1008 multiarch implementations.
1009 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1010 (__libc_ifunc_impl_list): Likewise.
1011 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
1012 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
1013 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
1014 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
1015 multiarch wcschr for PPC64.
1017 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1019 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
1020 multiarch implementations.
1021 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1022 (__libc_ifunc_impl_list): Likewise.
1023 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
1024 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
1025 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
1026 multiarch strchrnul for PPC64.
1028 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1030 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
1032 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1033 (__libc_ifunc_impl_list): Likewise.
1034 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
1035 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
1036 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
1037 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
1040 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1042 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
1044 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1045 (__libc_ifunc_impl_list): Likewise.
1046 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
1047 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
1048 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
1049 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
1052 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1054 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
1055 multiarch implementations.
1056 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1057 (__libc_ifunc_impl_list): Likewise.
1058 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
1059 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
1060 strncasecmp for PPC64.
1061 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
1062 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
1063 multiarch strncasecmp_l for PPC64.
1065 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1067 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
1068 multiarch implementations.
1069 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1070 (__libc_ifunc_impl_list): Likewise.
1071 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
1072 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
1073 multiarch strcasecmp for PPC64.
1074 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
1076 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
1077 multiarch strcasecmp_l for PPC64.
1079 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1081 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
1083 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1084 (__libc_ifunc_impl_list): Likewise.
1085 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
1086 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
1087 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
1090 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1092 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
1094 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1095 (__libc_ifunc_impl_list): Likewise.
1096 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
1097 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
1098 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
1101 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1103 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
1105 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1106 (__libc_ifunc_impl_list): Likewise.
1107 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
1108 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
1109 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
1110 rawmemrchr for PPC64.
1112 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1114 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
1116 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1117 (__libc_ifunc_impl_list): Likewise.
1118 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
1119 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
1120 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
1123 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1125 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
1127 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1128 (__libc_ifunc_impl_list): Likewise.
1129 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
1130 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
1131 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
1134 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1136 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
1138 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1139 (__libc_ifunc_impl_list): Likewise.
1140 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
1141 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
1142 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
1145 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1147 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
1148 avoid cretion of __bzero symbol.
1149 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
1151 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
1153 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
1155 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
1156 multiarch implementations.
1157 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1158 (__libc_ifunc_impl_list): Likewise.
1159 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
1160 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
1161 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
1162 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
1164 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
1165 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
1166 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
1167 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
1168 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
1170 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
1172 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1174 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
1175 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
1177 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1178 (__libc_ifunc_impl_list): Likewise.
1179 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
1180 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
1181 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
1182 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
1185 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1187 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
1188 multiarch for POWER/PPC64.
1189 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
1190 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
1191 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
1192 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
1193 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
1194 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
1195 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
1196 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
1197 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
1200 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1202 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
1203 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
1204 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
1205 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
1206 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
1207 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
1208 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
1209 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
1210 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
1211 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
1212 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
1213 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
1214 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
1215 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
1216 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
1217 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
1218 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
1219 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
1220 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
1221 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
1222 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
1223 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
1225 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1227 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
1229 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
1231 * benchtests/Makefile (bench): Add exp2 and log2.
1232 (LDLIBS-bench-exp2): Add -lm.
1233 (LDLIBS-bench-log2): Likewise.
1234 * benchtests/exp2-inputs: New inputs file.
1235 * benchtests/log2-inputs: New inputs file.
1236 * benchtests/log-inputs: Add new inputs.
1237 * benchtests/tan-inputs: Likewise.
1239 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1241 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
1243 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2,
1244 csloww1, csloww2): ... from here.
1246 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
1247 instead of structures.
1248 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
1249 (POLYNOMIAL): Likewise.
1250 (TAYLOR_SLOW): Likewise.
1258 (bsloww1): Likewise.
1259 (bsloww2): Likewise.
1262 (csloww1): Likewise.
1263 (csloww2): Likewise.
1265 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
1267 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
1268 (__malloc_assert, __libc_realloc, __libc_calloc,
1269 _int_realloc): Expand MALLOC_COPY and MALLOC_ZERO to
1271 * malloc/hooks.c (realloc_check): Likewise.
1273 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
1275 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
1276 * malloc/arena.c: Remove PER_THREAD conditional.
1277 [!PER_THREAD]: Remove code.
1278 (ptmalloc_unlock_all2): Likewise.
1279 (ptmalloc_init): Likewise.
1280 (_int_new_arena): Likewise.
1281 (arena_get2): Likewise.
1282 * malloc/hooks.c (__malloc_get_state): Likewise.
1283 (__malloc_set_state): Likewise.
1284 * malloc/malloc.c: Likewise.
1285 (struct malloc_state): Likewise.
1286 (struct malloc_par): Likewise.
1287 (__libc_realloc): Likewise.
1288 (__libc_mallopt): Likewise.
1290 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1292 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
1294 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
1296 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
1297 macro to a function. Check for zero perturb_byte.
1298 (_int_malloc, _int_free): Remove zero perturb_byte checks.
1300 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
1302 * malloc/malloc.c: (force_reg): Remove.
1303 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc,
1304 _mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
1305 force_reg by atomic_forced_read.
1306 * malloc/arena.c (ptmalloc_init): Likewise.
1307 * malloc/hooks.c (top_check): Likewise.
1309 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1311 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1313 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
1315 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1317 2013-12-08 Joseph Myers <joseph@codesourcery.com>
1319 * math/auto-libm-test-in: Add tests of lgamma.
1320 * math/auto-libm-test-out: Regenerated.
1321 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
1322 (M_LOG_2_SQRT_PIl): Likewise.
1323 (lgamma_test_data): Use AUTO_TESTS_f_f1.
1324 * math/gen-auto-libm-tests.c (func_calc_method): Add value
1326 (func_calc_desc): Add mpfr_f_f1 union field.
1335 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
1336 (test_functions): Add lgamma.
1337 (calc_generic_results): Handle mpfr_f_f1.
1338 * sysdeps/i386/fpu/libm-test-ulps: Update.
1339 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1341 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1343 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
1344 __mpn_add_n for PowerPC64/POWER7.
1345 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
1346 __mpn_sub_n for PowerPC64/POWER7.
1348 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1350 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
1351 __mpn_addmul_1 for PowerPC64.
1352 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
1353 __mpn_submul_1 for PowerPC64.
1354 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
1356 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
1359 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
1362 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
1364 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1366 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
1368 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1370 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
1371 add multiarch folders.
1372 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
1373 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
1374 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
1375 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
1376 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
1377 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
1378 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
1379 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
1380 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
1381 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
1382 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
1383 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
1384 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
1385 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
1386 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
1387 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
1388 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
1390 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1392 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
1393 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
1394 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
1396 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
1398 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
1399 multiarch __ieee754_hypot for PowerPC32.
1400 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
1402 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
1404 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
1405 multiarch __ieee754_hypotf for PowerPC32.
1407 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1409 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
1410 long_double_symbol only if __logbl is defined.
1411 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
1412 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
1413 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
1414 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
1415 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
1416 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
1417 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
1418 path for implementation.
1419 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
1420 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
1421 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
1422 logb, and logbl multiarch implementations for PowerPC32.
1423 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
1425 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
1427 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
1428 multiarch logb for PowerPC32.
1429 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
1431 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
1433 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
1434 multiarch logbf for PowerPC32.
1435 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
1436 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
1438 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
1439 multiarch logbl implementation for PowerPC32.
1441 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1443 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
1444 and modff multiarch implementations.
1445 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
1447 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
1449 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
1450 multiarch modf for PowerPC32.
1451 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
1453 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
1455 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
1456 multiarch modff for PowerPC32.
1458 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1460 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
1461 and lrintf multiarch implementations.
1462 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
1464 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
1466 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
1467 multiarch lrint for PowerPC32.
1468 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
1469 file: multiarch lrintf for PowerPC32.
1471 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1473 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
1474 and lroundf multiarch implementations.
1475 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
1477 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
1479 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
1481 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
1482 multiarch lround for PowerPC32.
1483 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
1484 file: multiarch lroundf for PowerPC32.
1486 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1488 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
1489 copysign and copysignf multiarch implementations.
1490 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
1492 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
1494 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
1495 file: multiarch copysign for PowerPC32.
1496 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
1497 file: multiarch copysignf for PowerPC32.
1499 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1501 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
1502 and truncf multiarch implementations.
1503 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
1505 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
1507 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
1508 multiarch trunc for PowerPC32.
1509 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
1511 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
1513 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
1514 multiarch truncf for PowerPC32.
1516 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1518 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
1519 and roundf multiarch implementations.
1520 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
1522 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
1524 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
1525 multiarch round for PowerPC32.
1526 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
1528 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
1530 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
1531 multiarch roundf for PowerPC32.
1533 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1535 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
1536 and floorf multiarch implementations.
1537 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
1539 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
1541 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
1542 multiarch floor for PowerPC32.
1543 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
1545 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
1547 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
1548 multiarch floorf for PowerPC32.
1550 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1552 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
1553 and ceilf multiarch implementations.
1554 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
1556 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
1558 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
1559 multiarch ceil for PowerPC32.
1560 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
1562 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
1564 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
1565 multiarch ceilf for PowerPC32.
1567 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1569 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
1571 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
1573 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
1574 and finitef multiarch implementations.
1575 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
1577 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
1579 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
1580 multiarch finite for PowerPC32.
1581 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
1583 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
1584 file: multiarch finitef for PowerPC32.
1586 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1588 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
1589 and isinff multiarch implementations.
1590 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
1592 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
1594 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
1595 multiarch isinf for PowerPC32.
1596 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
1598 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
1599 multiarch isinff for PowerPC32.
1601 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1603 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
1604 alias when __isnan is defined.
1605 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
1606 and isnanf multiarch implementations.
1607 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
1609 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
1611 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
1613 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
1615 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
1616 multiarch isnan for PowerPC32.
1617 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
1619 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
1621 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
1622 multiarch isnanf for PowerPC32.
1624 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1626 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
1627 and sqrtf multiarch implementations.
1628 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
1630 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
1632 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
1633 multiarch sqrt for PowerPC32.
1634 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
1636 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
1638 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
1639 multiarch sqrtf for PowerPC32.
1641 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1643 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
1644 and llroundf multiarch implementations.
1645 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
1647 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
1649 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
1651 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
1652 file: multiarch llround for PowerPC32.
1653 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
1654 file: multiarch llroundf for PowerPC32.
1656 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1658 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
1659 multiarch PowerPC32 fpu implementations.
1660 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
1662 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
1664 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
1665 multiarch llrint for PowerPC32.
1666 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
1668 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
1670 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
1673 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1675 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
1677 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1679 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
1681 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
1683 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
1685 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
1686 multiarch wordcopy for PPC32.
1687 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
1689 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1690 (__libc_ifunc_impl_list): Likewise.
1691 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
1692 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
1693 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
1694 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
1695 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
1696 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
1698 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1700 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
1701 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
1703 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
1705 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
1707 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
1708 multiarch wcscpy for PPC32.
1709 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
1711 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1712 (__libc_ifunc_impl_list): Likewise.
1713 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
1714 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
1715 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
1716 sysdeps/powerpc/power6/wcscpy.c.
1718 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1720 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
1721 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
1723 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
1725 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
1727 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
1728 multiarch wcsrchr for PPC32.
1729 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
1731 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1732 (__libc_ifunc_impl_list): Likewise.
1733 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
1734 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
1735 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
1736 sysdeps/powerpc/power6/wcsrchr.c.
1738 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1740 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
1742 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
1744 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
1745 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
1746 multiarch wcschr for PPc32.
1747 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
1749 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1750 (__libc_ifunc_impl_list): Likewise.
1751 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
1752 * sysdeps/powerpc/power6/wcschr.c: ... to here.
1753 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
1754 sysdeps/powerpc/power6/wcschr.c.
1756 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1758 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
1759 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
1761 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
1762 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
1763 file: multiarch strchr for PPC32.
1764 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
1766 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1767 (__libc_ifunc_impl_list): Likewise.
1769 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1771 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
1773 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
1775 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
1777 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
1778 multiarch strchrnul for PPC32.
1779 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
1781 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1782 (__libc_ifunc_impl_list): Likewise.
1784 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1786 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
1788 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
1789 multiarch strncasecmp for PPC32.
1790 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
1792 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
1793 multiarch strncasecmp_l for PPC32.
1794 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
1795 strncasecmp multiarch objects.
1796 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1797 (__libc_ifunc_impl_list): Likewise.
1799 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1801 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
1803 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
1804 multiarch strncasecmp for PPC32.
1805 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
1807 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
1808 multiarch strcasecmp_l for PPC32.
1809 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
1811 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1812 (__libc_ifunc_impl_list): Likewise.
1814 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1816 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
1818 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
1820 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
1821 multiarch strncmp for PPC32.
1822 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
1824 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1825 (__libc_ifunc_impl_list): Likewise.
1827 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1829 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
1830 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
1832 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
1833 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
1834 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
1836 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1837 (__libc_ifunc_impl_list): Likewise.
1839 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1841 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
1843 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
1845 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
1846 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
1848 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1849 (__libc_ifunc_impl_list): Likewise.
1851 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1853 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
1855 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
1857 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
1858 multiarch rawmemchr for PPC32.
1859 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
1861 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1862 (__libc_ifunc_impl_list): Likewise.
1864 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1866 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
1868 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
1870 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
1871 file: memrchr multiarch for PPC32.
1872 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
1874 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1875 (__libc_ifunc_impl_list): Likewise.
1877 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1879 * string/memchr.c (__memchr): Using macro to redefine symbol name.
1880 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
1882 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
1883 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
1884 multiarch memchr for PPC32.
1885 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
1887 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1888 (__libc_ifunc_impl_list): Likewise.
1890 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1892 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
1893 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
1895 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
1897 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
1898 file: multiarch mempcpy for PPC32.
1899 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
1901 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1902 (__libc_ifunc_impl_list): Likewise.
1904 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1906 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
1907 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
1908 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
1909 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
1910 multiarch bzero for PPC32.
1911 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
1913 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
1915 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
1916 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
1917 file: multiarch memset for PPC32.
1918 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
1919 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
1920 memset multiarch objects.
1921 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1922 (__libc_ifunc_impl_list): Likewise.
1924 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1926 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
1928 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
1929 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
1931 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
1932 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
1934 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1935 (__libc_ifunc_impl_list): Likewise.
1937 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1939 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
1940 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
1941 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
1943 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
1945 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
1947 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
1948 multiarch memcpy for PPC32.
1949 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
1951 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1952 (__libc_ifunc_impl_list): Likewise.
1954 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1956 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
1957 support multiarch for POWER/PPC32.
1958 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
1960 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
1961 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
1962 Implies file to make multiarch folder appers before the fpu and
1963 default folder for power4 configuration.
1965 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
1967 * scripts/bench.pl: Append volatile keyword to type.
1969 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1971 * sysdeps/sh/sotruss-lib.c: New file.
1972 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
1974 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1976 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1978 2013-12-05 Joseph Myers <joseph@codesourcery.com>
1981 * math/w_tgamma.c: Include <errno.h>.
1982 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
1983 * math/w_tgammaf.c: Include <errno.h>.
1984 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
1985 * math/w_tgammal.c: Include <errno.h>.
1986 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
1987 * math/auto-libm-test-in: Do not allow missing errno on tgamma
1988 underflow. Add more tgamma tests.
1989 * math/auto-libm-test-out: Regenerated.
1990 * sysdeps/i386/fpu/libm-test-ulps: Update.
1991 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1993 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
1994 sin, sinh, tan, tanh, tgamma, y0 and y1.
1995 * math/auto-libm-test-out: Regenerated.
1996 * math/libm-test.inc (TEST_COND_x86_64): New macro.
1997 (TEST_COND_x86): Likewise.
1998 (M_E2l): Remove macro.
2000 (M_2_SQRT_PIl): Likewise.
2001 (M_SQRT_PIl): Likewise.
2002 (M_1_DIV_El): Likewise.
2003 (log_test_data): Use AUTO_TESTS_f_f.
2004 (log10_test_data): Likewise.
2005 (log1p_test_data): Likewise.
2006 (log2_test_data): Likewise.
2007 (sin_test_data): Likewise.
2008 (sin_tonearest_test_data): Likewise.
2009 (sin_towardzero_test_data): Likewise.
2010 (sin_downward_test_data): Likewise.
2011 (sin_upward_test_data): Likewise.
2012 (sinh_test_data): Likewise.
2013 (sinh_tonearest_test_data): Likewise.
2014 (sinh_towardzero_test_data): Likewise.
2015 (sinh_downward_test_data): Likewise.
2016 (sinh_upward_test_data): Likewise.
2017 (tan_test_data): Likewise.
2018 (tan_tonearest_test_data): Likewise.
2019 (tan_towardzero_test_data): Likewise.
2020 (tan_downward_test_data): Likewise.
2021 (tan_upward_test_data): Likewise.
2022 (tanh_test_data): Likewise.
2023 (tgamma_test_data): Likewise.
2024 (y0_test_data): Likewise.
2025 (y1_test_data): Likewise.
2026 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
2027 (special_real_inputs): Add pi/4.
2028 * sysdeps/i386/fpu/libm-test-ulps: Update.
2029 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2031 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2033 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
2034 "longjmp_target" static probes.
2035 (__longjmp): Rename to __longjmp_symbol.
2036 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
2037 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
2038 on which longjmp to generate.
2039 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
2040 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
2042 (__sigsetjmp): Rename to __sigsetjmp_symbol.
2043 (__sigjmp_save): Rename to __sigjmp_save_symbol.
2044 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
2045 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
2046 and __sigjmp_save_symbol based on which sigsetjmp to generated.
2047 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
2048 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
2049 __longjmp_symbol based on which __longjmp to generate.
2050 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
2052 (setjmp): Rename to setjmp_symbol.
2053 (__sigsetjmp): Rename to __sigsetjmp_symbol.
2054 (_setjmp): Rename to _setjmp_symbol.
2055 (__sigsetjmp): Rename to __sigsetjmp_symbol.
2056 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
2057 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
2058 which setjmp to generate.
2059 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
2060 "longjmp_target" static probes.
2062 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
2064 * benchtests/README: Add note about output arguments.
2065 * benchtests/bench-sincos.c: Remove file.
2066 * benchtests/sincos-inputs: New file.
2067 * scripts/bench.pl: Identify output arguments and define
2068 static variables for them.
2070 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
2073 * Makefile (INSTALL): Add install-plain.texi as the primary
2075 * manual/install-plain.texi: New file.
2076 * manual/install.texi: Include node directive only for
2077 non-plaintext output.
2079 2013-12-04 Joseph Myers <joseph@codesourcery.com>
2081 * stdlib/longlong.h: Update from GCC.
2085 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
2086 * math/w_j0f.c (y0f): Likewise.
2087 * math/w_j0l.c (__y0l): Likewise.
2088 * math/w_j1.c (y1): Likewise.
2089 * math/w_j1f.c (y1f): Likewise.
2090 * math/w_j1l.c (__y1l): Likewise
2091 * math/w_jn.c (yn): Likewise.
2092 * math/w_jnf.c (ynf): Likewise.
2093 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
2094 Bessel function pole errors in _POSIX_ mode. Use NAN as return
2095 value for Bessel function domain errors outside _SVID_ mode.
2096 Adjust sign of return value for yn (negative integer, 0).
2097 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
2098 by zero in return for negative x and set sign appropriately for
2100 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
2101 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
2102 * math/libm-test.inc (y0_test_data): Add more tests and adjust
2103 expectations in error cases.
2104 (y1_test_data): Likewise.
2105 (yn_test_data): Likewise.
2106 * sysdeps/i386/fpu/libm-test-ulps: Update.
2107 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2109 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2111 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
2112 "64" to "64-v1". Add "64-v2".
2113 (abi-64-options): Rename to ...
2114 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
2115 (abi-64-condition): Rename to ...
2116 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
2117 (abi-64-ld-soname): Rename to ...
2118 (abi-64-v1-ld-soname): ... this.
2119 (abi-64-v2-options): Define.
2120 (abi-64-v2-condition): Likewise.
2121 (abi-64-v2-ld-soname): Likewise.
2122 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
2123 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
2124 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
2125 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
2126 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
2128 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2129 Alan Modra <amodra@gmail.com>
2131 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
2132 New versions for use with the ELFv2 ABI.
2133 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
2134 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
2136 (struct La_ppc64v2_retval): Likewise.
2137 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
2138 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
2139 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
2140 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
2141 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
2142 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
2143 Do not save or restore CR.
2144 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
2145 (_dl_profile_resolve): Do no save or restore CR. Support extended
2146 return values for ELFv2 ABI. Fix location of FPR return registers.
2147 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
2148 updated values for _CALL_ELF == 2.
2149 (La_regs, La_retval, int_retval): Likewise.
2151 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2153 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
2154 (FRAME_MIN_SIZE_PARM): Likewise.
2155 (FRAME_BACKCHAIN): Likewise.
2156 (FRAME_CR_SAVE): Likewise.
2157 (FRAME_LR_SAVE): Likewise.
2158 (FRAME_TOC_SAVE): Likewise.
2159 (FRAME_PARM_SAVE): Likewise.
2160 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
2161 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
2162 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
2163 (call_mcount_parm_offset): New macro.
2164 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
2165 (PROF): Use symbolic stack frame offsets.
2166 (TAIL_CALL_SYSCALL_ERROR): Likewise.
2167 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
2168 Redefine in terms of FRAME_MIN_SIZE.
2169 (_dl_runtime_resolve): Use symbolic stack frame offsets.
2170 (_dl_profile_resolve): Likewise. Update comment.
2171 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
2172 symbols stack frame offsets.
2173 (__sigsetjmp): Likewise.
2174 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
2175 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
2176 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
2177 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
2179 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
2180 (FRAME_BACKCHAIN): Remove.
2181 (FRAME_CR_SAVE): Likewise.
2182 (FRAME_LR_SAVE): Likewise.
2183 (FRAME_COMPILER_DW): Likewise.
2184 (FRAME_LINKER_DW): Likewise.
2185 (FRAME_TOC_SAVE): Likewise.
2186 (FRAME_PARM_SAVE): Likewise.
2187 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
2188 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
2189 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
2190 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
2191 (CHECK_SP): Use symbolic stack frame offsets.
2192 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
2193 zone" instead of caller's parameter save area for temp storage.
2194 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
2195 Likewise. Also, use symbolic stack frame offsets.
2196 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
2197 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
2198 our own stack frame instead of the caller's.
2199 (__socket): Use symbolic stack frame offsets.
2201 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2202 Alan Modra <amodra@gmail.com>
2204 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
2206 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK,
2207 PPC64_LOCAL_ENTRY_OFFSET): Define.
2208 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
2210 (elf_machine_fixup_plt): Call it.
2211 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
2213 (elf_machine_rela): Update call to elf_machine_plt_conflict.
2214 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
2215 _dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
2216 r2 before calling target.
2218 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2219 Alan Modra <amodra@gmail.com>
2221 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
2222 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
2223 versions of macros to support ELFv2 ABI.
2224 (LOCALENTRY): New macro.
2225 (ENTRY, EALIGN): Use it.
2226 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
2227 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
2228 fall through into ENTRY entry point.
2229 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
2230 Only define if _CALL_ELF != 2.
2232 (elf_machine_matches_host): Verify ABI version matches.
2233 (RTLD_START): Use LOCALENTRY.
2234 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
2235 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
2236 (PLT_ENTRY_WORDS): New macro.
2237 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
2238 (elf_machine_runtime_setup): Support ELFv2 ABI.
2239 (elf_machine_fixup_plt): Likewise.
2240 (elf_machine_plt_conflict): Likewise.
2241 (resolve_ifunc): Likewise.
2242 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
2243 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
2245 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
2246 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
2247 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
2248 (makecontext): Support ELFv2 ABI.
2249 * elf/elf.h (EF_PPC64_ABI): Define.
2251 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2253 * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
2254 New assembler macro.
2255 [ASSEMBLER] (ENTRY_1): Do not switch to .text section here ...
2256 [ASSEMBLER] (ENTRY): ... but instead here ...
2257 [ASSEMBLER] (EALIGN): ... and here.
2258 [!ASSEMBLER] (PPC64_LOAD_FUNCPTR): New macro.
2259 [!ASSEMBLER] (ENTRY_1): New macro; set up .opd entry.
2260 [!ASSEMBLER] (ENTRY_2): Use it.
2261 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
2262 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
2263 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
2264 _dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
2265 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
2266 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
2267 Use PPC64_LOAD_FUNCPTR.
2269 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2271 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
2273 2013-12-04 Alan Modra <amodra@gmail.com>
2275 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
2276 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
2277 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
2278 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
2280 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
2281 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
2282 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
2283 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
2284 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
2285 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
2287 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2289 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
2290 (__makecontext): Fix incorrect CFI when backtracing out of
2291 context created via makecontext.
2292 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
2293 (__setcontext): Fix incorrect CFI during switch to new context.
2294 (__novec_setcontext): Likewise.
2296 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
2299 * time/strptime_l.c (__strptime_internal): Allow modifiers
2301 * time/tst-strptime.c (day_tests): Add testcase.
2304 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2306 * scripts/bench.pl: Skip over blank lines.
2308 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
2311 * manual/time.texi (Calendar Time): Clarify what timezone functions
2314 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2316 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2318 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
2320 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
2322 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
2323 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
2324 * debug/memset_chk.c (__memset_chk): Likewise.
2325 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
2326 * debug/strncpy_chk.c: Likewise.
2328 2013-12-03 Joseph Myers <joseph@codesourcery.com>
2332 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
2333 (__ieee754_exp): For possibly underflowing results, check size of
2334 result and force underflow exception if required.
2335 * math/auto-libm-test-in: Add more tests of exp.
2336 * math/auto-libm-test-out: Regenerated.
2337 * sysdeps/i386/fpu/libm-test-ulps: Update.
2338 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2341 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
2342 * math/w_exp2f.c (__exp2f): Likewise.
2343 * math/w_exp2l.c (__exp2l): Likewise.
2344 * math/auto-libm-test-in: Do not allow missing errno on exp2
2346 * math/auto-libm-test-out: Regenerated.
2348 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
2351 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
2352 handle filename validation.
2353 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
2356 2013-12-03 Joseph Myers <joseph@codesourcery.com>
2359 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
2360 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
2361 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
2363 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
2364 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
2365 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
2366 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
2367 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
2368 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
2369 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
2370 * math/auto-libm-test-in: Don't allow missing errno from erfc.
2371 Add more erfc tests.
2372 * math/auto-libm-test-out: Regenerated.
2373 * sysdeps/i386/fpu/libm-test-ulps: Update.
2374 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2376 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
2377 exp2, expm1, j0 and j1.
2378 * math/auto-libm-test-out: Regenerated.
2379 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
2380 (erfc_test_data): Likewise.
2381 (exp_test_data): Likewise.
2382 (exp_tonearest_test_data): Likewise.
2383 (exp_towardzero_test_data): Likewise.
2384 (exp_downward_test_data): Likewise.
2385 (exp_upward_test_data): Likewise.
2386 (exp10_test_data): Likewise.
2387 (exp2_test_data): Likewise.
2388 (expm1_test_data): Likewise.
2389 (j0_test_data): Likewise.
2390 (j1_test_data): Likewise.
2391 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
2392 (input_flag_type): Add flag_xfail_rounding.
2393 (input_flags): Add xfail-rounding.
2394 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
2395 (output_for_one_input_case): Handle flag_xfail_rounding.
2396 * sysdeps/i386/fpu/libm-test-ulps: Update.
2397 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2399 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
2402 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
2405 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
2408 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
2409 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
2410 (STAP_PROBE0): New macro.
2411 (STAP_PROBE1): Likewise.
2412 (STAP_PROBE2): Likewise.
2413 (STAP_PROBE3): Likewise.
2414 (STAP_PROBE4): Likewise.
2416 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
2418 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
2420 2013-12-02 Steve Ellcey <sellcey@mips.com>
2422 * benchtests/Makefile (bench): Add sqrt.
2423 (LDLIBS-bench-sqrt): New.
2424 * benchtests/sqrt-input: New.
2426 2013-12-02 Pavel Simerda <psimerda@redhat.com>
2428 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
2429 (GAIH_EAI): Likewise.
2430 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
2431 (gaih_inet): Likewise.
2432 (getaddrinfo): Don't use GAIH_EAI.
2434 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
2435 (struct gaih): Remove definition.
2437 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
2439 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
2440 Use HERRNOP directly.
2442 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2444 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2446 2013-11-30 Joseph Myers <joseph@codesourcery.com>
2448 * math/gen-auto-libm-tests.c (test_functions): Add more
2449 single-argument functions.
2450 (special_fill_pi_2): New function.
2451 (special_fill_minus_pi_2): Likewise.
2452 (special_fill_pi_6): Likewise.
2453 (special_fill_minus_pi_6): Likewise.
2454 (special_fill_pi_3): Likewise.
2455 (special_fill_2pi_3): Likewise.
2456 (special_fill_e): Likewise.
2457 (special_fill_1_e): Likewise.
2458 (special_fill_e_minus_1): Likewise.
2459 (special_real_inputs): Add more special inputs.
2460 (output_for_one_input_case): Do not require ERANGE on underflow to
2461 zero if round-to-nearest result does not underflow to zero, unless
2462 exact results required.
2463 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
2464 atan, atanh, cbrt, cos and cosh.
2465 * math/auto-libm-test-out: Regenerated.
2466 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
2467 (acos_tonearest_test_data): Likewise.
2468 (acos_towardzero_test_data): Likewise.
2469 (acos_downward_test_data): Likewise.
2470 (acos_upward_test_data): Likewise.
2471 (acosh_test_data): Likewise.
2472 (asin_test_data): Likewise.
2473 (asin_tonearest_test_data): Likewise.
2474 (asin_towardzero_test_data): Likewise.
2475 (asin_upward_test_data): Likewise.
2476 (asinh_test_data): Likewise.
2477 (atan_test_data): Likewise.
2478 (atanh_test_data): Likewise.
2479 (cbrt_test_data): Likewise.
2480 (cos_test_data): Likewise.
2481 (cos_tonearest_test_data): Likewise.
2482 (cos_towardzero_test_data): Likewise.
2483 (cos_downward_test_data): Likewise.
2484 (cos_upward_test_data): Likewise.
2485 (cosh_test_data): Likewise.
2486 (cosh_tonearest_test_data): Likewise.
2487 (cosh_towardzero_test_data): Likewise.
2488 (cosh_downward_test_data): Likewise.
2489 (cosh_upward_test_data): Likewise.
2490 * sysdeps/i386/fpu/libm-test-ulps: Update.
2491 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2493 2013-11-29 Joseph Myers <joseph@codesourcery.com>
2496 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
2497 * math/w_exp10f.c (__exp10f): Likewise.
2498 * math/w_exp10l.c (__exp10l): Likewise.
2499 * math/libm-test.inc (exp10_test_data): Add more tests and expect
2500 errno settings in existing tests.
2503 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
2504 precision control set to double precision.
2505 * sysdeps/i386/fpu/w_sqrt.c: New file.
2506 * math/auto-libm-test-in: Add more tests.
2507 * math/auto-libm-test-out: Update.
2509 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
2510 (sqrt_test_tonearest): New function.
2511 (sqrt_towardzero_test_data): New variable.
2512 (sqrt_test_towardzero): New function.
2513 (sqrt_downward_test_data): New variable.
2514 (sqrt_test_downward): New function.
2515 (sqrt_upward_test_data): New variable.
2516 (sqrt_test_upward): New function.
2517 (main): Call the new functions.
2519 * math/gen-auto-libm-tests.c: New file.
2520 * math/auto-libm-test-in: Likewise.
2521 * math/auto-libm-test-out: New generated file.
2522 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
2524 (%beautify): Add generated representations of zero.
2525 (top level): Set $auto_input and call parse_auto_input.
2526 (beautify): Remove trailing "f" from hex float constants.
2527 (parse_args): Handle XFAIL_TEST.
2528 (convert_condition): New function.
2529 (or_value): Likewise.
2530 (or_cond_value): Likewise.
2531 (generate_testfile): Handle AUTO_TESTS_* lines.
2532 (parse_auto_input): New function.
2533 * math/libm-test.inc (XFAIL_TEST): New macro.
2534 (ERRNO_UNCHANGED): Update value.
2535 (ERRNO_EDOM): Likewise.
2536 (ERRNO_ERANGE): Likewise.
2537 (IGNORE_RESULT): Likewise.
2538 (TEST_COND_flt_32): New macro.
2539 (TEST_COND_dbl_64): Likewise.
2540 (TEST_COND_ldbl_96_intel): Likewise.
2541 (TEST_COND_ldbl_96_m68k): Likewise.
2542 (TEST_COND_ldbl_128): Likewise.
2543 (TEST_COND_ldbl_128ibm): Likewise.
2544 (TEST_COND_long32): Likewise.
2545 (TEST_COND_long64): Likewise.
2546 (TEST_COND_before_rounding): Likewise.
2547 (TEST_COND_after_rounding): Likewise.
2548 (enable_test): Handle XFAIL_TEST flag.
2549 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
2550 with finite results.
2551 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
2554 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
2555 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2558 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
2559 __tls_get_addr_internal instead of __tls_get_offset in order to
2560 avoid GOT pointer dependency. Make rtld export
2561 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
2562 __tls_get_addr since we are a __tls_get_offset platform.
2563 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
2564 GOT pointer being set up before.
2565 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
2567 2013-11-28 Joseph Myers <joseph@codesourcery.com>
2569 * manual/math.texi (Errors in Math Functions): Document accuracy
2573 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
2574 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
2575 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
2576 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
2577 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
2578 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
2579 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
2580 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
2581 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
2582 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
2583 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
2584 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
2585 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
2586 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
2587 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
2588 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
2590 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
2591 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
2592 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
2593 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
2594 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
2596 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
2598 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
2600 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
2601 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
2602 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
2603 atomic-feupdateenv and flt-rounds.
2604 * sysdeps/powerpc/nofpu/Versions (libc): Add
2605 __atomic_feholdexcept, __atomic_feclearexcept,
2606 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
2607 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
2608 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
2609 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
2610 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
2612 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
2615 * manual/arith.texi (FP Exceptions): Document that exceptions may
2616 not be raised when matherr is used.
2617 (Math Error Reporting): Document overflow in directed rounding
2618 modes. Document that errno may not be set when finite values are
2619 returned on overflow. Document intent to set errno on underflow
2620 only for underflow to zero.
2623 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
2624 round-to-nearest then adjust result for other rounding modes.
2625 * include/fenv.h (fegetround): Use libm_hidden_proto.
2626 * math/fegetround.c (fegetround): Use libm_hidden_def.
2627 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
2628 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
2629 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
2630 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
2632 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
2633 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
2634 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
2635 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
2637 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2640 * nss/Versions (libnss_files): Add
2641 _nss_files_gethostbyname3_r.
2642 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
2644 (HOST_DB_LOOKUP): Remove macro.
2645 (_nss_files_gethostbyname_r): Implement function without the
2646 HOST_DB_LOOKUP macro.
2647 (_nss_files_gethostbyname2_r): Likewise.
2649 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
2651 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
2653 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
2655 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
2656 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
2659 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2661 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
2662 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
2663 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
2664 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
2665 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
2666 __fe_nomask_env_priv and attribute_hidden.
2667 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
2668 (libc_feupdateenv_test_ppc): Likewise.
2669 (libc_feresetround_ppc): Likewise.
2670 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
2671 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
2672 compat_symbol macro.
2673 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
2674 (__fe_nomask_env): Likewise.
2675 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
2677 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
2679 * string/Makefile: Remove ifunc tests.
2680 * string/test-string.h: Define TEST_IFUNC.
2681 * string/test-bcopy-ifunc.c: Remove.
2682 * string/test-bzero-ifunc.c: Likewise.
2683 * string/test-memccpy-ifunc.c: Likewise.
2684 * string/test-memchr-ifunc.c: Likewise.
2685 * string/test-memcmp-ifunc.c: Likewise.
2686 * string/test-memcpy-ifunc.c: Likewise.
2687 * string/test-memmem-ifunc.c: Likewise.
2688 * string/test-memmove-ifunc.c: Likewise.
2689 * string/test-mempcpy-ifunc.c: Likewise.
2690 * string/test-memrchr-ifunc.c: Likewise.
2691 * string/test-memset-ifunc.c: Likewise.
2692 * string/test-rawmemchr-ifunc.c: Likewise.
2693 * string/test-stpcpy-ifunc.c: Likewise.
2694 * string/test-stpncpy-ifunc.c: Likewise.
2695 * string/test-strcasecmp-ifunc.c: Likewise.
2696 * string/test-strcasestr-ifunc.c: Likewise.
2697 * string/test-strcat-ifunc.c: Likewise.
2698 * string/test-strchr-ifunc.c: Likewise.
2699 * string/test-strchrnul-ifunc.c: Likewise.
2700 * string/test-strcmp-ifunc.c: Likewise.
2701 * string/test-strcpy-ifunc.c: Likewise.
2702 * string/test-strcspn-ifunc.c: Likewise.
2703 * string/test-strlen-ifunc.c: Likewise.
2704 * string/test-strncasecmp-ifunc.c: Likewise.
2705 * string/test-strncat-ifunc.c: Likewise.
2706 * string/test-strncmp-ifunc.c: Likewise.
2707 * string/test-strncpy-ifunc.c: Likewise.
2708 * string/test-strnlen-ifunc.c: Likewise.
2709 * string/test-strpbrk-ifunc.c: Likewise.
2710 * string/test-strrchr-ifunc.c: Likewise.
2711 * string/test-strspn-ifunc.c: Likewise.
2712 * string/test-strstr-ifunc.c: Likewise.
2714 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
2716 * benchtests/Makefile: Remove ifunc tests.
2717 * benchtests/bench-string.h: Define TEST_IFUNC.
2718 * benchtests/bench-bcopy-ifunc.c: Remove.
2719 * benchtests/bench-bzero-ifunc.c: Likewise.
2720 * benchtests/bench-memccpy-ifunc.c: Likewise.
2721 * benchtests/bench-memchr-ifunc.c: Likewise.
2722 * benchtests/bench-memcmp-ifunc.c: Likewise.
2723 * benchtests/bench-memcpy-ifunc.c: Likewise.
2724 * benchtests/bench-memmem-ifunc.c: Likewise.
2725 * benchtests/bench-memmove-ifunc.c: Likewise.
2726 * benchtests/bench-mempcpy-ifunc.c: Likewise.
2727 * benchtests/bench-memrchr-ifunc.c: Likewise.
2728 * benchtests/bench-memset-ifunc.c: Likewise.
2729 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
2730 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
2731 * benchtests/bench-stpcpy-ifunc.c: Likewise.
2732 * benchtests/bench-stpncpy-ifunc.c: Likewise.
2733 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
2734 * benchtests/bench-strcasestr-ifunc.c: Likewise.
2735 * benchtests/bench-strcat-ifunc.c: Likewise.
2736 * benchtests/bench-strchr-ifunc.c: Likewise.
2737 * benchtests/bench-strchrnul-ifunc.c: Likewise.
2738 * benchtests/bench-strcmp-ifunc.c: Likewise.
2739 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
2740 * benchtests/bench-strcpy-ifunc.c: Likewise.
2741 * benchtests/bench-strcspn-ifunc.c: Likewise.
2742 * benchtests/bench-strlen-ifunc.c: Likewise.
2743 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
2744 * benchtests/bench-strncat-ifunc.c: Likewise.
2745 * benchtests/bench-strncmp-ifunc.c: Likewise.
2746 * benchtests/bench-strncpy-ifunc.c: Likewise.
2747 * benchtests/bench-strnlen-ifunc.c: Likewise.
2748 * benchtests/bench-strpbrk-ifunc.c: Likewise.
2749 * benchtests/bench-strrchr-ifunc.c: Likewise.
2750 * benchtests/bench-strsep-ifunc.c: Likewise.
2751 * benchtests/bench-strspn-ifunc.c: Likewise.
2752 * benchtests/bench-strstr-ifunc.c: Likewise.
2754 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
2756 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
2758 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
2760 * resolv/netdb.h: Use __glibc_reserved instead __unused.
2761 * rt/aio.h: Likewise.
2762 * sysdeps/gnu/bits/utmp.h: Likewise.
2763 * sysdeps/gnu/bits/utmpx.h: Likewise.
2764 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
2765 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
2766 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
2767 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
2768 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
2769 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
2770 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
2771 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
2772 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
2773 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
2774 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
2775 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
2776 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
2777 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
2778 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
2779 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
2780 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
2781 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
2782 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
2783 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
2784 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
2785 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
2786 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
2787 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
2788 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
2789 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
2790 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
2791 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
2792 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
2793 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
2794 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
2795 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
2796 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
2797 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
2798 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
2799 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
2800 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
2801 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
2802 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
2803 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
2804 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
2805 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
2807 2013-11-25 Carlos O'Donell <carlos@redhat.com>
2810 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
2811 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
2813 2013-11-25 Joseph Myers <joseph@codesourcery.com>
2815 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
2816 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
2819 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2821 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
2822 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
2823 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
2824 (__fesetround): Remove define.
2825 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
2826 rounding and exceptions handling.
2827 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
2828 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
2829 (__fe_nomask_env): Likewise.
2830 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
2831 __fegetround instead of fegetround.
2832 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
2833 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
2835 2013-11-21 Roland McGrath <roland@hack.frob.com>
2837 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
2840 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
2842 2013-11-21 Meador Inge <meadori@codesourcery.com>
2845 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
2846 (encrypt_r): Likewise.
2847 * malloc/obstack.h (obstack_free): Likewise.
2848 * posix/unistd.h (encrypt): Likewise.
2850 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
2852 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
2853 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
2854 DL_CALL_DT_FINI() that call the functions directly.
2855 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
2856 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
2857 * elf/dl-fini.c: Likewise.
2859 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
2861 * malloc/hooks.c (memalign_check): Add alignment rounding.
2862 * malloc/malloc.c (_mid_memalign): New function.
2863 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
2864 Implement by calling _mid_memalign.
2865 * manual/probes.texi (Memory Allocation Probes): Remove
2866 memory_valloc_retry and memory_pvalloc_retry.
2868 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
2870 * locale/programs/locarchive.c (open_archive): Add const
2871 qualifier to ARCHIVEFNAME and copy default fname to
2875 * libio/tst-widetext.input: Rename Oriya to Odia.
2876 * locale/iso-639.def: Likewise.
2878 * manual/probes.texi (Mathematical Function Probes): Add
2879 documentation for sin, cos, asin and acos probes.
2880 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
2881 (__sin32): Add slowasin probe.
2882 (__cos32): Add slowacos probe.
2883 (__mpsin): Add slowsin probe.
2884 (__mpcos): Add slowcos probe.
2886 2013-11-19 Joseph Myers <joseph@codesourcery.com>
2889 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
2890 thread-local __sim_exceptions_thread and global
2891 __sim_exceptions_global.
2892 (__sim_disabled_exceptions): Change to thread-local
2893 __sim_disabled_exceptions_thread and global
2894 __sim_disabled_exceptions_global.
2895 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
2896 and global __sim_round_mode_global.
2897 (__simulate_exceptions): Use thread-local floating-point state and
2898 set global state from it as needed.
2899 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
2900 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
2901 __sim_round_mode_thread.
2902 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
2903 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
2904 and global __sim_exceptions_global.
2905 (__sim_disabled_exceptions): Change to thread-local
2906 __sim_disabled_exceptions_thread and global
2907 __sim_disabled_exceptions_global.
2908 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
2909 and global __sim_round_mode_global.
2910 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
2911 (SIM_SET_GLOBAL): Likewise.
2912 * sysdeps/powerpc/soft-fp/sfp-machine.h
2913 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
2914 __sim_round_mode_thread.
2915 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
2916 __sim_disabled_exceptions_thread.
2917 (__sim_exceptions): Change to __sim_exceptions_thread.
2918 (__sim_disabled_exceptions): Change to
2919 __sim_disabled_exceptions_thread.
2920 (__sim_round_mode): Change to __sim_round_mode_thread.
2921 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
2922 thread-local floating-point state and set global state from it as
2924 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
2925 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
2926 (__sim_disabled_exceptions): Remove extern declaration.
2927 (feenableexcept): Use thread-local floating-point state and set
2928 global state from it as needed.
2929 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
2931 (__sim_disabled_exceptions): Likewise.
2932 (__sim_round_mode): Likewise.
2933 (__fegetenv): Use thread-local floating-point state.
2934 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
2935 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
2936 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
2937 floating-point state and set global state from it as needed.
2938 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
2939 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
2940 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
2942 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
2943 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
2945 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
2946 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
2947 Use __sim_round_mode_thread.
2948 * math/test-fenv-tls.c: New file.
2949 * math/Makefile (tests): Add test-fenv-tls.
2950 ($(objpfx)test-fenv-tls): Depend on
2951 $(common-objpfx)nptl/libpthread.so.
2953 2013-11-19 Andreas Schwab <schwab@suse.de>
2955 * locale/programs/locale.c (show_info): Decode wordarray elements.
2956 * locale/categories.def (LC_MONETARY): Add element for
2957 _NL_MONETARY_CRNCYSTR.
2958 * locale/C-monetary.c (conversion_rate): New variable.
2959 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
2962 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
2964 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
2965 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
2967 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
2969 * elf/Makefile (tst-auxv): New test.
2970 * elf/tst-auxv.c: New
2971 * elf/rtld.c (dl_main): Adjust AT_EXECFN
2973 2013-11-18 Joseph Myers <joseph@codesourcery.com>
2975 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
2976 (hidden_proto): Caller changed.
2977 (hidden_tls_proto): New macro.
2978 (libc_hidden_tls_proto): Likewise.
2979 (rtld_hidden_tls_proto): Likewise.
2980 (libm_hidden_tls_proto): Likewise.
2981 (libresolv_hidden_tls_proto): Likewise.
2982 (librt_hidden_tls_proto): Likewise.
2983 (libdl_hidden_tls_proto): Likewise.
2984 (libnss_files_hidden_tls_proto): Likewise.
2985 (libnsl_hidden_tls_proto): Likewise.
2986 (libnss_nisplus_hidden_tls_proto): Likewise.
2987 (libutil_hidden_tls_proto): Likewise.
2989 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
2992 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
2993 (decompose_rpath): Defer expansion to fillin_rpath.
2994 (_dl_init_paths): Pass linkmap to fillin_rpath.
2996 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2998 * benchtests/Makefile: Add strsep.
2999 * benchtests/bench-strsep.c: New file: strsep benchtest.
3000 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
3002 2013-11-18 Andreas Schwab <schwab@suse.de>
3004 * locale/programs/locale.c (show_info) [case byte]: Check for
3005 '\377' instead of '\177'.
3006 * locale/C-monetary.c (not_available): Always use "\377".
3007 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
3008 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
3009 detect unavailable sign_posn locale elements.
3010 * locale/localeconv.c (__localeconv): For grouping and
3011 mon_grouping handle "\177" and "\377" like no grouping.
3012 (INT_ELEM): New macro. Use it to set all numeric members.
3013 * locale/programs/ld-monetary.c (monetary_read)
3014 <tok_mon_grouping>: Normalize single -1 to the empty string.
3015 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
3018 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
3021 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
3022 when we match (nil).
3023 * stdio-common/tst-sscanf.c (struct test): Add testcase.
3025 2013-11-16 Joseph Myers <joseph@codesourcery.com>
3027 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
3028 (NO_TEST_INLINE): Update value.
3029 (ERRNO_UNCHANGED): Likewise.
3030 (ERRNO_EDOM): Likewise.
3031 (ERRNO_ERANGE): Likewise.
3032 (IGNORE_RESULT): Likewise.
3033 (check_float_internal): Check signs of NaN results if
3035 (check_complex): Pass TEST_NAN_SIGN flag through to second
3036 check_float_internal call.
3037 (copysign_test_data): Add tests with quiet NaNs as second
3038 argument. Use TEST_NAN_SIGN.
3039 (fabs_test_data): Add test of negative quiet NaN argument. Use
3041 (signbit_test_data): Add tests of quiet NaN argument.
3042 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
3044 * math/gen-libm-test.pl (show_exceptions): Take extra argument
3046 (parse_args): Handle function results specified as IGNORE.
3047 * math/libm-test.inc (IGNORE_RESULT): New macro.
3048 (check_float_internal): Do not check numerical result if flag
3050 (check_complex): Pass through IGNORE_RESULT to second
3051 check_float_internal call.
3052 (check_int): Do not check numerical result if flag IGNORE_RESULT
3054 (check_long): Likewise.
3055 (check_bool): Likewise.
3056 (check_longlong): Likewise.
3057 (lrint_test_data): Add tests of infinite and NaN arguments.
3058 (lrint_tonearest_test_data): Likewise.
3059 (lrint_towardzero_test_data): Likewise.
3060 (lrint_downward_test_data): Likewise.
3061 (lrint_upward_test_data): Likewise.
3062 (llrint_test_data): Likewise.
3063 (llrint_tonearest_test_data): Likewise.
3064 (llrint_towardzero_test_data): Likewise.
3065 (llrint_downward_test_data): Likewise.
3066 (llrint_upward_test_data): Likewise.
3067 (lround_test_data): Likewise.
3068 (llround_test_data): Likewise.
3070 * math/libm-test.inc (NO_TEST_INLINE): New macro.
3071 (ERRNO_UNCHANGED): Update value.
3072 (ERRNO_EDOM): Likewise.
3073 (ERRNO_ERANGE): Likewise.
3074 (NO_TEST_INLINE_FLOAT): New macro.
3075 (NO_TEST_INLINE_DOUBLE): Likewise.
3076 (enable_test): New function.
3077 (RUN_TEST_f_f): Check enable_test before running test.
3078 (RUN_TEST_2_f): Likewise.
3079 (RUN_TEST_fff_f): Likewise.
3080 (RUN_TEST_c_f): Likewise.
3081 (RUN_TEST_f_f1): Likewise.
3082 (RUN_TEST_fF_f1): Likewise.
3083 (RUN_TEST_fI_f1): Likewise.
3084 (RUN_TEST_ffI_f1): Likewise.
3085 (RUN_TEST_c_c): Likewise.
3086 (RUN_TEST_cc_c): Likewise.
3087 (RUN_TEST_f_i): Likewise.
3088 (RUN_TEST_f_i_tg): Likewise.
3089 (RUN_TEST_ff_i_tg): Likewise.
3090 (RUN_TEST_f_b): Likewise.
3091 (RUN_TEST_f_b_tg): Likewise.
3092 (RUN_TEST_f_l): Likewise.
3093 (RUN_TEST_f_L): Likewise.
3094 (RUN_TEST_fFF_11): Likewise.
3095 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
3097 (cosh_test_data): Likewise.
3098 (exp_test_data): Likewise.
3099 (expm1_test_data): Likewise.
3100 (hypot_test_data): Likewise.
3101 (pow_test_data): Likewise.
3102 (sinh_test_data): Likewise.
3103 (tanh_test_data): Likewise.
3104 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
3107 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
3108 tests with quiet NaN input and output.
3109 (acosh_test_data): Likewise.
3110 (asin_test_data): Likewise.
3111 (asinh_test_data): Likewise.
3112 (atan_test_data): Likewise.
3113 (atanh_test_data): Likewise.
3114 (atan2_test_data): Likewise.
3115 (cbrt_test_data): Likewise.
3116 (cos_test_data): Likewise.
3117 (cosh_test_data): Likewise.
3118 (erf_test_data): Likewise.
3119 (erfc_test_data): Likewise.
3120 (exp_test_data): Likewise.
3121 (exp10_test_data): Likewise.
3122 (exp2_test_data): Likewise.
3123 (expm1_test_data): Likewise.
3124 (hypot_test_data): Likewise.
3125 (j0_test_data): Likewise.
3126 (j1_test_data): Likewise.
3127 (jn_test_data): Likewise.
3128 (lgamma_test_data): Likewise.
3129 (log_test_data): Likewise.
3130 (log10_test_data): Likewise.
3131 (log1p_test_data): Likewise.
3132 (log2_test_data): Likewise.
3133 (pow_test_data): Likewise.
3134 (scalb_test_data): Likewise.
3135 (sin_test_data): Likewise.
3136 (sincos_test_data): Likewise.
3137 (sinh_test_data): Likewise.
3138 (tan_test_data): Likewise.
3139 (tanh_test_data): Likewise.
3140 (tgamma_test_data): Likewise.
3141 (y0_test_data): Likewise.
3142 (y1_test_data): Likewise.
3143 (yn_test_data): Likewise.
3146 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
3147 argument being NaN and avoid computations with second argument in
3149 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
3150 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
3151 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
3153 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
3155 * locale/iso-639.def: Add Chitwani Tharu (the).
3157 2013-11-14 Andreas Schwab <schwab@suse.de>
3159 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
3160 word instead of empty string.
3162 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3164 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
3165 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
3166 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
3167 (__fe_nomask_env): Likewise.
3169 2013-11-13 Steve Ellcey <sellcey@mips.com>
3171 * benchtests/bench-timing.h: Include time.h.
3173 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
3176 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
3178 * sysdeps/unix/sysv/linux/configure: Regenerated.
3180 2013-11-13 Joseph Myers <joseph@codesourcery.com>
3183 * stdlib/strtod_l.c (round_and_return): Do not consider
3184 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
3185 exponent one less than half the least subnormal exponent.
3186 * stdlib/test-strtod-round-data: Add more tests.
3187 * stdlib/tst-strtod-round.c (tests): Regenerated.
3189 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3192 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
3193 (__fe_mask_env): Likewise.
3194 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
3195 libm_hidden_proto and add function prototype.
3196 (__fe_mask_env): Add function prototype.
3197 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
3198 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
3199 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
3200 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
3201 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
3202 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
3204 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3206 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
3207 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
3209 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3211 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
3212 of htab_find_slot().
3214 2013-11-11 David S. Miller <davem@davemloft.net>
3217 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
3218 symbol in the non-vis3 case in static builds.
3219 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
3220 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
3221 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
3222 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
3224 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3227 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
3230 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3232 * benchtests/Makefile: Add bench-strtod.
3233 * benchtests/bench-strtod.c: New file: strtod benchtest
3235 2013-11-11 Andreas Schwab <schwab@suse.de>
3238 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
3239 terminating NUL in key length.
3241 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3243 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
3244 Add artificial ODP entry for vDSO symbol for PPC64.
3245 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
3246 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
3248 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
3251 * nss/getent.c (services_keys): Recognize services starting with digit.
3253 2013-11-06 David S. Miller <davem@davemloft.net>
3256 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
3257 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
3259 2013-11-06 Will Newton <will.newton@linaro.org>
3261 * manual/memory.texi (Malloc Examples): Remove register
3262 keyword from examples.
3264 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
3266 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
3268 2013-11-04 Joseph Myers <joseph@codesourcery.com>
3270 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
3271 depending on [__GCC_IEC_559 > 0].
3272 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
3273 depending on [__GCC_IEC_559_COMPLEX > 0].
3275 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
3277 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
3280 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
3282 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
3284 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
3287 * malloc/malloc (malloc_info): Do not handle first bin as
3290 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
3292 * locale/iso-639.def: Add Central Nahuatl (nhn).
3294 2013-11-01 Bruno Haible <bruno@clisp.org>
3297 * manual/math.texi (BSD Random): Specify range upper bound as
3300 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
3302 * locale/iso-639.def: Add Meadow Mari (mhr).
3304 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
3306 [BZ #14752], [BZ #15763]
3307 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
3309 * rt/tst_shm.c: Add test for escaping directory.
3311 2013-10-31 Andreas Schwab <schwab@suse.de>
3314 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
3315 followed by 'x' as part of digit sequence.
3316 * stdio-common/tst-sscanf.c (double_tests2): New tests.
3318 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
3321 * configure.ac: allow GNU Make 4.0 and greater.
3322 * configure: Regenerated.
3324 2013-10-30 Will Newton <will.newton@linaro.org>
3327 * malloc/hooks.c (memalign_check): Limit alignment to the
3328 maximum representable power of two.
3329 * malloc/malloc.c (__libc_memalign): Likewise.
3330 * malloc/tst-memalign.c (do_test): Add test for very
3331 large alignment values.
3332 * malloc/tst-posix_memalign.c (do_test): Likewise.
3334 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
3337 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
3338 (munmap_chunk): Likewise.
3339 (mremap_chunk): Likewise.
3341 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
3344 * stdlib/div.c (div): Remove obsolete code.
3345 * stdlib/ldiv.c (ldiv): Likewise.
3346 * stdlib/lldiv.c (lldiv): Likewise.
3348 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3351 * nss/nss_files/files-XXX.c (get_contents_ret): New
3353 (get_contents): New function.
3354 (internal_getent): Use it. Expand size of LINEBUFLEN.
3356 2013-10-30 Mike Frysinger <vapier@gentoo.org>
3358 * configure.in: Moved to ...
3359 * configure.ac: ... here. Change reference to configure.in
3361 * sysdeps/arm/preconfigure.ac: ... here.
3362 configure.in to configure.ac.
3363 * sysdeps/gnu/configure.in: Moved to ...
3364 * sysdeps/gnu/configure.ac: ... here.
3365 * sysdeps/i386/configure.in: Moved to ...
3366 * sysdeps/i386/configure.ac: ... here.
3367 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
3368 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
3369 * sysdeps/mach/configure.in: Moved to ...
3370 * sysdeps/mach/configure.ac: ... here.
3371 * sysdeps/mach/hurd/configure.in: Moved to ...
3372 * sysdeps/mach/hurd/configure.ac: ... here.
3373 * sysdeps/powerpc/configure.in: Moved to ...
3374 * sysdeps/powerpc/configure.ac: ... here.
3375 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
3376 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
3377 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
3378 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
3379 * sysdeps/s390/s390-32/configure.in: Moved to ...
3380 * sysdeps/s390/s390-32/configure.ac: ... here.
3381 * sysdeps/s390/s390-64/configure.in: Moved to ...
3382 * sysdeps/s390/s390-64/configure.ac: ... here.
3383 * sysdeps/sh/configure.in: Moved to ...
3384 * sysdeps/sh/configure.ac: ... here.
3385 * sysdeps/sparc/configure.in: Moved to ...
3386 * sysdeps/sparc/configure.ac: ... here.
3387 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
3388 * sysdeps/unix/sysv/linux/configure.ac: ... here.
3389 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
3390 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
3391 * sysdeps/x86_64/configure.in: Moved to ...
3392 * sysdeps/x86_64/configure.ac: ... here.
3393 * sysdeps/x86_64/preconfigure.in: Moved to ...
3394 * sysdeps/x86_64/preconfigure.ac: ... here.
3395 * aclocal.m4: Change reference to configure.in to configure.ac.
3396 * config.h.in: Likewise.
3397 * manual/install.texi: Likewise.
3398 * manual/maint.texi: Likewise.
3399 * Makefile: Likewise.
3400 * malloc/Makefile: Likewise.
3401 * nscd/Makefile: Likewise.
3402 * Makeconfig: Change reference to configure.in and
3403 preconfigure.in to configure.ac and preconfigure.ac
3405 * INSTALL: Regenerated.
3406 * configure: Likewise.
3407 * sysdeps/gnu/configure: Likewise.
3408 * sysdeps/i386/configure: Likewise.
3409 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
3410 * sysdeps/mach/configure: Likewise.
3411 * sysdeps/mach/hurd/configure: Likewise.
3412 * sysdeps/powerpc/configure: Likewise.
3413 * sysdeps/powerpc/powerpc32/configure: Likewise.
3414 * sysdeps/powerpc/powerpc64/configure: Likewise.
3415 * sysdeps/s390/s390-32/configure: Likewise.
3416 * sysdeps/s390/s390-64/configure: Likewise.
3417 * sysdeps/sh/configure: Likewise.
3418 * sysdeps/sparc/configure: Likewise.
3419 * sysdeps/unix/sysv/linux/configure: Likewise.
3420 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
3421 * sysdeps/x86_64/configure: Likewise.
3422 * sysdeps/x86_64/preconfigure: Likewise.
3424 2013-10-29 Andreas Schwab <schwab@suse.de>
3426 * stdio-common/Makefile (tst-swscanf-ENV): Define.
3428 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3430 * benchtests/pow-inputs: Add new inputs.
3432 * benchtests/exp-inputs: Add new inputs.
3434 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
3435 conditional check for return value.
3436 (__cos32): Likewise.
3438 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3440 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
3441 to provide a boost for large inputs with word alignment.
3442 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
3443 implementation based on optimized PPC64 strcpy.
3444 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
3445 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
3446 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
3447 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
3449 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
3452 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
3454 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
3457 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
3458 * time/tst-strptime.c (day_tests): Add testcase.
3460 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
3463 * manual/pattern.texi: Acknowledge that fnmatch can fail.
3465 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
3468 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
3469 MAP_FAILED on error.
3471 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
3474 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
3475 heap for large requests.
3477 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
3480 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
3481 result if the result has no associated interface.
3482 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
3483 interface for all 127.X.Y.Z addresses.
3485 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
3487 * locale/iso-639.def: Add Ligurian (lij)
3489 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
3492 * sunrpc/rpc_main.c: Document rpcgen -5.
3494 2013-10-19 Michael Stahl <mstahl@redhat.com>
3496 * elf/rtld.c (do_preload): Print the reason why preloading failed.
3498 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
3501 * posix/glob.c: Match only directories when trailing slash is present.
3502 * posix/tst-gnuglob.c (my_opendir): Do not open files.
3503 (main): Add testcase.
3505 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
3508 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
3510 2013-10-18 Carlos O'Donell <carlos@redhat.com>
3512 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
3513 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
3514 AUTH_DES and cindex for FIPS 140-2.
3515 (DES Encryption): Add cindex FIPS 46-3.
3517 * locale/locarchive.h (struct locarhandle): Add fname.
3518 * locale/programs/localedef.c (main): Pass ARGV[remaining]
3519 if an optional argument was specified to --list-archive,
3521 * locale/programs/locarchive.c (show_archive_content): Take new
3522 argument fname and pass it via ah.fname to open_archive.
3523 * locale/programs/localedef.h: Update decl.
3524 (open_archive): If AH->fname is non-null, open that file
3525 rather than the default file name, and don't ignore ENOENT.
3526 (create_archive): Set AH.fname to NULL.
3527 (delete_locales_from_archive): Likewise.
3528 (add_locales_to_archive): Likewise.
3529 * locale/programs/locfile.c (write_all_categories): Likewise.
3531 2013-10-18 Joseph Myers <joseph@codesourcery.com>
3532 Aldy Hernandez <aldyh@redhat.com>
3534 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
3535 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
3536 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
3537 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
3538 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
3539 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
3540 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
3541 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
3542 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
3543 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
3544 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
3545 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
3546 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
3547 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
3548 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
3550 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
3552 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
3554 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
3556 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
3557 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
3559 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
3560 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
3561 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
3562 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
3564 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
3565 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
3566 * sysdeps/powerpc/preconfigure: Likewise.
3567 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
3569 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
3570 Replace contents of file by #include of <fenv_libc.h>.
3571 * sysdeps/powerpc/soft-fp/sfp-machine.h
3572 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
3574 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
3575 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
3576 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
3577 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
3578 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
3579 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
3580 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
3581 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
3582 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
3583 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
3584 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
3585 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
3586 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
3587 Allow copysignl PLT reference to be missing.
3589 2013-10-18 Richard Sandiford <richard@codesourcery.com>
3590 Joseph Myers <joseph@codesourcery.com
3593 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
3595 (add_to_tablewc): Assert sequence of wide characters is nonempty.
3597 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
3599 * elf/tst-tls-dlinfo.c: Don't include tls.h.
3600 * elf/tst-tls1.c: Likewise.
3601 * elf/tst-tls10.h: Likewise.
3602 * elf/tst-tls14.c: Likewise.
3603 * elf/tst-tls2.c: Likewise.
3604 * elf/tst-tls3.c: Likewise.
3605 * elf/tst-tls4.c: Likewise.
3606 * elf/tst-tls5.c: Likewise.
3607 * elf/tst-tls6.c: Likewise.
3608 * elf/tst-tls7.c: Likewise.
3609 * elf/tst-tls8.c: Likewise.
3610 * elf/tst-tls9.c: Likewise.
3611 * elf/tst-tlsmod1.c: Likewise.
3612 * elf/tst-tlsmod13.c: Likewise.
3613 * elf/tst-tlsmod13a.c: Likewise.
3614 * elf/tst-tlsmod14a.c: Likewise.
3615 * elf/tst-tlsmod16a.c: Likewise.
3616 * elf/tst-tlsmod16b.c: Likewise.
3617 * elf/tst-tlsmod2.c: Likewise.
3618 * elf/tst-tlsmod3.c: Likewise.
3619 * elf/tst-tlsmod4.c: Likewise.
3620 * elf/tst-tlsmod5.c: Likewise.
3621 * elf/tst-tlsmod6.c: Likewise.
3623 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
3626 * malloc/malloc.c: remove checks for statistics.
3628 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
3631 * inet/inet_net.c (inet_network): Detect additional invalid strings.
3632 * inet/tst-network.c: Add testcase.
3634 2013-10-17 Andreas Schwab <schwab@suse.de>
3637 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
3638 to determine canonical name.
3640 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
3642 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
3643 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
3644 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
3645 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
3646 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
3647 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
3648 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
3649 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
3650 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
3651 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
3652 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
3653 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
3654 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
3655 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
3656 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
3657 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
3658 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
3659 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
3660 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
3661 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
3662 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
3663 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
3664 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
3665 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
3666 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
3667 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
3668 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
3669 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
3670 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
3671 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
3672 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
3673 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
3674 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
3675 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
3676 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
3677 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
3678 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
3679 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
3680 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
3681 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
3682 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
3683 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
3684 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
3685 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
3686 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
3687 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
3688 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
3689 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
3690 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
3691 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
3692 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
3693 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
3694 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
3695 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
3696 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
3697 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
3698 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
3699 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
3701 2013-10-17 Joseph Myers <joseph@codesourcery.com>
3704 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
3705 make result into a quiet NaN.
3707 2013-10-16 Joseph Myers <joseph@codesourcery.com>
3709 * soft-fp/adddf3.c: Fix horizontal whitespace.
3710 * soft-fp/addsf3.c: Likewise.
3711 * soft-fp/addtf3.c: Likewise.
3712 * soft-fp/divdf3.c: Likewise.
3713 * soft-fp/divsf3.c: Likewise.
3714 * soft-fp/divtf3.c: Likewise.
3715 * soft-fp/double.h: Likewise.
3716 * soft-fp/eqdf2.c: Likewise.
3717 * soft-fp/eqsf2.c: Likewise.
3718 * soft-fp/eqtf2.c: Likewise.
3719 * soft-fp/extenddftf2.c: Likewise.
3720 * soft-fp/extended.h: Likewise.
3721 * soft-fp/extendsfdf2.c: Likewise.
3722 * soft-fp/extendsftf2.c: Likewise.
3723 * soft-fp/extendxftf2.c: Likewise.
3724 * soft-fp/fixdfdi.c: Likewise.
3725 * soft-fp/fixdfsi.c: Likewise.
3726 * soft-fp/fixdfti.c: Likewise.
3727 * soft-fp/fixsfdi.c: Likewise.
3728 * soft-fp/fixsfsi.c: Likewise.
3729 * soft-fp/fixsfti.c: Likewise.
3730 * soft-fp/fixtfdi.c: Likewise.
3731 * soft-fp/fixtfsi.c: Likewise.
3732 * soft-fp/fixtfti.c: Likewise.
3733 * soft-fp/fixunsdfdi.c: Likewise.
3734 * soft-fp/fixunsdfsi.c: Likewise.
3735 * soft-fp/fixunsdfti.c: Likewise.
3736 * soft-fp/fixunssfdi.c: Likewise.
3737 * soft-fp/fixunssfsi.c: Likewise.
3738 * soft-fp/fixunssfti.c: Likewise.
3739 * soft-fp/fixunstfdi.c: Likewise.
3740 * soft-fp/fixunstfsi.c: Likewise.
3741 * soft-fp/fixunstfti.c: Likewise.
3742 * soft-fp/floatdidf.c: Likewise.
3743 * soft-fp/floatdisf.c: Likewise.
3744 * soft-fp/floatditf.c: Likewise.
3745 * soft-fp/floatsidf.c: Likewise.
3746 * soft-fp/floatsisf.c: Likewise.
3747 * soft-fp/floatsitf.c: Likewise.
3748 * soft-fp/floattidf.c: Likewise.
3749 * soft-fp/floattisf.c: Likewise.
3750 * soft-fp/floattitf.c: Likewise.
3751 * soft-fp/floatundidf.c: Likewise.
3752 * soft-fp/floatundisf.c: Likewise.
3753 * soft-fp/floatunditf.c: Likewise.
3754 * soft-fp/floatunsidf.c: Likewise.
3755 * soft-fp/floatunsisf.c: Likewise.
3756 * soft-fp/floatunsitf.c: Likewise.
3757 * soft-fp/floatuntidf.c: Likewise.
3758 * soft-fp/floatuntisf.c: Likewise.
3759 * soft-fp/floatuntitf.c: Likewise.
3760 * soft-fp/fmadf4.c: Likewise.
3761 * soft-fp/fmasf4.c: Likewise.
3762 * soft-fp/fmatf4.c: Likewise.
3763 * soft-fp/gedf2.c: Likewise.
3764 * soft-fp/gesf2.c: Likewise.
3765 * soft-fp/getf2.c: Likewise.
3766 * soft-fp/ledf2.c: Likewise.
3767 * soft-fp/lesf2.c: Likewise.
3768 * soft-fp/letf2.c: Likewise.
3769 * soft-fp/muldf3.c: Likewise.
3770 * soft-fp/mulsf3.c: Likewise.
3771 * soft-fp/multf3.c: Likewise.
3772 * soft-fp/negdf2.c: Likewise.
3773 * soft-fp/negsf2.c: Likewise.
3774 * soft-fp/negtf2.c: Likewise.
3775 * soft-fp/op-1.h: Likewise.
3776 * soft-fp/op-2.h: Likewise.
3777 * soft-fp/op-4.h: Likewise.
3778 * soft-fp/op-8.h: Likewise.
3779 * soft-fp/op-common.h: Likewise.
3780 * soft-fp/quad.h: Likewise.
3781 * soft-fp/single.h: Likewise.
3782 * soft-fp/soft-fp.h: Likewise.
3783 * soft-fp/sqrtdf2.c: Likewise.
3784 * soft-fp/sqrtsf2.c: Likewise.
3785 * soft-fp/sqrttf2.c: Likewise.
3786 * soft-fp/subdf3.c: Likewise.
3787 * soft-fp/subsf3.c: Likewise.
3788 * soft-fp/subtf3.c: Likewise.
3789 * soft-fp/truncdfsf2.c: Likewise.
3790 * soft-fp/trunctfdf2.c: Likewise.
3791 * soft-fp/trunctfsf2.c: Likewise.
3792 * soft-fp/trunctfxf2.c: Likewise.
3793 * soft-fp/unorddf2.c: Likewise.
3794 * soft-fp/unordsf2.c: Likewise.
3795 * soft-fp/unordtf2.c: Likewise.
3797 2013-10-15 Joseph Myers <joseph@codesourcery.com>
3799 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
3800 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
3802 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
3804 * elf/dl-libc.c: Clear initfini list after freeing.
3806 2013-10-14 Joseph Myers <joseph@codesourcery.com>
3808 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
3809 * soft-fp/addsf3.c: Likewise.
3810 * soft-fp/addtf3.c: Likewise.
3811 * soft-fp/divdf3.c: Likewise.
3812 * soft-fp/divsf3.c: Likewise.
3813 * soft-fp/divtf3.c: Likewise.
3814 * soft-fp/double.h: Likewise.
3815 * soft-fp/eqdf2.c: Likewise.
3816 * soft-fp/eqsf2.c: Likewise.
3817 * soft-fp/eqtf2.c: Likewise.
3818 * soft-fp/extenddftf2.c: Likewise.
3819 * soft-fp/extended.h: Likewise.
3820 * soft-fp/extendsfdf2.c: Likewise.
3821 * soft-fp/extendsftf2.c: Likewise.
3822 * soft-fp/extendxftf2.c: Likewise.
3823 * soft-fp/fixdfdi.c: Likewise.
3824 * soft-fp/fixdfsi.c: Likewise.
3825 * soft-fp/fixdfti.c: Likewise.
3826 * soft-fp/fixsfdi.c: Likewise.
3827 * soft-fp/fixsfsi.c: Likewise.
3828 * soft-fp/fixsfti.c: Likewise.
3829 * soft-fp/fixtfdi.c: Likewise.
3830 * soft-fp/fixtfsi.c: Likewise.
3831 * soft-fp/fixtfti.c: Likewise.
3832 * soft-fp/fixunsdfdi.c: Likewise.
3833 * soft-fp/fixunsdfsi.c: Likewise.
3834 * soft-fp/fixunsdfti.c: Likewise.
3835 * soft-fp/fixunssfdi.c: Likewise.
3836 * soft-fp/fixunssfsi.c: Likewise.
3837 * soft-fp/fixunssfti.c: Likewise.
3838 * soft-fp/fixunstfdi.c: Likewise.
3839 * soft-fp/fixunstfsi.c: Likewise.
3840 * soft-fp/fixunstfti.c: Likewise.
3841 * soft-fp/floatdidf.c: Likewise.
3842 * soft-fp/floatdisf.c: Likewise.
3843 * soft-fp/floatditf.c: Likewise.
3844 * soft-fp/floatsidf.c: Likewise.
3845 * soft-fp/floatsisf.c: Likewise.
3846 * soft-fp/floatsitf.c: Likewise.
3847 * soft-fp/floattidf.c: Likewise.
3848 * soft-fp/floattisf.c: Likewise.
3849 * soft-fp/floattitf.c: Likewise.
3850 * soft-fp/floatundidf.c: Likewise.
3851 * soft-fp/floatundisf.c: Likewise.
3852 * soft-fp/floatunsidf.c: Likewise.
3853 * soft-fp/floatunsisf.c: Likewise.
3854 * soft-fp/floatuntidf.c: Likewise.
3855 * soft-fp/floatuntisf.c: Likewise.
3856 * soft-fp/floatuntitf.c: Likewise.
3857 * soft-fp/fmadf4.c: Likewise.
3858 * soft-fp/fmasf4.c: Likewise.
3859 * soft-fp/fmatf4.c: Likewise.
3860 * soft-fp/gedf2.c: Likewise.
3861 * soft-fp/gesf2.c: Likewise.
3862 * soft-fp/getf2.c: Likewise.
3863 * soft-fp/ledf2.c: Likewise.
3864 * soft-fp/lesf2.c: Likewise.
3865 * soft-fp/letf2.c: Likewise.
3866 * soft-fp/muldf3.c: Likewise.
3867 * soft-fp/mulsf3.c: Likewise.
3868 * soft-fp/multf3.c: Likewise.
3869 * soft-fp/negdf2.c: Likewise.
3870 * soft-fp/negsf2.c: Likewise.
3871 * soft-fp/negtf2.c: Likewise.
3872 * soft-fp/op-1.h: Likewise.
3873 * soft-fp/op-2.h: Likewise.
3874 * soft-fp/op-4.h: Likewise.
3875 * soft-fp/op-8.h: Likewise.
3876 * soft-fp/op-common.h: Likewise.
3877 * soft-fp/quad.h: Likewise.
3878 * soft-fp/single.h: Likewise.
3879 * soft-fp/soft-fp.h: Likewise.
3880 * soft-fp/sqrtdf2.c: Likewise.
3881 * soft-fp/sqrtsf2.c: Likewise.
3882 * soft-fp/sqrttf2.c: Likewise.
3883 * soft-fp/subdf3.c: Likewise.
3884 * soft-fp/subsf3.c: Likewise.
3885 * soft-fp/subtf3.c: Likewise.
3886 * soft-fp/truncdfsf2.c: Likewise.
3887 * soft-fp/trunctfdf2.c: Likewise.
3888 * soft-fp/trunctfsf2.c: Likewise.
3889 * soft-fp/trunctfxf2.c: Likewise.
3890 * soft-fp/unorddf2.c: Likewise.
3891 * soft-fp/unordsf2.c: Likewise.
3892 * soft-fp/unordtf2.c: Likewise.
3894 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
3897 * misc/error.c (error_tail): Fix possible buffer overflow.
3899 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
3902 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
3905 2013-10-14 P. J. McDermott <pj@pehjota.net>
3908 * elf/ldd.bash.in (try_trace): New function. Delete previous code
3909 testing pipefail option.
3911 2013-10-12 Joseph Myers <joseph@codesourcery.com>
3913 * soft-fp/double.h: Indent preprocessor directives inside #if.
3914 * soft-fp/extended.h: Likewise.
3915 * soft-fp/op-2.h: Likewise.
3916 * soft-fp/op-4.h: Likewise.
3917 * soft-fp/op-common.h: Likewise.
3918 * soft-fp/quad.h: Likewise.
3919 * soft-fp/single.h: Likewise.
3920 * soft-fp/soft-fp.h: Likewise.
3922 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
3924 * iconv/iconv_prog.c: Fix typos.
3925 * stdio-common/psiginfo-data.h: Likewise.
3927 2013-10-12 Reuben Thomas <rrt@sc3d.org>
3930 * locale/setlocale.c: Fix typo.
3932 2013-10-12 Joseph Myers <joseph@codesourcery.com>
3935 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
3936 signaling NaN arguments.
3937 * soft-fp/unordsf2.c (__unordsf2): Likewise.
3938 * soft-fp/unordtf2.c (__unordtf2): Likewise.
3941 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
3943 * soft-fp/gesf2.c (__gesf2): Likewise.
3944 * soft-fp/getf2.c (__getf2): Likewise.
3945 * soft-fp/ledf2.c (__ledf2): Likewise.
3946 * soft-fp/lesf2.c (__lesf2): Likewise.
3947 * soft-fp/letf2.c (__letf2): Likewise.
3949 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
3950 * soft-fp/eqsf2.c (__eqsf2): Likewise.
3951 * soft-fp/eqtf2.c (__eqtf2): Likewise.
3952 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
3953 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
3954 * soft-fp/fixdfti.c (__fixdfti): Likewise.
3955 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
3956 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
3957 * soft-fp/fixsfti.c (__fixsfti): Likewise.
3958 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
3959 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
3960 * soft-fp/fixtfti.c (__fixtfti): Likewise.
3961 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
3962 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
3963 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
3964 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
3965 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
3966 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
3967 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
3968 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
3969 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
3970 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
3971 * soft-fp/floatdisf.c (__floatdisf): Likewise.
3972 * soft-fp/floatsisf.c (__floatsisf): Likewise.
3973 * soft-fp/floattidf.c (__floattidf): Likewise.
3974 * soft-fp/floattisf.c (__floattisf): Likewise.
3975 * soft-fp/floattitf.c (__floattitf): Likewise.
3976 * soft-fp/floatundidf.c (__floatundidf): Likewise.
3977 * soft-fp/floatundisf.c (__floatundisf): Likewise.
3978 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
3979 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
3980 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
3981 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
3982 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
3983 * soft-fp/gesf2.c (__gesf2): Likewise.
3984 * soft-fp/getf2.c (__getf2): Likewise.
3985 * soft-fp/ledf2.c (__ledf2): Likewise.
3986 * soft-fp/lesf2.c (__lesf2): Likewise.
3987 * soft-fp/letf2.c (__letf2): Likewise.
3989 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
3990 Undefine and redefine.
3991 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
3992 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
3993 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
3994 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
3995 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
3996 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
3997 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
3998 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
3999 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4000 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
4001 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4002 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
4003 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4004 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
4005 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4008 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
4009 without decrementing exponent if mantissa >= that for the
4011 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
4012 denominator, not >. Decrement exponent in < case instead of
4013 incrementing in >= case.
4014 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
4015 without decrementing exponent if mantissa >= that for the
4018 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
4019 computing saturated result for unsigned overflow.
4021 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
4022 Jeff Law <law@redhat.com>
4024 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
4025 (atan2Mp): Add systemtap probe marker.
4026 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
4027 (__ieee754_log): Add systemtap probe marker.
4028 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
4029 (atanMp): Add systemtap probe marker.
4030 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
4031 (tanMp): Add systemtap probe marker.
4032 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
4033 (__slowexp): Add systemtap probe marker.
4034 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
4035 (__slowpow): Add systemtap probe marker.
4036 * manual/probes.texi: Document probes.
4038 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
4041 * libio/fileops.c (_IO_new_file_write): Return count of bytes
4043 (_IO_new_file_xsputn): Don't return EOF if nothing has been
4045 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
4046 written to buffer but not flushed.
4047 * libio/iofwrite_u.c: Likewise.
4048 * libio/iopadn.c: Return bytes returned even if EOF was
4050 * libio/iowpadn.c: Likewise.
4051 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
4052 if _IO_padn does not write the whole buffer.
4053 [!COMPILE_WPRINTF] (PAD): Likewise.
4055 2013-10-10 David S. Miller <davem@davemloft.net>
4057 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
4060 2013-10-10 Joseph Myers <joseph@codesourcery.com>
4062 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
4063 instead of FSF address.
4064 * soft-fp/fixdfti.c: Likewise.
4065 * soft-fp/fixsfti.c: Likewise.
4066 * soft-fp/fixtfti.c: Likewise.
4067 * soft-fp/fixunsdfti.c: Likewise.
4068 * soft-fp/fixunssfti.c: Likewise.
4069 * soft-fp/fixunstfti.c: Likewise.
4070 * soft-fp/floattidf.c: Likewise.
4071 * soft-fp/floattisf.c: Likewise.
4072 * soft-fp/floattitf.c: Likewise.
4073 * soft-fp/floatuntidf.c: Likewise.
4074 * soft-fp/floatuntisf.c: Likewise.
4075 * soft-fp/floatuntitf.c: Likewise.
4076 * soft-fp/trunctfxf2.c: Likewise.
4078 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
4079 * soft-fp/fixdfti.c: Likewise.
4080 * soft-fp/fixsfti.c: Likewise.
4081 * soft-fp/fixtfti.c: Likewise.
4082 * soft-fp/fixunsdfti.c: Likewise.
4083 * soft-fp/fixunssfti.c: Likewise.
4084 * soft-fp/fixunstfti.c: Likewise.
4085 * soft-fp/floattidf.c: Likewise.
4086 * soft-fp/floattisf.c: Likewise.
4087 * soft-fp/floattitf.c: Likewise.
4088 * soft-fp/floatuntidf.c: Likewise.
4089 * soft-fp/floatuntisf.c: Likewise.
4090 * soft-fp/floatuntitf.c: Likewise.
4091 * soft-fp/trunctfxf2.c: Likewise.
4093 2013-10-10 David S. Miller <davem@davemloft.net>
4095 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4097 2013-10-10 Joseph Myers <joseph@codsourcery.com>
4099 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
4100 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
4101 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
4102 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
4103 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
4104 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
4105 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
4107 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
4108 for NaNs before doing comparisons on argument.
4109 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
4112 2013-10-10 Will Newton <will.newton@linaro.org>
4114 * malloc/hooks.c (memalign_check): Ensure the value of bytes
4115 passed to _int_memalign does not overflow.
4117 2013-10-10 Torvald Riegel <triegel@redhat.com>
4119 * scripts/bench.pl: Add include-sources directive.
4120 * benchtests/README: Update documentation.
4122 2013-10-10 Joseph Myers <joseph@codesourcery.com>
4124 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
4125 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
4126 instead of FP_INIT_ROUNDMODE.
4127 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
4128 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
4131 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
4132 copy class of input value.
4133 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
4134 not handle exceptions.
4135 * soft-fp/negsf2.c (__negsf2): Likewise.
4136 * soft-fp/negtf2.c (__negtf2): Likewise.
4137 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
4139 2013-10-09 Joseph Myers <joseph@codesourcery.com>
4141 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
4142 semicolon. From Linux kernel.
4144 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
4146 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
4148 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
4151 * manual/socket.texi: Added statement about buffer
4152 for gethostbyname2_r.
4154 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
4156 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
4157 Use .p2align directive instead, throughout.
4158 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
4159 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
4160 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
4161 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
4162 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
4163 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
4164 * sysdeps/x86_64/strchr.S: Likewise.
4165 * sysdeps/x86_64/strrchr.S: Likewise.
4167 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
4169 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
4171 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
4173 * sysdeps/generic/math_private.h (__mpsin1): Remove
4175 (__mpcos1): Likewise.
4176 (__mpsin): New argument __range_reduce.
4177 (__mpcos): Likewise.
4178 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
4179 (slow): Use __mpsin and __mpcos.
4186 (bsloww1): Likewise.
4187 (bsloww2): Likewise.
4190 (csloww1): Likewise.
4191 (csloww2): Likewise.
4192 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
4193 range_reduce. Merge in __mpsin1.
4194 (__mpcos): Likewise.
4196 (__mpcos1): Likewise.
4198 2013-10-07 Joseph Myers <joseph@codesourcery.com>
4200 * locale/loadlocale.c (_nl_intern_locale_data): Use
4202 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
4203 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
4204 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
4205 obstack data is appropriately aligned.
4206 (obstack_int32_grow_fast): Likewise.
4207 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
4208 * locale/programs/locfile.c (add_locale_uint32): Likewise.
4209 (add_locale_uint32_array): Likewise.
4211 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
4213 * benchtests/Makefile: Remove ARGLIST and RET variables.
4214 ($(objpfx)bench-%.c): Pass only function name to the script.
4215 * benchtests/README: Update documentation.
4216 * benchtests/acos-inputs: Add new directives.
4217 * benchtests/acosh-inputs: Likewise.
4218 * benchtests/asin-inputs: Likewise.
4219 * benchtests/asinh-inputs: Likewise.
4220 * benchtests/atan-inputs: Likewise.
4221 * benchtests/atanh-inputs: Likewise.
4222 * benchtests/cos-inputs: Likewise.
4223 * benchtests/cosh-inputs: Likewise.
4224 * benchtests/exp-inputs: Likewise.
4225 * benchtests/log-inputs: Likewise.
4226 * benchtests/pow-inputs: Likewise.
4227 * benchtests/rint-inputs: Likewise.
4228 * benchtests/sin-inputs: Likewise.
4229 * benchtests/sinh-inputs: Likewise.
4230 * benchtests/tan-inputs: Likewise.
4231 * benchtests/tanh-inputs: Likewise.
4232 * scripts/bench.pl: Add support for new directives.
4234 2013-10-07 Alan Modra <amodra@gmail.com>
4236 * README: Fix careless merge.
4238 2013-10-05 Alan Modra <amodra@gmail.com>
4240 * NEWS: Mention powerpc64le support and bugs fixed.
4241 * README: Both big-endian and little-endian powerpc64 supported.
4243 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
4245 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
4246 _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
4247 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
4248 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
4250 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
4252 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
4255 2013-10-04 Joseph Myers <joseph@codesourcery.com>
4257 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
4258 Move -mhard-float appending from
4259 ports/sysdeps/powerpc/powerpc32/Makefile.
4260 [$(with-fp) = yes] (ASFLAGS): Likewise.
4261 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
4262 * sysdeps/powerpc/nofpu: Move directory from
4263 ports/sysdeps/powerpc/nofpu.
4264 * sysdeps/powerpc/soft-fp: Move directory from
4265 ports/sysdeps/powerpc/soft-fp.
4266 * sysdeps/powerpc/powerpc32/405: Move directory from
4267 ports/sysdeps/powerpc/powerpc32/405.
4268 * sysdeps/powerpc/powerpc32/440: Move directory from
4269 ports/sysdeps/powerpc/powerpc32/440.
4270 * sysdeps/powerpc/powerpc32/464: Move directory from
4271 ports/sysdeps/powerpc/powerpc32/464.
4272 * sysdeps/powerpc/powerpc32/476: Move directory from
4273 ports/sysdeps/powerpc/powerpc32/476.
4274 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
4275 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
4276 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
4277 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
4278 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
4279 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
4280 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
4281 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
4282 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
4283 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
4284 * README: Update for powerpc-*-linux-gnu software floating point
4287 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
4288 case to powerpc/powerpc32*.
4289 * sysdeps/unix/sysv/linux/configure: Regenerated.
4291 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
4292 (_FPU_MASK_OM): Define as 0x04.
4293 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
4294 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
4296 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
4298 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
4300 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
4301 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
4303 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
4304 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
4306 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
4307 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
4308 and setcontext_e500.
4310 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
4312 * locale/iso-3166.def: Update iso-1366.def and related occurrences
4314 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4316 * manual/threads.texi (Default Thread Attributes): Fix typo.
4318 2013-10-04 Will Newton <will.newton@linaro.org>
4320 * malloc/Makefile: Add tst-memalign.
4321 * malloc/tst-memalign.c: New file.
4323 * malloc/tst-posix_memalign.c: Add comments.
4324 (do_test): Add comments and call free on all potentially
4325 allocated pointers. Add space after cast.
4327 * malloc/tst-pvalloc.c: Add comments.
4328 (do_test): Add comments and call free on all potentially
4329 allocated pointers. Remove duplicate check for NULL pointer.
4330 Add space after cast.
4332 * malloc/tst-valloc.c: Add comments.
4333 (do_test): Add comments and call free on all potentially
4334 allocated pointers. Remove duplicate check for NULL pointer.
4335 Add space after cast.
4337 2013-10-04 Alan Modra <amodra@gmail.com>
4339 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
4340 Use stdint types in rather than __attribute__((mode())).
4341 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
4343 2013-10-04 Alan Modra <amodra@gmail.com>
4345 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
4346 Correct handling of unaligned relocs for little-endian.
4347 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
4349 2013-10-04 Alan Modra <amodra@gmail.com>
4351 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
4352 * configure: Regenerate.
4353 * nptl/shlib-versions: Powerpc*le starts at 2.18.
4354 * shlib-versions: Likewise.
4356 2013-10-04 Alan Modra <amodra@gmail.com>
4358 * string/tester.c (test_memrchr): Increment reported test cycle.
4360 2013-10-04 Alan Modra <amodra@gmail.com>
4362 * string/test-memcpy.c (do_one_test): When reporting errors, print
4363 string address and don't overrun end of string.
4365 2013-10-04 Alan Modra <amodra@gmail.com>
4367 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
4368 insrdi. Make better use of reg selection to speed exit slightly.
4369 Schedule entry path a little better. Remove useless "are we done"
4370 checks on entry to main loop. Handle wrapping around zero address.
4371 Correct main loop count. Handle single left-over word from main
4372 loop inline rather than by using loop_small. Remove extra word
4373 case in loop_small caused by wrong loop count. Add little-endian
4375 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
4376 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
4378 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
4379 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
4380 support. Avoid rlwimi.
4381 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
4383 2013-10-04 Alan Modra <amodra@gmail.com>
4385 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
4387 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
4388 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
4389 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
4390 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
4391 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
4392 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
4394 2013-10-04 Alan Modra <amodra@gmail.com>
4396 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
4397 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
4398 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
4399 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
4400 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
4401 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
4402 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
4403 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
4404 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
4405 use of regs. Use power7 mtocrf. Tidy function tails.
4407 2013-10-04 Alan Modra <amodra@gmail.com>
4409 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
4410 Formatting. Consistently use rXXX register defines or rN defines.
4411 Use early exit labels that avoid restoring unused non-volatile regs.
4412 Make cr field use more consistent with rWORDn compares. Rename
4413 regs used as shift registers for unaligned loop, using rN defines
4414 for short lifetime/multiple use regs.
4415 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
4416 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
4417 addi 1,1,64 to pop stack frame. Simplify return value code.
4418 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
4420 2013-10-04 Alan Modra <amodra@gmail.com>
4422 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
4423 support. Correct typos, formatting. Optimize tail. Use insrdi
4425 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
4426 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
4427 little-endian support. Correct typos.
4428 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
4430 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
4431 in loop and entry code to keep "and." results.
4432 (strchr): Add little-endian support. Comment. Move cntlzd
4434 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
4436 2013-10-04 Alan Modra <amodra@gmail.com>
4438 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
4439 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
4440 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
4441 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
4443 2013-10-04 Alan Modra <amodra@gmail.com>
4445 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
4446 (rTMP): Define as r11.
4447 (strcmp): Add little-endian support. Optimise tail.
4448 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
4449 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
4450 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
4451 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
4452 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
4453 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
4454 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
4456 2013-10-04 Alan Modra <amodra@gmail.com>
4458 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
4459 little-endian support. Remove unnecessary "are we done" tests.
4460 Handle "s" wrapping around zero and extremely large "size".
4461 Correct main loop count. Handle single left-over word from main
4462 loop inline rather than by using small_loop. Correct comments.
4463 Delete "zero" tail, use "end_max" instead.
4464 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
4466 2013-10-04 Alan Modra <amodra@gmail.com>
4468 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
4469 support. Don't branch over align.
4470 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
4471 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
4472 support. Rearrange tmp reg use to suit. Comment.
4473 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
4475 2013-10-04 Alan Modra <amodra@gmail.com>
4477 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
4479 2013-10-04 Alan Modra <amodra@gmail.com>
4481 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
4482 conditional form of branch and link when obtaining pc.
4483 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
4485 2013-10-04 Alan Modra <amodra@gmail.com>
4487 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
4489 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
4490 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
4492 2013-10-04 Alan Modra <amodra@gmail.com>
4494 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
4495 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
4496 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
4497 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
4498 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
4499 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
4500 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
4501 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
4502 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
4503 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
4505 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
4506 Alistair Popple <alistair@ozlabs.au.ibm.com>
4507 Alan Modra <amodra@gmail.com>
4510 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
4511 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
4512 _dl_hwcap access for little-endian.
4513 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
4514 destroy vmx regs when saving unaligned.
4515 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
4516 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
4517 destroy vmx regs when saving unaligned.
4519 2013-10-04 Alan Modra <amodra@gmail.com>
4521 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
4522 Don't use a union to pack hi/low value.
4524 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
4526 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
4528 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
4529 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
4530 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
4531 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
4532 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
4534 2013-10-04 Alan Modra <amodra@gmail.com>
4536 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
4537 constants to usual value for .cst8 section, and remove redundant
4539 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
4540 constant for 0x1p52. Load little-endian words of double from
4541 correct stack offsets.
4543 2013-10-04 Alan Modra <amodra@gmail.com>
4545 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
4546 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
4547 words of double from correct stack offsets.
4548 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
4549 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
4550 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
4551 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
4552 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
4553 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
4554 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
4555 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
4556 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
4557 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
4558 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
4559 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
4560 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
4561 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
4562 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
4563 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
4564 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
4566 2013-10-04 Alan Modra <amodra@gmail.com>
4568 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
4569 64-bit int/double union.
4570 (_FPU_SETCW): Likewise.
4571 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
4572 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
4574 2013-10-04 Alan Modra <amodra@gmail.com>
4576 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
4577 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
4579 2013-10-04 Alan Modra <amodra@gmail.com>
4581 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
4582 use vector int constants.
4583 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
4585 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
4587 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
4588 array with long long.
4589 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
4590 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
4591 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
4592 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
4593 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
4594 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
4595 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
4596 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
4597 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
4598 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
4599 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
4600 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
4601 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
4603 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
4605 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
4606 (__signbit): Likewise. Correct for little-endian.
4607 (__signbitl): Call __signbit.
4608 (lrint): Correct for little-endian.
4609 (lrintf): Call lrint.
4611 2013-10-04 Alan Modra <amodra@gmail.com>
4613 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
4614 union 32-bit int array member with 64-bit int array.
4615 (t515, tm256): Double rather than long double.
4616 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
4618 2013-10-04 Alan Modra <amodra@gmail.com>
4620 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
4622 (IEEE854_LONG_DOUBLE_BIAS): Delete.
4623 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
4624 version of math_ldbl.h.
4626 2013-10-04 Alan Modra <amodra@gmail.com>
4628 [BZ #15734], [BZ #15735]
4629 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
4630 all uses of ieee875 long double macros and unions. Simplify test
4631 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
4632 ldbl_extract_mantissa value for ix,iy exponents. Properly
4633 normalize after ldbl_extract_mantissa, and don't add hidden bit
4634 already handled. Don't treat low word of ieee854 mantissa like
4635 low word of IBM long double and mask off bit when testing for
4637 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
4638 all uses of ieee875 long double macros and unions. Simplify tests
4639 for 0.0L and inf. Correct double adjustment of k. Delete dead code
4640 adjusting ha,hb. Simplify code setting kld. Delete two600 and
4641 two1022, instead use their values. Recognise that tests for large
4642 "a" and small "b" are mutually exclusive. Rename vars. Comment.
4643 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
4644 Rewrite all uses of ieee875 long double macros and unions. Simplify
4645 test for 0.0L and nan. Correct negation.
4646 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
4647 ieee875 long double macros and unions. Correct output for large
4648 magnitude x. Correct absolute value calculation.
4649 (__erfcl): Likewise.
4650 * math/libm-test.inc: Add tests for errors discovered in IBM long
4651 double versions of fmodl, remainderl, erfl and erfcl.
4653 2013-10-04 Alan Modra <amodra@gmail.com>
4655 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
4656 all uses of ieee854 long double macros and unions. Simplify tests
4657 for long doubles that are fully specified by the high double.
4658 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
4660 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
4661 Remove dead code too.
4662 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
4663 (__ieee754_ynl): Likewise.
4664 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
4665 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
4666 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
4667 Remove dead code too.
4668 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
4669 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
4670 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
4671 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
4673 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
4675 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
4676 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
4677 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
4678 Comment on variable precision.
4679 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
4680 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
4682 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
4683 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
4684 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
4685 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
4686 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
4688 2013-10-04 Alan Modra <amodra@gmail.com>
4690 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
4691 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
4692 all uses of ieee854 long double macros and unions.
4693 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
4694 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
4695 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
4696 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
4697 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
4698 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
4700 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
4701 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
4702 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
4703 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
4704 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
4705 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
4706 Simplify sign and nan test too.
4707 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
4708 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
4709 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
4710 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
4712 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
4713 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
4715 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
4716 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
4717 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
4718 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
4719 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
4720 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
4722 2013-10-04 Alan Modra <amodra@gmail.com>
4724 * stdio-common/printf_size.c (__printf_size): Don't use
4725 union ieee854_long_double in fpnum union.
4726 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
4727 signbit macro to retrieve sign from long double.
4728 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
4729 retrieve sign from long double.
4730 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
4731 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
4732 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
4733 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
4734 * math/test-misc.c (main): Don't use union ieee854_long_double.
4736 2013-10-04 Alan Modra <amodra@gmail.com>
4739 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
4740 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
4741 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
4742 calculation. Remove unnecessary test for denormal exponent.
4743 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
4744 Correct handling of denormals. Avoid undefined shift behaviour.
4745 Correct normalisation of low mantissa when low double is denormal.
4746 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
4747 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
4748 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
4749 Correct normalisation of low mantissa. Test for overflow of high
4750 mantissa and normalise.
4751 (ldbl_nearbyint): Use more readable constant for two52.
4752 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
4753 (__mpn_construct_long_double): Fix test for overflow of high
4754 mantissa and correct normalisation. Avoid undefined shift.
4756 2013-10-04 Alan Modra <amodra@gmail.com>
4758 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
4759 (union ibm_extended_long_double): Define as an array of ieee754_double.
4760 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
4761 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
4762 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
4763 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
4764 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
4765 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
4766 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
4767 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
4768 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
4769 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
4770 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
4772 2013-10-03 Joseph Myers <joseph@codesourcery.com>
4774 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
4775 page size instead of calling getpagesize.
4777 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
4778 (LOCFILE_ALIGN_MASK): Likewise.
4779 (LOCFILE_ALIGN_UP): Likewise.
4780 (LOCFILE_ALIGNED_P): Likewise.
4781 * locale/programs/ld-collate.c (collate_output): Use the new
4782 macros instead of __alignof__ (int32_t).
4783 * locale/weight.h (findidx): Likewise.
4785 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
4788 * manual/string.texi: Fix strncat and wcsncat.
4790 2013-10-03 Brooks Moses <bmoses@google.com>
4793 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
4794 * Makerules: ...here, and adjust associated comments.
4796 2013-10-02 Will Newton <will.newton@linaro.org>
4798 * malloc/Makefile: Add tst-pvalloc.
4799 * malloc/tst-pvalloc.c: New file.
4801 2013-10-02 Will Newton <will.newton@linaro.org>
4803 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
4804 improve test coverage.
4806 2013-10-02 Will Newton <will.newton@linaro.org>
4808 * malloc/Makefile: Add tst-posix_memalign.
4809 * malloc/tst-posix_memalign.c: New file.
4811 2013-10-01 Eric Blake <eblake@redhat.com>
4813 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
4814 Use __THROWNL rather than __THROW on static functions.
4816 2013-09-30 Petr Machata <pmachata@redhat.com>
4818 * elf/elf.h (R_AARCH64_ABS16): New macro.
4819 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
4820 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
4821 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
4822 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
4823 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
4824 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
4825 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
4826 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
4827 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
4828 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
4829 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
4830 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
4831 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
4832 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
4833 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
4834 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
4835 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
4836 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
4837 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
4838 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
4839 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
4840 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
4841 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
4842 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
4843 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
4844 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
4845 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
4846 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
4847 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
4848 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
4849 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
4850 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
4851 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
4852 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
4853 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
4854 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
4855 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
4856 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
4857 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
4858 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
4859 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
4860 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
4861 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
4862 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
4863 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
4864 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
4865 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
4866 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
4867 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
4868 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
4869 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
4870 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
4871 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
4872 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
4873 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
4874 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
4875 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
4876 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
4877 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
4878 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
4879 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
4880 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
4881 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
4882 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
4883 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
4884 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
4885 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
4886 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
4887 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
4888 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
4889 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
4890 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
4891 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
4892 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
4893 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
4894 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
4895 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
4896 (R_AARCH64_TLSDESC_LDR): Likewise.
4897 (R_AARCH64_TLSDESC_ADD): Likewise.
4898 (R_AARCH64_TLSDESC_CALL): Likewise.
4900 2013-09-30 Andreas Schwab <schwab@suse.de>
4903 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
4904 the nss database lookup.
4905 * nscd/initgrcache.c (addinitgroupsX): Likewise.
4906 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
4908 2013-09-28 Mike Frysinger <vapier@gentoo.org>
4910 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
4912 2013-09-28 P. J. McDermott <pj@pehjota.net>
4914 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
4915 ${Bash-specific parameter/pattern/string} parameter expansion.
4916 * sysdeps/unix/make-syscalls.sh: Likewise.
4918 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4920 * sysdeps/sh/stackguard-macros.h: New file.
4922 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
4924 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
4925 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
4926 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
4927 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
4928 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
4929 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
4931 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4933 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
4934 Fix thread ID register.
4936 2013-09-25 Joseph Myers <joseph@codesourcery.com>
4938 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
4939 [POSIX || UNIX98]: Require rather than permitting all symbols from
4941 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
4942 element of struct sched_param.
4943 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
4944 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
4945 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
4946 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
4949 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
4951 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
4952 argument calculation.
4954 2013-09-24 Joseph Myers <joseph@codesourcery.com>
4956 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
4958 [POSIX] (pthread_attr_t): Do not require type.
4959 [POSIX] (pthread_cond_t): Likewise.
4960 [POSIX] (pthread_condattr_t): Likewise.
4961 [POSIX] (pthread_key_t): Likewise.
4962 [POSIX] (pthread_mutex_t): Likewise.
4963 [POSIX] (pthread_mutexattr_t): Likewise.
4964 [POSIX] (pthread_once_t): Likewise.
4965 [POSIX] (pthread_t): Likewise.
4966 [POSIX-based standards] (pthread_atfork): Expect function.
4968 2013-09-24 Joseph Myers <joseph@codesourcery.com>
4969 Richard Sandiford <richard@codesourcery.com>
4971 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
4972 (swap_endianness_p): New extern variable.
4973 (set_big_endian): New inline function.
4974 (maybe_swap_uint32): Likewise.
4975 (maybe_swap_uint32_array): Likewise.
4976 (maybe_swap_uint32_obstack): Likewise.
4977 * locale/programs/locfile.c: Include <stdbool.h>.
4978 (swap_endianness_p): New variable.
4979 (add_locale_uint32): Call maybe_swap_uint32.
4980 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
4981 (write_locale_data): Call maybe_swap_uint32_array.
4982 * locale/programs/ld-collate.c (obstack_int32_grow): Call
4984 (obstack_int32_grow_fast): Likewise.
4985 (output_weightwc): Call maybe_swap_uint32_obstack.
4986 (collate_output): Likewise.
4987 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
4988 (OPT_LITTLE_ENDIAN): Likewise.
4989 (options): Add --little-endian and --big-endian options.
4990 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
4991 * locale/programs/locarchive.c: Include "locfile.h".
4995 (create_archive): Use the new macros to access fields of
4996 structures directly mapped from or written to locale archives.
4997 (oldlocrecentcmp): Likewise.
4998 (enlarge_archive): Likewise.
4999 (insert_name): Likewise.
5000 (add_alias): Likewise.
5001 (add_locale): Likewise.
5002 (delete_locales_from_archive): Likewise.
5003 (show_archive_content): Likewise.
5004 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
5007 2013-09-24 Roland McGrath <roland@hack.frob.com>
5009 * manual/freemanuals.texi: Updated from (newly) canonical copy at
5010 http://www.gnu.org/doc/freemanuals.texi.
5011 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
5013 2013-09-24 Will Newton <will.newton@linaro.org>
5015 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
5018 2013-09-23 Joseph Myers <joseph@codesourcery.com>
5020 * locale/hashval.h (compute_hashval): Interpret bytes of key as
5023 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
5025 * manual/threads.texi (POSIX Threads): Fix a typo.
5027 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
5030 * string/tst-strcoll-overflow.c: New test case.
5031 * string/Makefile (xtests): Add tst-strcoll-overflow.
5032 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
5033 cache if string sizes may cause integer overflow.
5036 * string/strcoll_l.c (coll_seq): New members rule, idx,
5037 save_idx and back_us.
5038 (get_next_seq_nocache): New function.
5039 (do_compare_nocache): New function.
5040 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
5043 2013-09-23 Carlos O'Donell <carlos@redhat.com>
5046 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
5047 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
5048 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
5051 * elf/Makefile (tests): Add tst-ptrguard1.
5052 (tests-static): Add tst-ptrguard1-static.
5053 (tst-ptrguard1-ARGS): Define.
5054 (tst-ptrguard1-static-ARGS): Define.
5055 * elf/tst-ptrguard1.c: New file.
5056 * elf/tst-ptrguard1-static.c: New file.
5057 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
5058 * sysdeps/i386/stackguard-macros.h: Likewise.
5059 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
5060 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
5061 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
5062 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
5063 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
5064 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
5066 2013-09-23 Hector Marco <hecmargi@upv.es>
5067 Ismael Ripoll <iripoll@disca.upv.es>
5068 Carlos O'Donell <carlos@redhat.com>
5071 * sysdeps/generic/stackguard-macros.h: Define
5072 __pointer_chk_guard_local and POINTER_CHK_GUARD.
5073 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
5074 Define __pointer_chk_guard_local.
5075 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
5076 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
5078 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
5081 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
5083 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
5085 * include/string.h (__ffs): Declare as hidden.
5086 * string/ffs.c (__ffs): Define as hidden.
5087 * sysdeps/i386/ffs.c (__ffs): Likewise.
5088 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
5089 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
5090 * sysdeps/s390/ffs.c (__ffs): Likewise.
5091 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
5093 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
5095 * NEWS: Mention malloc probes.
5097 * malloc/arena.c (new_heap): New memory_heap_new probe.
5098 (grow_heap): New memory_heap_more probe.
5099 (shrink_heap): New memory_heap_less probe.
5100 (heap_trim): New memory_heap_free probe.
5101 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
5102 (systrim): New memory_sbrk_less probe.
5103 * manual/probes.texi: Document them.
5105 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
5106 * manual/probes.texi: Document it.
5108 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
5109 (__libc_realloc): Add memory_realloc_retry probe.
5110 (__libc_memalign): Add memory_memalign_retry probe.
5111 (__libc_valloc): Add memory_valloc_retry probe.
5112 (__libc_pvalloc): Add memory_pvalloc_retry probe.
5113 (__libc_calloc): Add memory_calloc_retry probe.
5114 * manual/probes.texi: Document them.
5116 * malloc/arena.c (get_free_list): Add probe
5117 memory_arena_reuse_free_list.
5118 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
5119 and memory_arena_reuse.
5120 (arena_get2) [!PER_THREAD]: Likewise.
5121 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
5122 memory_arena_reuse_realloc.
5123 * manual/probes.texi: Document them.
5125 * malloc/malloc.c (__libc_free): Add
5126 memory_mallopt_free_dyn_thresholds probe.
5127 (__libc_mallopt): Add multiple memory_mallopt probes.
5128 * manual/probes.texi: Document them.
5130 * malloc/malloc.c: Include stap-probe.h.
5131 (__libc_mallopt): Add memory_mallopt probe.
5132 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
5133 * manual/probes.texi: New.
5134 * manual/Makefile (chapters): Add probes.
5135 * manual/threads.texi: Set next node.
5137 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
5140 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
5141 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
5142 Add `Chinese' to `nan' entry name.
5144 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5146 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
5147 (POLYNOMIAL): Likewise.
5148 (TAYLOR_SINCOS): Likewise.
5149 (TAYLOR_SLOW): Likewise.
5150 (__sin): Use TAYLOR_SINCOS.
5152 (slow): Use TAYLOR_SLOW.
5157 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
5159 * stdlib/strtod_l.c: Fix buffer overrun.
5161 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5163 * benchtests/Makefile (bench): Add sincos.
5164 * benchtests/bench-sincos.c: New file.
5166 * math/libm-test.inc (cos_test_data): New test inputs.
5167 (sin_test_data): Likewise.
5169 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
5177 (bsloww1): Likewise.
5178 (bsloww2): Likewise.
5180 (csloww1): Likewise.
5181 (csloww2): Likewise.
5183 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
5188 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
5192 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
5194 * config.h.in (HAVE_MIPS_NAN2008): New macro.
5195 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
5196 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
5197 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
5198 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
5199 * elf/cache.c (print_entry): Handle the new cache flags.
5201 2013-09-18 Joseph Myers <joseph@codesourcery.com>
5202 Aldy Hernandez <aldyh@redhat.com>
5204 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
5205 Change condition to [_SOFT_FLOAT].
5206 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
5207 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
5208 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
5209 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
5210 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
5211 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
5212 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
5213 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
5214 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
5215 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
5216 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
5217 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
5218 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
5219 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
5220 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
5221 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
5224 2013-09-18 Joseph Myers <joseph@codesourcery.com>
5226 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
5227 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
5228 (__longjmp): Use LOAD_GP to load saved GPRs.
5229 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
5230 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
5231 (__sigsetjmp): Use SAVE_GP to save GPRs.
5233 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
5234 Do not append -msoft-float.
5235 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
5237 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
5239 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
5241 2013-09-17 Joseph Myers <joseph@codesourcery.com>
5244 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
5245 (_FPU_GETCW): Use initial "__" on variable and field names but not
5246 on macro parameter name.
5247 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
5248 parentheses around reference to macro parameter.
5250 2013-09-13 Richard Sandiford <richard@codesourcery.com>
5252 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
5254 (ctype_startup): Use uint32_t in cast and sizeof for
5257 2013-09-11 Jia Liu <proljc@gmail.com>
5259 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
5261 [__FreeBSD__]: Likewise.
5263 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
5265 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
5266 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
5267 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
5268 (strchr): Remove __strchr_sse42 ifunc selection.
5269 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
5270 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
5272 2013-09-11 Will Newton <will.newton@linaro.org>
5274 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
5275 parameter to RES. Remove hardcoded 1000 value.
5276 * benchtests/bench-skeleton.c (main): Pass RES parameter
5277 to TIMING_INIT and multiply result by 1000.
5279 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5281 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5283 2013-09-11 Andreas Schwab <schwab@suse.de>
5285 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
5287 (O_TMPFILE) [__USE_GNU]: Define.
5288 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
5291 2013-09-11 Will Newton <will.newton@linaro.org>
5294 * malloc/malloc.c (__libc_memalign): Check the value of bytes
5297 2013-09-11 Will Newton <will.newton@linaro.org>
5300 * malloc/malloc.c (__libc_valloc): Check the value of bytes
5303 2013-09-11 Will Newton <will.newton@linaro.org>
5306 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
5309 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
5311 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
5312 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
5313 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
5314 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
5315 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
5317 2013-09-10 Allan McRae <allan@archlinux.org>
5320 * manual/arith.texi (Parsing of Floats): Clarify
5324 * manual/install.texi (Running make install): Mention
5326 * INSTALL: Regenerated.
5328 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5330 * csu/init-first.c (_init): Remove the !SHARED condition around
5331 FPU control word initialization.
5332 * elf/dl-support.c (_dl_fpu_control): New variable.
5333 (_dl_aux_init) <AT_FPUCW>: Initialize it.
5334 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
5335 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
5336 * math/test-fpucw-static.c: New file.
5337 * math/test-fpucw-ieee.c: New file.
5338 * math/test-fpucw-ieee-static.c: New file.
5339 * math/Makefile (tests): Add `test-fpucw-ieee' and
5341 (tests-static): New variable.
5342 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
5344 [($(build-shared),yes)]
5345 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
5347 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
5350 2013-09-09 Allan McRae <allan@archlinux.org>
5353 * manual/string.texi (Collation Functions): Fix typo in
5355 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
5358 * stdlib/isomac.c (get_null_defines): Fix memory leak.
5361 * libio/memstream.c (open_memstream): Fix memory leak.
5362 * libio/wmemstream.c (open_wmemstream): Likewise.
5365 * nscd/netgroupcache.c: Fix nesting of ifdefs.
5367 2013-09-09 Will Newton <will.newton@linaro.org>
5369 * malloc/Makefile: Add tst-realloc to tests.
5370 * malloc/tst-realloc.c: New file.
5372 2013-09-09 Allan McRae <allan@archlinux.org>
5375 * COPYING: Update from GNU website to fix FSF address.
5376 * COPYING.LIB: Likewise.
5378 2013-09-06 David S. Miller <davem@davemloft.net>
5380 * po/zh_TW.po: Update Chinese (traditional) translation from
5381 translation project.
5383 2013-09-06 Richard Sandiford <richard@codesourcery.com>
5384 Joseph Myers <joseph@codesourcery.com>
5386 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
5388 (obstack_chunk_alloc): New macro.
5389 (obstack_chunk_free): Likewise.
5390 (record_offset): New function.
5391 (init_locale_data): Likewise.
5392 (align_locale_data): Likewise.
5393 (add_locale_empty): Likewise.
5394 (add_locale_raw_data): Likewise.
5395 (add_locale_raw_obstack): Likewise.
5396 (add_locale_string): Likewise.
5397 (add_locale_wstring): Likewise.
5398 (add_locale_uint32): Likewise.
5399 (add_locale_uint32_array): Likewise.
5400 (add_locale_char): Likewise.
5401 (start_locale_structure): Likewise.
5402 (end_locale_structure): Likewise.
5403 (start_locale_prelude): Likewise.
5404 (end_locale_prelude): Likewise.
5405 (write_locale_data): Take locale_file structure rather than an
5407 * locale/programs/locfile.h: Include "obstack.h".
5408 (struct locale_file): Change to store locale file contents instead
5410 (init_locale_data): New prototype.
5411 (align_locale_data): Likewise.
5412 (add_locale_empty): Likewise.
5413 (add_locale_raw_data): Likewise.
5414 (add_locale_raw_obstack): Likewise.
5415 (add_locale_string): Likewise.
5416 (add_locale_wstring): Likewise.
5417 (add_locale_uint32): Likewise.
5418 (add_locale_uint32_array): Likewise.
5419 (add_locale_char): Likewise.
5420 (start_locale_structure): Likewise.
5421 (end_locale_structure): Likewise.
5422 (start_locale_prelude): Likewise.
5423 (end_locale_prelude): Likewise.
5424 (write_locale_data): Update prototype.
5425 * locale/programs/3level.h (struct TABLE): Remove result field.
5426 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
5427 Use new locale_file interface.
5428 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
5429 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
5430 * locale/programs/ld-address.c (address_output): Use new
5431 locale_file interface.
5432 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
5434 (collate_finish): Don't call collseq_table_finalize.
5435 (collate_output): Use new locale_file interface.
5436 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
5438 (NO_FINALIZE): Change to NO_ADD_LOCALE.
5439 (TABLE): Move defines earlier in file.
5440 (ELEMENT): Likewise.
5441 (DEFAULT): Likewise.
5442 (wctrans_table_add): Move macro and inline function earlier in
5444 (struct wctype_table): Move type earlier in file.
5445 (add_locale_wctype_table): New static prototype.
5446 (struct locale_ctype_t): Use logical types instead of struct iovec
5447 pointers for members.
5448 (ctype_output): Use new locale_file interface.
5449 (wctype_table_finalize): Change to add_locale_wctype_table. Use
5450 new locale_file interface.
5451 (allocate_arrays): Update for use of new locale_file interface.
5452 * locale/programs/ld-identification.c (identification_output): Use
5453 new locale_file interface.
5454 * locale/programs/ld-measurement.c (measurement_output): Likewise.
5455 * locale/programs/ld-messages.c (messages_output): Likewise.
5456 * locale/programs/ld-monetary.c (monetary_output): Likewise.
5457 * locale/programs/ld-name.c (name_output): Likewise.
5458 * locale/programs/ld-numeric.c (numeric_output): Likewise.
5459 * locale/programs/ld-paper.c (paper_output): Likewise.
5460 * locale/programs/ld-telephone.c (telephone_output): Likewise.
5461 * locale/programs/ld-time.c (time_output): Likewise.
5463 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5465 * benchtests/Makefile: Add memrchr benchmark.
5466 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
5467 benchmark as memrchr.
5468 * benchtests/bench-memrchr-ifunc.c: New file.
5469 * benchtests/bench-memrchr.c: New file.
5471 2013-09-06 Will Newton <will.newton@linaro.org>
5473 * benchtests/Makefile (string-bench): Add memcpy.
5475 2013-09-05 Carlos O'Donell <carlos@redhat.com>
5476 Cong Wang <amwang@redhat.com>
5478 * sysdeps/unix/sysv/linux/bits/in.h
5479 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
5480 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
5481 before __USE_KERNEL_IPV6_DEFS uses.
5482 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
5484 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
5485 sockaddr_in6, or ipv6_mreq.
5487 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5489 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
5490 memory access for final bytes in some large inputs.
5491 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
5493 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5495 * string/test-memrchr.c: New file.
5496 * string/test-memrchr-ifunc.c: New file.
5497 * string/Makefile: Add new memrchr testcase.
5499 2013-09-05 Mike Frysinger <vapier@gentoo.org>
5501 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
5502 fanotify_init returns EPERM.
5504 2013-09-04 Joseph Myers <joseph@codesourcery.com>
5506 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
5508 (top level): Treat second token from macro or constant entries for
5509 allowed headers as allowed.
5510 * include/complex.h: Condition internal declarations on
5512 * include/fenv.h: Condition include of <stdbool.h> and internal
5513 declarations on [!_ISOMAC].
5515 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
5518 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
5520 2013-09-04 Joseph Myers <joseph@codesourcery.com>
5522 * configure.in (--enable-versioning): Remove configure option.
5523 (libc_cv_asm_symver_directive): Remove configure test.
5524 (libc_cv_ld_version_script_option): Likewise.
5525 (VERSIONING): Remove variable and AC_SUBST.
5526 (DO_VERSIONING): Remove AC_DEFINE.
5527 * configure: Regenerated.
5528 * config.h.in (DO_VERSIONING): Remove macro.
5529 * Makerules [$(versioning) = yes]: Change conditionals to
5530 [$(build-shared) = yes].
5531 * config.make.in (versioning): Remove variable.
5532 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
5533 [$(build-shared) = yes].
5534 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
5535 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
5536 * elf/Makefile [$(versioning) = yes]: Change conditionals to
5537 [$(build-shared) = yes].
5538 * extra-lib.mk [$(versioning) = yes]: Likewise.
5539 * hurd/Makefile [$(versioning) = yes]: Likewise.
5540 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
5542 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
5544 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
5545 [SHARED && !NO_HIDDEN].
5546 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
5548 [SHARED && DO_VERSIONING]: Likewise..
5549 * libio/Makefile [$(versioning) = yes]: Change conditionals to
5550 [$(build-shared) = yes].
5551 * manual/install.texi (--disable-versioning): Remove
5553 * INSTALL: Regenerated.
5554 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
5556 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
5557 [$(build-shared) = yes].
5558 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
5559 * sysdeps/i386/i686/multiarch/strstr-c.c
5560 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
5561 [SHARED && !NO_HIDDEN].
5562 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
5563 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
5564 * sysdeps/powerpc/powerpc32/dl-machine.c
5565 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
5566 * sysdeps/powerpc/powerpc32/sysdep.h
5567 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
5568 to [SHARED && PIC && !NO_HIDDEN].
5569 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
5570 conditional to [SHARED].
5572 2013-09-04 Will Newton <will.newton@linaro.org>
5574 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
5575 * benchtests/bench-string.h: Include bench-timing.h instead
5576 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
5577 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
5578 call to HP_TIMING_DIFF_INIT.
5579 * benchtests/bench-memccpy.c: Use bench-timing.h macros
5580 instead of hp-timing.h macros.
5581 * benchtests/bench-memchr.c: Likewise.
5582 * benchtests/bench-memcmp.c: Likewise.
5583 * benchtests/bench-memcpy.c: Likewise.
5584 * benchtests/bench-memmem.c: Likewise.
5585 * benchtests/bench-memmove.c: Likewise.
5586 * benchtests/bench-memset.c: Likewise.
5587 * benchtests/bench-rawmemchr.c: Likewise.
5588 * benchtests/bench-strcasecmp.c: Likewise.
5589 * benchtests/bench-strcasestr.c: Likewise.
5590 * benchtests/bench-strcat.c: Likewise.
5591 * benchtests/bench-strchr.c: Likewise.
5592 * benchtests/bench-strcmp.c: Likewise.
5593 * benchtests/bench-strcpy.c: Likewise.
5594 * benchtests/bench-strcpy_chk.c: Likewise.
5595 * benchtests/bench-strlen.c: Likewise.
5596 * benchtests/bench-strncasecmp.c: Likewise.
5597 * benchtests/bench-strncat.c: Likewise.
5598 * benchtests/bench-strncmp.c: Likewise.
5599 * benchtests/bench-strncpy.c: Likewise.
5600 * benchtests/bench-strnlen.c: Likewise.
5601 * benchtests/bench-strpbrk.c: Likewise.
5602 * benchtests/bench-strrchr.c: Likewise.
5603 * benchtests/bench-strspn.c: Likewise.
5604 * benchtests/bench-strstr.c: Likewise.
5606 2013-09-04 Will Newton <will.newton@linaro.org>
5608 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
5610 2013-09-03 Joseph Myers <joseph@codesourcery.com>
5613 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
5614 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
5615 * math/libm-test.inc (lgamma_test_data): Add more tests.
5616 * sysdeps/i386/fpu/libm-test-ulps: Update.
5617 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5619 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
5621 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
5622 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
5624 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
5625 Add strcmp-sse2-unaligned
5626 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
5628 2013-09-02 Mike Frysinger <vapier@gentoo.org>
5630 * Versions.def (libc): Add GLIBC_2.19.
5632 2013-09-02 Mike Frysinger <vapier@gentoo.org>
5634 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
5635 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
5637 2013-09-02 Joseph Myers <joseph@codesourcery.com>
5640 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
5641 intermediate calculations in recurrence.
5642 (__ieee754_ynf): Likewise.
5643 * math/libm-test.inc (jn_test_data): Do not allow spurious
5644 underflow exception. Add more tests.
5645 (yn_test_data): Add more tests.
5646 * sysdeps/i386/fpu/libm-test-ulps: Update.
5647 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5649 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
5651 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
5653 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
5655 * csu/init-first.c: Fix then/than typos.
5656 * locale/programs/ld-collate.c: Likewise.
5657 * locale/programs/linereader.h: Likewise.
5658 * manual/charset.texi: Likewise.
5659 * manual/filesys.texi: Likewise.
5660 * manual/stdio.texi: Likewise.
5661 * manual/string.texi: Likewise.
5662 * stdlib/fmtmsg.c: Likewise.
5663 * sysdeps/i386/stpncpy.S: Likewise.
5664 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
5665 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
5666 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
5667 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
5669 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
5671 * elf/dl-open.c: Fix typos.
5672 * iconvdata/gbbig5.c: Likewise.
5673 * iconvdata/iso-2022-jp.c: Likewise.
5674 * iconv/gconv_int.h: Likewise.
5675 * iconv/loop.c: Likewise.
5676 * nis/rpcsvc/nis.h: Likewise.
5677 * resolv/ns_name.c: Likewise.
5678 * stdio-common/vfscanf.c: Likewise.
5679 * streams/stropts.h: Likewise.
5680 * sunrpc/rpc_thread.c: Likewise.
5681 * sysdeps/i386/strpbrk.S: Likewise.
5682 * sysdeps/ieee754/k_standard.c: Likewise.
5683 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
5684 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
5685 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
5686 * sysdeps/mach/hurd/profil.c: Likewise.
5687 * sysdeps/s390/dl-procinfo.h: Likewise.
5688 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
5689 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
5690 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
5691 * sysdeps/x86_64/dl-trampoline.S: Likewise.
5692 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
5694 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
5696 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
5697 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
5699 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
5701 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
5703 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
5704 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
5705 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
5706 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
5707 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
5708 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
5709 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
5710 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
5712 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
5713 Roland McGrath <roland@hack.frob.com>
5715 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
5716 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
5718 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
5720 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
5721 __executable_start symbol instead of _start.
5723 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
5725 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
5726 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
5728 * sysdeps/gnu/ldsodefs.h: ... this new file.
5730 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
5731 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
5732 instead of ELFOSABI_LINUX.
5734 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
5735 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
5736 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
5737 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
5739 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
5740 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
5741 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
5743 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
5744 (ibm_extended_long_double): Add ieee_nan member.
5745 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
5746 (do_test): New function.
5748 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
5750 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
5751 functions, renamed from truncdfsf_test, trunctfsf_test,
5753 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
5755 (do_test): Run all these.
5757 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
5759 * argp/argp-help.c: Fix typos.
5760 * argp/argp-parse.c: Likewise.
5761 * debug/backtracesyms.c: Likewise.
5762 * elf/elf.h: Likewise.
5763 * malloc/malloc.c: Likewise.
5764 * nis/nis_print.c: Likewise.
5765 * resolv/res_comp.c: Likewise.
5766 * stdlib/stdlib.h: Likewise.
5767 * sunrpc/clnt_tcp.c: Likewise.
5768 * sunrpc/clnt_udp.c: Likewise.
5769 * sunrpc/clnt_unix.c: Likewise.
5770 * sysdeps/unix/bsd/ptsname.c: Likewise.
5771 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
5772 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
5773 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
5775 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
5777 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
5779 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
5781 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5783 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
5784 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
5786 2013-08-27 Mike Frysinger <vapier@gentoo.org>
5789 * dlfcn/Makefile (tests): Add bug-dl-leaf.
5790 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
5791 ($(objpfx)bug-dl-leaf): New rule.
5792 ($(objpfx)bug-dl-leaf.so): Likewise.
5793 ($(objpfx)bug-dl-leaf.out): Likewise.
5794 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
5795 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
5796 * dlfcn/bug-dl-leaf.c: New test.
5797 * dlfcn/bug-dl-leaf-lib.c: Likewise.
5798 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
5799 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
5800 (dlclose): Likewise.
5801 (dlmopen): Likewise.
5803 2013-08-27 Roland McGrath <roland@hack.frob.com>
5805 * include/netdb.h [!_ISOMAC]:
5806 Don't include <tls.h>.
5807 (h_errno, __libc_h_errno): Move declaration and macros out of
5810 * include/resolv.h [_RESOLV_H_]:
5811 Don't include <tls.h>.
5812 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
5813 * resolv/res_libc.c: Don't include <tls.h>.
5814 (_res): Use __attribute__ ((nocommon)) in place of
5815 __attribute__ ((section (".bss"))).
5817 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
5818 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
5820 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
5822 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
5823 only under [SIOCGIFCONF && SIOCGIFNETMASK].
5825 * resolv/res_mkquery.c: Include <sys/time.h>.
5827 * inet/ifreq.c: Moved to ...
5828 * sysdeps/unix/ifreq.c: ... here.
5829 * inet/ifreq.c: New file, true stub version.
5831 * socket/sa_len.c: New file.
5832 * socket/Makefile (aux): Add it.
5833 * sysdeps/unix/sysv/linux/Makefile
5834 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
5835 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
5836 and #include <socket/sa_len.c>.
5837 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
5838 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
5840 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
5841 * bits/socket.h: ... here.
5843 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
5844 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
5845 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
5847 2013-08-27 Andreas Schwab <schwab@suse.de>
5850 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
5851 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
5852 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
5853 * string/test-strcasecmp.c (test_main): Run tests in several
5855 * string/test-strncasecmp.c (test_main): Likewise.
5857 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
5858 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
5859 to __strcasecmp_nonascii and __strncasecmp_nonascii.
5860 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
5861 (__strncasecmp_ssse3) [PIC]: Likewise.
5863 2013-08-26 Roland McGrath <roland@hack.frob.com>
5865 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
5867 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
5868 instead of explicitly declaring xdecrypt.
5869 * nis/nss_nis/nis-publickey.c: Likewise.
5871 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5874 * nscd/aicache.c: Include res_hconf.h.
5875 (addhstaiX): Initialize res_hconf.
5877 2013-08-26 Andreas Schwab <schwab@suse.de>
5879 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
5880 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
5882 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5884 * nscd/aicache.c (addhstaiX): Fix indentation.
5886 2013-08-25 Mike Frysinger <vapier@gentoo.org>
5888 * configure.ac: Quote $build_pt_chown test.
5889 * configure: Regenerated.
5891 2013-08-23 Joseph Myers <joseph@codesourcery.com>
5894 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
5895 * math/s_cexpf.c (__cexpf): Likewise.
5896 * math/s_cexpl.c (__cexpl): Likewise.
5897 * math/libm-test.inc (cexp_test_data): Correct expected return
5898 value for NaN + i0. Add another test.
5900 2013-08-22 David S. Miller <davem@davemloft.net>
5902 * po/ca.po: Update Catalan translation from translation project.
5903 * po/uk.po: Add Ukrainian translations from translation project.
5905 2013-08-21 Joseph Myers <joseph@codesourcery.com>
5908 * math/s_fdim.c (__fdim): Check for infinite arguments if result
5909 is infinite, not alongside NaN test.
5910 * math/s_fdimf.c (__fdimf): Likewise.
5911 * math/s_fdiml.c (__fdiml): Likewise.
5912 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
5915 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
5917 * argp/argp-help.c: Fix typos.
5918 * crypt/speeds.c: Likewise.
5919 * csu/check_fds.c: Likewise.
5920 * elf/dl-load.c: Likewise.
5921 * elf/dl-open.c: Likewise.
5922 * elf/reldep3.c: Likewise.
5923 * elf/reldep.c: Likewise.
5924 * elf/sprof.c: Likewise.
5925 * iconv/iconv_charmap.c: Likewise.
5926 * iconv/skeleton.c: Likewise.
5927 * iconv/strtab.c: Likewise.
5928 * io/lockf64.c: Likewise.
5929 * libio/libioP.h: Likewise.
5930 * resolv/gai_notify.c: Likewise.
5931 * resolv/ns_name.c: Likewise.
5932 * resolv/ns_samedomain.c: Likewise.
5933 * resolv/res_send.c: Likewise.
5934 * stdlib/random.c: Likewise.
5935 * sunrpc/rpc/xdr.h: Likewise.
5936 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
5937 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
5938 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
5939 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
5940 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
5941 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
5942 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
5943 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
5944 * sysdeps/mach/hurd/check_fds.c: Likewise.
5945 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
5946 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
5947 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
5948 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
5949 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
5950 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
5951 * sysdeps/pthread/aio_notify.c: Likewise.
5952 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
5953 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
5954 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
5955 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
5956 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
5958 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
5960 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
5961 version if bit_Slow_SSE4_2 is set.
5962 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
5963 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
5965 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5968 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
5969 trampoline stack frame information.
5970 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
5971 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
5972 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
5973 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
5974 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
5975 * sysdeps/unix/sysv/linux/powerpc/init-first.c
5976 (_libc_vdso_platform_setup): Initialize the signal trampolines.
5977 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
5979 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
5980 interrupting a syscall and set with option SA_SIGINFO.
5982 2013-08-20 Joseph Myers <joseph@codesourcery.com>
5985 * math/s_cproj.c (__cproj): Only return an infinity if one part of
5986 argument is infinite.
5987 * math/s_cprojf.c (__cprojf): Likewise.
5988 * math/s_cprojl.c (__cprojl): Likewise.
5989 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
5990 * math/libm-test.inc (cproj_test_data): Add more tests.
5992 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
5994 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
5995 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
5996 size. Use __ffs to determine corresponding shift.
5998 2013-08-20 Joseph Myers <joseph@codesourcery.com>
5999 Roland McGrath <roland@hack.frob.com>
6001 * Makefile (INSTALL): Remove trailing blank lines from output of
6004 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6006 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
6007 Align 32 bit compat elf_greg to 8 bytes.
6009 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
6011 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
6013 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
6015 * string/strcoll_l.c (coll_seq): New structure.
6016 (get_next_seq_cached): New function.
6017 (get_next_seq): New function.
6018 (do_compare): New function.
6019 (STRCOLL): Use GNU style definition. Simplify implementation
6020 by using get_next_seq, get_next_seq_cached and do_compare.
6022 2013-08-16 Florian Weimer <fweimer@redhat.com>
6026 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
6028 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
6030 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
6031 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
6032 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
6034 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
6035 GETDENTS_64BIT_ALIGNED.
6036 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
6037 * manual/filesys.texi (Reading/Closing Directory): Document
6038 ENAMETOOLONG return value of readdir_r. Recommend readdir more
6040 * manual/conf.texi (Limits for Files): Add portability note to
6042 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
6044 2013-08-13 Andreas Schwab <schwab@suse.de>
6047 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
6049 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
6050 LDBL_MAX_EXP >= 16384]: Add tests for it.
6052 2013-08-12 David S. Miller <davem@davemloft.net>
6054 * version.h (RELEASE): Set to "development".
6055 (VERSION): Set to "2.18.90".
6056 * NEWS: Add 2.19 section.
6058 2013-08-03 David S. Miller <davem@davemloft.net>
6060 * po/ko.po: Update Korean translation from translation project.
6062 2013-08-01 David S. Miller <davem@davemloft.net>
6064 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
6065 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
6068 2013-07-30 David S. Miller <davem@davemloft.net>
6070 * po/fr.po: Update French translation from translation project.
6072 2013-07-28 David S. Miller <davem@davemloft.net>
6074 * po/cs.po: Update Czech translation from translation project.
6076 * po/sv.po: Update Swedish translation from translation project.
6078 2013-07-27 David S. Miller <davem@davemloft.net>
6080 * po/eo.po: Update Esperanto translation from translation project.
6082 * po/vi.po: Update Vietnamese translation from translation project.
6084 * po/de.po: Update German translation from translation project.
6086 2013-07-26 David S. Miller <davem@davemloft.net>
6088 * po/bg.po: Update Bulgarian translation from translation project.
6090 * po/nl.po: Update Dutch translation from translation project.
6091 * po/pl.po: Update Polish translation from translation project.
6092 * po/ru.po: Update Russian translation from translation project.
6094 2013-07-24 David S. Miller <davem@davemloft.net>
6096 * po/libc.pot: Update.
6098 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6100 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
6102 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
6103 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
6104 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
6106 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6108 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
6110 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6111 Andreas Schwab <schwab@suse.de>
6112 Roland McGrath <roland@hack.frob.com>
6113 Joseph Myers <joseph@codesourcery.com>
6114 Carlos O'Donell <carlos@redhat.com>
6117 * config.h.in: Define HAVE_PT_CHOWN.
6118 * config.make.in (build-pt-chown): New variable.
6119 * configure.in (--enable-pt_chown): New configure option.
6120 * configure: Regenerate.
6121 * login/Makefile: Include Makeconfig. Build pt_chown only if
6122 build-pt-chown is enabled.
6123 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
6124 pt_chown to fix pty ownership.
6125 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
6127 * manual/install.texi (Configuring and compiling): Mention
6128 --enable-pt_chown. Add @findex for grantpt.
6129 * INSTALL: Regenerate.
6131 2013-07-20 David S. Miller <davem@davemloft.net>
6133 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
6134 difference between 32-bit and 64-bit.
6136 2013-07-15 Carlos O'Donell <carlos@redhat.com>
6139 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
6140 Avoid system header dependency with -ffreestanding.
6141 ($(objpfx)bits/syscall%d): Likewise.
6143 2013-07-13 David S. Miller <davem@davemloft.net>
6145 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
6146 underflows from atanl/atan2l due to bug 15319.
6147 (casinh_test_data): Likewise.
6149 2013-07-07 David S. Miller <davem@davemloft.net>
6151 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
6153 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
6155 * sysdeps/i386/fpu/libm-test-ulps: Update.
6156 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6158 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
6160 * configure.in (--enable-lock-elision): Fix message text.
6161 * INSTALL: Regenerate.
6162 * configure: Regenerate.
6164 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6166 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6168 2013-07-03 Andreas Jaeger <aj@suse.de>
6170 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
6172 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
6173 (ptrace_peeksiginfo_args): Add.
6174 (__ptrace_peeksiginfo_flags): Add.
6175 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
6176 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
6177 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
6179 2013-07-03 Allan McRae <allan@archlinux.org>
6181 * sysdeps/i386/fpu/libm-test-ulps: Update.
6183 2013-07-02 David S. Miller <davem@davemloft.net>
6185 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6187 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
6189 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6191 2013-07-02 Joseph Myers <joseph@codesourcery.com>
6193 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
6194 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6196 2013-07-02 Andi Kleen <ak@linux.intel.com>
6198 * config.h.in (ENABLE_LOCK_ELISION): Add.
6199 * configure.in (--enable-lock-elision): Add option.
6200 * manual/install.texi: Document --enable lock elision.
6201 * configure: Regenerate
6202 * INSTALL: Regenerate.
6204 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
6206 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
6207 SSE4.2 strcasecmp for libc.a.
6208 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
6210 2013-07-02 Joseph Myers <joseph@codesourcery.com>
6213 * soft-fp/op-common.h (_FP_FMA): New macro.
6214 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
6215 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
6216 (_FP_MUL_MEAT_1_imm): ... here.
6217 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
6218 (_FP_MUL_MEAT_1_wide): ... here.
6219 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
6220 (_FP_MUL_MEAT_1_hard): ... here.
6221 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
6222 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
6223 (_FP_MUL_MEAT_2_wide): ... here.
6224 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
6225 (_FP_MUL_MEAT_2_wide_3mul): ... here.
6226 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
6227 (_FP_MUL_MEAT_2_gmp): ... here.
6228 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
6229 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
6230 (_FP_MUL_MEAT_4_wide): ... here.
6231 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
6232 (_FP_MUL_MEAT_4_gmp): ... here.
6233 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
6234 (_FP_WFRACBITS_DW_S): Likewise.
6235 (_FP_WFRACXBITS_DW_S): Likewise.
6236 (_FP_HIGHBIT_DW_S): Likewise.
6237 (FP_FMA_S): Likewise.
6238 (_FP_FRAC_HIGH_DW_S): Likewise.
6239 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
6240 (_FP_WFRACBITS_DW_D): Likewise.
6241 (_FP_WFRACXBITS_DW_D): Likewise.
6242 (_FP_HIGHBIT_DW_D): Likewise.
6243 (FP_FMA_D): Likewise.
6244 (_FP_FRAC_HIGH_DW_D): Likewise.
6245 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
6246 (_FP_WFRACBITS_DW_E): Likewise.
6247 (_FP_WFRACXBITS_DW_E): Likewise.
6248 (_FP_HIGHBIT_DW_E): Likewise.
6249 (FP_FMA_E): Likewise.
6250 (_FP_FRAC_HIGH_DW_E): Likewise.
6251 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
6252 (_FP_WFRACBITS_DW_Q): Likewise.
6253 (_FP_WFRACXBITS_DW_Q): Likewise.
6254 (_FP_HIGHBIT_DW_Q): Likewise.
6255 (FP_FMA_Q): Likewise.
6256 (_FP_FRAC_HIGH_DW_Q): Likewise.
6257 * soft-fp/fmasf4.c: New file.
6258 * soft-fp/fmadf4.c: Likewise.
6259 * soft-fp/fmatf4.c: Likewise.
6261 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6263 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
6264 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
6266 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
6268 (index_Slow_SSE4_2): Likewise.
6269 (index_Prefer_PMINUB_for_stringop): Likewise.
6270 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
6271 bit_Slow_SSE4_2 is set.
6272 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
6273 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
6275 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6277 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
6278 rtld_global._dl_hwcap2.
6279 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
6281 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
6282 POWER8 feature descriptions defined in _dl_hwcap2.
6283 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
6284 string handling for POWER8 feature bits.
6285 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
6286 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
6287 _dl_powerpc_cap_flags.
6288 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
6289 * sysdeps/powerpc/rtld-global-offsets.sym
6290 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
6291 _dl_hwcap2 in the rtld_global_ro structure.
6293 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6295 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
6296 hardware capabilities in support of AT_HWCAP2.
6297 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
6298 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
6300 (_dl_show_auxv): Add support for calling _dl_procinfo to display
6301 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
6302 explicitly the unknown a_type display mechanism is used.
6303 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
6304 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
6306 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
6307 to macro prototype for AT_HWCAP2 support.
6308 * sysdeps/i386/dl-procinfo.h: Likewise.
6309 * sysdeps/s390/dl-procinfo.h: Likewise.
6310 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
6311 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
6312 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
6313 return -1 for unknown a_type display fallback.
6314 * sysdeps/sparc/dl-procinfo.h: Likewise.
6315 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
6316 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
6318 2013-06-28 Joseph Myers <joseph@codesourcery.com>
6320 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
6321 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
6323 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
6326 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
6327 mprotect making __stack_prot writable.
6329 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
6330 Joseph Myers <joseph@codesourcery.com>
6332 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
6333 as being properly aligned.
6335 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
6337 * dlfcn/modstatic5.c: New file.
6338 * dlfcn/tststatic5.c: New file.
6339 * dlfcn/Makefile (tests): Add tststatic5.
6340 (tests-static): Likewise.
6341 (modules-names): Add modstatic5.
6342 (tststatic5-ENV): New variable.
6343 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
6346 * elf/dl-support.c (_dl_main_map): New variable.
6347 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
6348 (_dl_nns, _dl_load_adds): Set to 1.
6349 (_dl_initial_searchlist): Refer to _dl_main_map.
6350 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
6351 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
6352 call to _dl_get_origin.
6353 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
6355 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
6356 * dlfcn/modstatic3.c: New file.
6357 * dlfcn/tststatic3.c: New file.
6358 * dlfcn/tststatic4.c: New file.
6359 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
6360 (tests-static): Likewise.
6361 (modules-names): Add modstatic3.
6362 (tststatic3-ENV, tststatic4-ENV): New variables.
6363 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
6364 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
6366 2013-06-26 Joseph Myers <joseph@codesourcery.com>
6368 * configure.in (CC): Require GCC version 4.4 or later.
6369 * configure: Regenerated.
6370 * manual/install.texi (Tools for Compilation): Update GCC version
6372 * INSTALL: Regenerated.
6374 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6377 * string/test-memcmp.c (check2): New.
6378 (main): Call check2.
6380 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
6382 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
6385 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
6387 (dl_open_worker) [!SHARED]: ... here.
6389 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6391 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
6393 2013-06-25 Richard Henderson <rth@redhat.com>
6395 * locale/programs/locarchive.c: Include <libc-internal.h>
6397 2013-06-25 Joseph Myers <joseph@codesourcery.com>
6399 * manual/texinfo.tex: Update to version 2013-06-21.17, with
6400 trailing whitespace removed.
6402 2013-06-24 Mike Frysinger <vapier@gentoo.org>
6405 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
6406 * locale/programs/locarchive.c: Include libc-mmap.h.
6407 (prepare_address_space): Take two new outputs (the mmap base and len).
6408 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
6410 (create_archive): Declare new mmap base and len values for
6411 prepare_address_space, and store the result in ah.
6412 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
6413 (enlarge_archive): If ah->mmap_base is not NULL, use that and
6414 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
6415 Declare new mmap base and len values for
6416 prepare_address_space, and store the result in new_ah.
6417 (open_archive): Declare new mmap base and len values for
6418 prepare_address_space, and store the result in ah.
6419 (close_archive): If ah->mmap_base is not NULL, use that and
6420 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
6421 * sysdeps/generic/libc-mmap.h: New file.
6423 2013-06-24 Mike Frysinger <vapier@gentoo.org>
6425 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
6426 (ALIGN_UP): Likewise.
6427 (PTR_ALIGN_DOWN): Likewise.
6428 (PTR_ALIGN_UP): Likewise.
6430 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6432 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
6433 entry mapped to PPC_PLATFORM_POWER8.
6434 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
6436 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
6437 (_dl_string_platform): Add case for exporting platform position for
6439 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
6440 search path to sysdeps/powerpc/powerpc32/power8 directory.
6441 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
6442 search path to sysdeps/powerpc/powerpc64/power8 directory.
6443 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
6445 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
6448 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
6450 * INSTALL: Regenerate.
6452 * nscd/connections.c (nscd_init): Fix comment.
6454 2013-06-22 Joseph Myers <joseph@codesourcery.com>
6456 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
6459 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
6460 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
6462 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
6464 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
6466 (DL_DST_REQ_STATIC): Remove macro.
6468 2013-06-21 Joseph Myers <joseph@codesourcery.com>
6471 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
6472 with a shift of 0 bits.
6474 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
6476 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
6479 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6482 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
6484 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6486 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
6487 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
6488 accepts -fno-tree-loop-distribute-patterns.
6489 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
6490 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
6492 * string/memset.c (memset): Likewise.
6493 * string/test-memmove.c (simple_memmove): Disable loop transformation
6495 * string/test-memset.c (simple_memset): Likewise.
6496 * benchtests/bench-memmove.c (simple_memmove): Likewise.
6497 * benchtests/bench-memset.c (simple_memset): Likewise.
6498 * configure: Regenerated.
6500 2013-06-20 Joseph Myers <joseph@codesourcery.com>
6502 * math/test-misc.c (main): Ignore fesetround failure when failures
6503 of subsequent rounding tests would be ignored.
6506 * math/fedisblxcpt.c (fedisableexcept): Return 0.
6507 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
6508 * math/fegetenv.c (__fegetenv): Return 0.
6509 * math/fegetexcept.c (fegetexcept): Return 0.
6510 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
6512 * math/feholdexcpt.c (feholdexcept): Return 0.
6513 * math/fesetenv.c (__fesetenv): Return 0.
6514 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
6515 argument FE_TONEAREST.
6516 * math/feupdateenv.c (__feupdateenv): Return 0.
6517 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
6519 2013-06-18 Roland McGrath <roland@hack.frob.com>
6521 * elf/rtld-Rules (rtld-compile-command.S): New variable.
6522 (rtld-compile-command.s, rtld-compile-command.c): New variables.
6523 ($(objpfx)rtld-%.os rules): Use them.
6525 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6527 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
6530 2013-06-17 Roland McGrath <roland@hack.frob.com>
6532 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
6533 length of target pattern, then descending length of dependency pattern.
6534 * configure.in (AWK): Require gawk 3.1.2 or newer.
6535 * manual/install.texi (Tools for Compilation): Say that we do.
6536 * configure: Regenerated.
6538 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
6539 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
6540 * scripts/sysd-rules.awk: ... this new script.
6541 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
6542 than a glob-style pattern.
6544 2013-06-17 Joseph Myers <joseph@codesourcery.com>
6546 * math/test-misc.c (main): Do not treat incorrectly rounded
6547 conversions as failure unless ROUNDING_TESTS passes.
6549 2013-06-15 Joseph Myers <joseph@codesourcery.com>
6552 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
6553 restore exception state around main square root computation, then
6554 check for inexactness explicitly.
6556 * math/libm-test.inc (fma_test_data): Add another test.
6558 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6560 * manual/threads.texi (Non-POSIX Extensions): New document
6561 node. Document pthread_getattr_default_np and
6562 pthread_setattr_default_np.
6564 * Versions.def (libpthread): Add GLIBC_2.18.
6565 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
6566 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
6568 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
6570 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
6572 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
6574 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
6576 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
6578 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
6580 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
6582 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
6585 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6587 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6588 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
6590 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
6591 H.J. Lu <hjl.tools@gmail.com>
6594 * sysdeps/x86_64/rtld-memset.c: Remove file.
6595 * sysdeps/x86_64/rtld-memset.S: New file.
6597 2013-06-14 Joseph Myers <joseph@codesourcery.com>
6599 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
6600 (test_in_one_mode): Take arguments for whether the rounding mode
6601 is supported for each floating-point type.
6602 (do_test): Pass new arguments to test_in_one_mode using
6605 2013-06-13 Roland McGrath <roland@hack.frob.com>
6607 * posix/tst-waitid.c (do_test): Distinguish different instances of
6608 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
6609 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
6610 before entering the kernel for waitpid.
6612 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
6614 * NEWS: Fix note on clock function precision. Text by Roland
6617 2013-06-13 Roland McGrath <roland@hack.frob.com>
6619 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
6620 it into place only when and if the sanity check passes.
6622 2013-06-13 Joseph Myers <joseph@codesourcery.com>
6624 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
6625 output for whether conversion result is exact. Take argument
6626 indicating whether type is IBM long double.
6627 (round_for_all): Change need_exact field to ibm_ld.
6628 * stdlib/tst-strtod-round.c (struct exactness): New type.
6629 (struct test): Change bool ld_ok field to struct exactness exact.
6630 (TEST): Update all definitions for change to field.
6631 (tests): Regenerate array contents.
6632 (test_in_one_mode): Take pointer to new field instead of old ld_ok
6633 field value. Check for IBM long double here.
6634 (do_test): Update calls to test_in_one_mode.
6636 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
6639 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
6640 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
6642 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6645 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
6646 generated by the compiler on loop optimizations.
6647 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
6648 general definitions.
6650 2013-06-12 Joseph Myers <joseph@codesourcery.com>
6652 * math/bug-nextafter.c: Include <math-tests.h>.
6653 (main): Only test for exceptions if EXCEPTION_TESTS is true for
6655 * math/bug-nexttoward.c: Include <math-tests.h>.
6656 (main): Only test for exceptions if EXCEPTION_TESTS is true for
6658 * math/test-misc.c: Include <math-tests.h>.
6659 (main): Only test for exceptions if EXCEPTION_TESTS is true for
6662 2013-06-12 Andreas Jaeger <aj@suse.de>
6664 * po/ia.po: Update Interlingua translation from translation
6667 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
6669 * include/fenv.h: Include stdbool.h.
6670 (struct rm_ctx): New structure.
6671 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
6673 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
6674 (SET_RESTORE_ROUNDF): Likewise.
6675 (SET_RESTORE_ROUNDL): Likewise.
6676 (SET_RESTORE_ROUND_NOEX): Likewise.
6677 (SET_RESTORE_ROUND_NOEXF): Likewise.
6678 (SET_RESTORE_ROUND_NOEXL): Likewise.
6679 (SET_RESTORE_ROUND_53BIT): Likewise.
6680 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
6681 (libc_feresetround_noexf_ctx): Likewise.
6682 (libc_feresetround_noexl_ctx): Likewise.
6683 (libc_feholdsetround_53bit_ctx): Likewise.
6684 (libc_feresetround_53bit_ctx): Likewise.
6685 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
6686 (libc_feholdexcept_setround_sse_ctx): New function.
6687 (libc_fesetenv_sse_ctx): Likewise.
6688 (libc_feupdateenv_sse_ctx): Likewise.
6689 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
6690 (libc_feholdexcept_setround_387_ctx): Likewise.
6691 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
6692 (libc_feholdsetround_387_prec_ctx): Likewise.
6693 (libc_feholdsetround_387_ctx): Likewise.
6694 (libc_feholdsetround_387_53bit_ctx): Likewise.
6695 (libc_feholdsetround_sse_ctx): Likewise.
6696 (libc_feresetround_sse_ctx): Likewise.
6697 (libc_feresetround_387_ctx): Likewise.
6698 (libc_feupdateenv_387_ctx): Likewise.
6699 (libc_feholdexcept_setroundf_ctx): Define macro.
6700 (libc_fesetenvf_ctx): Likewise.
6701 (libc_feupdateenvf_ctx): Likewise.
6702 (libc_feholdsetroundf_ctx): Likewise.
6703 (libc_feresetroundf_ctx): Likewise.
6704 (libc_feholdexcept_setround_ctx): Likewise.
6705 (libc_fesetenv_ctx): Likewise.
6706 (libc_feupdateenv_ctx): Likewise.
6707 (libc_feholdsetround_ctx): Likewise.
6708 (libc_feresetround_ctx): Likewise.
6709 (libc_feholdexcept_setroundl_ctx): Likewise.
6710 (libc_feupdateenvl_ctx): Likewise.
6711 (libc_feholdsetroundl_ctx): Likewise.
6712 (libc_feresetroundl_ctx): Likewise.
6713 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
6714 (libc_feresetround_53bit_ctx): Likewise.
6716 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6718 * locale/iso-639.def: Convert to UTF-8.
6720 2013-06-11 Joseph Myers <joseph@codesourcery.com>
6722 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
6723 (EXCEPTION_TESTS_double): Likewise.
6724 (EXCEPTION_TESTS_long_double): Likewise.
6725 (EXCEPTION_TESTS): Likewise.
6726 * math/libm-test.inc (test_exceptions): Only test exceptions if
6727 EXCEPTION_TESTS (FLOAT).
6729 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6731 * benchtests/Makefile (string-bench): Add strcpy_chk and
6733 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
6734 * benchtests/bench-stpcpy_chk.c: New file.
6735 * benchtests/bench-strcpy_chk-ifunc.c: New file.
6736 * benchtests/bench-strcpy_chk.c: New file.
6737 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
6739 (do_test): Likewise.
6741 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6743 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
6744 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
6745 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
6746 with tabs where appropriate.
6747 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
6749 [PPC_PLATFORM_PPC440]: Likewise.
6750 [PPC_PLATFORM_PPC464]: Likewise.
6751 [PPC_PLATFORM_PPC476]: Likewise.
6752 (_dl_string_platform): Add support for detecting ppc405, ppc440,
6753 ppc464, and ppc476 platform strings merging from ports/
6756 2013-06-11 Andreas Schwab <schwab@suse.de>
6759 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
6760 (from_ucs4_idx): Regenerate.
6761 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
6762 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
6763 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
6764 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
6765 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
6766 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
6767 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
6768 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
6769 from FROM_LOOP and TO_LOOP specific macros.
6770 (BODY): Handle combining characters.
6771 * iconvdata/BIG5HKSCS.irreversible: Update.
6772 * iconvdata/BIG5HKSCS.precomposed: New file.
6773 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
6775 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
6777 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6779 * include/sys/time.h: Fix indentation and add copyright header.
6781 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
6782 (do_test): Likewise.
6783 * string/test-memchr.c (do_one_test): Likewise.
6784 (do_test): Likewise.
6785 * string/test-memcmp.c (do_one_test): Likewise.
6786 (do_test): Likewise.
6787 * string/test-memcpy.c (do_one_test): Likewise.
6788 (do_test): Likewise.
6789 * string/test-memmem.c (do_one_test): Likewise.
6790 (do_test): Likewise.
6791 (do_random_tests): Likewise.
6792 * string/test-memmove.c (do_one_test): Likewise.
6793 (do_test): Likewise.
6794 * string/test-memset.c (do_one_test): Likewise.
6795 (do_test): Likewise.
6796 * string/test-rawmemchr.c (do_one_test): Likewise.
6797 (do_test): Likewise.
6798 * string/test-strcasecmp.c (do_one_test): Likewise.
6799 (do_test): Likewise.
6800 * string/test-strcasestr.c (do_one_test): Likewise.
6801 (do_test): Likewise.
6802 * string/test-strcat.c (do_one_test): Likewise.
6803 (do_test): Likewise.
6804 * string/test-strchr.c (do_one_test): Likewise.
6805 (do_test): Likewise.
6806 * string/test-strcmp.c (do_one_test): Likewise.
6807 (do_test): Likewise.
6808 * string/test-strcpy.c (do_one_test): Likewise.
6809 (do_test): Likewise.
6810 * string/test-string.h: Likewise.
6811 (test_init): Likewise.
6812 * string/test-strlen.c (do_one_test): Likewise.
6813 (do_test): Likewise.
6814 * string/test-strncasecmp.c (do_one_test): Likewise.
6815 (do_test): Likewise.
6816 * string/test-strncat.c (do_one_test): Likewise.
6817 (do_test): Likewise.
6818 * string/test-strncmp.c (do_one_test): Likewise.
6819 (do_test_limit): Likewise.
6820 (do_test): Likewise.
6821 * string/test-strncpy.c (do_one_test): Likewise.
6822 (do_test): Likewise.
6823 * string/test-strnlen.c (do_one_test): Likewise.
6824 (do_test): Likewise.
6825 * string/test-strpbrk.c (do_one_test): Likewise.
6826 (do_test): Likewise.
6827 * string/test-strrchr.c (do_one_test): Likewise.
6828 (do_test): Likewise.
6829 * string/test-strspn.c (do_one_test): Likewise.
6830 (do_test): Likewise.
6831 * string/test-strstr.c (do_one_test): Likewise.
6832 (do_test): Likewise.
6834 * benchtests/Makefile (string-bench): Add string benchmarks.
6835 * benchtests/bench-bcopy-ifunc.c: New file.
6836 * benchtests/bench-bcopy.c: New file.
6837 * benchtests/bench-bzero-ifunc.c: New file.
6838 * benchtests/bench-bzero.c: New file.
6839 * benchtests/bench-memccpy-ifunc.c: New file.
6840 * benchtests/bench-memccpy.c: New file.
6841 * benchtests/bench-memchr-ifunc.c: New file.
6842 * benchtests/bench-memchr.c: New file.
6843 * benchtests/bench-memcmp-ifunc.c: New file.
6844 * benchtests/bench-memcmp.c: New file.
6845 * benchtests/bench-memmem-ifunc.c: New file.
6846 * benchtests/bench-memmem.c: New file.
6847 * benchtests/bench-memmove-ifunc.c: New file.
6848 * benchtests/bench-memmove.c: New file.
6849 * benchtests/bench-mempcpy-ifunc.c: New file.
6850 * benchtests/bench-mempcpy.c: New file.
6851 * benchtests/bench-memset-ifunc.c: New file.
6852 * benchtests/bench-memset.c: New file.
6853 * benchtests/bench-rawmemchr-ifunc.c: New file.
6854 * benchtests/bench-rawmemchr.c: New file.
6855 * benchtests/bench-stpcpy-ifunc.c: New file.
6856 * benchtests/bench-stpcpy.c: New file.
6857 * benchtests/bench-stpncpy-ifunc.c: New file.
6858 * benchtests/bench-stpncpy.c: New file.
6859 * benchtests/bench-strcasecmp-ifunc.c: New file.
6860 * benchtests/bench-strcasecmp.c: New file.
6861 * benchtests/bench-strcasestr-ifunc.c: New file.
6862 * benchtests/bench-strcasestr.c: New file.
6863 * benchtests/bench-strcat-ifunc.c: New file.
6864 * benchtests/bench-strcat.c: New file.
6865 * benchtests/bench-strchr-ifunc.c: New file.
6866 * benchtests/bench-strchr.c: New file.
6867 * benchtests/bench-strchrnul-ifunc.c: New file.
6868 * benchtests/bench-strchrnul.c: New file.
6869 * benchtests/bench-strcmp-ifunc.c: New file.
6870 * benchtests/bench-strcmp.c: New file.
6871 * benchtests/bench-strcpy-ifunc.c: New file.
6872 * benchtests/bench-strcpy.c: New file.
6873 * benchtests/bench-strcspn-ifunc.c: New file.
6874 * benchtests/bench-strcspn.c: New file.
6875 * benchtests/bench-strlen-ifunc.c: New file.
6876 * benchtests/bench-strlen.c: New file.
6877 * benchtests/bench-strncasecmp-ifunc.c: New file.
6878 * benchtests/bench-strncasecmp.c: New file.
6879 * benchtests/bench-strncat-ifunc.c: New file.
6880 * benchtests/bench-strncat.c: New file.
6881 * benchtests/bench-strncmp-ifunc.c: New file.
6882 * benchtests/bench-strncmp.c: New file.
6883 * benchtests/bench-strncpy-ifunc.c: New file.
6884 * benchtests/bench-strncpy.c: New file.
6885 * benchtests/bench-strnlen-ifunc.c: New file.
6886 * benchtests/bench-strnlen.c: New file.
6887 * benchtests/bench-strpbrk-ifunc.c: New file.
6888 * benchtests/bench-strpbrk.c: New file.
6889 * benchtests/bench-strrchr-ifunc.c: New file.
6890 * benchtests/bench-strrchr.c: New file.
6891 * benchtests/bench-strspn-ifunc.c: New file.
6892 * benchtests/bench-strspn.c: New file.
6893 * benchtests/bench-strstr-ifunc.c: New file.
6894 * benchtests/bench-strstr.c: New file.
6896 * benchtests/Makefile: Disable parallel execution of targets.
6897 (string-bench): Add memcpy.
6898 (benchset): New variable to store a list of benchmark sets.
6899 (bench-func): Renamed from bench.
6900 (bench-set): New target.
6901 (bench): Depend on bench-func and bench-set.
6902 * benchtests/README: Add section on benchmark sets.
6903 * benchtests/bench-memcpy-ifunc.c: New file.
6904 * benchtests/bench-memcpy.c: New file.
6905 * benchtests/bench-string.h: New file.
6907 2013-06-11 Andreas Schwab <schwab@suse.de>
6910 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
6911 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
6912 values in the triple.
6913 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
6914 terminator in the group key.
6916 2013-06-11 Andreas Jaeger <aj@suse.de>
6918 * po/zh_TW.po: Update Chinese (traditional) translation from
6919 translation project.
6921 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6923 * include/time.h (__clock_gettime): Add libc_hidden_proto.
6924 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
6925 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
6926 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
6927 (clock_getcpuclockid): Likewise.
6928 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
6929 Add weak_alias and libc_hidden_def.
6930 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
6931 * rt/clock_gettime.c (clock_gettime): Rename to
6932 __clock_gettime. Add weak_alias and libc_hidden_def.
6933 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
6934 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
6935 __clock_nanosleep. Add weak_alias and libc_hidden_def.
6936 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
6937 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
6939 * rt/clock_settime.c (clock_settime): Rename to
6940 __clock_settime. Add weak_alias and libc_hidden_def.
6941 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
6943 2013-06-10 Joseph Myers <joseph@codesourcery.com>
6945 * mach/err_boot.sub: Remove trailing whitespace.
6946 * mach/err_ipc.sub: Likewise.
6947 * mach/err_mach.sub: Likewise.
6949 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
6950 (ROUNDING_TESTS_double): Likewise.
6951 (ROUNDING_TESTS_long_double): Likewise.
6952 (ROUNDING_TESTS): Likewise.
6953 * math/libm-test.inc: Include <math-tests.h>.
6954 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
6955 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
6956 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
6957 (IF_ROUND_INIT_FE_UPWARD): Likewise.
6959 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
6961 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
6964 2013-06-08 Joseph Myers <joseph@codesourcery.com>
6966 * sysdeps/gnu/errlist.awk: Do not generate space at end of
6967 otherwise empty TRANS lines.
6968 * sysdeps/gnu/errlist.c: Regenerated.
6970 * catgets/gencat.c (error_print): Use (void) in function
6972 * crypt/crypt_util.c (__init_des): Likewise.
6973 * crypt/speeds.c (Stop): Likewise.
6975 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
6976 * inet/ruserpass.c (token): Likewise.
6977 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
6978 * intl/localealias.c (extend_alias_table): Likewise.
6979 * intl/plural-exp.c (init_germanic_plural): Likewise.
6980 * libio/fcloseall.c (__fcloseall): Likewise.
6981 * libio/genops.c (_IO_flush_all): Likewise.
6982 (_IO_flush_all_linebuffered): Likewise.
6983 (_IO_cleanup): Likewise.
6984 (_IO_iter_begin): Likewise.
6985 (_IO_iter_end): Likewise.
6986 (_IO_list_lock): Likewise.
6987 (_IO_list_unlock): Likewise.
6988 (_IO_list_resetlock): Likewise.
6989 * libio/getchar.c (getchar): Likewise.
6990 * libio/getchar_u.c (getchar_unlocked): Likewise.
6991 * libio/getwchar.c (getwchar): Likewise.
6992 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
6993 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
6994 * login/getpt.c (__getpt): Likewise.
6995 * login/tst-utmp.c (main): Likewise.
6996 * malloc/hooks.c (__malloc_check_init): Likewise.
6997 * malloc/malloc.c (__malloc_stats): Likewise.
6998 * malloc/mtrace.c (tr_break): Likewise.
7000 (muntrace): Likewise.
7001 * misc/fstab.c (endfsent): Likewise.
7002 * misc/getclktck.c (__getclktck): Likewise.
7003 * misc/getdtsz.c (__getdtablesize): Likewise.
7004 * misc/gethostid.c (gethostid): Likewise.
7005 * misc/getpagesize.c (__getpagesize): Likewise.
7006 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
7007 (__get_nprocs): Likewise.
7008 (__get_phys_pages): Likewise.
7009 (__get_avphys_pages): Likewise.
7010 * misc/getttyent.c (getttyent): Likewise.
7011 (setttyent): Likewise.
7012 (endttyent): Likewise.
7013 * misc/getusershell.c (getusershell): Likewise.
7014 (endusershell): Likewise.
7015 (setusershell): Likewise.
7016 (initshells): Likewise.
7017 * misc/hsearch.c (__hdestroy): Likewise.
7018 * misc/sync.c (sync): Likewise.
7019 * misc/syslog.c (closelog_internal): Likewise.
7020 (closelog): Likewise.
7021 * misc/ttyslot.c (ttyslot): Likewise.
7022 * misc/vhangup.c (vhangup): Likewise.
7023 * posix/fork.c (__fork): Likewise.
7024 * posix/getegid.c (__getegid): Likewise.
7025 * posix/geteuid.c (__geteuid): Likewise.
7026 * posix/getgid.c (__getgid): Likewise.
7027 * posix/getpid.c (__getpid): Likewise.
7028 * posix/getppid.c (__getppid): Likewise.
7029 * posix/getuid.c (__getuid): Likewise.
7030 * posix/pause.c (pause): Likewise.
7031 * posix/setpgrp.c (setpgrp): Likewise.
7032 * posix/setsid.c (__setsid): Likewise.
7033 * posix/test-vfork.c (noop): Likewise.
7034 * resolv/gethnamaddr.c (_endhtent): Likewise.
7035 (_gethtent): Likewise.
7036 (ht_endhostent): Likewise.
7037 (gethostent): Likewise.
7038 (dns_service): Likewise.
7039 * stdlib/drand48.c (drand48): Likewise.
7040 * stdlib/lrand48.c (lrand48): Likewise.
7041 * stdlib/mrand48.c (mrand48): Likewise.
7042 * stdlib/rand.c (rand): Likewise.
7043 * stdlib/random.c (__random): Likewise.
7044 * stdlib/setenv.c (clearenv): Likewise.
7045 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
7046 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
7047 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
7048 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
7049 (__get_nprocs): Likewise.
7050 (__get_phys_pages): Likewise.
7051 (__get_avphys_pages): Likewise.
7052 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
7053 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
7054 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
7055 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
7056 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
7057 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
7058 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
7059 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
7060 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
7061 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
7062 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
7063 * sysdeps/mach/hurd/sync.c (sync): Likewise.
7064 * sysdeps/posix/clock.c (clock): Likewise.
7065 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
7066 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
7067 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
7068 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
7069 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
7070 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
7071 (__get_nprocs_conf): Likewise.
7072 (__get_phys_pages): Likewise.
7073 (__get_avphys_pages): Likewise.
7074 * time/clock.c (clock): Likewise.
7075 * time/tzset.c (__tzname_max): Likewise.
7077 2013-06-07 Joseph Myers <joseph@codesourcery.com>
7079 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
7080 (__bswap_32): Do not use "register".
7081 * crypt/crypt.c (_ufc_doit_r): Likewise.
7082 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
7083 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
7084 * gmon/gmon.c (__monstartup): Likewise.
7085 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
7086 * hurd/hurdmalloc.c (more_memory): Likewise.
7089 (realloc): Likewise.
7090 (malloc_fork_prepare): Likewise.
7091 (malloc_fork_parent): Likewise.
7092 (malloc_fork_child): Likewise.
7093 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
7094 (_svcauth_des): Likewise.
7095 * inet/inet_lnaof.c (inet_lnaof): Likewise.
7096 * inet/inet_net.c (inet_network): Likewise.
7097 * inet/inet_netof.c (inet_netof): Likewise.
7098 * inet/rcmd.c (__validuser2_sa): Likewise.
7099 * io/fts.c (fts_open): Likewise.
7100 (fts_load): Likewise.
7101 (fts_close): Likewise.
7102 (fts_read): Likewise.
7103 (fts_children): Likewise.
7104 (fts_build): Likewise.
7105 (fts_stat): Likewise.
7106 (fts_sort): Likewise.
7107 (fts_alloc): Likewise.
7108 (fts_lfree): Likewise.
7109 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
7110 (_IO_file_xsgetn): Likewise.
7111 (_IO_file_xsgetn_mmap): Likewise.
7112 * libio/iofopncook.c (_IO_cookie_read): Likewise.
7113 (_IO_cookie_write): Likewise.
7114 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
7115 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
7116 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
7117 * malloc/obstack.c (_obstack_begin): Likewise.
7118 (_obstack_begin_1): Likewise.
7119 (_obstack_newchunk): Likewise.
7120 (_obstack_allocated_p): Likewise.
7121 (obstack_free): Likewise.
7122 (_obstack_memory_used): Likewise.
7123 * misc/getttyent.c (getttynam): Likewise.
7124 (getttyent): Likewise.
7127 * misc/getusershell.c (initshells): Likewise.
7128 * misc/syslog.c (__vsyslog_chk): Likewise.
7129 * misc/ttyslot.c (ttyslot): Likewise.
7130 * nis/nis_hash.c (__nis_hash): Likewise.
7131 * posix/fnmatch_loop.c (FCT): Likewise.
7132 * posix/getconf.c (print_all): Likewise.
7134 * posix/getopt.c (exchange): Likewise.
7135 * posix/glob.c (globfree): Likewise.
7136 (prefix_array): Likewise.
7137 (__glob_pattern_type): Likewise.
7138 * resolv/arpa/nameser.h (NS_GET16): Likewise.
7139 (NS_GET32): Likewise.
7140 (NS_PUT16): Likewise.
7141 (NS_PUT32): Likewise.
7142 * resolv/gethnamaddr.c (getanswer): Likewise.
7143 (gethostbyname2): Likewise.
7144 (gethostbyaddr): Likewise.
7145 (_gethtent): Likewise.
7146 (_gethtbyname2): Likewise.
7147 (_gethtbyaddr): Likewise.
7148 * resolv/ns_print.c (dst_s_get_int16): Likewise.
7149 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
7150 * resolv/res_init.c (__res_vinit): Likewise.
7151 (net_mask): Likewise.
7152 * resolv/res_mkquery.c (outchar): Likewise.
7154 * stdio-common/printf_fp.c (outchar): Likewise.
7156 * stdio-common/printf_fphex.c (outchar): Likewise.
7158 * stdio-common/printf_size.c (outchar): Likewise.
7160 * stdio-common/test_rdwr.c (main): Likewise.
7161 * stdio-common/tfformat.c (matches): Likewise.
7162 * stdio-common/vfprintf.c (outchar): Likewise.
7163 (printf_unknown): Likewise.
7164 (buffered_vfprintf): Likewise.
7165 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
7166 * stdio-common/xbug.c (AppendToBuffer): Likewise.
7167 (ReadFile): Likewise.
7168 * stdlib/qsort.c (SWAP): Likewise.
7169 (_quicksort): Likewise.
7170 * stdlib/setenv.c (__add_to_environ): Likewise.
7171 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
7172 * stdlib/strtol_l.c (__strtol_l): Likewise.
7173 * stdlib/tst-strtod.c (main): Likewise.
7174 * stdlib/tst-strtol.c (main): Likewise.
7175 * stdlib/tst-strtoll.c (main): Likewise.
7176 * string/bits/string2.h (__strcmp_cc): Likewise.
7177 (__strcmp_cg): Likewise.
7178 (__strcspn_c1): Likewise.
7179 (__strcspn_c2): Likewise.
7180 (__strcspn_c3): Likewise.
7181 (__strspn_c1): Likewise.
7182 (__strspn_c2): Likewise.
7183 (__strspn_c3): Likewise.
7184 (__strsep_1c): Likewise.
7185 (__strsep_2c): Likewise.
7186 (__strsep_3c): Likewise.
7187 * string/memccpy.c (__memccpy): Likewise.
7188 * string/stpcpy.c (__stpcpy): Likewise.
7189 * string/strcmp.c (strcmp): Likewise.
7190 * string/strrchr.c (strrchr): Likewise.
7191 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
7193 * sysdeps/mach/hurd/getcwd.c
7194 (_hurd_canonicalize_directory_name_internal): Likewise.
7195 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
7196 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
7197 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
7198 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
7199 Likewise, in both definitions.
7200 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
7202 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
7203 64] (__bswap_64): Likewise.
7204 * time/test_time.c (main): Likewise.
7205 * time/tzfile.c (__tzfile_read): Likewise.
7206 (__tzfile_compute): Likewise.
7207 * time/tzset.c (__tzset_parse_tz): Likewise.
7208 (tzset_internal): Likewise.
7209 (compute_change): Likewise.
7210 * wcsmbs/wcscat.c (__wcscat): Likewise.
7211 * wcsmbs/wcschr.c (wcschr): Likewise.
7212 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
7213 * wcsmbs/wcscspn.c (wcscspn): Likewise.
7214 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
7215 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
7216 * wcsmbs/wcsspn.c (wcsspn): Likewise.
7217 * wcsmbs/wcsstr.c (wcsstr): Likewise.
7218 * wcsmbs/wmemchr.c (wmemchr): Likewise.
7219 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
7220 * wcsmbs/wmemset.c (wmemset): Likewise.
7222 2013-06-06 Joseph Myers <joseph@codesourcery.com>
7224 * scripts/config.guess: Update to version 2013-05-16.
7225 * scripts/config.sub: Update to version 2013-04-24.
7226 * scripts/install-sh: Update to version 2011-11-20.07.
7227 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
7228 * scripts/move-if-change: Update to version 2012-01-06 07:23.
7230 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
7232 * debug/fgetws_u_chk.c: Fix leading whitespaces.
7233 * elf/sln.c: Likewise.
7234 * hurd/hurd/ioctl.h: Likewise.
7235 * hurd/hurdmalloc.c: Likewise.
7236 * hurd/xattr.c: Likewise.
7237 * include/shlib-compat.h: Likewise.
7238 * inet/ruserpass.c: Likewise.
7239 * libio/iofgets_u.c: Likewise.
7240 * libio/iofgetws_u.c: Likewise.
7241 * locale/programs/ld-identification.c: Likewise.
7242 * locale/programs/ld-time.c: Likewise.
7243 * mach/msg-destroy.c: Likewise.
7244 * nss/nss_files/files-netgrp.c: Likewise.
7245 * resolv/res_data.c: Likewise.
7246 * soft-fp/op-1.h: Likewise.
7247 * soft-fp/op-2.h: Likewise.
7248 * soft-fp/op-4.h: Likewise.
7249 * soft-fp/op-common.h: Likewise.
7250 * stdio-common/printf_fphex.c: Likewise.
7251 * stdlib/strtod_l.c: Likewise.
7252 * sunrpc/rpc/clnt.h: Likewise.
7253 * sysdeps/generic/framestate.c: Likewise.
7254 * sysdeps/i386/bsd-_setjmp.S: Likewise.
7255 * sysdeps/i386/bsd-setjmp.S: Likewise.
7256 * sysdeps/i386/__longjmp.S: Likewise.
7257 * sysdeps/i386/setjmp.S: Likewise.
7258 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
7259 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
7260 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
7261 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
7262 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
7263 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
7264 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
7265 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
7266 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
7267 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
7268 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
7269 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
7270 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
7271 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
7272 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
7273 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
7274 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
7275 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
7276 * sysdeps/ieee754/support.c: Likewise.
7277 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
7278 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
7279 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
7280 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
7281 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
7282 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
7283 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
7284 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
7285 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
7286 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
7287 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
7288 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
7289 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
7290 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
7291 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
7292 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
7293 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
7294 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
7296 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
7298 * posix/transbug.c: Remove executable mode.
7300 2013-06-05 Joseph Myers <joseph@codesourcery.com>
7302 * crypt/speeds.c: Remove trailing whitespace.
7303 * dlfcn/default.c: Likewise.
7304 * elf/ifuncdep2.c: Likewise.
7305 * elf/ifuncmain1.c: Likewise.
7306 * elf/ifuncmain1vis.c: Likewise.
7307 * elf/testobj.h: Likewise.
7308 * elf/tst-stackguard1.c: Likewise.
7309 * gmon/sys/gmon.h: Likewise.
7310 * hurd/hurdmsg.c: Likewise.
7311 * hurd/new-fd.c: Likewise.
7312 * hurd/ports-get.c: Likewise.
7313 * iconvdata/ibm1008_420.c: Likewise.
7314 * inet/tst-getni1.c: Likewise.
7315 * inet/tst-getni2.c: Likewise.
7316 * libio/ioungetc.c: Likewise.
7317 * libio/wfiledoalloc.c: Likewise.
7318 * manual/libm-err-tab.pl: Likewise.
7319 * math/w_dremf.c: Likewise.
7320 * misc/ftruncate.c: Likewise.
7321 * posix/bug-glob2.c: Likewise.
7322 * posix/tst-pcre.c: Likewise.
7323 * posix/wait4.c: Likewise.
7324 * resolv/README: Likewise.
7325 * resolv/res_debug.h: Likewise.
7326 * resolv/tst-inet_ntop.c: Likewise.
7327 * setjmp/bug269-setjmp.c: Likewise.
7328 * soft-fp/extended.h: Likewise.
7329 * soft-fp/op-1.h: Likewise.
7330 * soft-fp/op-2.h: Likewise.
7331 * soft-fp/op-4.h: Likewise.
7332 * soft-fp/op-8.h: Likewise.
7333 * soft-fp/testit.c: Likewise.
7334 * stdio-common/bug16.c: Likewise.
7335 * stdlib/random.c: Likewise.
7336 * sunrpc/rpcsvc/rquota.x: Likewise.
7337 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
7338 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
7339 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
7340 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
7341 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
7342 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
7343 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
7344 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
7345 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
7346 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
7347 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
7348 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
7349 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
7350 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
7351 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
7352 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
7353 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
7354 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
7355 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
7356 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
7357 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
7358 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
7359 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
7360 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
7361 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
7362 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
7363 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
7364 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
7365 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
7366 * sysdeps/ieee754/s_lib_version.c: Likewise.
7367 * sysdeps/mach/hurd/check_fds.c: Likewise.
7368 * sysdeps/mach/hurd/getsockname.c: Likewise.
7369 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
7370 * sysdeps/mach/hurd/recvfrom.c: Likewise.
7371 * sysdeps/powerpc/bits/link.h: Likewise.
7372 * sysdeps/powerpc/dl-procinfo.c: Likewise.
7373 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
7374 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
7375 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
7376 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
7377 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
7378 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
7379 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
7380 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
7381 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
7382 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
7383 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
7384 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
7385 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
7386 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
7387 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
7388 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
7389 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
7390 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
7391 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
7392 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
7393 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
7394 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
7395 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
7396 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
7397 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
7398 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
7399 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
7400 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
7401 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
7402 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
7403 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
7404 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
7405 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
7406 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
7407 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
7408 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
7409 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
7410 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
7411 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
7412 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
7413 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
7414 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
7415 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
7416 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
7417 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
7418 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
7419 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
7420 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
7421 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
7422 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
7423 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
7424 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
7425 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
7426 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
7427 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
7428 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
7429 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
7430 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
7431 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
7432 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
7433 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
7434 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
7435 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
7436 * sysdeps/powerpc/sysdep.h: Likewise.
7437 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
7438 * sysdeps/s390/s390-64/sub_n.S: Likewise.
7439 * sysdeps/sh/dl-trampoline.S: Likewise.
7440 * sysdeps/sh/memset.S: Likewise.
7441 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
7442 * sysdeps/sh/strlen.S: Likewise.
7443 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
7444 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
7445 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
7446 * sysdeps/sparc/sparc32/rem.S: Likewise.
7447 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
7448 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
7449 * sysdeps/sparc/sparc32/strchr.S: Likewise.
7450 * sysdeps/sparc/sparc32/udiv.S: Likewise.
7451 * sysdeps/sparc/sparc32/urem.S: Likewise.
7452 * sysdeps/sparc/sparc64/add_n.S: Likewise.
7453 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
7454 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
7455 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
7456 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
7457 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
7458 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
7459 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
7460 * sysdeps/unix/bsd/times.c: Likewise.
7461 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
7462 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
7463 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
7464 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
7465 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
7466 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
7467 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
7468 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
7469 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
7470 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
7471 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
7472 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
7473 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
7474 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
7475 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
7476 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
7477 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
7478 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
7479 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
7480 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
7481 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
7482 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
7483 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
7484 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
7485 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
7486 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
7487 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
7488 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
7489 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
7490 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
7491 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
7492 * sysdeps/x86_64/strcspn.S: Likewise.
7494 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
7496 * locale/C-translit.h: Revert #include <stdint.h> because this is a
7497 generated file. Regenerate properly from gen-translit.pl.
7498 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
7499 locale/C-translit.h.
7501 2013-06-05 Andreas Schwab <schwab@suse.de>
7504 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
7505 week as 6 instead of -1.
7506 * time/tst-strptime.c (day_tests): Add test case.
7508 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
7510 * sysdeps/generic/math_private.h
7511 (libc_feholdexcept_setround_53bit): Replace with
7512 libc_feholdsetround_53bit.
7513 (libc_feupdateenv_53bit): Replace with
7514 libc_feresetround_53bit.
7515 (SET_RESTORE_ROUND_53BIT): Adjust.
7517 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
7519 * string/test-strchrnul.c: Add copyright header.
7521 * posix/tst-getaddrinfo4.c: Increase test timeout.
7523 2013-06-03 Carlos O'Donell <carlos@redhat.com>
7526 * math/libm-test.inc (MAX_EXP): Remove
7528 (ulp): Use MIN_EXP - MANT_DIG.
7529 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
7531 2013-05-31 Carlos O'Donell <carlos@redhat.com>
7533 * po/be.po: Revert last change.
7534 * po/zh_CN.po: Likewise.
7535 * po/header.pot: Likewise.
7537 2013-05-31 Joseph Myers <joseph@codesourcery.com>
7539 * Makefile ($(common-objpfx)linkobj/libc.so): Define
7540 link-libc-deps to empty as target-specific variable.
7541 * Makerules (link-libc-args): New variable.
7542 (libc-for-link): Likewise.
7543 (link-libc-deps): Likewise.
7544 (lib%.so): Depend on $(link-libc-deps). Link with
7546 (build-module): Link with $(link-libc-args).
7547 (build-module-asneeded): Likewise.
7548 (build-module-helper-objlist): Filter out $(link-libc-deps) from
7550 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
7551 target-specific variable.
7552 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
7553 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
7554 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
7556 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
7558 ($(objpfx)libpcprofile.so): Likewise.
7559 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
7561 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
7562 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
7563 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
7565 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
7566 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
7567 * login/Makefile ($(objpfx)libutil.so): Likewise.
7568 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
7569 * math/Makefile ($(objpfx)libm.so): Likewise.
7570 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
7571 $(objpfx)libnsl.so): Define libc-for-link as target-specific
7572 variable instead of depending directly on libc.
7573 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
7574 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
7576 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
7578 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
7579 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
7580 ($(objpfx)libanl.so): Likewise.
7581 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
7583 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
7585 * sysdeps/i386/fpu/Makefile: Remove file.
7586 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
7587 ($(objpfx)libm.so): Remove dependency on ld.so.
7589 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
7592 * nis/yp_xdr.c (XDRMAXNAME): Define.
7593 (XDRMAXRECORD): Define.
7594 (xdr_domainname): Use XDRMAXNAME.
7595 (xdr_mapname): Likewise.
7596 (xdr_peername): Likewise.
7597 (xdr_keydat): Use XDRMAXRECORD.
7598 (xdr_valdat): Likewise.
7600 2013-05-30 Jeff Law <law@redhat.com>
7603 * manual/errno.texi (ESTALE): Update to account for more than
7604 just NFS file systems.
7605 * sysdeps/gnu/errlist.c: Regenerated.
7607 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
7610 * elf/Makefile (tests): Add tst-null-argv.
7611 (modules-names): Add tst-null-argv-lib.
7612 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
7613 (tst-null-argv-ENV): Set environment for tst-null-argv.
7614 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
7615 (RTLD_PROGNAME): New macro.
7616 * elf/tst-null-argv.c: New test case.
7617 * elf/tst-null-argv-lib.c: Library for test case.
7618 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
7619 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
7620 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
7621 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
7622 * elf/dl-init.c (call_init): Likewise.
7623 (_dl_init): Likewise.
7624 * elf/dl-load.c (print_search_path): Likewise.
7625 (_dl_map_object): Likewise.
7626 * elf/dl-lookup.c (do_lookup_x): Likewise.
7627 (add_dependency): Likewise.
7628 (_dl_lookup_symbol_x): Likewise.
7629 (_dl_debug_bindings): Likewise.
7630 * elf/dl-open.c (_dl_show_scope): Likewise.
7631 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
7632 * elf/dl-version.c (match_symbol): Likewise.
7633 (_dl_check_map_versions): Likewise.
7634 * elf/rtld.c (dl_main): Likewise.
7635 (print_unresolved): Use RTLD_PROGNAME.
7636 (print_missing_version): Likewise.
7637 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
7638 (elf_machine_rela): Likewise.
7639 * sysdeps/powerpc/powerpc32/dl-machine.c
7640 (__process_machine_rela): Likewise.
7641 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
7643 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
7645 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
7647 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
7648 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
7650 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
7652 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
7654 2013-05-28 Carlos O'Donell <carlos@redhat.com>
7656 * po/be.po: Add descriptive title.
7657 * po/zh_CN.po: Likewise.
7658 * po/header.pot: Likewise.
7660 2013-05-28 Mike Frysinger <vapier@gentoo.org>
7662 * locale/programs/locarchive.c (create_archive): Inlucde fname in
7664 (enlarge_archive): Likewise.
7666 2013-05-28 Ben North <ben@redfrontdoor.org>
7668 * manual/arith.texi (frexp): It is the magnitude of the return
7669 value which lies in [0.5, 1), not the return value itself.
7671 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7673 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7675 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
7677 * stdio-common/bug26.c (main): Correct fscanf template.
7679 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
7680 declare _dl_skip_args.
7682 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
7685 * manual/platform.texi: Add missing @end deftypefun.
7687 2013-05-24 Joseph Myers <joseph@codesourcery.com>
7690 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
7691 bit of mantissa of 2^16382.
7692 * math/libm-test.inc (hypot_test_data): Add more tests.
7694 * math/libm-test.inc: Add drem and pow10 to list of tested
7696 (pow10_test): New function.
7697 (drem_test): Likewise.
7698 (drem_test_tonearest): Likewise.
7699 (drem_test_towardzero): Likewise.
7700 (drem_test_downward): Likewise.
7701 (drem_test_upward): Likewise.
7702 (main): Call the new functions.
7704 * math/libm-test.inc (finite_test_data): Remove.
7705 (finite_test): Run tests from isfinite_test_data.
7706 (gamma_test_data): Remove.
7707 (gamma_test): Run tests from lgamma_test_data.
7708 * sysdeps/i386/fpu/libm-test-ulps: Update.
7709 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7711 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7713 * manual/platform.texi: Add PowerPC PPR function set documentation.
7714 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
7717 2013-05-24 Carlos O'Donell <carlos@redhat.com>
7719 * math/libm-test.inc (MAX_EXP): Define.
7721 (ulp): New function.
7722 (check_float_internal): Use ULPDIFF.
7723 (cpow_test): Disable failing test.
7724 (check_ulp): Test ulp() implemetnation.
7725 (main): Call check_ulp before starting tests.
7727 2013-05-24 Joseph Myers <joseph@codesourcery.com>
7729 * math/gen-libm-test.pl (generate_testfile): Do not handle
7730 START_DATA and END_DATA.
7731 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
7733 (acos_tonearest_test_data): Likewise.
7734 (acos_towardzero_test_data): Likewise.
7735 (acos_downward_test_data): Likewise.
7736 (acos_upward_test_data): Likewise.
7737 (acosh_test_data): Likewise.
7738 (asin_test_data): Likewise.
7739 (asin_tonearest_test_data): Likewise.
7740 (asin_towardzero_test_data): Likewise.
7741 (asin_downward_test_data): Likewise.
7742 (asin_upward_test_data): Likewise.
7743 (asinh_test_data): Likewise.
7744 (atan_test_data): Likewise.
7745 (atanh_test_data): Likewise.
7746 (atan2_test_data): Likewise.
7747 (cabs_test_data): Likewise.
7748 (cacos_test_data): Likewise.
7749 (cacosh_test_data): Likewise.
7750 (carg_test_data): Likewise.
7751 (casin_test_data): Likewise.
7752 (casinh_test_data): Likewise.
7753 (catan_test_data): Likewise.
7754 (catanh_test_data): Likewise.
7755 (cbrt_test_data): Likewise.
7756 (ccos_test_data): Likewise.
7757 (ccosh_test_data): Likewise.
7758 (ceil_test_data): Likewise.
7759 (cexp_test_data): Likewise.
7760 (cimag_test_data): Likewise.
7761 (clog_test_data): Likewise.
7762 (clog10_test_data): Likewise.
7763 (conj_test_data): Likewise.
7764 (copysign_test_data): Likewise.
7765 (cos_test_data): Likewise.
7766 (cos_tonearest_test_data): Likewise.
7767 (cos_towardzero_test_data): Likewise.
7768 (cos_downward_test_data): Likewise.
7769 (cos_upward_test_data): Likewise.
7770 (cosh_test_data): Likewise.
7771 (cosh_tonearest_test_data): Likewise.
7772 (cosh_towardzero_test_data): Likewise.
7773 (cosh_downward_test_data): Likewise.
7774 (cosh_upward_test_data): Likewise.
7775 (cpow_test_data): Likewise.
7776 (cproj_test_data): Likewise.
7777 (creal_test_data): Likewise.
7778 (csin_test_data): Likewise.
7779 (csinh_test_data): Likewise.
7780 (csqrt_test_data): Likewise.
7781 (ctan_test_data): Likewise.
7782 (ctan_tonearest_test_data): Likewise.
7783 (ctan_towardzero_test_data): Likewise.
7784 (ctan_downward_test_data): Likewise.
7785 (ctan_upward_test_data): Likewise.
7786 (ctanh_test_data): Likewise.
7787 (ctanh_tonearest_test_data): Likewise.
7788 (ctanh_towardzero_test_data): Likewise.
7789 (ctanh_downward_test_data): Likewise.
7790 (ctanh_upward_test_data): Likewise.
7791 (erf_test_data): Likewise.
7792 (erfc_test_data): Likewise.
7793 (exp_test_data): Likewise.
7794 (exp_tonearest_test_data): Likewise.
7795 (exp_towardzero_test_data): Likewise.
7796 (exp_downward_test_data): Likewise.
7797 (exp_upward_test_data): Likewise.
7798 (exp10_test_data): Likewise.
7799 (exp2_test_data): Likewise.
7800 (expm1_test_data): Likewise.
7801 (fabs_test_data): Likewise.
7802 (fdim_test_data): Likewise.
7803 (finite_test_data): Likewise.
7804 (floor_test_data): Likewise.
7805 (fma_test_data): Likewise.
7806 (fma_towardzero_test_data): Likewise.
7807 (fma_downward_test_data): Likewise.
7808 (fma_upward_test_data): Likewise.
7809 (fmax_test_data): Likewise.
7810 (fmin_test_data): Likewise.
7811 (fmod_test_data): Likewise.
7812 (fpclassify_test_data): Likewise.
7813 (frexp_test_data): Likewise.
7814 (gamma_test_data): Likewise.
7815 (hypot_test_data): Likewise.
7816 (ilogb_test_data): Likewise.
7817 (isfinite_test_data): Likewise.
7818 (isgreater_test_data): Likewise.
7819 (isgreaterequal_test_data): Likewise.
7820 (isinf_test_data): Likewise.
7821 (isless_test_data): Likewise.
7822 (islessequal_test_data): Likewise.
7823 (islessgreater_test_data): Likewise.
7824 (isnan_test_data): Likewise.
7825 (isnormal_test_data): Likewise.
7826 (issignaling_test_data): Likewise.
7827 (isunordered_test_data): Likewise.
7828 (j0_test_data): Likewise.
7829 (j1_test_data): Likewise.
7830 (jn_test_data): Likewise.
7831 (ldexp_test_data): Likewise.
7832 (lgamma_test_data): Likewise.
7833 (lrint_test_data): Likewise.
7834 (lrint_tonearest_test_data): Likewise.
7835 (lrint_towardzero_test_data): Likewise.
7836 (lrint_downward_test_data): Likewise.
7837 (lrint_upward_test_data): Likewise.
7838 (llrint_test_data): Likewise.
7839 (llrint_tonearest_test_data): Likewise.
7840 (llrint_towardzero_test_data): Likewise.
7841 (llrint_downward_test_data): Likewise.
7842 (llrint_upward_test_data): Likewise.
7843 (log_test_data): Likewise.
7844 (log10_test_data): Likewise.
7845 (log1p_test_data): Likewise.
7846 (log2_test_data): Likewise.
7847 (logb_test_data): Likewise.
7848 (logb_downward_test_data): Likewise.
7849 (lround_test_data): Likewise.
7850 (llround_test_data): Likewise.
7851 (modf_test_data): Likewise.
7852 (nearbyint_test_data): Likewise.
7853 (nextafter_test_data): Likewise.
7854 (nexttoward_test_data): Likewise.
7855 (pow_test_data): Likewise.
7856 (pow_tonearest_test_data): Likewise.
7857 (pow_towardzero_test_data): Likewise.
7858 (pow_downward_test_data): Likewise.
7859 (pow_upward_test_data): Likewise.
7860 (remainder_test_data): Likewise.
7861 (remainder_tonearest_test_data): Likewise.
7862 (remainder_towardzero_test_data): Likewise.
7863 (remainder_downward_test_data): Likewise.
7864 (remainder_upward_test_data): Likewise.
7865 (remquo_test_data): Likewise.
7866 (rint_test_data): Likewise.
7867 (rint_tonearest_test_data): Likewise.
7868 (rint_towardzero_test_data): Likewise.
7869 (rint_downward_test_data): Likewise.
7870 (rint_upward_test_data): Likewise.
7871 (round_test_data): Likewise.
7872 (scalb_test_data): Likewise.
7873 (scalbn_test_data): Likewise.
7874 (scalbln_test_data): Likewise.
7875 (signbit_test_data): Likewise.
7876 (sin_test_data): Likewise.
7877 (sin_tonearest_test_data): Likewise.
7878 (sin_towardzero_test_data): Likewise.
7879 (sin_downward_test_data): Likewise.
7880 (sin_upward_test_data): Likewise.
7881 (sincos_test_data): Likewise.
7882 (sinh_test_data): Likewise.
7883 (sinh_tonearest_test_data): Likewise.
7884 (sinh_towardzero_test_data): Likewise.
7885 (sinh_downward_test_data): Likewise.
7886 (sinh_upward_test_data): Likewise.
7887 (sqrt_test_data): Likewise.
7888 (tan_test_data): Likewise.
7889 (tan_tonearest_test_data): Likewise.
7890 (tan_towardzero_test_data): Likewise.
7891 (tan_downward_test_data): Likewise.
7892 (tan_upward_test_data): Likewise.
7893 (tanh_test_data): Likewise.
7894 (tgamma_test_data): Likewise.
7895 (trunc_test_data): Likewise.
7896 (y0_test_data): Likewise.
7897 (y1_test_data): Likewise.
7898 (yn_test_data): Likewise.
7899 (significand_test_data): Likewise.
7901 * math/gen-libm-test.pl (@functions): Remove variable.
7902 (generate_testfile): Don't handle START and END lines.
7903 * math/libm-test.inc (START): New macro.
7905 (END_COMPLEX): Likewise.
7906 (acos_test): Use END macro without arguments.
7907 (acos_test_tonearest): Likewise.
7908 (acos_test_towardzero): Likewise.
7909 (acos_test_downward): Likewise.
7910 (acos_test_upward): Likewise.
7911 (acosh_test): Likewise.
7912 (asin_test): Likewise.
7913 (asin_test_tonearest): Likewise.
7914 (asin_test_towardzero): Likewise.
7915 (asin_test_downward): Likewise.
7916 (asin_test_upward): Likewise.
7917 (asinh_test): Likewise.
7918 (atan_test): Likewise.
7919 (atanh_test): Likewise.
7920 (atan2_test): Likewise.
7921 (cabs_test): Likewise.
7922 (cacos_test): Use END_COMPLEX macro without arguments.
7923 (cacosh_test): Likewise.
7924 (carg_test): Use END macro without arguments.
7925 (casin_test): Use END_COMPLEX macro without arguments.
7926 (casinh_test): Likewise.
7927 (catan_test): Likewise.
7928 (catanh_test): Likewise.
7929 (cbrt_test): Use END macro without arguments.
7930 (ccos_test): Use END_COMPLEX macro without arguments.
7931 (ccosh_test): Likewise.
7932 (ceil_test): Use END macro without arguments.
7933 (cexp_test): Use END_COMPLEX macro without arguments.
7934 (cimag_test): Use END macro without arguments.
7935 (clog_test): Use END_COMPLEX macro without arguments.
7936 (clog10_test): Likewise.
7937 (conj_test): Likewise.
7938 (copysign_test): Use END macro without arguments.
7939 (cos_test): Likewise.
7940 (cos_test_tonearest): Likewise.
7941 (cos_test_towardzero): Likewise.
7942 (cos_test_downward): Likewise.
7943 (cos_test_upward): Likewise.
7944 (cosh_test): Likewise.
7945 (cosh_test_tonearest): Likewise.
7946 (cosh_test_towardzero): Likewise.
7947 (cosh_test_downward): Likewise.
7948 (cosh_test_upward): Likewise.
7949 (cpow_test): Use END_COMPLEX macro without arguments.
7950 (cproj_test): Likewise.
7951 (creal_test): Use END macro without arguments.
7952 (csin_test): Use END_COMPLEX macro without arguments.
7953 (csinh_test): Likewise.
7954 (csqrt_test): Likewise.
7955 (ctan_test): Likewise.
7956 (ctan_test_tonearest): Likewise.
7957 (ctan_test_towardzero): Likewise.
7958 (ctan_test_downward): Likewise.
7959 (ctan_test_upward): Likewise.
7960 (ctanh_test): Likewise.
7961 (ctanh_test_tonearest): Likewise.
7962 (ctanh_test_towardzero): Likewise.
7963 (ctanh_test_downward): Likewise.
7964 (ctanh_test_upward): Likewise.
7965 (erf_test): Use END macro without arguments.
7966 (erfc_test): Likewise.
7967 (exp_test): Likewise.
7968 (exp_test_tonearest): Likewise.
7969 (exp_test_towardzero): Likewise.
7970 (exp_test_downward): Likewise.
7971 (exp_test_upward): Likewise.
7972 (exp10_test): Likewise.
7973 (exp2_test): Likewise.
7974 (expm1_test): Likewise.
7975 (fabs_test): Likewise.
7976 (fdim_test): Likewise.
7977 (finite_test): Likewise.
7978 (floor_test): Likewise.
7979 (fma_test): Likewise.
7980 (fma_test_towardzero): Likewise.
7981 (fma_test_downward): Likewise.
7982 (fma_test_upward): Likewise.
7983 (fmax_test): Likewise.
7984 (fmin_test): Likewise.
7985 (fmod_test): Likewise.
7986 (fpclassify_test): Likewise.
7987 (frexp_test): Likewise.
7988 (gamma_test): Likewise.
7989 (hypot_test): Likewise.
7990 (ilogb_test): Likewise.
7991 (isfinite_test): Likewise.
7992 (isgreater_test): Likewise.
7993 (isgreaterequal_test): Likewise.
7994 (isinf_test): Likewise.
7995 (isless_test): Likewise.
7996 (islessequal_test): Likewise.
7997 (islessgreater_test): Likewise.
7998 (isnan_test): Likewise.
7999 (isnormal_test): Likewise.
8000 (issignaling_test): Likewise.
8001 (isunordered_test): Likewise.
8002 (j0_test): Likewise.
8003 (j1_test): Likewise.
8004 (jn_test): Likewise.
8005 (ldexp_test): Likewise.
8006 (lgamma_test): Likewise.
8007 (lrint_test): Likewise.
8008 (lrint_test_tonearest): Likewise.
8009 (lrint_test_towardzero): Likewise.
8010 (lrint_test_downward): Likewise.
8011 (lrint_test_upward): Likewise.
8012 (llrint_test): Likewise.
8013 (llrint_test_tonearest): Likewise.
8014 (llrint_test_towardzero): Likewise.
8015 (llrint_test_downward): Likewise.
8016 (llrint_test_upward): Likewise.
8017 (log_test): Likewise.
8018 (log10_test): Likewise.
8019 (log1p_test): Likewise.
8020 (log2_test): Likewise.
8021 (logb_test): Likewise.
8022 (logb_test_downward): Likewise.
8023 (lround_test): Likewise.
8024 (llround_test): Likewise.
8025 (modf_test): Likewise.
8026 (nearbyint_test): Likewise.
8027 (nextafter_test): Likewise.
8028 (nexttoward_test): Likewise.
8029 (pow_test): Likewise.
8030 (pow_test_tonearest): Likewise.
8031 (pow_test_towardzero): Likewise.
8032 (pow_test_downward): Likewise.
8033 (pow_test_upward): Likewise.
8034 (remainder_test): Likewise.
8035 (remainder_test_tonearest): Likewise.
8036 (remainder_test_towardzero): Likewise.
8037 (remainder_test_downward): Likewise.
8038 (remainder_test_upward): Likewise.
8039 (remquo_test): Likewise.
8040 (rint_test): Likewise.
8041 (rint_test_tonearest): Likewise.
8042 (rint_test_towardzero): Likewise.
8043 (rint_test_downward): Likewise.
8044 (rint_test_upward): Likewise.
8045 (round_test): Likewise.
8046 (scalb_test): Likewise.
8047 (scalbn_test): Likewise.
8048 (scalbln_test): Likewise.
8049 (signbit_test): Likewise.
8050 (sin_test): Likewise.
8051 (sin_test_tonearest): Likewise.
8052 (sin_test_towardzero): Likewise.
8053 (sin_test_downward): Likewise.
8054 (sin_test_upward): Likewise.
8055 (sincos_test): Likewise.
8056 (sinh_test): Likewise.
8057 (sinh_test_tonearest): Likewise.
8058 (sinh_test_towardzero): Likewise.
8059 (sinh_test_downward): Likewise.
8060 (sinh_test_upward): Likewise.
8061 (sqrt_test): Likewise.
8062 (tan_test): Likewise.
8063 (tan_test_tonearest): Likewise.
8064 (tan_test_towardzero): Likewise.
8065 (tan_test_downward): Likewise.
8066 (tan_test_upward): Likewise.
8067 (tanh_test): Likewise.
8068 (tgamma_test): Likewise.
8069 (trunc_test): Likewise.
8070 (y0_test): Likewise.
8071 (y1_test): Likewise.
8072 (yn_test): Likewise.
8073 (significand_test): Likewise.
8075 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
8078 * libio/genops.c (_IO_no_init): Initialize wide struct info.
8080 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
8083 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
8084 __ppc_mdoio and __ppc_mdoom.
8085 * manual/platform.texi: Document new functions __ppc_yield,
8086 __ppc_mdoio and __ppc_mdoom.
8088 2013-05-22 Carlos O'Donell <carlos@redhat.com>
8090 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
8091 (main): Mention "tls" pseudo-hwcap is legacy.
8092 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
8094 2013-05-22 Joseph Myers <joseph@codesourcery.com>
8096 * math/gen-libm-test.pl (parse_args): Output only string of
8097 arguments as text for test name, not full call or descriptions of
8098 tests for extra outputs.
8099 (generate_testfile): Do not pass function name to parse_args.
8100 Generate this_func variable from START.
8101 * math/libm-test.inc (struct test_f_f_data): Rename test_name
8103 (struct test_ff_f_data): Likewise.
8104 (test_ff_f_data_nexttoward): Likewise.
8105 (struct test_fi_f_data): Likewise.
8106 (struct test_fl_f_data): Likewise.
8107 (struct test_if_f_data): Likewise.
8108 (struct test_fff_f_data): Likewise.
8109 (struct test_c_f_data): Likewise.
8110 (struct test_f_f1_data): Likewise. Remove field extra_name.
8111 (struct test_fF_f1_data): Likewise.
8112 (struct test_ffI_f1_data): Likewise.
8113 (struct test_c_c_data): Rename test_name field to arg_str.
8114 (struct test_cc_c_data): Likewise.
8115 (struct test_f_i_data): Likewise.
8116 (struct test_ff_i_data): Likewise.
8117 (struct test_f_l_data): Likewise.
8118 (struct test_f_L_data): Likewise.
8119 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
8121 (COMMON_TEST_SETUP): New macro.
8122 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
8123 (COMMON_TEST_CLEANUP): Likewise.
8124 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
8125 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
8127 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
8128 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
8130 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
8131 (RUN_TEST_fff_f): Take argument string. Call new setup and
8133 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
8134 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
8136 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
8137 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
8139 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
8140 (RUN_TEST_fF_f1): Take argument string. Call new setup and
8142 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
8143 (RUN_TEST_fI_f1): Take argument string. Call new setup and
8145 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
8146 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
8148 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
8149 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
8151 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
8152 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
8154 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
8155 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
8157 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
8158 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
8160 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
8161 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
8163 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
8164 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
8166 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
8167 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
8169 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
8170 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
8172 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
8173 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
8175 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
8176 (RUN_TEST_fFF_11): Take argument string. Call new setup and
8178 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
8180 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
8182 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
8183 to _sifields.sigfault.
8184 (si_addr_lsb): Define new macro.
8185 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
8186 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
8187 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
8189 2013-05-03 Carlos O'Donell <carlos at redhat.com>
8192 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
8194 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
8196 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
8199 2013-05-22 Joseph Myers <joseph@codesourcery.com>
8201 * math/gen-libm-test.pl (parse_args): Do not include expected
8202 result in test name.
8203 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
8204 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8205 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
8206 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
8207 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
8208 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8210 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
8212 * benchtests/Makefile: Sort function entries.
8214 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
8215 tanh, asinh, acosh, atanh.
8216 * benchtests/acos-inputs: New file.
8217 * benchtests/acosh-inputs: New file.
8218 * benchtests/asin-inputs: New file.
8219 * benchtests/asinh-inputs: New file.
8220 * benchtests/atanh-inputs: New file.
8221 * benchtests/cosh-inputs: New file.
8222 * benchtests/log-inputs: New file.
8223 * benchtests/sinh-inputs: New file.
8224 * benchtests/tanh-inputs: New file.
8226 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
8229 * posix/tst-getaddrinfo4.c: New test.
8230 * posix/Makefile (tests): Add it.
8232 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8235 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
8236 when no services were used.
8237 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
8238 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
8240 2013-05-21 Andreas Schwab <schwab@suse.de>
8243 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
8244 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
8246 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
8247 redundant variable declarations and reallocation of buffer when
8248 parsing as IPv6 address. Always set NSS status when called from
8249 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
8250 buffer too small. Correct computation of needed size.
8251 * nss/Makefile (tests): Add test-digits-dots.
8252 * nss/test-digits-dots.c: New test.
8254 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8256 * benchtests/Makefile: Remove instructions for adding
8258 * benchtests/README: New file to explain how to execute and
8259 enhance the benchmark tests.
8261 2013-05-21 Andreas Schwab <schwab@suse.de>
8264 * setjmp/Makefile (tests): Add tst-sigsetjmp.
8265 * setjmp/tst-sigsetjmp.c: New test.
8267 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
8269 * sysdeps/x86_64/memset.S (memset): New implementation.
8270 (__bzero): Likewise.
8271 (__memset_tail): New function.
8273 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
8275 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
8276 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
8277 __memcpy_sse2_unaligned ifunc selection.
8278 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
8279 Add memcpy-sse2-unaligned.S.
8280 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
8281 Add: __memcpy_sse2_unaligned.
8283 2013-05-19 Joseph Myers <joseph@codesourcery.com>
8286 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
8287 math_force_eval before restoring floating-point envrionment.
8288 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
8289 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
8291 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
8293 (__nearbyintl): Use math_force_eval before restoring
8294 floating-point environment.
8295 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
8297 * math/gen-libm-test.pl (special_functions): Remove.
8298 (parse_args): Don't handle TEST_extra. Handle functions with no
8300 * math/libm-test.inc (struct test_sincos_data): Replace with
8301 struct test_fFF_11_data.
8302 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
8303 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
8304 (sincos_test_data): Change element type to struct
8305 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
8306 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
8307 RUN_TEST_LOOP_sincos.
8308 * math/README.libm-test: Don't mention special handling of
8309 individual functions.
8310 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
8311 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8312 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
8313 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
8314 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
8315 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8317 * math/gen-libm-test.pl (get_variable): Remove function.
8318 (parse_args): Don't show pointer parameters to call in test
8319 names. Use "extra output N" in test names for extra outputs
8320 rather than naming variables.
8322 2013-05-18 Joseph Myers <joseph@codesourcery.com>
8325 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
8326 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
8327 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
8329 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
8331 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
8334 * math/gen-libm-test.pl (@tests): Remove variable.
8336 (new_test): Remove function.
8337 (show_exceptions): New function.
8338 (special_functions): Use show_exceptions instead of new_test.
8339 (parse_args): Likewise.
8340 (generate_testfile): Pass only function name in generated call to
8341 print_max_error or print_complex_max_error.
8342 (get_ulps): Do not handle complex tests specially.
8343 (output_test): Rename to ...
8344 (get_all_ulps_for_test): ... this. Return a string rather than
8345 printing to a file. Require ulps to be present.
8346 (output_ulps): Generate arrays rather than #defines.
8347 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
8348 (struct ulp_data): New type.
8349 (BUILD_COMPLEX_ULP): Remove macro.
8350 (compare_ulp_data): New function.
8351 (find_ulps): Likewise.
8352 (find_test_ulps): Likewise.
8353 (find_function_ulps): Likewise.
8354 (find_complex_function_ulps): Likewise.
8355 (print_max_error): Determine allowed ulps using
8357 (print_complex_max_error): Determine allowed ulps using
8358 find_complex_function_ulps.
8359 (check_float_internal): Determine max ulps using find_test_ulps.
8360 (check_float): Do not take max_ulp parameter. Update call to
8361 check_float_internal.
8362 (check_complex): Likewise.
8363 (check_int): Do not take max_ulp parameter.
8364 (check_long): Likewise.
8365 (check_bool): Likewise.
8366 (check_longlong): Likewise.
8367 (struct test_f_f_data): Remove max_ulp field.
8368 (struct test_ff_f_data): Likewise.
8369 (struct test_ff_f_data_nexttoward): Likewise.
8370 (struct test_fi_f_data): Likewise.
8371 (struct test_fl_f_data): Likewise.
8372 (struct test_if_f_data): Likewise.
8373 (struct test_fff_f_data): Likewise.
8374 (struct test_c_f_data): Likewise.
8375 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
8376 (struct test_fF_f1_data): Likewise.
8377 (struct test_ffI_f1_data): Likewise.
8378 (struct test_c_c_data): Remove max_ulp field.
8379 (struct test_cc_c_data): Likewise.
8380 (struct test_f_i_data): Likewise.
8381 (struct test_ff_i_data): Likewise.
8382 (struct test_f_l_data): Likewise.
8383 (struct test_f_L_data): Likewise.
8384 (struct test_sincos_data): Likewise.
8385 (RUN_TEST_f_f): Do not handle ulps.
8386 (RUN_TEST_LOOP_f_f): Likewise.
8387 (RUN_TEST_2_f): Likewise.
8388 (RUN_TEST_LOOP_2_f): Likewise.
8389 (RUN_TEST_fff_f): Likewise.
8390 (RUN_TEST_LOOP_fff_f): Likewise.
8391 (RUN_TEST_c_f): Likewise.
8392 (RUN_TEST_LOOP_c_f): Likewise.
8393 (RUN_TEST_f_f1): Likewise.
8394 (RUN_TEST_LOOP_f_f1): Likewise.
8395 (RUN_TEST_fF_f1): Likewise.
8396 (RUN_TEST_LOOP_fF_f1): Likewise.
8397 (RUN_TEST_fI_f1): Likewise.
8398 (RUN_TEST_LOOP_fI_f1): Likewise.
8399 (RUN_TEST_ffI_f1): Likewise.
8400 (RUN_TEST_LOOP_ffI_f1): Likewise.
8401 (RUN_TEST_c_c): Likewise.
8402 (RUN_TEST_LOOP_c_c): Likewise.
8403 (RUN_TEST_cc_c): Likewise.
8404 (RUN_TEST_LOOP_cc_c): Likewise.
8405 (RUN_TEST_f_i): Likewise.
8406 (RUN_TEST_LOOP_f_i): Likewise.
8407 (RUN_TEST_f_i_tg): Likewise.
8408 (RUN_TEST_LOOP_f_i_tg): Likewise.
8409 (RUN_TEST_ff_i_tg): Likewise.
8410 (RUN_TEST_LOOP_ff_i_tg): Likewise.
8411 (RUN_TEST_f_b): Likewise.
8412 (RUN_TEST_LOOP_f_b): Likewise.
8413 (RUN_TEST_f_b_tg): Likewise.
8414 (RUN_TEST_LOOP_f_b_tg): Likewise.
8415 (RUN_TEST_f_l): Likewise.
8416 (RUN_TEST_LOOP_f_l): Likewise.
8417 (RUN_TEST_f_L): Likewise.
8418 (RUN_TEST_LOOP_f_L): Likewise.
8419 (RUN_TEST_sincos): Likewise.
8420 (RUN_TEST_LOOP_sincos): Likewise.
8422 2013-05-17 Joseph Myers <joseph@codesourcery.com>
8426 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
8427 main case of finite arguments, set rounding mode to FE_TONEAREST
8428 and discard exceptions.
8429 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
8431 (remainder_tonearest_test_data): New variable.
8432 (remainder_test_tonearest): New function.
8433 (remainder_towardzero_test_data): New variable.
8434 (remainder_test_towardzero): New function.
8435 (remainder_downward_test_data): New variable.
8436 (remainder_test_downward): New function.
8437 (remainder_upward_test_data): New variable.
8438 (remainder_test_upward): New function.
8439 (main): Call the new test functions.
8441 * math/libm-test.inc (struct test_f_f1_data): Remove field
8443 (struct test_fF_f1_data): Likewise.
8444 (struct test_ffI_f1_data): Likewise.
8445 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
8446 based on value of EXTRA_EXPECTED.
8447 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
8448 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
8449 EXTRA_VAR based on value of EXTRA_EXPECTED.
8450 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
8451 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
8452 EXTRA_VAR based on value of EXTRA_EXPECTED.
8453 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
8454 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
8455 EXTRA_VAR based on value of EXTRA_EXPECTED.
8456 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
8457 * math/gen-libm-test.pl (parse_args): Don't output initializers
8458 for extra output values.
8460 * math/libm-test.inc (check_int): Expect result to be exactly
8461 equal to expected value and do not handle ulps.
8462 (check_long): Likewise.
8463 (check_longlong): Likewise.
8465 * math/libm-test.inc (ceil_test_data): Test for "inexact"
8467 (cimag_test_data): Likewise.
8468 (conj_test_data): Likewise.
8469 (copysign_test_data): Likewise.
8470 (cproj_test_data): Likewise.
8471 (creal_test_data): Likewise.
8472 (fabs_test_data): Likewise.
8473 (fdim_test_data): Likewise.
8474 (finite_test_data): Likewise.
8475 (floor_test_data): Likewise.
8476 (fmax_test_data): Likewise.
8477 (fmin_test_data): Likewise.
8478 (fmod_test_data): Likewise.
8479 (fpclassify_test_data): Likewise.
8480 (frexp_test_data): Likewise.
8481 (ilogb_test_data): Likewise.
8482 (isfinite_test_data): Likewise.
8483 (isgreater_test_data): Likewise.
8484 (isgreaterequal_test_data): Likewise.
8485 (isinf_test_data): Likewise.
8486 (isless_test_data): Likewise.
8487 (islessequal_test_data): Likewise.
8488 (islessgreater_test_data): Likewise.
8489 (isnan_test_data): Likewise.
8490 (isnormal_test_data): Likewise.
8491 (issignaling_test_data): Likewise.
8492 (isunordered_test_data): Likewise.
8493 (ldexp_test_data): Likewise.
8494 (lrint_test_data): Likewise.
8495 (lrint_test_data) [TEST_FLOAT]: Disable one test.
8496 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
8497 (lrint_tonearest_test_data): Test for "inexact" exceptions.
8498 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
8499 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
8500 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
8502 (lrint_towardzero_test_data): Test for "inexact" exceptions.
8503 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
8504 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
8505 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
8507 (lrint_downward_test_data): Test for "inexact" exceptions.
8508 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
8509 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
8510 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
8512 (lrint_upward_test_data): Test for "inexact" exceptions.
8513 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
8515 (llrint_test_data): Test for "inexact" exceptions.
8516 (llrint_test_data) [TEST_FLOAT]: Disable one test.
8517 (llrint_tonearest_test_data): Test for "inexact" exceptions.
8518 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
8519 (llrint_towardzero_test_data): Test for "inexact" exceptions.
8520 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
8521 (llrint_downward_test_data): Test for "inexact" exceptions.
8522 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
8523 (llrint_upward_test_data): Test for "inexact" exceptions.
8524 (logb_test_data): Likewise.
8525 (logb_downward_test_data): Likewise.
8526 (nextafter_test_data): Likewise.
8527 (nexttoward_test_data): Likewise.
8528 (remainder_test_data): Likewise.
8529 (remquo_test_data): Likewise.
8530 (scalbn_test_data): Likewise.
8531 (scalbln_test_data): Likewise.
8532 (signbit_test_data): Likewise.
8533 (sqrt_test_data): Likewise.
8534 (significand_test_data): Likewise.
8536 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
8539 * benchtests/bench-modf.c (struct args): Mark arg0 as
8541 * scripts/bench.pl: Mark members of struct args as volatile.
8543 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8546 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
8547 negative infinity on POWER6 or lower.
8548 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
8550 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
8553 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
8554 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
8555 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
8556 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
8557 (_FP_SETQNAN): New macro.
8558 (_FP_SETQNAN_SEMIRAW): Likewise.
8559 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
8560 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
8561 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
8562 (FP_EXTEND): Use _FP_FRAC_SNANP.
8563 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
8564 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
8566 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
8568 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
8571 2013-05-16 Joseph Myers <joseph@codesourcery.com>
8573 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
8574 with DIVIDE_BY_ZERO_EXCEPTION.
8575 (gamma_test_data): Likewise.
8576 (lgamma_test_data): Likewise.
8577 (log_test_data): Likewise.
8578 (log10_test_data): Likewise.
8579 (log2_test_data): Likewise.
8580 (tgamma_test_data): Likewise.
8582 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
8583 (acos_test_tonearest): Likewise.
8584 (acos_test_towardzero): Likewise.
8585 (acos_test_downward): Likewise.
8586 (acos_test_upward): Likewise.
8587 (acosh_test): Likewise.
8588 (asin_test): Likewise.
8589 (asin_test_tonearest): Likewise.
8590 (asin_test_towardzero): Likewise.
8591 (asin_test_downward): Likewise.
8592 (asin_test_upward): Likewise.
8593 (asinh_test): Likewise.
8594 (atan_test): Likewise.
8595 (atanh_test): Likewise.
8596 (atan2_test): Likewise.
8597 (cabs_test): Likewise.
8598 (cacos_test): Likewise.
8599 (cacosh_test): Likewise.
8600 (casin_test): Likewise.
8601 (casinh_test): Likewise.
8602 (catan_test): Likewise.
8603 (catanh_test): Likewise.
8604 (cbrt_test): Likewise.
8605 (ccos_test): Likewise.
8606 (ccosh_test): Likewise.
8607 (cexp_test): Likewise.
8608 (clog_test): Likewise.
8609 (clog10_test): Likewise.
8610 (cos_test): Likewise.
8611 (cos_test_tonearest): Likewise.
8612 (cos_test_towardzero): Likewise.
8613 (cos_test_downward): Likewise.
8614 (cos_test_upward): Likewise.
8615 (cosh_test): Likewise.
8616 (cosh_test_tonearest): Likewise.
8617 (cosh_test_towardzero): Likewise.
8618 (cosh_test_downward): Likewise.
8619 (cosh_test_upward): Likewise.
8620 (cpow_test): Likewise.
8621 (csin_test): Likewise.
8622 (csinh_test): Likewise.
8623 (csqrt_test): Likewise.
8624 (ctan_test): Likewise.
8625 (ctan_test_tonearest): Likewise.
8626 (ctan_test_towardzero): Likewise.
8627 (ctan_test_downward): Likewise.
8628 (ctan_test_upward): Likewise.
8629 (ctanh_test): Likewise.
8630 (ctanh_test_tonearest): Likewise.
8631 (ctanh_test_towardzero): Likewise.
8632 (ctanh_test_downward): Likewise.
8633 (ctanh_test_upward): Likewise.
8634 (erf_test): Likewise.
8635 (erfc_test): Likewise.
8636 (exp_test): Likewise.
8637 (exp_test_tonearest): Likewise.
8638 (exp_test_towardzero): Likewise.
8639 (exp_test_downward): Likewise.
8640 (exp_test_upward): Likewise.
8641 (exp10_test): Likewise.
8642 (exp2_test): Likewise.
8643 (expm1_test): Likewise.
8644 (fmod_test): Likewise.
8645 (gamma_test): Likewise.
8646 (hypot_test): Likewise.
8647 (j0_test): Likewise.
8648 (j1_test): Likewise.
8649 (jn_test): Likewise.
8650 (lgamma_test): Likewise.
8651 (log_test): Likewise.
8652 (log10_test): Likewise.
8653 (log1p_test): Likewise.
8654 (log2_test): Likewise.
8655 (logb_test_downward): Likewise.
8656 (pow_test): Likewise.
8657 (pow_test_tonearest): Likewise.
8658 (pow_test_towardzero): Likewise.
8659 (pow_test_downward): Likewise.
8660 (pow_test_upward): Likewise.
8661 (remainder_test): Likewise.
8662 (remquo_test): Likewise.
8663 (sin_test): Likewise.
8664 (sin_test_tonearest): Likewise.
8665 (sin_test_towardzero): Likewise.
8666 (sin_test_downward): Likewise.
8667 (sin_test_upward): Likewise.
8668 (sincos_test): Likewise.
8669 (sinh_test): Likewise.
8670 (sinh_test_tonearest): Likewise.
8671 (sinh_test_towardzero): Likewise.
8672 (sinh_test_downward): Likewise.
8673 (sinh_test_upward): Likewise.
8674 (sqrt_test): Likewise.
8675 (tan_test): Likewise.
8676 (tan_test_tonearest): Likewise.
8677 (tan_test_towardzero): Likewise.
8678 (tan_test_downward): Likewise.
8679 (tan_test_upward): Likewise.
8680 (tanh_test): Likewise.
8681 (tgamma_test): Likewise.
8682 (y0_test): Likewise.
8683 (y1_test): Likewise.
8684 (yn_test): Likewise.
8686 * math/gen-libm-test.pl (adjust_arg): Remove function.
8687 (special_function): Remove argument $in_func. Only handle
8688 generating output for tables of tests, not inside functions.
8689 (parse_args): Likewise.
8690 (generate_testfile): Remove variable $in_func. Update call to
8692 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
8693 (MINUS_ZERO_INIT): Rename macro to minus_zero.
8694 (PLUS_INFTY_INIT): Rename macro to plus_infty.
8695 (MINUS_INFTY_INIT): Rename macro to minus_infty.
8696 (QNAN_VALUE_INIT): Rename macro to qnan_value.
8697 (MAX_VALUE_INIT): Rename macro to max_value.
8698 (MIN_VALUE_INIT): Rename macro to min_value.
8699 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
8700 (plus_zero): Remove variable.
8701 (minus_zero): Likewise.
8702 (plus_infty): Likewise.
8703 (minus_infty): Likewise.
8704 (qnan_value): Likewise.
8705 (max_value): Likewise.
8706 (min_value): Likewise.
8707 (min_subnorm_value): Likewise.
8709 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
8711 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
8712 uint64_t or uint32_t usage.
8713 * crypt/sha256-block.c: Likewise.
8714 * crypt/sha256-crypt.c: Likewise.
8715 * crypt/sha256.c: Likewise.
8716 * crypt/sha512-block.c: Likewise.
8717 * crypt/sha512-crypt.c: Likewise.
8718 * crypt/sha512.c: Likewise.
8719 * debug/backtrace-tst.c: Likewise.
8720 * debug/pcprofiledump.c: Likewise.
8721 * elf/cache.c: Likewise.
8722 * elf/dl-cache.c: Likewise.
8723 * elf/dl-misc.c: Likewise.
8724 * elf/dl-profile.c: Likewise.
8725 * elf/dl-support.c: Likewise.
8726 * elf/ldconfig.c: Likewise.
8727 * elf/sprof.c: Likewise.
8728 * iconv/dummy-repertoire.c: Likewise.
8729 * iconv/iconv_charmap.c: Likewise.
8730 * iconv/skeleton.c: Likewise.
8731 * iconvdata/8bit-generic.c: Likewise.
8732 * iconvdata/cp737.h: Likewise.
8733 * iconvdata/cp775.h: Likewise.
8734 * iconvdata/ibm1008.h: Likewise.
8735 * iconvdata/ibm1025.h: Likewise.
8736 * iconvdata/ibm1046.h: Likewise.
8737 * iconvdata/ibm1097.h: Likewise.
8738 * iconvdata/ibm1112.h: Likewise.
8739 * iconvdata/ibm1122.h: Likewise.
8740 * iconvdata/ibm1123.h: Likewise.
8741 * iconvdata/ibm1124.h: Likewise.
8742 * iconvdata/ibm1129.h: Likewise.
8743 * iconvdata/ibm1130.h: Likewise.
8744 * iconvdata/ibm1132.h: Likewise.
8745 * iconvdata/ibm1133.h: Likewise.
8746 * iconvdata/ibm1137.h: Likewise.
8747 * iconvdata/ibm1140.h: Likewise.
8748 * iconvdata/ibm1141.h: Likewise.
8749 * iconvdata/ibm1142.h: Likewise.
8750 * iconvdata/ibm1143.h: Likewise.
8751 * iconvdata/ibm1144.h: Likewise.
8752 * iconvdata/ibm1145.h: Likewise.
8753 * iconvdata/ibm1146.h: Likewise.
8754 * iconvdata/ibm1147.h: Likewise.
8755 * iconvdata/ibm1148.h: Likewise.
8756 * iconvdata/ibm1149.h: Likewise.
8757 * iconvdata/ibm1153.h: Likewise.
8758 * iconvdata/ibm1154.h: Likewise.
8759 * iconvdata/ibm1155.h: Likewise.
8760 * iconvdata/ibm1156.h: Likewise.
8761 * iconvdata/ibm1157.h: Likewise.
8762 * iconvdata/ibm1158.h: Likewise.
8763 * iconvdata/ibm1160.h: Likewise.
8764 * iconvdata/ibm1161.h: Likewise.
8765 * iconvdata/ibm1162.h: Likewise.
8766 * iconvdata/ibm1163.h: Likewise.
8767 * iconvdata/ibm1164.h: Likewise.
8768 * iconvdata/ibm1166.h: Likewise.
8769 * iconvdata/ibm1167.h: Likewise.
8770 * iconvdata/ibm12712.h: Likewise.
8771 * iconvdata/ibm1390.h: Likewise.
8772 * iconvdata/ibm1399.h: Likewise.
8773 * iconvdata/ibm16804.h: Likewise.
8774 * iconvdata/ibm4517.h: Likewise.
8775 * iconvdata/ibm4899.h: Likewise.
8776 * iconvdata/ibm4909.h: Likewise.
8777 * iconvdata/ibm4971.h: Likewise.
8778 * iconvdata/ibm5347.h: Likewise.
8779 * iconvdata/ibm803.h: Likewise.
8780 * iconvdata/ibm856.h: Likewise.
8781 * iconvdata/ibm901.h: Likewise.
8782 * iconvdata/ibm902.h: Likewise.
8783 * iconvdata/ibm9030.h: Likewise.
8784 * iconvdata/ibm9066.h: Likewise.
8785 * iconvdata/ibm921.h: Likewise.
8786 * iconvdata/ibm922.h: Likewise.
8787 * iconvdata/ibm9448.h: Likewise.
8788 * iconvdata/isiri-3342.h: Likewise.
8789 * iconvdata/jis0201.h: Likewise.
8790 * include/link.h: Likewise.
8791 * include/netdb.h: Likewise.
8792 * inet/check_native.c: Likewise.
8793 * inet/check_pf.c: Likewise.
8794 * inet/getipv4sourcefilter.c: Likewise.
8795 * inet/getnameinfo.c: Likewise.
8796 * inet/getsourcefilter.c: Likewise.
8797 * inet/htonl.c: Likewise.
8798 * inet/setipv4sourcefilter.c: Likewise.
8799 * inet/setsourcefilter.c: Likewise.
8800 * inet/test-inet6_opt.c: Likewise.
8801 * inet/tst-network.c: Likewise.
8802 * locale/C-collate.c: Likewise.
8803 * locale/C-ctype.c: Likewise.
8804 * locale/C-time.c: Likewise.
8805 * locale/C-translit.h: Likewise.
8806 * locale/loadarchive.c: Likewise.
8807 * locale/programs/3level.h: Likewise.
8808 * locale/programs/charmap.c: Likewise.
8809 * locale/programs/charmap.h: Likewise.
8810 * locale/programs/ld-address.c: Likewise.
8811 * locale/programs/ld-collate.c: Likewise.
8812 * locale/programs/ld-ctype.c: Likewise.
8813 * locale/programs/ld-identification.c: Likewise.
8814 * locale/programs/ld-measurement.c: Likewise.
8815 * locale/programs/ld-messages.c: Likewise.
8816 * locale/programs/ld-monetary.c: Likewise.
8817 * locale/programs/ld-name.c: Likewise.
8818 * locale/programs/ld-numeric.c: Likewise.
8819 * locale/programs/ld-paper.c: Likewise.
8820 * locale/programs/ld-telephone.c: Likewise.
8821 * locale/programs/ld-time.c: Likewise.
8822 * locale/programs/linereader.c: Likewise.
8823 * locale/programs/locale.c: Likewise.
8824 * locale/programs/locarchive.c: Likewise.
8825 * locale/programs/locfile.h: Likewise.
8826 * locale/programs/repertoire.c: Likewise.
8827 * locale/programs/simple-hash.c: Likewise.
8828 * locale/programs/simple-hash.h: Likewise.
8829 * malloc/memusage.c: Likewise.
8830 * malloc/memusagestat.c: Likewise.
8831 * nis/nis_defaults.c: Likewise.
8832 * nis/nis_hash.c: Likewise.
8833 * nis/nis_print.c: Likewise.
8834 * nis/nis_xdr.c: Likewise.
8835 * nscd/connections.c: Likewise.
8836 * nscd/hstcache.c: Likewise.
8837 * nscd/nscd_gethst_r.c: Likewise.
8838 * nscd/nscd_getserv_r.c: Likewise.
8839 * nscd/nscd_helper.c: Likewise.
8840 * nscd/servicescache.c: Likewise.
8841 * nss/makedb.c: Likewise.
8842 * nss/nss_db/db-XXX.c: Likewise.
8843 * nss/nss_db/db-initgroups.c: Likewise.
8844 * nss/nss_db/db-netgrp.c: Likewise.
8845 * nss/nss_files/files-network.c: Likewise.
8846 * nss/nss_files/files-parse.c: Likewise.
8847 * posix/bug-regex5.c: Likewise.
8848 * posix/fnmatch_loop.c: Likewise.
8849 * posix/regcomp.c: Likewise.
8850 * posix/regexec.c: Likewise.
8851 * posix/tst-rfc3484-2.c: Likewise.
8852 * posix/tst-rfc3484-3.c: Likewise.
8853 * posix/tst-rfc3484.c: Likewise.
8854 * resolv/nss_dns/dns-canon.c: Likewise.
8855 * resolv/nss_dns/dns-network.c: Likewise.
8856 * resolv/res_init.c: Likewise.
8857 * resolv/res_mkquery.c: Likewise.
8858 * resolv/tst-aton.c: Likewise.
8859 * stdlib/cxa_atexit.c: Likewise.
8860 * stdlib/cxa_finalize.c: Likewise.
8861 * stdlib/gen-fpioconst.c: Likewise.
8862 * stdlib/strtol_l.c: Likewise.
8863 * string/tst-endian.c: Likewise.
8864 * sunrpc/auth_des.c: Likewise.
8865 * sunrpc/clnt_udp.c: Likewise.
8866 * sunrpc/rtime.c: Likewise.
8867 * sunrpc/svcauth_des.c: Likewise.
8868 * sunrpc/xdr.c: Likewise.
8869 * sunrpc/xdr_intXX_t.c: Likewise.
8870 * sunrpc/xdr_rec.c: Likewise.
8871 * sysdeps/generic/ldconfig.h: Likewise.
8872 * sysdeps/generic/ldsodefs.h: Likewise.
8873 * sysdeps/generic/memusage.h: Likewise.
8874 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
8875 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
8876 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
8877 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
8878 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
8879 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
8880 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
8881 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
8882 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
8883 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
8884 * sysdeps/posix/getaddrinfo.c: Likewise.
8885 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
8886 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
8887 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
8888 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
8889 * sysdeps/powerpc/test-gettimebase.c: Likewise.
8890 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
8891 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
8892 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
8893 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
8894 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
8895 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
8896 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
8897 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
8898 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
8899 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
8900 * sysdeps/x86_64/dl-tls.h: Likewise.
8901 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
8902 * time/alt_digit.c: Likewise.
8903 * time/era.c: Likewise.
8904 * wcsmbs/tst-c16c32-1.c: Likewise.
8906 2013-05-16 Joseph Myers <joseph@codesourcery.com>
8908 * math/libm-test.inc (struct test_sincos_data): New type.
8909 (RUN_TEST_LOOP_sincos): New macro.
8910 (sincos_test_data): New variable.
8911 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
8913 2013-05-16 Richard Henderson <rth@redhat.com>
8915 * math/atest-exp2.c (LIMB64): New macro.
8916 (CONSTSZ): New macro.
8917 (mp_exp1, mp_exp_m1, mp_log2): New variables.
8919 (print_mpn_fp): ... to function scope.
8920 (read_mpn_hex): Remove.
8922 (exp2_mpn): Use mp_log2.
8923 (main): Use mp_exp1.
8925 2013-05-16 Joseph Myers <joseph@codesourcery.com>
8927 * math/libm-test.inc: Remove comment about not testing "inexact"
8929 (INEXACT_EXCEPTION): New macro.
8930 (NO_INEXACT_EXCEPTION): Likewise.
8931 (INVALID_EXCEPTION_OK): Update value.
8932 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
8933 (OVERFLOW_EXCEPTION_OK): Likewise.
8934 (UNDERFLOW_EXCEPTION_OK): Likewise.
8935 (IGNORE_ZERO_INF_SIGN): Likewise.
8936 (ERRNO_UNCHANGED): Likewise.
8937 (ERRNO_EDOM): Likewise.
8938 (ERRNO_ERANGE): Likewise.
8939 (test_exceptions): Handle testing "inexact" exceptions.
8940 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
8941 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
8942 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
8943 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
8945 (rint_towardzero_test_data): Likewise.
8946 (rint_downward_test_data): Likewise.
8947 (rint_upward_test_data): Likewise.
8949 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
8950 with OVERFLOW_EXCEPTION.
8951 (exp10_test_data): Likewise.
8952 (exp2_test_data): Likewise.
8953 (expm1_test_data): Likewise.
8954 (lgamma_test_data): Likewise.
8955 (pow_test_data): Likewise.
8956 (tgamma_test_data): Likewise.
8957 (yn_test_data): Remove duplicate test of overflow.
8959 * math/libm-test.inc (struct test_cc_c_data): New type.
8960 (RUN_TEST_LOOP_cc_c): New macro.
8961 (cpow_test_data): New variable.
8962 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
8964 * math/libm-test.inc (struct test_f_L_data): New type.
8965 (RUN_TEST_LOOP_f_L): New macro.
8966 (llrint_test_data): New variable.
8967 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
8968 (llrint_tonearest_test_data): New variable.
8969 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
8970 (llrint_towardzero_test_data): New variable.
8971 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
8972 (llrint_downward_test_data): New variable.
8973 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
8974 (llrint_upward_test_data): New variable.
8975 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
8976 (llround_test_data): New variable.
8977 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
8979 2013-05-13 Peter Collingbourne <pcc@google.com>
8981 * math/atest-exp2.c (get_log2): Remove const attribute.
8983 2013-05-15 Joseph Myers <joseph@codesourcery.com>
8985 * math/libm-test.inc (struct test_f_l_data): New type.
8986 (RUN_TEST_LOOP_f_l): New macro.
8987 (lrint_test_data): New variable.
8988 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
8989 (lrint_tonearest_test_data): New variable.
8990 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
8991 (lrint_towardzero_test_data): New variable.
8992 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
8993 (lrint_downward_test_data): New variable.
8994 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
8995 (lrint_upward_test_data): New variable.
8996 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
8997 (lround_test_data): New variable.
8998 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
9000 2013-05-15 Peter Collingbourne <pcc@google.com>
9002 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
9003 (EXTRACT_WORDS64) Use where appropriate.
9004 (INSERT_WORDS64) Likewise.
9006 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
9007 constraints with x constraints.
9008 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
9010 * malloc/obstack.c (_obstack_compat): Add initializer.
9012 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
9014 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
9015 si_trapno and add si_addr_lsb to _sifields.sigfault.
9016 (si_trapno): Remove macro.
9017 (si_addr_lsb): Define new macro.
9018 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
9020 2013-05-15 Joseph Myers <joseph@codesourcery.com>
9022 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
9023 instead of TEST_f_l.
9024 (llrint_test_tonearest): Likewise.
9025 (llrint_test_towardzero): Likewise.
9026 (llrint_test_downward): Likewise.
9027 (llrint_test_upward): Likewise.
9028 (llround_test): Likewise.
9030 * math/libm-test.inc (struct test_f_i_data): Add comment.
9031 (RUN_TEST_LOOP_f_b): New macro.
9032 (RUN_TEST_LOOP_f_b_tg): Likewise.
9033 (finite_test_data): New variable.
9034 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
9035 (isfinite_test_data): New variable.
9036 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9037 (isinf_test_data): New variable.
9038 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9039 (isnan_test_data): New variable.
9040 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9041 (isnormal_test_data): New variable.
9042 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9043 (issignaling_test_data): New variable.
9044 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9045 (signbit_test_data): New variable.
9046 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9048 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
9049 with INVALID_EXCEPTION.
9050 (acosh_test_data): Likewise.
9051 (asin_test_data): Likewise.
9052 (atanh_test_data): Likewise.
9053 (fmod_test_data): Likewise.
9054 (log_test_data): Likewise.
9055 (log10_test_data): Likewise.
9056 (log2_test_data): Likewise.
9057 (pow_test_data): Likewise.
9058 (sqrt_test_data): Likewise.
9059 (y0_test_data): Likewise.
9060 (y1_test_data): Likewise.
9061 (yn_test_data): Likewise.
9063 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
9066 * math/libm-test.inc (struct test_ff_i_data): New type.
9067 (RUN_TEST_LOOP_ff_i_tg): New macro.
9068 (isgreater_test_data): New variable.
9069 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9070 (isgreaterequal_test_data): New variable.
9071 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9072 (isless_test_data): New variable.
9073 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9074 (islessequal_test_data): New variable.
9075 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9076 (islessgreater_test_data): New variable.
9077 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9078 (isunordered_test_data): New variable.
9079 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9081 2013-05-14 David S. Miller <davem@davemloft.net>
9083 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9085 2013-05-14 Joseph Myers <joseph@codesourcery.com>
9087 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
9089 * math/libm-test.inc (struct test_fF_f1_data): Change type of
9091 (struct test_f_i_data): Change type of max_ulp to int.
9093 * math/libm-test.inc (test_ffI_f1_data): New type.
9094 (RUN_TEST_LOOP_ffI_f1): New macro.
9095 (remquo_test_data): New variable.
9096 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
9098 * setjmp/tst-setjmp-fp.c: New file.
9099 * setjmp/Makefile (tests): Add tst-setjmp-fp.
9100 (link-libm): New variable.
9101 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
9103 * math/libm-test.inc (struct test_f_i_data): New type.
9104 (RUN_TEST_LOOP_f_i): New macro.
9105 (RUN_TEST_LOOP_f_i_tg): Likewise.
9106 (fpclassify_test_data): New variable.
9107 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
9108 (ilogb_test_data): New variable.
9109 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
9111 * math/libm-test.inc (scalbln_test): Correct function name in END
9114 * math/libm-test.inc (struct test_f_f1_data): Add comment.
9115 (RUN_TEST_LOOP_fI_f1): New macro.
9116 (frexp_test_data): New variable.
9117 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
9119 * math/libm-test.inc (struct test_fF_f1_data): New type.
9120 (RUN_TEST_LOOP_fF_f1): New macro.
9121 (modf_test_data): New variable.
9122 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
9124 * math/libm-test.inc (struct test_f_f1_data): New type.
9125 (RUN_TEST_LOOP_f_f1): New macro.
9126 (gamma_test_data): New variable.
9127 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
9128 (lgamma_test_data): New variable.
9129 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
9131 2013-05-13 Carlos O'Donell <carlos@redhat.com>
9133 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
9134 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
9135 (main): Comment "tls" pseudo-hwcap.
9137 2013-05-13 Joseph Myers <joseph@codesourcery.com>
9139 * math/libm-test.inc (struct test_fl_f_data): New type.
9140 (RUN_TEST_LOOP_fl_f): New variable.
9141 (scalbln_test_data): New variable.
9142 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
9144 * math/libm-test.inc (struct test_fi_f_data): New type.
9145 (RUN_TEST_LOOP_fi_f): New macro.
9146 (ldexp_test_data): New variable.
9147 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
9148 (scalbn_test_data): New variable.
9149 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
9151 * math/libm-test.inc (struct test_c_f_data): New type.
9152 (RUN_TEST_LOOP_c_f): New macro.
9153 (cabs_test_data): New variable.
9154 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
9155 (carg_test_data): New variable.
9156 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
9157 (cimag_test_data): New variable.
9158 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
9159 (creal_test_data): New variable.
9160 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
9162 * math/libm-test.inc (struct test_if_f_data): New type.
9163 (RUN_TEST_LOOP_if_f): New macro.
9164 (jn_test_data): New variable.
9165 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
9166 (yn_test_data): New variable.
9167 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
9169 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
9171 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9173 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
9174 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
9176 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
9178 * benchtests/Makefile (CPPFLAGS-nonlib): Add
9179 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
9180 (bench-deps): Add bench-timing.h.
9181 * benchtests-bench-skeleton.c: Include bench-timing.h.
9182 (main): Use TIMING_* macros instead of clock_gettime.
9183 * benchtests/bench-timing.h: New file.
9186 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
9187 Renamed from _LIB_VERSION.
9188 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
9190 2013-05-12 Joseph Myers <joseph@codesourcery.com>
9192 * math/libm-test.inc (struct test_fff_f_data): New type.
9193 (RUN_TEST_LOOP_fff_f): New macro.
9194 (fma_test_data): New variable.
9195 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
9196 (fma_towardzero_test_data): New variable.
9197 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
9198 (fma_downward_test_data): New variable.
9199 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
9200 (fma_upward_test_data): New variable.
9201 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
9203 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
9204 (struct test_c_c_data): New type.
9205 (RUN_TEST_LOOP_c_c): New macro.
9206 (cacos_test_data): New variable.
9207 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
9208 (cacosh_test_data): New variable.
9209 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
9210 (casin_test_data): New variable.
9211 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
9212 (casinh_test_data): New variable.
9213 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
9214 (catan_test_data): New variable.
9215 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
9216 (catanh_test_data): New variable.
9217 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
9218 (ccos_test_data): New variable.
9219 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
9220 (ccosh_test_data): New variable.
9221 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
9222 (cexp_test_data): New variable.
9223 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
9224 (clog_test_data): New variable.
9225 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
9226 (clog10_test_data): New variable.
9227 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
9228 (conj_test_data): New variable.
9229 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
9230 (cproj_test_data): New variable.
9231 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
9232 (csin_test_data): New variable.
9233 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
9234 (csinh_test_data): New variable.
9235 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
9236 (csqrt_test_data): New variable.
9237 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
9238 (ctan_test_data): New variable.
9239 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
9240 (ctan_tonearest_test_data): New variable.
9241 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
9242 (ctan_towardzero_test_data): New variable.
9243 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
9244 (ctan_downward_test_data): New variable.
9245 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
9246 (ctan_upward_test_data): New variable.
9247 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
9248 (ctanh_test_data): New variable.
9249 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
9250 (ctanh_tonearest_test_data): New variable.
9251 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
9252 (ctanh_towardzero_test_data): New variable.
9253 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
9254 (ctanh_downward_test_data): New variable.
9255 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
9256 (ctanh_upward_test_data): New variable.
9257 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
9258 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
9261 * math/libm-test.inc (struct test_ff_f_data): New type.
9262 (struct test_ff_f_data_nexttoward): Likewise.
9263 (RUN_TEST_LOOP_2_f): New macro.
9264 (RUN_TEST_LOOP_ff_f): Likewise.
9265 (atan2_test_data): New variable.
9266 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
9267 (copysign_test_data): New variable.
9268 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
9269 (fdim_test_data): New variable.
9270 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
9271 (fmax_test_data): New variable.
9272 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
9273 (fmin_test_data): New variable.
9274 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
9275 (fmod_test_data): New variable.
9276 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
9277 (hypot_test_data): New variable.
9278 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
9279 (nextafter_test_data): New variable.
9280 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
9281 (nexttoward_test_data): New variable.
9282 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
9283 (pow_test_data): New variable.
9284 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
9285 (pow_tonearest_test_data): New variable.
9286 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
9287 (pow_towardzero_test_data): New variable.
9288 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
9289 (pow_downward_test_data): New variable.
9290 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
9291 (pow_upward_test_data): New variable.
9292 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
9293 (remainder_test_data): New variable.
9294 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
9295 (scalb_test_data): New variable.
9296 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
9297 * sysdeps/i386/fpu/libm-test-ulps: Update.
9299 2013-05-11 Joseph Myers <joseph@codesourcery.com>
9301 * math/libm-test.inc (fma_test): Use max_value instead of local
9303 (nextafter_test): Likewise.
9305 * math/libm-test.inc (acos_towardzero_test_data): New variable.
9306 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9307 (acos_downward_test_data): New variable.
9308 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9309 (acos_upward_test_data): New variable.
9310 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9311 (acosh_test_data): New variable.
9312 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
9313 (asin_test_data): New variable.
9314 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
9315 (asin_tonearest_test_data): New variable.
9316 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9317 (asin_towardzero_test_data): New variable.
9318 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9319 (asin_downward_test_data): New variable.
9320 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9321 (asin_upward_test_data): New variable.
9322 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9323 (asinh_test_data): New variable.
9324 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
9325 (atan_test_data): New variable.
9326 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
9327 (atanh_test_data): New variable.
9328 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
9329 (cbrt_test_data): New variable.
9330 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
9331 (ceil_test_data): New variable.
9332 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
9333 (cos_test_data): New variable.
9334 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
9335 (cos_tonearest_test_data): New variable.
9336 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9337 (cos_towardzero_test_data): New variable.
9338 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9339 (cos_downward_test_data): New variable.
9340 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9341 (cos_upward_test_data): New variable.
9342 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9343 (cosh_test_data): New variable.
9344 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
9345 (cosh_tonearest_test_data): New variable.
9346 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9347 (cosh_towardzero_test_data): New variable.
9348 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9349 (cosh_downward_test_data): New variable.
9350 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9351 (cosh_upward_test_data): New variable.
9352 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9353 (erf_test_data): New variable.
9354 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
9355 (erfc_test_data): New variable.
9356 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
9357 (exp_test_data): New variable.
9358 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
9359 (exp_tonearest_test_data): New variable.
9360 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9361 (exp_towardzero_test_data): New variable.
9362 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9363 (exp_downward_test_data): New variable.
9364 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9365 (exp_upward_test_data): New variable.
9366 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9367 (exp10_test_data): New variable.
9368 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
9369 (exp2_test_data): New variable.
9370 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
9371 (expm1_test_data): New variable.
9372 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
9373 (fabs_test_data): New variable.
9374 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
9375 (floor_test_data): New variable.
9376 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
9377 (j0_test_data): New variable.
9378 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
9379 (j1_test_data): New variable.
9380 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
9381 (log_test_data): New variable.
9382 (log_test): Run tests with RUN_TEST_LOOP_f_f.
9383 (log10_test_data): New variable.
9384 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
9385 (log1p_test_data): New variable.
9386 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
9387 (log2_test_data): New variable.
9388 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
9389 (logb_test_data): New variable.
9390 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
9391 (logb_downward_test_data): New variable.
9392 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9393 (nearbyint_test_data): New variable.
9394 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
9395 (rint_test_data): New variable.
9396 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
9397 (rint_tonearest_test_data): New variable.
9398 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9399 (rint_towardzero_test_data): New variable.
9400 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9401 (rint_downward_test_data): New variable.
9402 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9403 (rint_upward_test_data): New variable.
9404 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9405 (round_test_data): New variable.
9406 (round_test): Run tests with RUN_TEST_LOOP_f_f.
9407 (sin_test_data): New variable.
9408 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
9409 (sin_tonearest_test_data): New variable.
9410 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9411 (sin_towardzero_test_data): New variable.
9412 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9413 (sin_downward_test_data): New variable.
9414 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9415 (sin_upward_test_data): New variable.
9416 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9417 (sinh_test_data): New variable.
9418 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
9419 (sinh_tonearest_test_data): New variable.
9420 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9421 (sinh_towardzero_test_data): New variable.
9422 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9423 (sinh_downward_test_data): New variable.
9424 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9425 (sinh_upward_test_data): New variable.
9426 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9427 (sqrt_test_data): New variable.
9428 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
9429 (tan_test_data): New variable.
9430 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
9431 (tan_tonearest_test_data): New variable.
9432 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9433 (tan_towardzero_test_data): New variable.
9434 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9435 (tan_downward_test_data): New variable.
9436 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9437 (tan_upward_test_data): New variable.
9438 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9439 (tanh_test_data): New variable.
9440 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
9441 (tgamma_test_data): New variable.
9442 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
9443 (trunc_test_data): New variable.
9444 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
9445 (y0_test_data): New variable.
9446 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
9447 (y1_test_data): New variable.
9448 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
9449 (significand_test_data): New variable.
9450 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
9452 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
9455 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
9457 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
9459 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
9461 2013-05-10 Andreas Jaeger <aj@suse.de>
9464 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
9465 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
9467 2013-05-10 Joseph Myers <joseph@codesourcery.com>
9469 * math/gen-libm-test.pl (adjust_arg): New function.
9470 (special_functions): Handle generating output in both functions
9472 (parse_args): Likewise.
9473 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
9474 $in_func argument to parse_args.
9475 * math/libm-test.inc (struct test_f_f_data): New type.
9476 (IF_ROUND_INIT_): New macro.
9477 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
9478 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
9479 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
9480 (IF_ROUND_INIT_FE_UPWARD): Likewise.
9481 (ROUND_RESTORE_): Likewise.
9482 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
9483 (ROUND_RESTORE_FE_TONEAREST): Likewise.
9484 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
9485 (ROUND_RESTORE_FE_UPWARD): Likewise.
9486 (RUN_TEST_LOOP_f_f): New macro.
9487 (acos_test_data): New variable.
9488 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
9489 (acos_tonearest_test_data): New variable.
9490 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9492 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
9494 * benchtests/bench-skeleton.c (startup): Fix coding style.
9496 2013-05-10 Joseph Myers <joseph@codesourcery.com>
9499 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
9500 negative infinity argument.
9501 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
9502 negative infinity argument.
9503 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
9504 negative infinity argument.
9505 * math/libm-test.inc (tgamma_test): Expect errno to be set for
9508 2013-05-10 Florian Weimer <fweimer@redhat.com>
9510 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
9511 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
9512 * iconv/iconv_prog.c (main): Likewise.
9513 * locale/programs/charmap-dir.c (charmap_readdir)
9514 (fopen_uncompressed): Likewise.
9515 * locale/programs/locfile.c (siblings_uncached)
9516 (write_locale_data): Use lstat64 instead of lstat.
9517 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
9520 2013-05-10 Andreas Jaeger <aj@suse.de>
9523 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
9527 2013-05-09 Carlos O'Donell <carlos@redhat.com>
9529 * elf/dl-close.c (_dl_close_worker): Add comments.
9531 2013-05-09 Joseph Myers <joseph@codesourcery.com>
9534 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
9536 (__ieee754_rem_pio2l): Update comments.
9539 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
9541 (__ieee754_rem_pio2l): Update comments.
9543 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
9544 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
9546 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
9549 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
9550 (M_PI_34_LOG10El): Likewise.
9551 (M_PI2_LOG10El): Likewise.
9552 (M_PI4_LOG10El): Likewise.
9553 (M_PI_LOG10El): Likewise.
9555 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9557 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9559 2013-05-08 Joseph Myers <joseph@codesourcery.com>
9561 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
9562 (MINUS_ZERO_INIT): Likewise.
9563 (PLUS_INFTY_INIT): Likewise.
9564 (MINUS_INFTY_INIT): Likewise.
9565 (QNAN_VALUE_INIT): Likewise.
9566 (MAX_VALUE_INIT): Likewise.
9567 (MIN_VALUE_INIT): Likewise.
9568 (MIN_SUBNORM_VALUE_INIT): Likewise.
9569 (plus_zero): Initialize with PLUS_ZERO_INIT.
9570 (minus_zero): Initialize with MINUS_ZERO_INIT.
9571 (plus_infty): Initialize with PLUS_INFTY_INIT.
9572 (minus_infty): Initialize with MINUS_INFTY_INIT.
9573 (qnan_value): Initialize with QNAN_VALUE_INIT.
9574 (max_value): Initialize with MAX_VALUE_INIT.
9575 (min_value): Initialize with MIN_VALUE_INIT.
9576 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
9578 * math/libm-test.inc (RUN_TEST_if_f): New macro.
9579 (jn_test): Use TEST_if_f instead of TEST_ff_f.
9580 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
9581 (yn_test): Use TEST_if_f instead of TEST_ff_f.
9583 * math/libm-test.inc (RUN_TEST_f_f): New macro.
9584 (RUN_TEST_2_f): Likewise.
9585 (RUN_TEST_ff_f): Likewise.
9586 (RUN_TEST_fi_f): Likewise.
9587 (RUN_TEST_fl_f): Likewise.
9588 (RUN_TEST_fff_f): Likewise.
9589 (RUN_TEST_c_f): Likewise.
9590 (RUN_TEST_f_f1): Likewise.
9591 (RUN_TEST_fF_f1): Likewise.
9592 (RUN_TEST_fI_f1): Likewise.
9593 (RUN_TEST_ffI_f1): Likewise.
9594 (RUN_TEST_c_c): Likewise.
9595 (RUN_TEST_cc_c): Likewise.
9596 (RUN_TEST_f_i): Likewise.
9597 (RUN_TEST_f_i_tg): Likewise.
9598 (RUN_TEST_ff_i_tg): Likewise.
9599 (RUN_TEST_f_b): Likewise.
9600 (RUN_TEST_f_b_tg): Likewise.
9601 (RUN_TEST_f_l): Likewise.
9602 (RUN_TEST_f_L): Likewise.
9603 (RUN_TEST_sincos): Likewise.
9604 * math/gen-libm-test.pl (new_test): Take new argument to indicate
9605 whether to show exceptions. Do not include ");\n" in return
9607 (special_functions): Output call to RUN_TEST_sincos instead of
9608 check_float calls. Update calls to new_test.
9609 (parse_args): Output call to single RUN_TEST_* macro instead of
9610 check_* calls and other assignments. Update calls to new_test.
9616 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
9617 input to result for tgamma overflow.
9618 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
9619 (gamma_coeff): New variable.
9620 (NCOEFF): New macro.
9621 (gamma_positive): New function.
9622 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
9623 underflow here. Use gamma_positive instead of exp (lgamma) for
9625 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
9626 (gamma_coeff): New variable.
9627 (NCOEFF): New macro.
9628 (gammaf_positive): New function.
9629 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
9630 underflow here. Use gamma_positive instead of exp (lgamma) for
9632 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
9633 (gamma_coeff): New variable.
9634 (NCOEFF): New macro.
9635 (gammal_positive): New function.
9636 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
9637 underflow here. Use gamma_positive instead of exp (lgamma) for
9639 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
9640 (gamma_coeff): New variable.
9641 (NCOEFF): New macro.
9642 (gammal_positive): New function.
9643 (__ieee754_gammal_r): Handle positive infinity, overflow and
9644 underflow here. Handle NaN the same as positive infinity. Remove
9645 check x < 0xffffffff for negative integers. Use gamma_positive
9646 instead of exp (lgamma) for other arguments.
9647 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
9648 (gamma_coeff): New variable.
9649 (NCOEFF): New macro.
9650 (gammal_positive): New function.
9651 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
9652 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
9653 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
9654 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
9655 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
9656 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
9657 * sysdeps/generic/math_private.h (__gamma_productf): New
9659 (__gamma_product): Likewise.
9660 (__gamma_productl): Likewise.
9661 * math/Makefile (libm-calls): Add gamma_product.
9662 * math/libm-test.inc (tgamma_test): Add more tests.
9663 * sysdeps/i386/fpu/libm-test-ulps: Update.
9664 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9666 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
9668 * benchtests/bench-skeleton.c (main): Preheat CPU.
9670 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
9672 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
9674 2013-05-07 Roland McGrath <roland@hack.frob.com>
9676 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
9677 and _dl_skip_args_internal.
9679 2013-05-07 Carlos O'Donell <carlos@redhat.com>
9681 * manual/message.texi (Message Translation): Talk about users.
9682 Message to key mapping impacts design.
9684 2013-05-06 Roland McGrath <roland@hack.frob.com>
9686 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
9688 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
9690 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
9691 * sysdeps/wordsize-64/glob64.c: ... here.
9693 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
9694 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
9697 * debug/getlogin_r_chk.c: Moved to ...
9698 * login/getlogin_r_chk.c: ... here.
9699 * debug/Makefile (routines): Move getlogin_r_chk to ...
9700 * login/Makefile (routines): ... here.
9701 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
9702 * login/Versions (libc: GLIBC_2.4): ... here.
9704 * io/poll.c (__poll): Renamed from poll.
9705 Add libc_hidden_def.
9706 (poll): Define as weak alias.
9708 * debug/ptsname_r_chk.c: Moved to ...
9709 * login/ptsname_r_chk.c: ... here.
9710 * debug/Makefile (routines): Move ptsname_r_chk to ...
9711 * login/Makefile (routines): ... here.
9712 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
9713 * login/Versions (libc: GLIBC_2.4): ... here.
9715 * posix/getlogin.c: Moved to ...
9716 * login/getlogin.c: ... here.
9717 * posix/getlogin_r.c: Moved to ...
9718 * login/getlogin_r.c: ... here.
9719 * posix/getlogin_r.c: Moved to ...
9720 * login/getlogin_r.c: ... here.
9721 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
9722 * login/Makefile (routines): ... here.
9723 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
9724 * login/Versions (libc: GLIBC_2.0): ... here.
9726 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
9727 (setrlimit): Define as weak alias.
9729 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
9730 Call __ names for open, ftruncate, and close.
9731 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
9732 (truncate): Define as weak alias.
9734 2013-05-06 Joseph Myers <joseph@codesourcery.com>
9736 * math/gen-libm-test.pl (parse_args): Initialize x before each
9737 test of frexp, modf and remquo.
9739 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
9742 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9746 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
9748 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
9750 2013-05-06 Roland McGrath <roland@hack.frob.com>
9752 * elf/dl-writev.h: New file.
9753 * elf/dl-misc.c: Include it.
9754 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
9755 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
9757 2013-05-04 Joseph Myers <joseph@codesourcery.com>
9759 * math/libm-test.inc (noXFails): Remove variable.
9760 (noXPasses): Likewise.
9761 (BUILD_COMPLEX_INT): Remove macro.
9762 (print_screen): Remove xfail argument.
9763 (print_screen_max_error): Likewise.
9764 (update_stats): Likewise.
9765 (print_max_error): Likewise. Update calls to other affected
9767 (print_complex_max_error): Likewise.
9768 (test_single_exception): Update calls to print_screen.
9769 (test_single_errno): Likewise.
9770 (check_float_internal): Remove xfail argument. Update calls to
9771 other affected functions.
9772 (check_float): Likewise.
9773 (check_complex): Likewise.
9774 (check_int): Likewise.
9775 (check_long): Likewise.
9776 (check_bool): Likewise.
9777 (check_longlong): Likewise.
9778 (main): Don't print noXFails and noXPasses.
9779 * math/gen-libm-test.pl (top level): Don't mention expected
9780 failure handling in comment.
9781 (new_test): Don't handle expected failures.
9782 (parse_args): Don't mention expected failure handling in comment.
9783 (generate_testfile): Don't handle expected failures.
9784 (parse_ulps): Likewise.
9785 (print_ulps_file): Likewise.
9786 (get_failure): Remove function.
9787 (output_test): Don't handle expected failures.
9788 * make/README.libm-test: Don't mention expected failure handling.
9790 * math/libm-test.inc (plus_zero): Make const. Add initializer.
9791 (minus_zero): Likewise.
9792 (plus_infty): Likewise.
9793 (minus_infty): Likewise.
9794 (qnan_value): Likewise.
9795 (max_value): Likewise.
9796 (min_value): Likewise.
9797 (min_subnorm_value): Likewise.
9798 (initialize): Do not initialize those variables dynamically.
9800 2013-05-03 Roland McGrath <roland@hack.frob.com>
9802 * io/open.c (__open_2): Moved to ...
9803 * io/open_2.c: ... this new file.
9804 * io/open64.c (__open64_2): Moved to ...
9805 * io/open64_2.c: ... this new file.
9806 * io/openat.c (__openat_2): Moved to ...
9807 * io/openat_2.c: ... this new file.
9808 * io/openat64.c (__openat64_2): Moved to ...
9809 * io/openat64_2.c: ... this new file.
9810 * io/Makefile (routines): Add them.
9811 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
9812 * sysdeps/unix/sysv/linux/open_2.c: File removed.
9813 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
9814 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
9815 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
9816 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
9817 (__openat64): Add hidden_ver.
9818 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
9819 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
9821 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
9822 Separately conditionalize setting of GLRO(dl_sysinfo) so
9823 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
9824 as well, but the actual setting is only under [NEED_DL_SYSINFO].
9826 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9828 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
9829 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
9831 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
9832 * sysdeps/unix/sysv/linux/powerpc/init-first.c
9833 (_libc_vdso_platform_setup): Add __vdso_time initialization.
9834 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
9835 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
9837 2013-05-03 Joseph Myers <joseph@codesourcery.com>
9839 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
9842 * math/libm-test.inc (hypot_test): Do not use
9843 IGNORE_ZERO_INF_SIGN.
9845 2013-05-03 Andreas Jaeger <aj@suse.de>
9847 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
9849 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
9850 (PF_MAX): Adjust for VSOCK change.
9852 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9854 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9856 2013-05-02 Carlos O'Donell <carlos@redhat.com>
9859 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
9860 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
9861 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
9863 2013-05-02 David S. Miller <davem@davemloft.net>
9865 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9867 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
9869 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
9871 2013-05-01 Roland McGrath <roland@hack.frob.com>
9873 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
9875 2013-05-01 Richard Smith <richard@metafoo.co.uk>
9878 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
9879 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
9880 Use __attribute__ ((__gnu_inline__)).
9881 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
9882 Don't use __attribute__ ((__gnu_inline__)).
9884 2013-05-01 Joseph Myers <joseph@codesourcery.com>
9887 * math/s_catan.c (__catan): Handle small real or imaginary part of
9888 input specially to avoid spurious underflow.
9889 * math/s_catanf.c (__catanf): Likewise.
9890 * math/s_catanh.c (__catanh): Likewise.
9891 * math/s_catanhf.c (__catanhf): Likewise.
9892 * math/s_catanhl.c (__catanhl): Likewise.
9893 * math/s_catanl.c (__catanl): Likewise.
9894 * math/libm-test.inc (catan_test): Add more tests.
9895 (catanh_test): Likewise.
9896 * sysdeps/i386/fpu/libm-test-ulps: Update.
9897 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9899 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9901 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9903 2013-04-30 Joseph Myers <joseph@codesourcery.com>
9906 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
9907 accurately for denominator in atan2.
9908 * math/s_catanf.c (__catanf): Likewise.
9909 * math/s_catanh.c (__catanh): Likewise.
9910 * math/s_catanhf.c (__catanhf): Likewise.
9911 * math/s_catanhl.c (__catanhl): Likewise.
9912 * math/s_catanl.c (__catanl): Likewise.
9913 * math/libm-test.inc (catan_test): Add more tests.
9914 (catanh_test): Likewise.
9915 * sysdeps/i386/fpu/libm-test-ulps: Update.
9916 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9918 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
9920 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
9922 * benchtests/Makefile (bench): Remove slow benchmarks.
9923 * benchtests/atan-inputs: Add slow benchmark inputs.
9924 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
9925 (BENCH_FUNC): Accept variant offset.
9927 * benchtests/bench-skeleton.c (main): Run benchmark for each
9929 * benchtests/cos-inputs: Add slow benchmark inputs.
9930 * benchtests/exp-inputs: Likewise.
9931 * benchtests/pow-inputs: Likewise.
9932 * benchtests/sin-inputs: Likewise.
9933 * benchtests/slowatan-inputs: Remove.
9934 * benchtests/slowatan.c: Remove.
9935 * benchtests/slowcos-inputs: Remove.
9936 * benchtests/slowcos.c: Remove.
9937 * benchtests/slowexp-inputs: Remove.
9938 * benchtests/slowexp.c: Remove.
9939 * benchtests/slowpow-inputs: Remove.
9940 * benchtests/slowpow.c: Remove.
9941 * benchtests/slowsin-inputs: Remove.
9942 * benchtests/slowsin.c: Remove.
9943 * benchtests/slowtan-inputs: Remove.
9944 * benchtests/slowtan.c: Remove.
9945 * benchtests/tan-inputs: Add slow benchmark inputs.
9946 * scripts/bench.pl: Parse comments and directives.
9948 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
9950 ($(objpfx)bench-%.c): Remove *-ITER.
9951 * benchtests/bench-modf.c: Remove definition of ITER.
9952 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
9953 (main): Loop for DURATION seconds instead of fixed number of
9955 * scripts/bench.pl: Don't expect iterations in parameters.
9957 2013-04-29 Roland McGrath <roland@hack.frob.com>
9959 * io/fchdir.c (__fchdir): Renamed from fchdir.
9960 (fchdir): Define as weak alias.
9962 2013-04-29 Joseph Myers <joseph@codesourcery.com>
9964 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
9965 (ERRNO_EDOM): Likewise.
9966 (ERRNO_ERANGE): Likewise.
9967 (noErrnoTests): New variable.
9968 (init_max_error): Set errno to 0.
9969 (test_single_errno): New function.
9970 (test_errno): Likewise.
9971 (check_float_internal): Call test_errno. Set errno to 0.
9972 (check_complex): Refer to errno tests in comment.
9973 (check_int): Call test_errno. Set errno to 0.
9974 (check_long): Likewise.
9975 (check_bool): Likewise.
9976 (check_longlong): Likewise.
9977 (cos_test): Use ERRNO_* flags for errno tests instead of
9979 (expm1_test): Likewise.
9980 (fmod_test): Likewise.
9981 (ilogb_test): Likewise.
9982 (lgamma_test): Likewise.
9983 (pow_test): Likewise.
9984 (remainder_test): Likewise.
9985 (sin_test): Likewise.
9986 (tan_test): Likewise.
9987 (yn_test): Likewise.
9988 (initialize): Set errno to 0.
9989 (main): Print number of errno tests.
9990 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
9992 2013-04-29 Andreas Jaeger <aj@suse.de>
9995 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
9999 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
10000 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
10004 * stdlib/random.c (__initstate): Return NULL if
10008 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
10009 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
10012 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10014 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10016 2013-04-29 Joseph Myers <joseph@codesourcery.com>
10018 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
10019 of individual tests.
10020 (casin_test): Likewise.
10021 (casinh_test): Likewise.
10023 2013-04-27 Joseph Myers <joseph@codesourcery.com>
10026 * math/s_catan.c (__catan): Handle arguments with large real or
10027 imaginary part separately without squaring.
10028 * math/s_catanf.c (__catanf): Likewise.
10029 * math/s_catanh.c (__catanh): Likewise.
10030 * math/s_catanhf.c (__catanhf): Likewise.
10031 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
10033 (__catanhl): Handle arguments with large real or imaginary part
10034 separately without squaring.
10035 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
10037 (__catanl): Handle arguments with large real or imaginary part
10038 separately without squaring.
10039 * math/libm-test.inc (catan_test): Add more tests.
10040 (catanh_test): Likewise.
10041 * sysdeps/i386/fpu/libm-test-ulps: Update.
10042 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10044 2013-04-27 Andreas Jaeger <aj@suse.de>
10047 * stdlib/stdlib.h: Update guards for qecvt.
10048 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
10051 2013-04-27 Allan McRae <allan@archlinux.org>
10053 * sysdeps/i386/fpu/libm-test-ulps: Update.
10055 2013-04-26 Joseph Myers <joseph@codesourcery.com>
10058 * math/s_catan.c: Include <float.h>.
10059 (__catan): Ensure underflow exception occurs for underflowed
10061 * math/s_catanf.c: Include <float.h>.
10062 (__catanf): Ensure underflow exception occurs for underflowed
10064 * math/s_catanh.c: Include <float.h>.
10065 (__catanh): Ensure underflow exception occurs for underflowed
10067 * math/s_catanhf.c: Include <float.h>.
10068 (__catanhf): Ensure underflow exception occurs for underflowed
10070 * math/s_catanhl.c: Include <float.h>.
10071 (__catanhl): Ensure underflow exception occurs for underflowed
10073 * math/s_catanl.c: Include <float.h>.
10074 (__catanl): Ensure underflow exception occurs for underflowed
10076 * math/libm-test.inc (catan_test): Add more tests.
10077 (catanh_test): Likewise.
10080 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
10081 underflowed result.
10082 * math/s_ccoshf.c (__ccoshf): Likewise.
10083 * math/s_ccoshl.c (__ccoshl): Likewise.
10084 * math/s_csin.c (__csin): Likewise.
10085 * math/s_csinf.c (__csinf): Likewise.
10086 * math/s_csinh.c (__csinh): Likewise.
10087 * math/s_csinhf.c (__csinhf): Likewise.
10088 * math/s_csinhl.c (__csinhl): Likewise.
10089 * math/s_csinl.c (__csinl): Likewise.
10090 * math/libm-test.inc (ccos_test): Add more tests.
10091 (ccosh_test): Likewise.
10092 (csin_test): Likewise.
10093 (csinh_test): Likewise.
10095 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10097 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
10098 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
10099 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
10100 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
10101 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
10102 powerpc/power5+/fpu folders.
10103 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
10106 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
10108 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10110 2013-04-25 Joseph Myers <joseph@codesourcery.com>
10112 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
10113 additions to variable.
10114 [$(config-machine) = x86_64] (modules-names): Likewise.
10115 ($(objpfx)tst-audit3): Remove dependency.
10116 ($(objpfx)tst-audit3.out): Likewise.
10117 ($(objpfx)tst-audit4): Likewise.
10118 ($(objpfx)tst-audit4.out): Likewise.
10119 ($(objpfx)tst-audit5): Likewise.
10120 ($(objpfx)tst-audit5.out): Likewise.
10121 ($(objpfx)tst-audit6): Likewise.
10122 ($(objpfx)tst-audit6.out): Likewise.
10123 ($(objpfx)tst-audit7): Likewise.
10124 ($(objpfx)tst-audit7.out): Likewise.
10125 (tst-audit3-ENV): Remove variable.
10126 (tst-audit4-ENV): Likewise.
10127 (tst-audit5-ENV): Likewise.
10128 (tst-audit6-ENV): Likewise.
10129 (tst-audit7-ENV): Likewise.
10130 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
10131 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
10132 addition to variable.
10133 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
10134 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
10135 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
10136 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
10137 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
10138 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
10139 tst-audit3, tst-audit4 and tst-audit5.
10140 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
10141 tst-audit6 and tst-audit7.
10142 [$(subdir) = elf] (modules-names): Add audit modules for those
10144 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
10145 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
10146 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
10147 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
10148 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
10149 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
10150 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
10151 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
10152 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
10153 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
10154 [$(subdir) = elf] (tst-audit3-ENV): New variable.
10155 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
10156 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
10157 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
10158 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
10159 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
10161 [$(subdir) = elf && $(config-cflags-avx) = yes]
10162 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
10163 [$(subdir) = elf && $(config-cflags-avx) = yes]
10164 (CFLAGS-tst-auditmod4a.c): Likewise.
10165 [$(subdir) = elf && $(config-cflags-avx) = yes]
10166 (CFLAGS-tst-auditmod4b.c): Likewise.
10167 [$(subdir) = elf && $(config-cflags-avx) = yes]
10168 (CFLAGS-tst-auditmod6b.c): Likewise.
10169 [$(subdir) = elf && $(config-cflags-avx) = yes]
10170 (CFLAGS-tst-auditmod6c.c): Likewise.
10171 [$(subdir) = elf && $(config-cflags-avx) = yes]
10172 (CFLAGS-tst-auditmod7b.c): Likewise.
10173 * elf/tst-audit3.c: Move to ...
10174 * sysdeps/x86_64/tst-audit3.c: ... here.
10175 * elf/tst-audit4.c: Move to ...
10176 * sysdeps/x86_64/tst-audit4.c: ... here.
10177 * elf/tst-audit5.c: Move to ...
10178 * sysdeps/x86_64/tst-audit5.c: ... here.
10179 * elf/tst-audit6.c: Move to ...
10180 * sysdeps/x86_64/tst-audit6.c: ... here.
10181 * elf/tst-audit7.c: Move to ...
10182 * sysdeps/x86_64/tst-audit7.c: ... here.
10183 * elf/tst-auditmod3a.c: Move to ...
10184 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
10185 * elf/tst-auditmod3b.c: Move to ...
10186 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
10187 * elf/tst-auditmod4a.c: Move to ...
10188 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
10189 * elf/tst-auditmod4b.c: Move to ...
10190 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
10191 * elf/tst-auditmod5a.c: Move to ...
10192 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
10193 * elf/tst-auditmod5b.c: Move to ...
10194 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
10195 * elf/tst-auditmod6a.c: Move to ...
10196 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
10197 * elf/tst-auditmod6b.c: Move to ...
10198 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
10199 * elf/tst-auditmod6c.c: Move to ...
10200 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
10201 * elf/tst-auditmod7a.c: Move to ...
10202 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
10203 * elf/tst-auditmod7b.c: Move to ...
10204 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
10206 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
10209 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
10210 define unconditionally.
10211 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
10212 define unconditionally.
10213 (INT8_C, INT16_C, etc.): Likewise.
10215 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
10217 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
10218 __ehdr_start with hidden visibility.
10220 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
10222 2013-04-24 Carlos O'Donell <carlos@redhat.com>
10224 * math/libm-test.inc (cos_test): Use accurate hex constants.
10225 (sincost_test): Likewise.
10227 2013-04-24 Joseph Myers <joseph@codesourcery.com>
10229 * math/libm-test.inc (catan_test): Add more tests.
10230 (catanh_test): Likewise.
10232 * math/s_catanf.c (__catanf): Use suffixed floating-point
10234 * math/s_catanhf.c (__catanhf): Likewise.
10235 * math/s_catanhl.c (__catanhl): Likewise.
10236 * math/s_catanl.c (__catanl): Likewise.
10239 * math/s_catan.c (__catan): Calculate imaginary part of result
10240 with log1p not log unless computing log of number close to 0.
10241 * math/s_catanf.c (__catanf): Likewise.
10242 * math/s_catanl.c (__catanl): Likewise.
10243 * math/s_catanh.c (__catanh): Calculate real part of result with
10244 log1p not log unless computing log of number close to 0.
10245 * math/s_catanhf.c (__catanhf): Likewise.
10246 * math/s_catanhl.c (__catanhl): Likewise.
10247 * math/libm-test.inc (catan_test): Add more tests.
10248 (catanh_test): Likewise.
10249 * sysdeps/i386/fpu/libm-test-ulps: Update.
10250 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10252 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
10254 * benchtests/Makefile: Mention files in which fast and slow
10255 paths of math functions are implemented.
10257 2013-04-23 Roland McGrath <roland@hack.frob.com>
10259 * sysdeps/posix/timespec_get.c: New file.
10261 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10263 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
10265 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
10267 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
10268 powerpc/power5/fpu folders.
10269 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
10270 * benchtests/Makefile: Add modf testcase.
10271 * benchtests/bench-modf.c: New file: Benchmark test for mo
10273 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
10276 * time/Makefile (tests): Add tst-strptime-whitespace.
10277 * time/strptime_l.c (get_number): Use ISSPACE.
10278 (__strptime_internal): Likewise.
10279 * time/tst-strptime-whitespace.c: New test case.
10281 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
10283 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
10285 (_nss_files_init): Set it here.
10287 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
10289 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
10290 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
10293 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
10295 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
10297 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
10299 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
10302 2013-04-21 David S. Miller <davem@davemloft.net>
10304 * po/ru.po: Update Russion translation from translation project.
10306 2013-04-17 Adam Conrad <adconrad@0c3.net>
10308 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
10311 2013-04-17 Carlos O'Donell <carlos@redhat.com>
10313 * configure.in: Remove i386 configure warning. Remove i386 case.
10314 * configure: Regenerate.
10315 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
10316 Add example to error message.
10317 * sysdeps/i386/configure: Regenerate.
10319 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
10321 * benchtests/Makefile (bench): Add cos, tan, slowcos and
10323 * benchtests/cos-inputs: New file.
10324 * benchtests/slowcos-inputs: New file.
10325 * benchtests/slowcos.c: New file.
10326 * benchtests/slowtan-inputs: New file.
10327 * benchtests/slowtan.c: New file.
10328 * benchtests/tan-inputs: New file.
10330 2013-04-16 Roland McGrath <roland@hack.frob.com>
10332 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
10335 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
10337 * benchtests/Makefile: Include cppflags-iterator.mk to add
10338 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
10340 * Makefile.in (bench-clean): New target.
10341 * benchtests/Makefile (bench-clean): Likewise.
10343 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
10345 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
10347 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
10349 * stdio-common/tstdiomisc.c: Fix coding-style violation.
10351 2013-04-15 Andreas Schwab <schwab@suse.de>
10353 * nscd/grpcache.c (cache_addgr): Properly check for short write.
10354 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10355 * nscd/pwdcache.c (cache_addpw): Likewise.
10356 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
10359 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
10361 * benchtests/Makefile (bench): Write all output to
10362 bench-out.tmp together.
10364 2013-04-15 Andreas Schwab <schwab@suse.de>
10366 * nscd/nscd.c (main): Don't fork again after closing files.
10368 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
10370 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
10372 * benchtests/Rules (bench-deps): Collect dependencies into a
10373 single variable. Add Makefile to dependencies.
10374 ($(objpfx)bench-%.c): Depend on bench-deps.
10376 2013-04-12 Roland McGrath <roland@hack.frob.com>
10377 Xavier Roche <roche+kml2@exalead.com>
10380 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
10381 just that it's a file descriptor.
10382 * manual/llio.texi (Synchronizing AIO Operations): Update description
10383 for EBADF error from aio_fsync.
10385 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
10387 * Rules (bench): Move target definition...
10388 * benchtests/Makefile: ... here.
10390 2013-04-11 Carlos O'Donell <carlos@redhat.com>
10392 * math/libm-test.inc (cos_test): Fix PI/2 test.
10393 (sincos_test): Likewise.
10394 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
10395 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
10397 2013-04-11 Andreas Schwab <schwab@suse.de>
10400 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
10401 accept exponent character only when digits were seen.
10402 * stdio-common/Makefile (tests): Add bug26.
10403 * stdio-common/bug26.c: New file.
10406 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
10409 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
10411 * Makeconfig (rtld-prefix): Define built linker prefix.
10412 * Rules (run-bench): Use it.
10413 * math/Makefile (run-regen-ulps): Likewise.
10415 * Rules (bench): Remove eval.
10417 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
10418 Roland McGrath <roland@hack.frob.com>
10419 Ondrej Bilka <neleai@seznam.cz>
10422 * time/getdate.c: Include ctype.h and alloca.h.
10423 (__getdate_r): Trim leading and trailing spaces of input.
10424 * time/tst-getdate.c (tests): Add tests with leading and
10427 2013-04-08 Roland McGrath <roland@hack.frob.com>
10430 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
10431 when computing value.
10433 2013-04-06 Carlos O'Donell <carlos@redhat.com>
10435 * math/README.libm-test (How can I generate "libm-test-ulps"?):
10436 Use testrun.sh to run libm tests.
10439 * elf/dl-open.c (dl_open_worker): memset all of seen array.
10441 2013-04-06 Marko Myllynen <myllynen@redhat.com>
10444 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
10446 2013-04-06 Carlos O'Donell <carlos@redhat.com>
10448 * Makefile.in (regen-ulps): New target.
10449 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
10450 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
10451 [ifneq (no,$(PERL)] (regen-ulps): New target.
10452 [ifeq (no,$(PERL)] (regen-ulps): New target.
10453 * math/libm-test.inc (ulps_file_name): Define.
10454 (output_dir): New variable.
10455 (options): Add "output-dir" option.
10456 (parse_opt): Handle 'o' case.
10457 (main): If output_dir is non-NULL use it as a prefix
10459 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
10461 2013-04-06 Carlos O'Donell <carlos@redhat.com>
10463 [BZ #10060, #10062]
10464 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
10465 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
10466 fail configure if __sync_val_compare_and_swap is not inlined.
10467 * sysdeps/i386/configure: Regenerate.
10468 * configure.in: Build for i686 when configured for i386.
10469 * configure: Regenerate.
10470 * README: Remove i386 reference.
10472 2013-04-06 Carlos O'Donell <carlos@redhat.com>
10474 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
10475 * sysdeps/s390/s390-64/sysdep.h: Likewise.
10477 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
10479 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
10480 (lmsnanval): New variables.
10481 (F): Add conversion tests.
10482 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
10483 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
10485 * stdio-common/tstdiomisc.c (F): Properly collect individual
10488 [BZ #14686, #15336]
10489 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
10490 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
10491 Instead, use input NaN values or generate a qNaN by arithmetic
10492 operation. Also fix bugs to comply with the standard.
10493 * math/libm-test.inc (remainder_test): Add more tests.
10495 [BZ #15335, #15342]
10496 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
10497 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
10498 input NaN values or generate a qNaN by arithmetic operation.
10500 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
10503 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
10506 2013-04-03 Joseph Myers <joseph@codesourcery.com>
10509 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
10510 underflowed result.
10511 * math/s_cexpf.c (__cexpf): Likewise.
10512 * math/s_cexpl.c (__cexpl): Likewise.
10513 * math/libm-test.inc (cexp_test): Add more tests.
10515 2013-04-03 Andreas Schwab <schwab@suse.de>
10518 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
10519 order arrays from heap if bigger than alloca cutoff.
10521 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
10523 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
10524 (SNAN_TESTS_double): Refer to GCC PR56831.
10525 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
10528 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
10530 * Rules (bench): Move bench.out after the run is complete.
10532 * Rules (bench): Echo currently running benchmark.
10534 * benchtests/Makefile (bench): Add atan and slowatan.
10535 * benchtests/atan-inputs: New file.
10536 * benchtests/slowatan-inputs: New file.
10537 * benchtests/slowatan.c: New file.
10539 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
10540 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
10544 * sysdeps/unix/sysv/linux/kernel-features.h
10545 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
10546 __ASSUME_XFS_RESTRICTED_CHOWN.
10547 * sysdeps/unix/sysv/linux/pathconf.c
10548 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
10549 Save and restore errno.
10551 2013-04-02 Joseph Myers <joseph@codesourcery.com>
10554 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
10555 arguments using __kernel_casinh.
10556 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
10557 arguments using __kernel_casinhf.
10558 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
10559 arguments using __kernel_casinhl.
10560 * math/libm-test.inc (cacosh_test): Add more tests.
10561 * sysdeps/i386/fpu/libm-test-ulps: Update.
10562 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10564 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
10566 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
10567 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
10569 * bench/Makefile (bench): Add sin and slowsin.
10570 * benchtests/sin-inputs: New file.
10571 * benchtests/slowsin-inputs: New file.
10572 * benchtests/slowsin.c: New file.
10574 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
10575 (bench): Add slowexp and slowpow.
10576 (exp-ITER): Increase iterations.
10577 (pow-ITER): Likewise.
10578 * benchtests/exp-inputs: Change input.
10579 * benchtests/pow-inputs: Likewise.
10580 * benchtests/slowexp-inputs: New file.
10581 * benchtests/slowexp.c: New file.
10582 * benchtests/slowpow-inputs: New file.
10583 * benchtests/slowpow.c: New file.
10585 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10587 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
10589 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
10590 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
10591 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
10592 * benchtests/Makefile: Add rint benchtest.
10593 * benchtests/rint-inputs: Input for rint benchtest.
10595 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
10597 * Versions.def (libm): Add GLIBC_2.18.
10598 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
10599 hidden libm prototypes.
10600 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
10601 * math/Makefile (libm-calls): Add s_issignaling.
10602 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
10603 __issignalingf, __issignalingl. Adjust all libm.abilist files.
10604 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
10606 * math/math.h [__USE_GNU] (issignaling): New macro.
10607 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
10608 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
10609 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
10610 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
10611 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
10612 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
10613 * manual/arith.texi (issignaling): New section.
10614 * manual/libm-err-tab.pl (@all_functions): Update comment.
10615 * math/gen-libm-test.pl (parse_args): Apply special handling for
10617 * math/libm-test.inc (print_float, issignaling_test): New
10619 (check_float_internal): Add issignaling checks.
10620 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
10621 default definition.
10622 * sysdeps/powerpc/math-tests.h: New file.
10623 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
10625 * math/test-snan.c (TEST_FUNC): Likewise.
10627 2013-03-30 David S. Miller <davem@davemloft.net>
10629 * po/de.po: Update from translation team.
10631 2013-03-30 Joseph Myers <joseph@codesourcery.com>
10634 * math/k_casinh.c (__kernel_casinh): Handle arguments with
10635 imaginary part less than 1.0 and real part less than 0.5
10637 * math/k_casinhf.c (__kernel_casinhf): Likewise.
10638 * math/k_casinhl.c (__kernel_casinhl): Likewise.
10639 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
10640 (cacos_test): Add more tests.
10641 (casin_test): Likewise.
10642 (casinh_test): Likewise.
10643 * sysdeps/i386/fpu/libm-test-ulps: Update.
10644 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10646 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
10648 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
10649 ONE with its value.
10651 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
10652 (__pow_mp): Replace ONE and MONE with their values.
10653 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
10654 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
10655 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
10656 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
10657 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
10658 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
10660 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
10662 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
10663 (__pow_mp): Replace ZERO and MZERO with their values.
10664 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
10665 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
10666 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
10667 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
10668 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
10669 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
10672 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
10674 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
10676 2013-03-28 Roland McGrath <roland@hack.frob.com>
10678 * include/stdlib.h [!SHARED] (__call_tls_dtors):
10679 Declare with __attribute__ ((weak)).
10680 * stdlib/exit.c (__libc_atexit) [!SHARED]:
10681 Call __call_tls_dtors only if it's not NULL.
10683 2013-03-28 Roland McGrath <roland@hack.frob.com>
10685 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
10686 didn't do it already, then set _dl_phdr and _dl_phnum based on the
10687 magic __ehdr_start linker symbol if it's defined.
10688 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
10689 them up here if it was already done.
10691 * elf/dl-support.c (_dl_phdr): Make pointer to const.
10692 (_dl_aux_init): Use const in cast when setting it.
10693 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
10694 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
10695 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
10697 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
10699 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
10700 * csu/libc-tls.c: Nor here.
10701 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
10703 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
10704 (__libc_message): Never call vsyslog.
10706 2013-03-28 Alan Modra <amodra@gmail.com>
10708 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
10710 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
10713 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10716 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
10718 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10720 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10723 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
10724 Don't add gid passed as argument.
10726 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
10728 2013-03-27 Joseph Myers <joseph@codesourcery.com>
10731 * math/k_casinh.c (__kernel_casinh): Handle arguments with
10732 imaginary part between 1.0 and 1.5 and real part less than 0.5
10734 * math/k_casinhf.c (__kernel_casinhf): Likewise.
10735 * math/k_casinhl.c (__kernel_casinhl): Likewise.
10736 * math/libm-test.inc (cacos_test): Add more tests.
10737 (casin_test): Likewise.
10738 (casinh_test): Likewise.
10739 * sysdeps/i386/fpu/libm-test-ulps: Update.
10740 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10742 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10744 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
10747 (denorm): Likewise.
10748 (__dbl_mp): Likewise.
10749 (add_magnitudes): Likewise.
10750 (sub_magnitudes): Likewise.
10758 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
10760 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
10761 (__dubcos): Likewise.
10762 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
10763 (__ieee754_acos): Likewise.
10764 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
10765 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
10766 (__exp1): Likewise.
10767 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
10768 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
10770 (my_log2): Likewise.
10771 (checkint): Likewise.
10772 * sysdeps/ieee754/dbl-64/e_remainder.c
10773 (__ieee754_remainder): Likewise.
10774 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
10775 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
10776 (bsloww): Likewise.
10777 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
10779 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
10780 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
10781 MANTISSA_STORE_T to store computations on mantissa. Use
10782 macros for rounding and division.
10783 (denorm): Likewise.
10784 (__dbl_mp): Likewise.
10785 (add_magnitudes): Likewise.
10786 (sub_magnitudes): Likewise.
10789 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
10790 powers of two in terms of TWOPOW macro.
10791 (mp_no): Make type of mantissa as MANTISSA_T.
10792 [!RADIXI]: Define RADIXI.
10793 [!TWO52]: Define TWO52.
10794 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
10796 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10798 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
10799 llroundl symbol when building for PPC32.
10801 2013-03-24 Mark H Weaver <mhw@netris.org>
10803 * manual/arith.texi (Normalization Functions): Fix prototypes for
10804 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
10806 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10809 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
10810 high value to check if expl overflow.
10811 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
10812 to check for underflow and overflow.
10813 * math/libm-test.inc: Add exp test.
10815 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
10818 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
10821 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10823 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
10826 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
10828 * math/gen-libm-test.pl (parse_args, special_functions): Properly
10829 wrap blocks consisting of several statements.
10831 * sysdeps/generic/math-tests.h: New file.
10832 * sysdeps/i386/fpu/math-tests.h: Likewise.
10833 * math/test-snan.c: Include it.
10834 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
10836 2013-03-21 Joseph Myers <joseph@codesourcery.com>
10839 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
10840 (__ieee754_j0l): Do not improve calculations using cos of twice
10841 input for inputs above LDBL_MAX / 2.0L.
10842 (__ieee754_y0l): Likewise.
10843 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
10844 (__ieee754_j1l): Do not improve calculations using cos of twice
10845 input for inputs above LDBL_MAX / 2.0L.
10846 (__ieee754_y1l): Likewise.
10847 * math/libm-test.inc (j0_test): Add another test.
10848 (j1_test): Likewise.
10849 (y0_test): Likewise.
10850 (y1_test): Likewise.
10851 * sysdeps/i386/fpu/libm-test-ulps: Update.
10853 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
10855 * Rules ($(objpfx)bench-%.c): Include code from a C source
10858 2013-03-21 Joseph Myers <joseph@codesourcery.com>
10861 * math/k_casinh.c (__kernel_casinh): Handle arguments with
10862 imaginary part 1.0 and real part less than 0.5 specially.
10863 * math/k_casinhf.c (__kernel_casinhf): Likewise.
10864 * math/k_casinhl.c (__kernel_casinhl): Likewise.
10865 * math/libm-test.inc (cacos_test): Add more tests.
10866 (casin_test): Likewise.
10867 (casinh_test): Likewise.
10868 * sysdeps/i386/fpu/libm-test-ulps: Update.
10869 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10871 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
10873 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
10874 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
10876 2013-03-20 Joseph Myers <joseph@codesourcery.com>
10878 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
10879 * config.make.in (config-cflags-sse4): Remove variable.
10880 (config-cflags-avx): Likewise.
10881 (config-cflags-sse2avx): Likewise.
10882 (config-cflags-novzeroupper): Likewise.
10883 (config-asflags-i686): Likewise.
10884 (have-mfma4): Likewise.
10885 (have-as-vis3): Likewise.
10887 * configure.in (MIG): Do not AC_SUBST.
10888 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
10889 (libc_cv_cc_sse4): Do not AC_SUBST.
10890 (libc_cv_cc_avx): Likewise.
10891 (libc_cv_cc_sse2avx): Likewise.
10892 (libc_cv_cc_novzeroupper): Likewise.
10893 (libc_cv_cc_fma4): Likewise.
10894 (libc_cv_as_i686): Likewise.
10895 (libc_cv_sparc_as_vis3): Likewise.
10896 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
10898 (config-asflags-i686): Likewise.
10899 (config-cflags-avx): Likewise.
10900 (config-cflags-sse2avx): Likewise.
10901 (have-mfma4): Likewise.
10902 (config-cflags-novzeroupper): Likewise.
10903 * sysdeps/mach/configure.in (MIG): Likewise.
10904 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
10905 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
10907 (config-cflags-avx): Likewise.
10908 (config-cflags-sse2avx): Likewise.
10909 (have-mfma4): Likewise.
10910 (config-cflags-novzeroupper): Likewise.
10911 * configure: Regenerated.
10912 * sysdeps/i386/configure: Likewise.
10913 * sysdeps/mach/configure: Likewise.
10914 * sysdeps/sparc/configure: Likewise.
10915 * sysdeps/x86_64/configure: Likewise.
10917 2013-03-20 Roland McGrath <roland@hack.frob.com>
10920 * locale/programs/localedef.c (options): Put N_ translation marker
10921 on argument names, not just descriptions.
10923 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10925 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
10927 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
10930 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
10932 2013-03-19 Roland McGrath <roland@hack.frob.com>
10934 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
10935 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
10936 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
10937 [!BEFORE_ABORT] (before_abort): New function.
10938 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
10939 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
10940 (writev_for_fatal): New function.
10941 (WRITEV_FOR_FATAL): New macro; call that.
10942 (backtrace_and_maps): New function.
10943 (BEFORE_ABORT): New macro; call that.
10944 (struct str_list): Type removed.
10945 (__libc_message, __libc_fatal): Functions removed.
10946 Include <sysdeps/posix/libc_fatal.c> instead.
10948 2013-03-19 Joseph Myers <joseph@codesourcery.com>
10950 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
10952 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
10955 2013-03-19 Andreas Schwab <schwab@suse.de>
10957 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
10958 * sysdeps/gnu/configure: Regenerate.
10960 * configure.in: Substitute libc_cv_rtlddir.
10961 * configure: Regenerate.
10962 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
10963 * Makeconfig (rtlddir, inst_rtlddir): New variables.
10964 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
10965 * elf/Makefile (install-others, CFLAGS-interp.c)
10966 (ldso_install, common-ldd-rewrite): Likewise.
10967 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
10968 $(inst_slibdir)/$(rtld-installed-name).
10969 * scripts/rellns-sh: Add -p option.
10970 * Makerules (make-shlib-link): Use rellns-sh to get relative name
10973 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
10975 * manual/nptl.texi: Renamed to ...
10976 * manual/threads.texi: ... this.
10977 * manual/Makefile (chapters): Update.
10979 2013-03-18 Roland McGrath <roland@hack.frob.com>
10982 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
10983 on argument names, not just descriptions.
10984 * malloc/memusagestat.c (options): Likewise.
10985 * nss/getent.c (options): Likewise.
10987 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
10990 * iconv/iconv_prog.c (options): Put N_ translation marker
10991 on argument names, not just descriptions.
10992 * iconv/iconvconfig.c (options): Likewise.
10994 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
10996 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
10997 implementation which is faster on all x86_64 architectures.
10998 Tested on AMD, Intel Nehalem, SNB, IVB.
10999 * sysdeps/x86_64/strnlen.S: Likewise.
11001 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
11002 Remove all multiarch strlen and strnlen versions.
11003 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
11004 Remove strlen and strnlen related parts.
11006 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
11007 Inline strlen part.
11008 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
11010 * sysdeps/x86_64/multiarch/strlen.S: Remove.
11011 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
11012 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
11013 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
11014 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
11015 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
11017 2013-03-17 Carlos O'Donell <carlos@redhat.com>
11019 * manual/memory.texi (Malloc Tunable Parameters):
11020 Sort parameters alphabetically. Add comments for missing entries.
11022 2013-03-17 David S. Miller <davem@davemloft.net>
11024 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11026 2013-03-16 Joseph Myers <joseph@codesourcery.com>
11029 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
11030 for arguments at most half maximum finite value.
11031 * math/libm-test.inc (j0_test): Add more tests.
11032 (j1_test): Likewise.
11033 (y0_test): Likewise.
11034 (y1_test): Likewise.
11035 * sysdeps/i386/fpu/libm-test-ulps: Update.
11036 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11039 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
11040 1 / x and functions P and Q for arguments above 0x1p256L.
11041 (__ieee754_y0l): Likewise.
11042 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
11043 (__ieee754_y1l): Likewise.
11044 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
11045 (j1_test): Likewise.
11046 (y0_test): Likewise.
11047 (y1_test): Likewise.
11049 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
11051 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
11054 2013-03-15 Roland McGrath <roland@hack.frob.com>
11056 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
11057 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
11058 zero since it's initialized to EXEC_PAGESIZE.
11060 * sysdeps/unix/sysv/linux/ldsodefs.h
11061 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
11062 * sysdeps/generic/ldsodefs.h: ... here.
11064 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
11066 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
11068 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
11070 * math/test-snan.c: Renamed from
11071 sysdeps/powerpc/fpu/test-powerpc-snan.c.
11072 * math/Makefile (tests): Add test-snan.
11073 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
11076 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
11077 SUFFIX. Initialize qNaN_var with __builtin_nan family of
11079 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
11080 __builtin_nan family of functions.
11081 * math/libm-test.inc (initialize): Initialize qnan_value with
11082 __builtin_nan family of functions.
11083 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
11085 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
11087 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
11088 storage class. Initialize qNaN_var and sNaN_var with
11089 __builtin_nan and __builtin_nans families of functions,
11092 * math/libm-test.inc (acosh_test): Also test with qNaN input.
11093 (sqrt_test): Remove duplicate test with qNaN input.
11094 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
11095 (round_test, signbit_test, significand_test): Note missing +/-Inf
11096 as well as qNaN tests.
11098 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
11099 qNaN_var. Fix a few strings, too.
11100 * math/libm-test.inc (nan_value): Rename to qnan_value.
11101 * math/gen-libm-test.pl (%beautify): Adjust to that.
11102 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
11103 * math/test-misc.c (main): Likewise.
11104 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
11105 to __qnan_bytes, and __qnan_union, respectively.
11106 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
11108 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
11109 and lqnanval, respectively.
11110 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
11111 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
11112 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
11113 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
11115 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
11116 * math/test-misc.c (main) [__x86_64__]: Enable test for long
11119 * math/test-misc.c (main): Fix copy'n'pastos.
11120 * misc/tst-efgcvt.c (special): Likewise.
11122 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
11123 Remove declarations.
11125 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11127 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
11128 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
11129 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
11130 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
11132 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11134 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
11135 macro to return vdso values correctly in IFUNC implementations.
11136 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
11137 Optimization by using IFUNC.
11139 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11140 Richard Henderson <rth@redhat.com>
11141 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11143 * Makefile.in (bench): New target.
11144 * NEWS: Mention the benchmark framework.
11145 * Rules (bench): Likewise.
11146 (binaries-bench): Generate binaries for functions to
11148 * benchtests/Makefile: New makefile for benchmark tests.
11149 * benchtests/bench-skeleton.c: New skeleton file for benchmark
11151 * benchtests/exp-inputs: New input file for EXP function.
11152 * benchtests/pow-inputs: New input file for POW function.
11153 * scripts/bench.pl: New script to generate source files for
11154 benchmark programs.
11156 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11158 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
11159 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
11160 computations on mantissa. Use macros for rounding and
11162 (denorm): Likewise.
11163 (__dbl_mp): Likewise.
11164 (add_magnitudes): Likewise.
11165 (sub_magnitudes): Likewise.
11168 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
11169 powers of two in terms of TWOPOW macro.
11170 (mp_no): Make type of mantissa as MANTISSA_T.
11171 [!RADIXI]: Define RADIXI.
11172 [!TWO52]: Define TWO52.
11173 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
11175 * manual/nptl.texi (cindex): Modify threads to pthreads.
11177 2013-03-15 Joseph Myers <joseph@codesourcery.com>
11179 * sysdeps/x86_64/preconfigure: Regenerated.
11181 2013-03-14 Joseph Myers <joseph@codesourcery.com>
11184 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
11186 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
11187 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
11189 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
11190 * math/libm-test.inc (j0_test): Do not allow one spurious
11191 underflow exception.
11192 (y1_test): Likewise.
11194 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
11196 * manual/Makefile (chapters): Add nptl.
11197 * manual/debug.texi (Debugging Support): Add link to Threads
11199 * manual/nptl.texi: New file.
11201 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
11203 2013-03-14 Petr Baudis <pasky@ucw.cz>
11205 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
11206 for non-NULL pointer before the memory validity test. Pointed
11207 out by Holger Brunck <holger.brunck@keymile.com>.
11209 2013-03-13 Andreas Schwab <schwab@suse.de>
11211 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
11214 2013-03-13 Joseph Myers <joseph@codesourcery.com>
11216 * timezone/zic.c: Update from tzcode 2013b.
11218 2013-03-12 Carlos O'Donell <carlos@redhat.com>
11220 * manual/install.texi (Configuring and compiling):
11221 Mention i686 and i586.
11222 * INSTALL: Regenerate.
11224 2013-03-12 Roland McGrath <roland@hack.frob.com>
11226 * sysdeps/init_array/elf-init.c: New file.
11228 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
11229 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
11231 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
11232 __gmon_start__ as global, but as static with a .preinit_array pointer.
11233 * sysdeps/init_array/gmon-start.c: New file. Use that.
11234 * sysdeps/init_array/crti.S: New file, empty except for comments.
11235 * sysdeps/init_array/crtn.S: Likewise.
11237 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
11239 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
11241 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11242 Remove Prefer_SSE_for_memop.
11243 * sysdeps/x86_64/multiarch/init-arch.h: Remove
11244 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
11245 HAS_PREFER_SSE_FOR_MEMOP.
11246 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
11248 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
11249 Remove bzero, memset ifunc support.
11250 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
11251 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
11252 * sysdeps/x86_64/multiarch/memset.S: Likewise.
11253 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
11255 2013-03-11 Andreas Schwab <schwab@suse.de>
11258 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
11260 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
11261 (GLIBC_2.16): Remove pthread_atfork.
11263 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
11265 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
11266 (ptestcases.h): Likewise.
11268 2013-03-08 Roland McGrath <roland@hack.frob.com>
11270 * Makeconfig ($(common-objpfx)config.status): Depend on
11271 sysdeps/*/preconfigure{,.in} too.
11273 2013-03-08 Joseph Myers <joseph@codesourcery.com>
11275 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
11276 (__free_hook): Use void * instead of __malloc_ptr_t.
11277 (__malloc_hook): Likewise.
11278 (__realloc_hook): Likewise.
11279 (__memalign_hook): Likewise.
11280 (__after_morecore_hook): Likewise.
11281 * malloc/arena.c (save_malloc_hook): Likewise.
11282 (save_free_hook): Likewise.
11283 * malloc/hooks.c (malloc_hook_ini): Likewise.
11284 (realloc_hook_ini): Likewise.
11285 (memalign_hook_ini): Likewise.
11286 * malloc/malloc.c (malloc_hook_ini): Likewise.
11287 (realloc_hook_ini): Likewise.
11288 (memalign_hook_ini): Likewise.
11289 (__free_hook): Likewise.
11290 (__malloc_hook): Likewise.
11291 (__realloc_hook): Likewise.
11292 (__memalign_hook): Likewise.
11293 (__libc_malloc): Likewise.
11294 (__libc_free): Likewise.
11295 (__libc_realloc): Likewise.
11296 (__libc_memalign): Likewise.
11297 (__libc_valloc): Likewise.
11298 (__libc_pvalloc): Likewise.
11299 (__libc_calloc): Likewise.
11300 (__posix_memalign): Likewise.
11301 * malloc/morecore.c (__sbrk): Likewise.
11302 (__default_morecore): Likewise.
11304 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
11306 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
11307 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
11308 __malloc_ptrdiff_t.
11310 * malloc/malloc.h (__malloc_size_t): Remove macro.
11311 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
11313 (old_memalign_hook): Likewise.
11314 (old_realloc_hook): Likewise.
11315 (struct hdr): Likewise.
11317 (mallochook): Likewise.
11318 (memalignhook): Likewise.
11319 (reallochook): Likewise.
11320 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
11321 (tr_old_realloc_hook): Likewise.
11322 (tr_old_memalign_hook): Likewise.
11323 (tr_mallochook): Likewise.
11324 (tr_reallochook): Likewise.
11325 (tr_memalignhook): Likewise.
11327 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11329 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
11330 default_ldbl_pack and using as default implementation.
11331 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
11333 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
11334 redundant definition.
11335 (ldbl_insert_mantissa): Likewise.
11336 (ldbl_canonicalize): Likewise.
11337 (ldbl_nearbyint): Likewise.
11338 (ldbl_pack): Rename to ldbl_pack_ppc.
11339 (ldbl_unpack): Rename to ldbl_unpack_ppc.
11340 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
11341 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
11343 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
11345 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
11346 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
11347 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
11348 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
11349 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
11350 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
11351 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
11352 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
11354 2013-03-07 Andreas Jaeger <aj@suse.de>
11356 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11359 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
11361 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
11362 Include mpa.h and declare __MPEXP.
11363 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
11364 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
11365 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
11366 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
11367 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
11368 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
11369 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
11371 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
11372 (__slowpow): Use long double EXPL and LOGL functions to
11374 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
11375 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
11376 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
11377 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
11378 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
11379 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
11381 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
11382 intermediate variable to calculate exponent.
11384 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
11388 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
11389 [!NO__SQR]: Define __sqr.
11390 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
11391 and NO__SQR. Remove all code except __mul and __sqr. Include
11392 sysdeps/ieee754/dbl-64/mpa.c.
11393 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
11396 * posix/Makefile (tests): Add tst-pathconf.
11397 * posix/tst-pathconf.c: New test case.
11398 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
11400 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
11402 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
11404 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
11406 2013-03-06 Andreas Jaeger <aj@suse.de>
11408 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
11409 definition via __MAP_ANONYMOUS.
11411 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
11412 it's not part of Linux headers.
11414 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
11415 (MAP_HUGE_MASK): Define.
11417 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
11419 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
11420 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
11422 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
11423 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
11425 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
11426 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
11428 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
11430 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
11431 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
11432 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
11433 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
11434 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
11435 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
11437 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
11440 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
11441 Handle f2fs and efivarfs.
11443 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
11446 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
11447 (EFIVARFS_MAGIC): Add.
11448 (F2FS_LINK_MAX): Add.
11450 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
11452 * stdio-common/vfprintf.c: Replace __builtin_expect with
11455 2013-03-06 Joseph Myers <joseph@codesourcery.com>
11458 * sysdeps/generic/bp-sym.h: Remove file.
11459 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
11460 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
11461 <bp-sym.h> and <bp-asm.h>.
11462 (__longjmp): Don't use BP_SYM.
11463 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
11465 (memcpy): Don't use BP_SYM.
11466 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
11467 <bp-sym.h> and <bp-asm.h>.
11468 (memcpy): Don't use BP_SYM.
11469 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
11471 (memcpy): Don't use BP_SYM.
11472 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
11474 (memset): Don't use BP_SYM.
11475 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
11476 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
11477 (__bzero): Don't use BP_SYM.
11478 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
11479 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
11480 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
11481 <bp-sym.h> and <bp-asm.h>.
11482 (memcmp): Don't use BP_SYM. Remove comment about bounded
11484 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
11485 <bp-sym.h> and <bp-asm.h>.
11486 (memcpy): Don't use BP_SYM.
11487 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
11488 <bp-sym.h> and <bp-asm.h>.
11489 (memset): Don't use BP_SYM.
11490 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
11491 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
11492 (__bzero): Don't use BP_SYM.
11493 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
11494 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
11495 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
11496 <bp-sym.h> and <bp-asm.h>.
11497 (strncmp): Don't use BP_SYM. Remove comment about bounded
11499 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
11500 <bp-sym.h> and <bp-asm.h>.
11501 (memcpy): Don't use BP_SYM.
11502 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
11503 <bp-sym.h> and <bp-asm.h>.
11504 (memset): Don't use BP_SYM.
11505 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
11506 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
11507 (__bzero): Don't use BP_SYM.
11508 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
11509 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
11510 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
11511 <bp-sym.h> and <bp-asm.h>.
11512 (__memchr): Don't use BP_SYM.
11513 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
11514 <bp-sym.h> and <bp-asm.h>.
11515 (memcmp): Don't use BP_SYM. Remove comment about bounded
11517 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
11518 <bp-sym.h> and <bp-asm.h>.
11519 (memcpy): Don't use BP_SYM.
11520 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
11521 <bp-sym.h> and <bp-asm.h>.
11522 (__mempcpy): Don't use BP_SYM.
11523 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
11524 <bp-sym.h> and <bp-asm.h>.
11525 (__memrchr): Don't use BP_SYM.
11526 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
11527 <bp-sym.h> and <bp-asm.h>.
11528 (memset): Don't use BP_SYM.
11529 (__bzero): Likewise.
11530 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
11531 <bp-sym.h> and <bp-asm.h>.
11532 (__rawmemchr): Don't use BP_SYM.
11533 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
11534 <bp-sym.h> and <bp-asm.h>.
11535 (__STRCMP): Don't use BP_SYM.
11536 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
11537 <bp-sym.h> and <bp-asm.h>.
11538 (strchr): Don't use BP_SYM.
11539 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
11540 <bp-sym.h> and <bp-asm.h>.
11541 (__strchrnul): Don't use BP_SYM.
11542 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
11543 <bp-sym.h> and <bp-asm.h>.
11544 (strlen): Don't use BP_SYM.
11545 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
11546 <bp-sym.h> and <bp-asm.h>.
11547 (strncmp): Don't use BP_SYM. Remove comment about bounded
11549 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
11550 <bp-sym.h> and <bp-asm.h>.
11551 (__strnlen): Don't use BP_SYM.
11552 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
11553 <bp-sym.h> and <bp-asm.h>.
11554 (__GI__setjmp): Don't use BP_SYM.
11555 (_setjmp): Likewise.
11556 (__sigsetjmp): Likewise.
11557 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
11558 (L(start_addresses)): Don't use BP_SYM.
11559 (_start): Likewise.
11560 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
11562 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
11563 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
11564 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
11565 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
11566 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
11568 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
11569 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
11570 about bounded pointers.
11571 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
11572 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
11573 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
11575 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
11576 about bounded pointers. Remove GKM FIXME comments.
11577 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
11578 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
11580 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
11581 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
11582 Remove GKM FIXME comments.
11583 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
11584 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
11585 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
11587 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
11588 about bounded pointers. Remove GKM FIXME comment.
11589 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
11591 (strncmp): Don't use BP_SYM. Remove comment about bounded
11593 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
11594 <bp-sym.h> and <bp-asm.h>.
11595 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
11596 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
11597 <bp-sym.h> and <bp-asm.h>.
11598 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
11601 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
11603 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
11606 2013-03-05 David S. Miller <davem@davemloft.net>
11608 * po/es.po: Update from translation team.
11610 2013-03-05 Andreas Jaeger <aj@suse.de>
11612 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
11613 <bits/mman-linux.h>.
11614 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
11616 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
11617 <bits/mman-linux.h> to end of file.
11618 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
11620 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
11621 <bits/mman-linux.h> to end of file.
11622 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
11624 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
11625 <bits/mman-linux.h> to end of file.
11627 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
11628 (MCL_CURRENT, MCL_FUTURE): Define here.
11630 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11633 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
11635 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
11637 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11639 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
11640 fourth parameter needed for rt_sigprocmask syscall.
11641 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
11642 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
11643 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
11644 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
11645 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
11646 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
11648 2013-03-04 Joseph Myers <joseph@codesourcery.com>
11651 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
11652 comment about bounded pointers.
11653 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
11654 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
11656 2013-03-04 Andreas Jaeger <aj@suse.de>
11658 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
11659 common definitions.
11661 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
11662 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
11663 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
11664 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
11665 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
11666 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
11668 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11671 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
11672 __ieee754_sqrl instead of __sqrl.
11674 2013-03-01 Joseph Myers <joseph@codesourcery.com>
11676 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
11677 * sysdeps/powerpc/fpu_control.h: ... here.
11678 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
11679 * sysdeps/powerpc/bits/fenvinline.h: ... here.
11680 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
11681 * sysdeps/powerpc/bits/mathinline.h: ... here.
11683 2013-03-01 Roland McGrath <roland@hack.frob.com>
11685 * elf/dl-hwcaps.c (_dl_important_hwcaps):
11686 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
11687 to just [NEED_DL_SYSINFO_DSO].
11688 * elf/dl-support.c: Likewise.
11689 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
11690 * elf/rtld.c (dl_main): Likewise.
11691 * elf/setup-vdso.h (setup_vdso): Likewise.
11692 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
11693 * sysdeps/unix/sysv/linux/dl-sysdep.c
11694 (_dl_discover_osversion): Likewise.
11696 2013-03-01 Carlos O'Donell <carlos@redhat.com>
11698 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
11699 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
11701 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
11703 * NEWS: Mention libm performance improvements and non-x86 PI
11706 * csu/libc-start.c (__pthread_initialize_minimal): Change
11707 function arguments.
11708 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
11710 2013-02-28 Joseph Myers <joseph@codesourcery.com>
11713 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
11714 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
11715 <bp-sym.h> and <bp-asm.h>.
11716 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
11717 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
11719 (memcpy): Don't use BP_SYM.
11720 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
11722 (__mpn_add_n): Don't use BP_SYM.
11723 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
11724 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
11726 (__mpn_addmul_1): Don't use BP_SYM.
11727 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11728 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
11730 (_setjmp): Don't use BP_SYM.
11731 (__novmx_setjmp): Likewise.
11732 (__GI__setjmp): Likewise.
11733 (__vmx_setjmp): Likewise.
11734 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
11736 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
11737 (__bzero): Don't use BP_SYM.
11738 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
11739 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
11740 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
11741 <bp-sym.h> and <bp-asm.h>.
11742 (memcpy): Don't use BP_SYM.
11743 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
11744 <bp-sym.h> and <bp-asm.h>.
11745 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
11746 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
11747 <bp-sym.h> and <bp-asm.h>.
11748 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
11749 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
11751 (__mpn_lshift): Don't use BP_SYM.
11752 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
11753 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
11755 (memset): Don't use BP_SYM.
11756 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
11757 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
11758 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
11760 (__mpn_mul_1): Don't use BP_SYM.
11761 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11762 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
11763 <bp-sym.h> and <bp-asm.h>.
11764 (memcmp): Don't use BP_SYM.
11765 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
11766 <bp-sym.h> and <bp-asm.h>.
11767 (memcpy): Don't use BP_SYM.
11768 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
11769 <bp-sym.h> and <bp-asm.h>.
11770 (memset): Don't use BP_SYM.
11771 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
11772 <bp-sym.h> and <bp-asm.h>.
11773 (strncmp): Don't use BP_SYM.
11774 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
11775 <bp-sym.h> and <bp-asm.h>.
11776 (memcpy): Don't use BP_SYM.
11777 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
11778 <bp-sym.h> and <bp-asm.h>.
11779 (memset): Don't use BP_SYM.
11780 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
11781 <bp-sym.h> and <bp-asm.h>.
11782 (__memchr): Don't use BP_SYM.
11783 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
11784 <bp-sym.h> and <bp-asm.h>.
11785 (memcmp): Don't use BP_SYM.
11786 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
11787 <bp-sym.h> and <bp-asm.h>.
11788 (memcpy): Don't use BP_SYM.
11789 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
11790 <bp-sym.h> and <bp-asm.h>.
11791 (__mempcpy): Don't use BP_SYM.
11792 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
11793 <bp-sym.h> and <bp-asm.h>.
11794 (__memrchr): Don't use BP_SYM.
11795 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
11796 <bp-sym.h> and <bp-asm.h>.
11797 (memset): Don't use BP_SYM.
11798 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
11799 <bp-sym.h> and <bp-asm.h>.
11800 (__rawmemchr): Don't use BP_SYM.
11801 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
11802 <bp-sym.h> and <bp-asm.h>.
11803 (__STRCMP): Don't use BP_SYM.
11804 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
11805 <bp-sym.h> and <bp-asm.h>.
11806 (strchr): Don't use BP_SYM.
11807 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
11808 <bp-sym.h> and <bp-asm.h>.
11809 (__strchrnul): Don't use BP_SYM.
11810 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
11811 <bp-sym.h> and <bp-asm.h>.
11812 (strlen): Don't use BP_SYM.
11813 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
11814 <bp-sym.h> and <bp-asm.h>.
11815 (strncmp): Don't use BP_SYM.
11816 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
11817 <bp-sym.h> and <bp-asm.h>.
11818 (__strnlen): Don't use BP_SYM.
11819 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
11821 (__mpn_rshift): Don't use BP_SYM.
11822 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
11823 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
11824 <bp-sym.h> and <bp-asm.h>.
11825 (__sigsetjmp): Don't use BP_SYM.
11826 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
11827 (L(start_addresses)): Don't use BP_SYM.
11828 (_start): Likewise.
11829 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
11831 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
11832 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
11833 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
11834 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
11836 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
11837 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
11838 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
11839 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
11841 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
11843 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
11844 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
11846 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
11848 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
11849 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
11850 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
11852 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
11854 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
11856 (strncmp): Don't use BP_SYM,
11857 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
11859 (__mpn_sub_n): Don't use BP_SYM.
11860 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
11861 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
11863 (__mpn_submul_1): Don't use BP_SYM.
11864 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11865 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
11866 <bp-sym.h> and <bp-asm.h>.
11867 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
11868 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
11869 <bp-sym.h> and <bp-asm.h>.
11870 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
11873 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11875 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
11876 Use ZK to minimize writes to Z.
11877 (sub_magnitudes): Simplify code a bit.
11878 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
11879 Use ZK to minimize writes to Z.
11880 (sub_magnitudes): Simplify code a bit.
11882 2013-02-27 Roland McGrath <roland@hack.frob.com>
11884 * csu/gmon-start.c: Add special exception to license text.
11886 2013-02-27 Richard Henderson <rth@redhat.com>
11888 * scripts/config.guess: Update from config.git.
11889 * scripts/config.sub: Likewise.
11891 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
11893 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
11895 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
11897 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
11899 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
11901 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
11903 2013-02-26 Roland McGrath <roland@hack.frob.com>
11905 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
11906 [$(build-shared = yes].
11908 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11910 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
11911 (__mul): Reduce iterations for calculating mantissa.
11913 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
11915 (__mpranred): Likewise.
11918 * malloc/memusagestat.c (main): Draw graphs for heap and stack
11919 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
11921 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
11923 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
11924 Define __attribute__.
11926 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11928 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
11930 * posix/regex_internal.h (__attribute): Remove.
11931 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
11932 (re_string_context_at): Likewise.
11933 (bitset_not): Use __attribute__ and mark function as possibly
11935 (bitset_merge): Likewise.
11936 (bitset_mask): Likewise.
11937 (re_string_char_size_at): Likewise.
11938 (re_string_wchar_at): Likewise.
11939 (re_string_elem_size_at): Likewise.
11941 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
11943 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
11947 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
11951 (denorm): Likewise.
11952 (__dbl_mp): Likewise.
11953 (add_magnitudes): Likewise.
11954 (sub_magnitudes): Likewise.
11958 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
11961 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
11964 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
11967 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
11968 up changes with default code.
11969 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
11972 2013-02-24 Allan McRae <allan@archlinux.org>
11974 * manual/socket.texi (The Internet Namespace): Order menu items
11975 to match that in the file.
11977 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
11978 node listing of the info page menu.
11980 2013-02-21 Joseph Myers <joseph@codesourcery.com>
11983 * sysdeps/i386/bp-asm.h: Remove file.
11984 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
11985 (PARMS): Do not use macros from bp-asm.h.
11989 (__mpn_add_n): Do not use BP_SYM
11990 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
11992 (PARMS): Do not use macros from bp-asm.h.
11995 (__mpn_addmul_1): Do not use BP_SYM
11996 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
11998 (PARMS): Do not use macros from bp-asm.h.
11999 (SIGMSK): Likewise.
12000 (_setjmp): Likewise. Do not use BP_SYM.
12001 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
12003 (PARMS): Do not use macros from bp-asm.h.
12004 (SIGMSK): Likewise.
12005 (setjmp): Likewise. Do not use BP_SYM.
12006 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
12008 (PARMS): Do not use macros from bp-asm.h.
12009 (__frexp): Do not use BP_SYM.
12011 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
12013 (PARMS): Do not use macros from bp-asm.h.
12014 (__frexpf): Do not use BP_SYM.
12015 (frexpf): Likewise.
12016 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
12018 (PARMS): Do not use macros from bp-asm.h.
12019 (__frexpl): Do not use BP_SYM.
12020 (frexpl): Likewise.
12021 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
12023 (PARMS): Do not use macros from bp-asm.h.
12024 (__remquo): Do not use BP_SYM.
12025 (remquo): Likewise.
12026 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
12028 (PARMS): Do not use macros from bp-asm.h.
12029 (__remquof): Do not use BP_SYM.
12030 (remquof): Likewise.
12031 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
12033 (PARMS): Do not use macros from bp-asm.h.
12034 (__remquol): Do not use BP_SYM.
12035 (remquol): Likewise.
12036 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
12038 (PARMS): Do not use macros from bp-asm.h.
12041 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
12042 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
12044 (PARMS): Do not use macros from bp-asm.h.
12045 (strlen): Do not use BP_SYM.
12046 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
12048 (PARMS): Do not use macros from bp-asm.h.
12052 (__mpn_add_n): Do not use BP_SYM.
12053 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
12055 (PARMS): Do not use macros from bp-asm.h.
12058 (__mpn_addmul_1): Do not use BP_SYM.
12059 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
12062 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
12064 (PARMS): Do not use macros from bp-asm.h.
12067 (__mpn_lshift): Do not use BP_SYM.
12068 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
12070 (PARMS): Do not use macros from bp-asm.h.
12074 (memcpy): Likewise. Do not use BP_SYM.
12075 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
12076 libc_hidden_def and weak_alias.
12077 (mempcpy): Do not use BP_SYM in weak_alias.
12078 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
12080 (PARMS): Do not use macros from bp-asm.h.
12083 [!BZERO_P] (CHR): Likewise.
12084 (memset): Likewise. Do not use BP_SYM.
12085 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
12087 (PARMS): Do not use macros from bp-asm.h.
12090 (__mpn_mul_1): Do not use BP_SYM.
12091 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
12093 (PARMS): Do not use macros from bp-asm.h.
12096 (__mpn_rshift): Do not use BP_SYM.
12097 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
12099 (PARMS): Do not use macros from bp-asm.h.
12102 (strchr): Likewise. Do not use BP_SYM.
12103 (index): Do not use BP_SYM in weak_alias.
12104 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
12106 (PARMS): Do not use macros from bp-asm.h.
12109 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
12110 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
12112 (PARMS): Do not use macros from bp-asm.h.
12113 (strlen): Do not use BP_SYM.
12114 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
12116 (PARMS): Do not use macros from bp-asm.h.
12120 (__mpn_sub_n): Do not use BP_SYM.
12121 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
12123 (PARMS): Do not use macros from bp-asm.h.
12126 (__mpn_submul_1): Do not use BP_SYM.
12127 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
12129 (PARMS): Do not use macros from bp-asm.h.
12133 (__mpn_add_n): Do not use BP_SYM.
12134 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
12137 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
12139 (PARMS): Do not use macros from bp-asm.h.
12142 (memcmp): Do not use BP_SYM.
12143 (bcmp): Do not use BP_SYM in weak_alias.
12144 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
12146 (PARMS): Do not use macros from bp-asm.h.
12150 (memcpy): Likewise. Do not use BP_SYM.
12151 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
12153 (PARMS): Do not use macros from bp-asm.h.
12157 (memmove): Likewise. Do not use BP_SYM.
12158 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
12160 (PARMS): Do not use macros from bp-asm.h.
12164 (__mempcpy): Likewise. Do not use BP_SYM.
12165 (mempcpy): Do not use BP_SYM in weak_alias.
12166 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
12168 (PARMS): Do not use macros from bp-asm.h.
12171 [!BZERO_P] (CHR): Likewise.
12172 (memset): Likewise. Do not use BP_SYM.
12173 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
12175 (PARMS): Do not use macros from bp-asm.h.
12177 (strcmp): Do not use BP_SYM.
12178 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
12180 (PARMS): Do not use macros from bp-asm.h.
12183 [USE_AS_STRTOK_R] (SAVE): Likewise.
12184 (FUNCTION): Likewise. Do not use BP_SYM.
12185 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
12187 (strtok_r): Likewise.
12188 (__GI___strtok_r): Likewise.
12189 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
12190 (PARMS): Do not use macros from bp-asm.h.
12193 (__mpn_lshift): Do not use BP_SYM.
12194 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
12195 (PARMS): Do not use macros from bp-asm.h.
12198 (__memchr): Do not use BP_SYM.
12199 (memchr): Do not use BP_SYM in weak_alias.
12200 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
12201 (PARMS): Do not use macros from bp-asm.h.
12204 (memcmp): Do not use BP_SYM.
12205 (bcmp): Do not use BP_SYM in weak_alias.
12206 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
12207 (PARMS): Do not use macros from bp-asm.h.
12210 (__mpn_mul_1): Do not use BP_SYM.
12211 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
12213 (PARMS): Do not use macros from bp-asm.h.
12216 (__rawmemchr): Do not use BP_SYM.
12217 (rawmemchr): Do not use BP_SYM in weak_alias.
12218 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
12219 (PARMS): Do not use macros from bp-asm.h.
12222 (__mpn_rshift): Do not use BP_SYM.
12223 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
12224 (PARMS): Do not use macros from bp-asm.h.
12225 (SIGMSK): Likewise.
12226 (__sigsetjmp): Likewise. Do not use BP_SYM.
12227 * sysdeps/i386/start.S: Do not include "bp-sym.h".
12228 (_start): Do not use BP_SYM.
12229 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
12230 (PARMS): Do not use macros from bp-asm.h.
12233 (__stpcpy): Likewise. Do not use BP_SYM.
12234 (stpcpy): Do not use BP_SYM in weak_alias.
12235 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
12237 (PARMS): Do not use macros from bp-asm.h.
12241 (__stpncpy): Likewise. Do not use BP_SYM.
12242 (stpncpy): Do not use BP_SYM in weak_alias.
12243 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
12244 (PARMS): Do not use macros from bp-asm.h.
12247 (strchr): Likewise. Do not use BP_SYM.
12248 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
12250 (PARMS): Do not use macros from bp-asm.h.
12253 (__strchrnul): Likewise. Do not use BP_SYM.
12254 (strchrnul): Do not use BP_SYM in weak_alias.
12255 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
12257 (PARMS): Do not use macros from bp-asm.h.
12259 (strcspn): Do not use BP_SYM.
12260 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
12262 (PARMS): Do not use macros from bp-asm.h.
12265 (strpbrk): Likewise. Do not use BP_SYM.
12266 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
12268 (PARMS): Do not use macros from bp-asm.h.
12271 (strrchr): Likewise. Do not use BP_SYM.
12272 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
12273 (PARMS): Do not use macros from bp-asm.h.
12275 (strspn): Do not use BP_SYM.
12276 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
12277 (PARMS): Do not use macros from bp-asm.h.
12281 (FUNCTION): Likewise. Do not use BP_SYM.
12282 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
12284 (strtok_r): Likewise.
12285 (__GI___strtok_r): Likewise.
12286 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
12287 (PARMS): Do not use macros from bp-asm.h.
12291 (__mpn_sub_n): Do not use BP_SYM.
12292 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
12294 (PARMS): Do not use macros from bp-asm.h.
12297 (__mpn_submul_1): Do not use BP_SYM.
12298 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
12300 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
12302 (PARMS): Do not use macros from bp-asm.h.
12307 (__clone): Do not use BP_SYM.
12308 (clone): Do not use BP_SYM in weak_alias.
12309 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
12311 (PARMS): Do not use macros from bp-asm.h.
12313 (__mmap64): Do not use BP_SYM.
12314 (mmap64): Do not use BP_SYM in weak_alias.
12315 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
12316 <bp-sym.h> and <bp-asm.h>.
12317 (PARMS): Do not use macros from bp-asm.h.
12318 (__posix_fadvise64_l64): Do not use BP_SYM.
12319 * sysdeps/unix/sysv/linux/i386/semtimedop.S
12320 (PARMS): Do not use macros from bp-asm.h.
12322 (semtimedop): Do not use BP_SYM.
12323 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
12326 2013-02-21 Allan McRae <allan@archlinux.org>
12328 * manual/message.texi (Charset conversion in gettext):
12329 Move @end statement to beginning of line.
12331 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12333 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
12335 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
12338 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
12339 (denorm): Likewise.
12340 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
12341 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
12343 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12345 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
12346 tail-call to the resolved function if pltexit isn't needed.
12348 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12350 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
12351 or Y being zero as being unlikely.
12352 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
12355 2013-02-20 Carlos O'Donell <carlos@redhat.com>
12357 * manual/nss.texi (System Databases and Name Service Switch):
12358 Remove frobnicate @pxref.
12360 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
12362 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
12363 __attribute__ ((unused)) to __attribute__ ((__unused__)).
12365 2013-02-20 Petr Machata <pmachata@redhat.com>
12367 * elf/elf.h (R_ARM_TARGET1): New macro.
12368 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
12369 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
12370 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
12371 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
12372 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
12373 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
12374 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
12375 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
12376 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
12377 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
12378 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
12379 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
12380 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
12381 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
12382 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
12383 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
12384 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
12385 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
12386 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
12387 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
12388 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
12389 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
12390 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
12391 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
12392 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
12393 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
12394 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
12395 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
12396 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
12397 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
12398 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
12399 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
12400 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
12401 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
12402 (R_ARM_THM_GOT_BREL12): Likewise.
12403 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
12404 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
12405 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
12406 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
12407 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
12408 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
12409 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
12410 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
12411 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
12413 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
12415 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
12416 __attribute_used__ to __attribute__ ((unused)).
12418 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
12420 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
12422 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
12423 comment formatting.
12424 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
12426 2013-02-19 Joseph Myers <joseph@codesourcery.com>
12429 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
12431 (ENTER): Remove both macro definitions.
12433 (CHECK_BOUNDS_LOW): Likewise.
12434 (CHECK_BOUNDS_HIGH): Likewise.
12435 (CHECK_BOUNDS_BOTH): Likewise.
12436 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
12437 (RETURN_BOUNDED_POINTER): Likewise.
12438 (RETURN_NULL_BOUNDED_POINTER): Likewise.
12439 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
12440 (POP_ERRNO_LOCATION_RETURN): Likewise.
12441 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
12442 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12443 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
12445 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12446 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
12447 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
12448 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
12449 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
12450 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
12451 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
12452 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
12453 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
12454 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
12455 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
12456 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
12457 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12458 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
12460 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12461 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
12463 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12464 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
12465 * sysdeps/i386/i586/memset.S (memset): Likewise.
12466 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
12467 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12468 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
12470 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12471 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
12472 Change uses of L(2) to L(out).
12473 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
12474 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
12475 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
12476 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12477 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
12479 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12480 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
12482 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12483 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
12484 (RETURN): Do not use macro LEAVE.
12485 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
12486 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
12487 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
12488 * sysdeps/i386/i686/memset.S (memset): Likewise.
12489 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
12490 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
12491 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
12492 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
12494 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
12495 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
12496 L(1_2) and L(1_3) into L(1).
12497 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
12498 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
12499 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12500 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
12501 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
12502 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
12503 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
12504 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12505 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
12507 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
12508 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12509 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
12510 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
12511 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
12512 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
12513 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
12514 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
12515 * sysdeps/i386/strcspn.S (strcspn): Likewise.
12516 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
12517 * sysdeps/i386/strrchr.S (strrchr): Likewise.
12518 * sysdeps/i386/strspn.S (strspn): Likewise.
12519 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
12521 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
12522 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
12523 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
12524 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
12525 L(1_3) into L(1_1).
12526 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
12527 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12528 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
12530 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12532 2013-02-19 Jakub Jelinek <jakub@redhat.com>
12534 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
12537 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
12539 * math/atest-exp.c (exp_mpn): Remove ROUND.
12540 * math/atest-exp2.c (exp_mpn): Likewise.
12541 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
12543 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
12544 * stdlib/tst-tls-atexit-lib.c: Likewise.
12545 * stdlib/tst-tls-atexit.c: Likewise.
12547 2013-02-18 Mike Frysinger <vapier@gentoo.org>
12549 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
12550 and __attribute_alloc_size__.
12552 2013-02-18 Mike Frysinger <vapier@gentoo.org>
12554 * include/programs/xmalloc.h: Change __attribute_alloc_size to
12555 __attribute_alloc_size__.
12556 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
12557 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
12559 2013-02-18 Mike Frysinger <vapier@gentoo.org>
12561 * include/programs/xmalloc.h: New file.
12562 * catgets/gencat.c: Include it.
12563 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
12564 * elf/pldd.c: Likewise.
12565 * iconv/iconv_charmap.c: Likewise.
12566 * iconv/iconvconfig.c: Likewise.
12567 * iconv/strtab.c: Likewise.
12568 * locale/programs/locale.c: Likewise.
12569 * locale/programs/localedef.h: Likewise.
12570 * locale/programs/simple-hash.c: Likewise.
12571 * nscd/nscd.h: Likewise.
12572 * nss/makedb.c: Likewise.
12573 * sysdeps/generic/ldconfig.h: Likewise.
12575 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
12577 * Versions.def: Add GLIBC_2.18.
12578 * include/link.h (struct link_map): New member l_tls_dtor_count.
12579 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
12580 (__call_tls_dtors): Likewise.
12581 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
12582 __cxa_thread_atexit_impl.
12583 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12585 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
12587 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
12589 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
12591 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
12592 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
12594 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
12596 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
12597 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
12599 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
12600 (tests): Add test case tst-tls-atexit.
12601 (modules-names): Add shared library for tst-tls-atexit.
12602 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
12603 (GLIBC_PRIVATE): Add __call_tls_dtors.
12604 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
12606 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
12607 * stdlib/tst-tls-atexit.c: New test case.
12608 * stdlib/tst-tls-atexit-lib.c: New test case.
12610 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
12612 * elf/Versions (ld): Add _dl_find_dso_for_object.
12613 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
12614 * elf/dl-open.c (_dl_find_dso_for_object): New function.
12615 (dl_open_worker): Use _dl_find_dso_for_object.
12616 * elf/dl-sym.c (do_sym): Likewise.
12617 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
12619 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12621 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
12622 Syntactic changes only.
12623 (_dl_runtime_profile): Do a tail-call to the resolved function.
12625 2013-02-17 Joseph Myers <joseph@codesourcery.com>
12628 * sysdeps/x86_64/bp-asm.h: Remove file.
12629 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
12630 <bp-sym.h> and <bp-asm.h>.
12631 (__clone): Do not use BP_SYM.
12632 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
12633 <bp-sym.h> and <bp-asm.h>.
12634 * sysdeps/unix/x86_64/sysdep.S: Likewise.
12635 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
12637 (_setjmp): Do not use BP_SYM.
12638 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
12640 (setjmp): Do not use BP_SYM.
12641 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
12643 (mempcpy): Do not use BP_SYM in weak_alias.
12644 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
12646 (strchr): Do not use BP_SYM.
12647 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
12649 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
12650 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
12651 (_start): Do not use BP_SYM.
12652 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
12654 (strcat): Do not use BP_SYM.
12655 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
12657 (STRCMP): Do not use BP_SYM.
12658 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
12660 (STRCPY): Do not use BP_SYM.
12661 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
12663 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
12665 (FUNCTION): Do not use BP_SYM.
12666 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
12668 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
12670 2013-02-17 Andreas Jaeger <aj@suse.de>
12672 * time/Versions: Sort entries.
12673 * string/Versions: Likewise.
12674 * resolv/Versions: Likewise.
12675 * posix/Versions: Likewise.
12676 * iconv/Versions: Likewise.
12677 * elf/Versions: Likewise.
12678 * wcsmbs/Versions: Likewise.
12680 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
12682 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
12683 loop termination condition.
12685 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
12686 variable to calculate EZ.
12689 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
12690 the lower precision input.
12692 2013-02-15 Joseph Myers <joseph@codesourcery.com>
12695 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
12696 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
12697 (run-via-rtld-prefix): Do not handle %-bp tests.
12698 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
12699 (all-object-suffixes): Remove .ob.
12700 (bppfx): Remove variable.
12701 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
12702 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
12703 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
12704 [$(build-bounded) = yes] (libtype.ob): Likewise.
12705 * Makerules (elide-routines.ob): Remove variable.
12706 (do-tests-clean): Do not handle *-bp.out.
12707 (common-mostlyclean): Do not handle *-bp and *-bp.out.
12708 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
12709 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
12710 (tests): Do not include $(tests-bp.out).
12711 (xtests): Do not include $(xtests-bp.out).
12712 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
12713 [$(build-bounded) = yes] ($(addprefix
12714 $(objpfx),$(binaries-bounded))): Remove rule.
12715 ($(objpfx)%-bp.out): Remove rule.
12716 * config.make.in (build-bounded): Remove variable.
12717 * crypt/Makefile [$(build-bounded) = yes]
12718 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
12719 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
12720 append to variable.
12721 [$(build-bounded) = yes] (install-lib): Likewise.
12722 [$(build-bounded) = yes] (generated): Likewise.
12723 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
12725 * intl/Makefile [$(build-bounded) = yes]
12726 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
12727 * math/Makefile [$(build-bounded) = yes]
12728 ($(tests:%=$(objpfx)%-bp): Likewise.
12729 * misc/Makefile [$(build-bounded) = yes]
12730 ($(objpfx)tst-tsearch-bp): Likewise.
12731 * nptl/Makeconfig (bounded-thread-library): Remove variable.
12732 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
12734 * string/Makefile (o-objects.ob): Remove variable.
12735 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
12736 (CFLAGS-.ob): Remove variable.
12737 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
12738 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
12739 both definitions of variable.
12740 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
12741 (ASFLAGS-.ob): Remove variable.
12743 2013-02-14 Joseph Myers <joseph@codesourcery.com>
12746 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
12747 Remove __BOUNDED_POINTERS__ from condition.
12748 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
12749 * string/bits/string2.h [!__NO_STRING_INLINES &&
12750 !__BOUNDED_POINTERS__]: Likewise.
12751 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
12753 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
12754 Remove conditional code.
12755 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
12756 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
12757 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
12761 * csu/libc-start.c: Do not include <bp-sym.h>.
12762 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
12763 * elf/dl-open.c: Do not include <bp-sym.h>.
12764 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
12765 * math/fegetenv.c: Do not include <bp-sym.h>.
12766 (fegetenv): Do not use BP_SYM in versioned symbols.
12767 * nptl/sysdeps/pthread/bits/libc-lockP.h
12768 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
12770 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12771 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
12772 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12773 (__pthread_mutex_destroy): Likewise.
12774 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12775 (__pthread_mutex_lock): Likewise.
12776 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12777 (__pthread_mutex_trylock): Likewise.
12778 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12779 (__pthread_mutex_unlock): Likewise.
12780 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12781 (__pthread_mutexattr_init): Likewise.
12782 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12783 (__pthread_mutexattr_destroy): Likewise.
12784 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12785 (__pthread_mutexattr_settype): Likewise.
12786 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12787 (__pthread_rwlock_init): Likewise.
12788 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12789 (__pthread_rwlock_destroy): Likewise.
12790 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12791 (__pthread_rwlock_rdlock): Likewise.
12792 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12793 (__pthread_rwlock_tryrdlock): Likewise.
12794 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12795 (__pthread_rwlock_wrlock): Likewise.
12796 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12797 (__pthread_rwlock_trywrlock): Likewise.
12798 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12799 (__pthread_rwlock_unlock): Likewise.
12800 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12801 (__pthread_key_create): Likewise.
12802 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12803 (__pthread_setspecific): Likewise.
12804 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12805 (__pthread_getspecific): Likewise.
12806 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
12808 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12809 (_pthread_cleanup_push_defer): Likewise.
12810 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12811 (_pthread_cleanup_pop_restore): Likewise.
12812 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12813 (pthread_setcancelstate): Likewise.
12814 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
12816 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
12817 (memchr): Do not use BP_SYM in weak_alias.
12818 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
12819 (fegetenv): Do not use BP_SYM in versioned symbols.
12820 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
12821 (fesetenv): Do not use BP_SYM in versioned symbols.
12822 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
12823 (feupdateenv): Do not use BP_SYM in versioned symbols.
12824 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
12825 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
12826 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
12827 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
12828 (open64): Do not use BP_SYM in weak_alias.
12829 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
12830 (fegetenv): Do not use BP_SYM in versioned symbols.
12831 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
12832 (fesetenv): Do not use BP_SYM in versioned symbols.
12833 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
12834 (feupdateenv): Do not use BP_SYM in versioned symbols.
12835 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
12836 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
12837 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
12838 (feraiseexcept): Do not use BP_SYM in versioned symbols.
12839 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
12840 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
12841 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
12843 (__libc_start_main): Do not use BP_SYM.
12845 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
12847 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
12848 redundant return line.
12850 (denorm): Likewise.
12851 (dbl_mp): Likewise.
12852 (sub_magnitudes): Likewise.
12858 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
12860 (denorm): Likewise.
12861 (dbl_mp): Likewise.
12862 (sub_magnitudes): Likewise.
12869 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
12871 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
12872 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
12875 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
12876 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
12877 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
12878 of __mul for squares.
12879 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
12881 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
12883 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
12884 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
12886 2013-02-13 Joseph Myers <joseph@codesourcery.com>
12889 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
12891 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
12892 prototype or function definition. Rename ubp_* variables and
12893 parameters. Remove argv definitions conditional on
12894 [__BOUNDED_POINTERS__].
12895 * debug/backtrace.c (__backtrace): Do not use __unbounded.
12896 * elf/dl-runtime.c (_dl_fixup): Likewise.
12897 * include/set-hooks.h (RUN_HOOK): Likewise.
12898 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
12900 * string/strcpy.c (strcpy): Do not use __unbounded.
12901 * sysdeps/generic/frame.h (struct layout): Likewise.
12902 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
12903 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
12904 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
12905 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
12906 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
12907 (__backtrace): Likewise.
12908 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
12910 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
12911 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
12912 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
12914 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
12915 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
12916 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
12917 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
12918 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
12919 Do not use __unbounded.
12920 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
12921 Rename __unboundedrlimits parameter to rlimits in prototype.
12922 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
12923 Do not use __unbounded.
12924 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
12925 not use __ptrvalue.
12926 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
12927 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
12928 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
12929 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
12930 __ptrvalue or __unbounded.
12931 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
12932 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
12934 (__new_msgctl): Do not use __ptrvalue.
12935 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
12937 (__libc_msgrcv): Do not use __ptrvalue.
12938 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
12939 startup_info): Do not use __unbounded.
12940 (__libc_start_main): Likewise. Rename ubp_* variables and
12941 parameters. Remove argv definitions conditional on
12942 [__BOUNDED_POINTERS__].
12943 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
12945 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
12947 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
12949 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
12951 (__new_shmctl): Do not use __ptrvalue.
12952 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
12953 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
12955 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
12956 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
12957 (__libc_sigaction): Likewise.
12958 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
12959 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
12961 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
12963 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
12965 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
12967 * string/mempcpy.c: Implement by calling memcpy.
12969 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
12971 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
12973 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
12976 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
12977 values in the mantissa.
12979 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
12980 minimize writes to Z.
12981 (sub_magnitudes): Simplify code a bit.
12983 2013-02-12 Roland McGrath <roland@hack.frob.com>
12985 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
12986 from the message. The linker prefixes all warnings with that already.
12988 2013-02-12 Andreas Schwab <schwab@suse.de>
12991 * posix/regexec.c (extend_buffers): Add parameter min_len.
12992 (check_matching): Pass minimum needed length.
12993 (clean_state_log_if_needed): Likewise.
12994 (get_subexp): Likewise.
12995 * posix/Makefile (tests): Add bug-regex34.
12996 (bug-regex34-ENV): Define.
12997 * posix/bug-regex34.c: New file.
13000 * posix/regcomp.c (parse_bracket_exp): When looking up collating
13001 elements compare against the byte sequence of it, not its name.
13002 * posix/Makefile (tests): Add bug-regex35.
13003 (bug-regex35-ENV): Define.
13004 * posix/bug-regex35.c: New file.
13006 2013-02-11 Tom de Vries <tom@codesourcery.com>
13008 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
13010 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
13011 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
13012 (CHECK_EOL): Add undef.
13014 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
13016 * bits/stdlib-bsearch.h: New file.
13017 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
13018 * stdlib/stdlib.h: Likewise.
13020 2013-02-11 Roland McGrath <roland@hack.frob.com>
13022 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
13023 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
13025 * manual/search.texi (Array Search Function): Add missing const in
13027 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
13028 declaration to use rlim_t.
13029 (Basic Scheduling Functions): Remove erroneous const from
13030 sched_getparam prototype. Remove erroneous * from
13031 sched_get_priority_max and sched_get_priority_min prototypes.
13032 (Resource Usage): Fix summary @comment on vtimes to refer to
13033 sys/vtimes.h rather than vtimes.h.
13034 Add missing *s in vtimes prototype.
13035 (Limits on Resources): Fix ulimit prototype to return long int.
13036 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
13037 prototypes to use long int rather than double.
13038 (BSD Random): Fix initstate and setstate to use char *, not void *.
13039 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
13040 prototype to make second argument 'struct aiocb64 *const[]'.
13041 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
13042 (Status of AIO Operations): Remove erroneous const in aio_return and
13043 aio_return64 prototypes.
13044 (Synchronizing I/O): Fix sync prototype to return void.
13045 * manual/startup.texi (Suboptions): Remove an erroneous const in
13046 getsubopt prototype.
13047 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
13048 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
13049 use size_t rather than int.
13050 (Scanning All Users): Likewise for getpwent_r.
13051 (Setting Groups): Add missing const to setgroups prototype.
13052 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
13053 * manual/socket.texi (Host Names): Fix gethostbyaddr and
13054 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
13055 'const void *' rather than 'const char *'.
13056 (Host Address Functions): Likewise for inet_ntop.
13057 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
13058 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
13059 ssize_t for return value.
13060 (Sending Data): Likewise for send, sendto, sendmsg.
13061 (Socket Option Functions): Add a missing const in setsockopt prototype.
13062 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
13063 use wchar_t for the argument.
13064 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
13065 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
13067 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
13068 double/float/long double for second argument.
13069 Fix return types of significand, significandf, significandl.
13070 * manual/filesys.texi (Setting Permissions): Use mode_t for second
13071 argument in fchmod prototype.
13072 (File Owner): Use uid_t and gid_t in fchown prototype.
13073 (File Times): Add const to utimes, futimes, and lutimes prototypes.
13074 (Making Special Files): Use mode_t and dev_t in mknod prototype.
13075 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
13076 use 'const struct dirent **' as argument types to CMP function pointer
13078 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
13079 (File Times): Fix summary magic @comment for struct utimbuf and utime
13080 to refer to utime.h, not time.h.
13081 * manual/string.texi (Argz Functions): Add missing const in
13082 argz_extract and argz_next prototypes.
13083 (Finding Tokens in a String): Likewise for basename.
13084 (String/Array Comparison): Fix typo in wcscasecmp prototype.
13085 (Copying and Concatenation): Fix typo in wmemmove prototype.
13086 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
13087 (Signal Stack): Remove erroneous const in sigstack prototype.
13088 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
13090 (Simple Calendar Time): Likewise for stime.
13091 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
13093 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
13094 say sys/sysctl.h instead.
13095 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
13096 and vsyslog prototypes.
13098 2013-02-11 Tom de Vries <tom@codesourcery.com>
13100 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
13103 2013-02-11 Roland McGrath <roland@hack.frob.com>
13105 * misc/sys/mman.h: Fix typo in mremap comment.
13107 2013-02-08 Roland McGrath <roland@hack.frob.com>
13109 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
13110 the '\0' terminator.
13112 2013-02-08 Joseph Myers <joseph@codesourcery.com>
13115 * debug/segfault.c: Don't include <bp-checks.h>.
13116 * sysdeps/generic/bp-checks.h: Remove file.
13117 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
13118 (__GETDENTS): Don't use CHECK_N.
13119 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
13120 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
13121 (__getgroups): Don't use CHECK_N.
13122 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
13123 (setgroups): Don't use CHECK_N.
13124 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
13125 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
13126 (__libc_msgrcv): Don't use CHECK_N.
13127 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
13128 (__libc_msgsnd): Don't use CHECK_N.
13129 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
13131 (__libc_pread): Don't use CHECK_N.
13132 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
13133 include <bp-checks.h>.
13134 (__libc_pread64): Don't use CHECK_N.
13135 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
13136 include <bp-checks.h>.
13137 (__libc_pwrite): Don't use CHECK_N.
13138 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
13139 include <bp-checks.h>.
13140 (__libc_pwrite64): Don't use CHECK_N.
13141 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
13143 (__libc_pread): Don't use CHECK_N.
13144 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
13145 include <bp-checks.h>.
13146 (__libc_pread64): Don't use CHECK_N.
13147 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
13148 include <bp-checks.h>.
13149 (__libc_pwrite): Don't use CHECK_N.
13150 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
13151 include <bp-checks.h>.
13152 (__libc_pwrite64): Don't use CHECK_N.
13153 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
13154 (do_pread): Don't use CHECK_N.
13155 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
13156 (do_pread64): Don't use CHECK_N.
13157 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
13158 (do_pwrite): Don't use CHECK_N.
13159 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
13160 (do_pwrite64): Don't use CHECK_N.
13161 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
13162 (__libc_readv): Don't use CHECK_N.
13163 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
13164 (semop): Don't use CHECK_N.
13165 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
13167 (semtimedop): Don't use CHECK_N.
13168 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
13169 (__libc_pread): Don't use CHECK_N.
13170 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
13172 (__libc_pread64): Don't use CHECK_N.
13173 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
13175 (__libc_pwrite): Don't use CHECK_N.
13176 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
13178 (__libc_pwrite64): Don't use CHECK_N.
13179 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
13181 (__libc_msgrcv): Don't use CHECK_N.
13182 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
13183 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
13184 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
13185 (__libc_writev): Don't use CHECK_N.
13187 2013-02-08 Roland McGrath <roland@hack.frob.com>
13189 * string/strcpy.c: Removed unused variable.
13191 * Makeconfig (+sysdep-includes): Define with := rather than =.
13192 Use an existing include/ subdir of each sysdeps dir before it.
13194 2013-02-08 Carlos O'Donell <carlos@redhat.com>
13196 * nscd/connection.c (register_traced_file): Comment function.
13197 [HAVE_INOTIFY] (union __inev): Define.
13198 [HAVE_INOTIFY] (inotify_check_files): New function.
13199 [HAVE_INOTIFY] (clear_db_cache): Likewise.
13200 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
13202 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
13204 2013-02-08 Carlos O'Donell <carlos@redhat.com>
13206 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
13207 loaded if not already and that a failure is permanent.
13209 2013-02-08 Carlos O'Donell <carlos@redhat.com>
13212 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
13213 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
13215 2013-02-08 Joseph Myers <joseph@codesourcery.com>
13218 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
13219 (CHECK_1_NULL_OK): Likewise.
13220 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
13221 (__fxstat): Do not use CHECK_1.
13222 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
13224 (___fxstat64): Do not use CHECK_1.
13225 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
13227 (__fxstatat): Do not use CHECK_1.
13228 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
13230 (__fxstatat64): Do not use CHECK_1.
13231 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
13233 (__fxstat): Do not use CHECK_1.
13234 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
13236 (__fxstatat): Do not use CHECK_1.
13237 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
13239 (__getresgid): Do not use CHECK_1.
13240 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
13242 (__getresuid): Do not use CHECK_1.
13243 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
13245 (__lxstat): Do not use CHECK_1.
13246 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
13248 (__old_msgctl): Do not use CHECK_1.
13249 (__new_msgctl): Likewise.
13250 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
13252 (__new_setrlimit): Do not use CHECK_1.
13253 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
13255 (__old_shmctl): Do not use CHECK_1.
13256 (__new_shmctl): Likewise.
13257 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
13259 (__xstat): Do not use CHECK_1.
13260 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
13261 (__lxstat): Do not use CHECK_1.
13262 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
13264 (___lxstat64): Do not use CHECK_1.
13265 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
13266 (__old_msgctl): Do not use CHECK_1.
13267 (__new_msgctl): Likewise.
13268 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
13270 (__gettimeofday): Do not use CHECK_1.
13271 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
13272 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
13273 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
13275 (__gettimeofday): Do not use CHECK_1.
13276 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
13277 (__old_shmctl): Do not use CHECK_1_NULL_OK.
13278 (__new_shmctl): Do not use CHECK_1.
13279 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
13281 (do_sigtimedwait): Do not use CHECK_1.
13282 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
13284 (do_sigwaitinfo): Do not use CHECK_1.
13285 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
13287 (msgctl): Do not use CHECK_1.
13288 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
13290 (shmctl): Do not use CHECK_1.
13291 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
13292 (ustat): Do not use CHECK_1.
13293 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
13295 (__fxstat): Do not use CHECK_1.
13296 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
13298 (__fxstatat): Do not use CHECK_1.
13299 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
13301 (__lxstat): Do not use CHECK_1.
13302 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
13304 (__xstat): Do not use CHECK_1.
13305 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
13306 (__xstat): Do not use CHECK_1.
13307 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
13308 (___xstat64): Do not use CHECK_1.
13311 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
13313 (CHECK_BOUNDS_HIGH): Likewise.
13314 * string/strcpy.c: Do not include <bp-checks.h>.
13315 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
13317 2013-02-07 Roland McGrath <roland@hack.frob.com>
13319 * nscd/nscd-client.h (__nscd_drop_map_ref):
13320 Add __attribute__ ((unused)).
13321 * nis/nss-nisplus.h (niserr2nss): Likewise.
13323 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
13324 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
13326 * csu/libc-tls.c (init_static_tls, init_slotinfo):
13327 Remove inline keyword.
13328 * include/rounding-mode.h (round_away): Likewise.
13329 * libio/wfileops.c (adjust_wide_data): Likewise.
13330 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
13331 (__m128i_strloadu_tolower): Likewise.
13332 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
13333 (__m128i_strloadu_tolower): Likewise.
13334 * time/mktime.c (ydhms_diff): Likewise.
13335 * locale/elem-hash.h (elem_hash): Likewise.
13336 * locale/setlocale.c (setdata): Likewise.
13337 * posix/regex_internal.h (re_string_char_size_at): Likewise.
13338 (re_string_wchar_at): Likewise.
13339 (bitset_not, bitset_merge, bitset_mask): Likewise.
13340 [!(__GNUC__ > 3)] (inline): Remove macro.
13341 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
13342 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
13343 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
13344 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
13345 * string/memcmp.c (memcmp_bytes): Likewise.
13346 * locale/programs/locarchive.c (compute_hashval): Likewise.
13347 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
13348 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
13349 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
13350 * nss/getent.c (print_rpc, print_protocols): Likewise.
13351 (print_passwd, print_group, print_aliases): Likewise.
13352 * nis/nss-nisplus.h (niserr2nss): Likewise.
13353 * nscd/connections.c (restart_p): Likewise.
13354 Change return type to bool.
13356 2013-02-05 Roland McGrath <roland@hack.frob.com>
13358 * Makeconfig (all-Depend-files): Add existing
13359 $(sorted-subdirs:=/Depend) files.
13360 (all-subdirs): Remove nss.
13361 * sysdeps/unix/inet/Subdirs: Add it here instead.
13362 * hesiod/Depend: New file.
13364 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
13365 instead of calling alloca.
13367 * io/lseek.c (__lseek): Rename to __libc_lseek.
13368 Define __lseek as an alias.
13370 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
13372 2013-02-04 Carlos O'Donell <carlos@redhat.com>
13374 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
13375 else clause and remove check for non-standard endianness.
13377 2013-02-04 David S. Miller <davem@davemloft.net>
13379 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13381 2013-02-04 Joseph Myers <joseph@codesourcery.com>
13384 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
13385 (__ubp_memchr): Remove prototype.
13386 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
13387 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
13388 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
13389 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
13390 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
13392 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
13393 (__ubp_memchr): Likewise.
13394 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
13395 (__ubp_memchr): Likewise.
13396 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
13397 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
13398 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
13399 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
13401 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
13402 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
13403 (__getcwd): Do not use CHECK_STRING.
13404 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
13406 (__real_chown): Do not use CHECK_STRING.
13407 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
13409 (fchownat): Do not use CHECK_STRING.
13410 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
13412 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
13414 (__lchown): Do not use CHECK_STRING.
13415 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
13416 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
13417 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
13418 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
13419 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
13420 include <bp-checks.h>.
13421 (truncate64): Do not use CHECK_STRING.
13422 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
13424 (__real_chown): Do not use CHECK_STRING.
13425 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
13427 (__lchown): Do not use CHECK_STRING.
13428 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
13430 (__chown): Do not use CHECK_STRING.
13431 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
13433 (truncate64): Do not use CHECK_STRING.
13434 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
13436 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
13437 (__xmknod): Do not use CHECK_STRING.
13438 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
13440 (__xmknodat): Do not use CHECK_STRING.
13441 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
13442 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
13444 2013-02-04 Andreas Schwab <schwab@suse.de>
13447 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
13448 * include/netdb.h: Likewise for h_errno.
13449 * elf/tst-stackguard1.c: Include <tls.h>.
13451 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
13453 * elf/link.h (struct link_map): Extend the l_addr comment.
13454 * include/link.h (struct link_map): Likewise.
13456 2013-02-01 Joseph Myers <joseph@codesourcery.com>
13459 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
13460 (BOUNDED_1): Remove macro.
13461 * debug/backtrace.c: Don't include <bp-checks.h>.
13462 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
13463 (__backtrace): Likewise.
13464 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
13466 (__backtrace): Don't use BOUNDED_1.
13467 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
13469 (__backtrace): Don't use BOUNDED_1.
13470 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
13471 (__backtrace): Don't use BOUNDED_1.
13472 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
13473 (shmat): Don't use BOUNDED_N.
13475 2013-01-31 Joseph Myers <joseph@codesourcery.com>
13478 * sysdeps/generic/bp-start.h: Remove file.
13479 * csu/libc-start.c: Don't include <bp-start.h>.
13480 (LIBC_START_MAIN): Set up __environ directly instead of using
13481 INIT_ARGV_and_ENVIRON.
13482 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
13486 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
13488 (CHECK_FCNTL): Likewise.
13489 (CHECK_N_PAGES): Likewise.
13492 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
13494 (CHECK_SIGSET_NULL_OK): Likewise.
13495 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
13497 (sigpending): Don't use CHECK_SIGSET.
13498 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
13500 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
13501 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
13503 (do_sigsuspend): Don't use CHECK_SIGSET.
13504 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
13506 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
13507 (do_sigwait): Don't use CHECK_SIGSET.
13508 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
13510 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
13511 include <bp-checks.h>.
13512 (sigpending): Don't use CHECK_SIGSET.
13513 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
13514 include <bp-checks.h>.
13515 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
13516 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
13518 (sigpending): Don't use CHECK_SIGSET.
13519 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
13521 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
13524 * sysdeps/generic/bp-semctl.h: Remove file.
13525 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
13526 <bp-checks.h> and <bp-semctl.h>.
13527 (__old_semctl): Don't use CHECK_SEMCTL.
13528 (__new_semctl): Likewise.
13529 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
13531 (__old_semctl): Don't use CHECK_SEMCTL.
13532 (__new_semctl): Likewise.
13533 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
13534 <bp-checks.h> and <bp-semctl.h>.
13535 (__old_semctl): Don't use CHECK_SEMCTL.
13536 (__new_semctl): Likewise.
13537 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
13538 <bp-checks.h> and <bp-semctl.h>.
13539 (semctl): Don't use CHECK_SEMCTL.
13542 * Makerules (elide-bp-thunks): Remove variable.
13543 (elide-routines.oS): Don't use $(elide-bp-thunks).
13544 (elide-routines.os): Likewise.
13545 (elide-routines.o): Likewise.
13546 (elide-routines.op): Likewise.
13547 (elide-routines.og): Likewise.
13548 (objects): Don't use $(bp-thunks).
13549 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
13551 (common-generated): Do not add s-proto-bp.d.
13552 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
13555 Do not generate makefile rules for bounded-pointer thunks.
13556 * sysdeps/generic/bp-thunks.h: Remove file.
13557 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
13558 * sysdeps/unix/s-proto-bp.S: Likewise.
13561 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
13562 parts of result separately when argument is not close to line from
13563 -i to i and one part of argument is small.
13564 * math/k_casinhf.c (__kernel_casinhf): Likewise.
13565 * math/k_casinhl.c (__kernel_casinhl): Likewise.
13566 * math/libm-test.inc (cacos_test): Add more tests.
13567 (casin_test): Likewise.
13568 (casinh_test): Likewise.
13569 * sysdeps/i386/fpu/libm-test-ulps: Update.
13570 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13572 2013-01-31 David S. Miller <davem@davemloft.net>
13574 * po/de.po: Update from translation team.
13576 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
13578 * time/tzfile.c: Include stdint.h for SIZE_MAX.
13580 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
13582 * configure.in (_AC_PROG_CC_C89): New definition.
13583 * configure: Regenerate.
13585 * configure.in (AC_PROG_CPP): New definition.
13586 * configure: Regenerate.
13588 2013-01-23 Joseph Myers <joseph@codesourcery.com>
13590 * debug/tst-backtrace.h: New file.
13591 * debug/tst-backtrace2.c: Include tst-backtrace.h.
13592 (ret): Remove variable.
13594 (FAIL): Remove macro.
13595 (NO_INLINE): Likewise.
13596 (fn1): Use match function instead of strstr.
13597 * debug/tst-backtrace3.c: Include tst-backtrace.h.
13598 (ret): Remove variable.
13600 (FAIL): Remove macro.
13601 (NO_INLINE): Likewise.
13602 (fn): Use match function instead of strstr.
13603 * debug/tst-backtrace4.c: Include tst-backtrace.h.
13604 (ret): Remove variable.
13606 (FAIL): Remove macro.
13607 (NO_INLINE): Likewise.
13608 (handle_signal): Use match function instead of strstr.
13609 * debug/tst-backtrace5.c: Include tst-backtrace.h.
13610 (ret): Remove variable.
13612 (FAIL): Remove macro.
13613 (NO_INLINE): Likewise.
13614 (handle_signal): Use match function instead of strstr.
13616 2013-01-23 Roland McGrath <roland@hack.frob.com>
13618 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
13620 2013-01-23 David S. Miller <davem@davemloft.net>
13622 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
13623 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
13624 argument of CAS if possible.
13625 * sysdeps/sparc/sparc64/bits/atomic.h
13626 (__arch_compare_and_exchange_val_32_acq): Likewise.
13627 (__arch_compare_and_exchange_val_64_acq): Likewise.
13629 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
13631 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
13632 * sysdeps/posix/ulimit.c: ... this.
13633 Include <limits.h>.
13634 * sysdeps/unix/bsd/ulimit.c: Remove file.
13636 2013-01-23 Adam Conrad <adconrad@0c3.net>
13638 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
13639 (LDFLAGS-tst-array5): Likewise.
13641 2013-01-23 Joseph Myers <joseph@codesourcery.com>
13644 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
13645 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
13646 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
13647 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
13649 2013-01-21 David S. Miller <davem@davemloft.net>
13651 * sysdeps/sparc/backtrace.c: New file.
13652 * sysdeps/sparc/sparc32/backtrace.h: New file.
13653 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
13654 * sysdeps/sparc/sparc64/backtrace.h: New file.
13655 * sysdeps/sparc/sparc64/backtrace.c: Delete.
13656 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
13659 2013-01-21 Andreas Schwab <schwab@suse.de>
13662 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
13665 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
13667 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
13669 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
13671 2013-01-18 Joseph Myers <joseph@codesourcery.com>
13672 Mark Mitchell <mark@codesourcery.com>
13673 Tom de Vries <tom@codesourcery.com>
13674 Paul Pluzhnikov <ppluzhnikov@google.com>
13676 * debug/tst-backtrace2.c: New file.
13677 * debug/tst-backtrace3.c: Likewise.
13678 * debug/tst-backtrace4.c: Likewise.
13679 * debug/tst-backtrace5.c: Likewise.
13680 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
13681 (CFLAGS-tst-backtrace3.c): Likewise.
13682 (CFLAGS-tst-backtrace4.c): Likewise.
13683 (CFLAGS-tst-backtrace5.c): Likewise.
13684 (LDFLAGS-tst-backtrace2): Likewise.
13685 (LDFLAGS-tst-backtrace3): Likewise.
13686 (LDFLAGS-tst-backtrace4): Likewise.
13687 (LDFLAGS-tst-backtrace5): Likewise.
13688 (tests): Add new tests tst-backtrace2, tst-backtrace3,
13689 tst-backtrace4 and tst-backtrace5.
13691 2013-01-18 Anton Blanchard <anton@samba.org>
13692 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13694 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
13695 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
13696 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
13697 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
13698 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
13699 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
13700 "+r" and remove output regs list as redundant. Add explicit inline
13701 asm to specify register of return val to work around compiler codegen
13702 bug. Remove (int) cast on return value. Add return type parameter to
13703 use in macro so that this macro does not truncate return value for
13705 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
13706 pass to INTERNAL_VSYSCALL_NCS.
13707 (INLINE_VSYSCALL): Add 'long int' as return type to
13708 INTERNAL_VSYSCALL_NCS macro invocation.
13709 (INTERNAL_VSYSCALL): Add 'long int' as return type to
13710 INTERNAL_VSYSCALL_NCS macro invocation.
13711 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
13713 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
13716 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
13717 Fix application of SIMD FP exception mask.
13719 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
13720 mp_no from a power of two.
13721 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
13722 __mpexp_twomm1. Use __pow_mp.
13724 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
13727 2013-01-17 David S. Miller <davem@davemloft.net>
13729 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13731 2013-01-17 Joseph Myers <joseph@codesourcery.com>
13734 * include/complex.h: Condition contents on [!_COMPLEX_H].
13735 (__kernel_casinhf): New prototype.
13736 (__kernel_casinh): Likewise.
13737 (__kernel_casinhl): Likewise.
13738 * math/Makefile (libm_calls): Add k_casinh.
13739 * math/k_casinh.c: New file.
13740 * math/k_casinhf.c: Likewise.
13741 * math/k_casinhl.c: Likewise.
13742 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
13743 finite nonzero arguments.
13744 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
13745 finite nonzero arguments.
13746 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
13747 finite nonzero arguments.
13748 * math/s_casinh.c: Do not include <float.h>.
13749 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
13750 * math/s_casinhf.c: Do not include <float.h>.
13751 (__casinhf): Move code for finite nonzero arguments to
13753 * math/s_casinhl.c: Do not include <float.h>.
13754 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
13756 (__casinhl): Move code for finite nonzero arguments to
13758 * math/libm-test.inc (cacos_test): Add more tests.
13759 * sysdeps/i386/fpu/libm-test-ulps: Update.
13760 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13762 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
13764 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
13765 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
13766 [!HAVE_MREMAP]: Remove [defined linux] case.
13767 * malloc/arena.c: Do not include <malloc-sysdep.h>.
13769 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
13771 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
13773 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
13775 * elf/elf.h (R_386_SIZE32): New relocation.
13776 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
13778 (elf_machine_rela): Likewise.
13779 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
13780 R_X86_64_SIZE64 and R_X86_64_SIZE32.
13782 2013-01-17 Joseph Myers <joseph@codesourcery.com>
13784 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
13785 (FP_FAST_FMA): Do not define.
13786 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
13787 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
13788 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
13789 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
13790 !_SOFT_FLOAT]: Likewise.
13791 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
13792 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
13794 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
13795 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
13796 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
13797 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
13798 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
13799 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
13802 2013-01-16 Andreas Schwab <schwab@suse.de>
13805 * include/stdlib.h (__mktemp): Add declaration.
13806 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
13807 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
13809 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
13811 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
13813 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
13814 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
13815 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
13817 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
13818 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
13820 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
13822 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
13823 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
13824 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
13826 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
13827 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
13829 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
13831 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
13833 2013-01-15 David S. Miller <davem@davemloft.net>
13835 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
13836 trunc{,f} to libm-sysdep_routes.
13837 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
13838 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
13840 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
13841 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
13843 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
13845 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
13846 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
13847 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
13848 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
13849 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
13850 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
13851 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
13852 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
13854 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
13855 nearbyint{,f} to libm-sysdep_routes.
13856 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
13857 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
13859 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
13861 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
13863 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
13865 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
13866 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
13867 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
13869 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
13870 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
13872 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
13873 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
13874 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
13876 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
13877 libc_feholdexcept and libc_fesetenv.
13879 2013-01-15 Mike Frysinger <vapier@gentoo.org>
13881 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
13883 2013-01-14 David S. Miller <davem@davemloft.net>
13885 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
13886 (SPARC_ASM_VIS2_IFUNC): Likewise.
13887 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
13888 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
13889 use of 'siam' instruction.
13890 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
13892 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
13894 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
13896 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
13897 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
13898 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
13899 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
13900 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
13902 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
13904 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
13906 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
13908 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
13909 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
13910 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
13911 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
13912 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
13914 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
13915 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
13916 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
13918 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
13919 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
13920 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
13921 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
13922 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
13923 routines to libm-sysdep_routines.
13924 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
13926 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
13927 fdim/fdimf to libm-sysdep_routines.
13928 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
13930 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
13931 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
13933 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
13934 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
13935 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
13936 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
13937 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
13938 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
13939 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
13941 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
13943 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
13944 to optimize copies.
13946 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
13947 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
13948 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
13950 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
13951 local variable MPTWO.
13952 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
13955 2013-01-13 Mike Frysinger <vapier@gentoo.org>
13957 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
13960 2013-01-13 Mike Frysinger <vapier@gentoo.org>
13962 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
13964 2013-01-13 Mike Frysinger <vapier@gentoo.org>
13966 * manual/pattern.texi (glob_t): Document gl_flags.
13967 (glob64_t): Likewise.
13969 2013-01-11 David S. Miller <davem@davemloft.net>
13971 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
13972 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
13973 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
13974 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
13975 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
13976 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
13977 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
13978 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
13979 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
13980 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
13981 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
13982 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
13983 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
13985 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
13986 sparc V9 rather than using V8 code.
13987 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
13988 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
13990 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
13992 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
13995 2013-01-11 Roland McGrath <roland@hack.frob.com>
13997 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
13998 not in the main loop.
13999 * configure: Regenerated.
14001 2013-01-11 Joseph Myers <joseph@codesourcery.com>
14003 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
14004 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
14006 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
14007 [!__GLIBC_HAVE_LONG_LONG] case.
14008 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
14009 condition to just #else.
14010 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
14011 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
14012 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
14013 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
14015 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
14016 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
14017 #elif condition to just #else.
14018 * sysdeps/unix/sysv/linux/sys/sysmacros.h
14019 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
14020 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
14021 #elif condition to just #else.
14023 2013-01-11 Steve Ellcey <sellcey@mips.com>
14025 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
14026 (EF_MIPS_ARCH_64): Fix value.
14027 (EF_MIPS_ARCH_32R2): New.
14028 (EF_MIPS_ARCH_64R2): New.
14030 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
14032 * Makeconfig (+link-pie-before-libc): New.
14033 (+link-pie-after-libc): Likewise.
14034 (+link-pie-tests): Likewise.
14035 (+link-pie): Rewritten.
14036 (link-before-libc): Remove $(config-LDFLAGS).
14037 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
14038 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
14039 (config-LDFLAGS): Renamed to ...
14040 (rtld-LDFLAGS): This.
14041 (rtld-tests-LDFLAGS): New macro.
14042 (link-libc-rpath-link): Likewise.
14043 (link-libc-tests-rpath-link): Likewise.
14044 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
14045 (link-libc): Prepand $(link-libc-rpath-link).
14046 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
14047 (test-program-prefix): New macro.
14048 (test-via-rtld-prefix): Likewise.
14049 (test-program-cmd): Likewise.
14050 (host-test-program-cmd): Likewise.
14051 * Makefile ($(common-objpfx)testrun.sh): Replace
14052 $(run-program-prefix) with $(test-program-prefix).
14053 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
14055 ($(common-objpfx)shlib.lds): Likewise.
14056 (build-module-helper): Likewise.
14057 ($(common-objpfx)format.lds): Likewise.
14058 * Rules (binaries-pie-tests): New.
14059 (binaries-pie-notests): Likewise.
14060 (binaries-pie): Rewritten.
14061 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
14062 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
14063 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
14064 (make-test-out): Replace $(host-built-program-cmd) with
14065 $(host-test-program-cmd).
14066 * config.make.in (build-hardcoded-path-in-tests): New variable.
14067 * configure.in (--enable-hardcoded-path-in-tests): New configure
14069 (hardcoded_path_in_tests): New AC_SUBST.
14070 * configure: Regenerated.
14071 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
14072 $(built-program-cmd) with $(test-program-cmd).
14073 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
14074 (test_program_cmd): This.
14075 * elf/Makefile ($(objpfx)order.out): Run test with
14076 $(test-program-prefix).
14077 ($(objpfx)order2.out): Likewise.
14078 ($(objpfx)tst-initorder.out): Likewise.
14079 ($(objpfx)tst-initorder2.out): Likewise.
14080 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
14081 $(test-program-cmd).
14082 ($(objpfx)tst-array1-static.out): Likewise.
14083 ($(objpfx)tst-array2.out): Likewise.
14084 ($(objpfx)tst-array3.out): Likewise.
14085 ($(objpfx)tst-array4.out): Likewise.
14086 ($(objpfx)tst-array5.out): Likewise.
14087 ($(objpfx)tst-array5-static.out): Likewise.
14088 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
14089 $(test-program-cmd).
14090 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
14091 $(run-program-prefix) with $(test-program-prefix).
14092 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
14093 (test_program_prefix): This.
14094 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
14095 $(run-program-prefix) with $(test-program-prefix).
14096 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
14097 (test_program_prefix): This.
14098 * iconvdata/tst-tables.sh: Likewise.
14099 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
14100 $(run-program-prefix) with $(test-program-prefix).
14101 ($(objpfx)tst-translit.out): Likewise.
14102 ($(objpfx)tst-gettext2.out): Likewise.
14103 ($(objpfx)tst-gettext4.out): Likewise.
14104 ($(objpfx)tst-gettext6.out): Likewise.
14105 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
14106 (test_program_prefix): This.
14107 * intl/tst-gettext2.sh: Likewise.
14108 * intl/tst-gettext4.sh Likewise.
14109 * intl/tst-gettext6.sh: Likewise.
14110 * intl/tst-translit.sh: Likewise.
14111 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
14112 with $(test-program-cmd).
14113 * libio/Makefile ($(objpfx)test-freopen.out): Replace
14114 $(run-program-prefix) with $(test-program-prefix).
14115 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
14116 (test_program_prefix): This.
14117 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
14118 $(run-program-prefix) with $(test-program-prefix).
14119 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
14120 (test_program_prefix): This.
14121 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
14122 * posix/Makefile ($(objpfx)globtest.out): Replace
14123 $(run-via-rtld-prefix) and $(test-wrapper) with
14124 $(test-program-prefix) and $(test-via-rtld-prefix).
14125 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
14126 $(test-program-prefix).
14127 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
14128 $(host-test-program-cmd).
14129 (tst-spawn-ARGS): Likewise.
14130 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
14131 $(test-program-prefix).
14132 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
14133 (test_via_rtld_prefix): This.
14134 (test_wrapper): Renamed to ...
14135 (test_program_prefix): This.
14136 (run_program_prefix): Replaced by test_program_prefix.
14137 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
14138 (test_program_prefix): This.
14139 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
14140 with $(host-test-program-cmd).
14141 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
14142 $(run-program-prefix) with $(test-program-prefix).
14143 ($(objpfx)tst-printf.out): Likewise.
14144 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
14145 $(test-program-cmd).
14146 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
14147 (test_program_prefix): This.
14148 * stdio-common/tst-unbputc.sh: Likewise.
14149 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
14150 $(run-program-prefix) with $(test-program-prefix).
14151 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
14152 (test_program_prefix): This.
14153 * string/Makefile ($(objpfx)tst-svc.out): Replace
14154 $(built-program-cmd) with $(test-program-cmd).
14156 2013-01-11 Andreas Jaeger <aj@suse.de>
14159 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
14160 value. Sync with Linux 3.7.
14162 2013-01-10 David S. Miller <davem@davemloft.net>
14164 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
14165 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
14166 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
14168 2013-01-10 Roland McGrath <roland@hack.frob.com>
14170 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
14172 * configure: Regenerated.
14174 2013-01-10 David S. Miller <davem@davemloft.net>
14176 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
14177 sparc V9 rather than using V8 code.
14178 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
14179 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
14181 2013-01-10 Roland McGrath <roland@hack.frob.com>
14183 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
14184 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
14185 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
14186 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
14187 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
14188 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
14189 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
14190 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
14191 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
14192 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
14193 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
14194 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
14195 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
14196 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
14197 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
14198 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
14199 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
14200 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
14201 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
14202 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
14203 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
14204 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
14205 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
14206 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
14207 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
14208 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
14209 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
14211 2013-01-10 David S. Miller <davem@davemloft.net>
14213 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14215 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
14217 * posix/Makefile (tests-static): New variable.
14218 (tests): Add $(tests-static).
14219 (tst-exec-static-ARGS): New variable.
14220 (tst-spawn-static-ARGS): Likewise.
14221 * posix/tst-exec-static.c: New file.
14222 * posix/tst-spawn-static.c: Likewise.
14223 * posix/tst-exec.c: Support run directly.
14224 * posix/tst-spawn.c: Likewise.
14226 2013-01-10 Joseph Myers <joseph@codesourcery.com>
14228 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
14230 * math/bits/mathcalls.h (llrint): Likewise.
14231 (llround): Likewise.
14232 * stdlib/stdlib.h (struct drand48_data): Likewise.
14233 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
14234 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
14235 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
14237 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
14239 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
14240 (elf_greg_t): Likewise.
14241 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
14242 (__jmp_buf): Likewise.
14243 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
14245 (llrint): Likewise, for all definitions.
14246 (llrintl): Likewise.
14248 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
14249 Remove [__GNUC__] condition.
14250 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
14251 condition to just [__USE_ISOC99].
14252 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
14254 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
14257 * sysdeps/unix/sysv/linux/x86/bits/environments.h
14258 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
14260 (_POSIX_V6_ILP32_OFF32): Likewise.
14261 (_XBS5_ILP32_OFF32): Likewise.
14262 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
14263 (__ILP32_OFFBIG_LDFLAGS): Likewise.
14265 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
14267 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
14269 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
14270 doubles __mpexp_twomm1. Adjust usage.
14271 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
14274 2013-01-10 Andreas Schwab <schwab@suse.de>
14277 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
14278 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
14280 2013-01-09 David S. Miller <davem@davemloft.net>
14283 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
14284 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
14285 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
14286 TCP_FASTOPEN): Define.
14287 (tcp_repair_opt): New structure.
14288 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
14290 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
14291 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
14292 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
14293 (tcp_cookie_transactions): New structure.
14295 2013-01-09 Anton Blanchard <anton@samba.org>
14297 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
14298 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
14299 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
14300 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
14302 2013-01-09 Joseph Myers <joseph@codesourcery.com>
14304 * include/features.h (__USE_ANSI): Remove.
14306 2013-01-09 Roland McGrath <roland@hack.frob.com>
14308 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
14310 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
14312 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
14314 * sysdeps/s390/fpu/libm-test-ulps: Update.
14316 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14318 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
14322 (denorm): Likewise.
14323 (__mp_dbl): Likewise.
14324 (__dbl_mp): Likewise.
14325 (add_magnitudes): Likewise.
14326 (sub_magnitudes): Likewise.
14332 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
14336 (denorm): Likewise.
14337 (__mp_dbl): Likewise.
14338 (__dbl_mp): Likewise.
14339 (add_magnitudes): Likewise.
14340 (sub_magnitudes): Likewise.
14346 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
14350 (denorm): Likewise.
14351 (__mp_dbl): Likewise.
14352 (__dbl_mp): Likewise.
14353 (add_magnitudes): Likewise.
14354 (sub_magnitudes): Likewise.
14361 2013-01-08 Joseph Myers <joseph@codesourcery.com>
14363 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
14364 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
14365 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
14366 2 && __USE_EXTERN_INLINES]: Likewise.
14368 2013-01-08 Andreas Jaeger <aj@suse.de>
14371 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
14373 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
14374 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
14376 2013-01-07 Anton Blanchard <anton@samba.org>
14378 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
14379 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
14380 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
14381 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
14382 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
14383 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
14384 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
14385 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
14386 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
14387 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
14388 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
14389 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
14390 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
14391 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
14392 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
14393 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
14394 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
14395 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
14396 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
14397 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
14398 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
14399 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
14400 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
14401 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
14402 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
14403 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
14404 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
14405 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
14406 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
14407 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
14408 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
14409 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
14410 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
14411 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
14412 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
14413 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
14414 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
14415 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
14416 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
14417 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
14418 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
14419 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
14420 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
14422 2013-01-07 Joseph Myers <joseph@codesourcery.com>
14424 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
14425 (__MALLOC_PMT): Likewise.
14426 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
14427 [__GNUC__], only on [_LIBC].
14428 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
14429 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
14430 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
14431 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
14432 forward declaration.
14433 (realloc_hook_ini): Likewise.
14434 (memalign_hook_ini): Likewise.
14435 (__libc_memalign): Do not use __MALLOC_PMT in variable
14437 (__libc_valloc): Likewise.
14438 (__libc_pvalloc): Likewise.
14439 (__libc_calloc): Likewise.
14440 (__posix_memalign): Likewise.
14443 * math/s_casinh.c: Include <float.h>.
14444 (__casinh): Do not do computation with squaring and square root
14445 for large arguments.
14446 * math/s_casinhf.c: Include <float.h>.
14447 (__casinhf): Do not do computation with squaring and square root
14448 for large arguments.
14449 * math/s_casinhl.c: Include <float.h>.
14450 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
14451 (__casinhl): Do not do computation with squaring and square root
14452 for large arguments.
14453 * math/libm-test.inc (casin_test): Add more tests.
14454 (casinh_test): Likewise.
14455 * sysdeps/i386/fpu/libm-test-ulps: Update.
14456 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14458 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
14460 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
14461 (__x86_64_raw_data_cache_size): Likewise.
14462 (__x86_64_data_cache_size_half): Likewise.
14463 (__x86_64_raw_data_cache_size_half): Likewise.
14464 (__x86_64_shared_cache_size): Likewise.
14465 (__x86_64_raw_shared_cache_size): Likewise.
14466 (__x86_64_shared_cache_size_half): Likewise.
14467 (__x86_64_raw_shared_cache_size_half): Likewise.
14468 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
14470 (__x86_data_cache_size): This.
14471 (__x86_64_raw_data_cache_size): Renamed to ...
14472 (__x86_raw_data_cache_size): This.
14473 (__x86_64_data_cache_size_half): Renamed to ...
14474 (__x86_data_cache_size_half): This.
14475 (__x86_64_raw_data_cache_size_half): Renamed to ...
14476 (__x86_raw_data_cache_size_half): This.
14477 (__x86_64_shared_cache_size): Renamed to ...
14478 (__x86_shared_cache_size): This.
14479 (__x86_64_raw_shared_cache_size): Renamed to ...
14480 (__x86_raw_shared_cache_size): This.
14481 (__x86_64_shared_cache_size_half): Renamed to ...
14482 (__x86_shared_cache_size_half): This.
14483 (__x86_64_raw_shared_cache_size_half): Renamed to ...
14484 (__x86_raw_shared_cache_size_half): This.
14485 * sysdeps/x86_64/memcpy.S: Updated.
14486 * sysdeps/x86_64/memset.S: Likewise.
14487 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
14488 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
14489 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
14491 2013-01-04 David S. Miller <davem@davemloft.net>
14493 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14495 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
14497 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
14498 1 to avoid redefinition warning.
14499 (__USE_GNU): Don't define.
14500 (init_signaling_nan): Protoize.
14502 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14504 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
14506 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
14507 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
14508 (__cpymn): Likewise.
14509 (norm): Remove commented code.
14510 (denorm): Likewise.
14511 (__mp_dbl): Likewise.
14513 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
14514 (__cpymn): Likewise.
14515 (norm): Remove commented code.
14516 (denorm): Likewise.
14517 (__mp_dbl): Likewise.
14520 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
14521 mp_no value for 1.0 and 2.0.
14522 (norm): Use RADIXI instead of radixi.d.
14523 (denorm): Likewise.
14524 (__mul): Use 0.0 instead of zero.d.
14525 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
14526 mp_no value for 1.0 and 2.0.
14527 (norm): Use RADIXI instead of radixi.d.
14528 (denorm): Likewise.
14529 (__mul): Use 0.0 instead of zero.d.
14531 2013-01-04 Joseph Myers <joseph@codesourcery.com>
14534 * math/s_casinh.c (__casinh): Reduce finite argument to first
14535 quadrant then set signs of results at the end.
14536 * math/s_casinhf.c (__casinhf): Likewise.
14537 * math/s_casinhl.c (__casinhl): Likewise.
14538 * math/libm-test.inc (casin_test): Add more tests.
14539 (casinh_test): Likewise.
14540 * sysdeps/i386/fpu/libm-test-ulps: Update.
14541 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14543 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
14545 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
14547 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
14549 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
14551 (denorm): Likewise.
14552 (__mp_dbl): Likewise.
14555 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
14556 and adjust the header comment.
14558 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
14559 variable name from declaration.
14561 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
14563 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14564 Initialize COMMON_CPUID_INDEX_7 element.
14565 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
14566 (CPUID_RTM): Likewise.
14567 (HAS_RTM): Likewise.
14568 (COMMON_CPUID_INDEX_7): New enum.
14570 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
14573 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
14574 size is zero, record memory as freed.
14576 2013-01-03 Andreas Jaeger <aj@suse.de>
14578 * po/ia.po: Add new Interlingua translation.
14580 2012-01-03 Allan McRae <allan@archlinux.org>
14582 * locale/programs/localedef.c: Fix description of '--posix' flag.
14584 2013-01-02 Joseph Myers <joseph@codesourcery.com>
14586 * NEWS: Update dates in second copyright notice.
14587 * README: Update copyright dates in example.
14588 * manual/libc.texinfo: Update copyright dates.
14589 * scripts/test-installation.pl: Update copyright date in --version
14592 * hurd/ctty-input.c: Fix copyright notice formatting.
14593 * hurd/ctty-output.c: Likewise.
14594 * hurd/dtable.c: Likewise.
14595 * hurd/hurd-raise.c: Likewise.
14596 * hurd/hurdprio.c: Likewise.
14597 * hurd/msgportdemux.c: Likewise.
14598 * misc/sys/file.h: Likewise.
14599 * misc/sys/ioctl.h: Likewise.
14600 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
14601 * sysdeps/mach/hurd/chdir.c: Likewise.
14602 * sysdeps/mach/hurd/fchdir.c: Likewise.
14603 * sysdeps/mach/hurd/rename.c: Likewise.
14604 * sysdeps/mach/hurd/rmdir.c: Likewise.
14605 * sysdeps/mach/hurd/seekdir.c: Likewise.
14606 * sysdeps/mach/hurd/setsid.c: Likewise.
14607 * sysdeps/posix/wait3.c: Likewise.
14609 * All files with FSF copyright notices: Update copyright dates
14610 using scripts/update-copyrights.
14611 * intl/plural.c: Regenerated.
14612 * locale/programs/charmap-kw.h: Likewise.
14613 * locale/programs/locfile-kw.h: Likewise.
14615 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
14617 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
14620 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
14621 calculation loop and add branch prediction.
14623 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
14624 check access beyond bounds of m1np.
14626 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
14628 (__inv): Remove local variable MPTWO to use the global
14630 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
14631 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
14633 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
14634 MP3HALFS static const.
14636 2013-01-01 David S. Miller <davem@davemloft.net>
14638 * po/ca.po: Update from translation team.
14640 2013-01-01 Joseph Myers <joseph@codesourcery.com>
14642 * scripts/update-copyrights: New file.
14643 * Makeconfig: Reformat copyright notice.
14644 * ctype/ctype.h: Likewise.
14645 * debug/swprintf_chk.c: Likewise.
14646 * elf/dl-cache.c: Likewise.
14647 * elf/dl-debug.c: Likewise.
14648 * elf/dl-object.c: Likewise.
14649 * grp/initgroups.c: Likewise.
14650 * hurd/Makefile: Likewise.
14651 * hurd/hurd/signal.h: Likewise.
14652 * hurd/hurdfault.c: Likewise.
14653 * hurd/hurdioctl.c: Likewise.
14654 * hurd/hurdlookup.c: Likewise.
14655 * hurd/intr-msg.c: Likewise.
14656 * iconv/gconv_open.c: Likewise.
14657 * libio/swprintf.c: Likewise.
14658 * locale/lc-ctype.c: Likewise.
14659 * locale/nl_langinfo.c: Likewise.
14660 * mach/Machrules: Likewise.
14661 * mach/Makefile: Likewise.
14662 * malloc/obstack.h: Likewise.
14663 * manual/Makefile: Likewise.
14664 * manual/tsort.awk: Likewise.
14665 * misc/bits/stab.def: Likewise.
14666 * nis/nis_print_group_entry.c: Likewise.
14667 * nis/nis_table.c: Likewise.
14668 * nis/nss_compat/compat-pwd.c: Likewise.
14669 * nis/nss_compat/compat-spwd.c: Likewise.
14670 * po/Makefile: Likewise.
14671 * posix/fnmatch.c: Likewise.
14672 * posix/regex.h: Likewise.
14673 * resolv/Makefile: Likewise.
14674 * resolv/nss_dns/dns-network.c: Likewise.
14675 * resolv/res_hconf.c: Likewise.
14676 * scripts/gen-sorted.awk: Likewise.
14677 * soft-fp/soft-fp.h: Likewise.
14678 * stdio-common/printf.h: Likewise.
14679 * stdlib/monetary.h: Likewise.
14680 * stdlib/random.c: Likewise.
14681 * stdlib/random_r.c: Likewise.
14682 * sysdeps/generic/Makefile: Likewise.
14683 * sysdeps/gnu/Makefile: Likewise.
14684 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
14685 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14686 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
14687 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14688 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
14689 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14690 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14691 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
14692 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
14693 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14694 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
14695 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
14696 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
14697 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
14698 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
14699 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
14700 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
14701 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14702 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
14703 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14704 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
14705 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
14706 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
14707 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
14708 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
14709 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
14710 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
14711 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
14712 * sysdeps/mach/hurd/errnos.awk: Likewise.
14713 * sysdeps/mach/hurd/fork.c: Likewise.
14714 * sysdeps/mach/hurd/getcwd.c: Likewise.
14715 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
14716 * sysdeps/mach/hurd/mmap.c: Likewise.
14717 * sysdeps/mach/hurd/utimes.c: Likewise.
14718 * sysdeps/mach/hurd/xmknod.c: Likewise.
14719 * sysdeps/posix/profil.c: Likewise.
14720 * sysdeps/posix/readdir_r.c: Likewise.
14721 * sysdeps/powerpc/bits/mathdef.h: Likewise.
14722 * sysdeps/powerpc/bits/setjmp.h: Likewise.
14723 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
14724 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
14725 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
14726 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
14727 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
14728 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
14729 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
14730 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
14731 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
14732 * sysdeps/pthread/lio_listio.c: Likewise.
14733 * sysdeps/sparc/dl-procinfo.h: Likewise.
14734 * sysdeps/unix/i386/sysdep.S: Likewise.
14735 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
14736 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
14737 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
14738 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
14739 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
14740 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
14741 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
14742 * sysdeps/unix/sysv/linux/speed.c: Likewise.
14743 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
14744 * sysdeps/wordsize-32/divdi3.c: Likewise.
14745 * time/sys/time.h: Likewise.
14746 * wcsmbs/Makefile: Likewise.
14748 2013-01-01 David S. Miller <davem@davemloft.net>
14750 * po/fr.po: Update from translation team.
14752 * catgets/gencat.c: Update copyright year.
14753 * csu/version.c: Likewise.
14754 * debug/catchsegv.sh: Likewise.
14755 * debug/pcprofiledump.c: Likewise.
14756 * debug/xtrace.sh: Likewise.
14757 * elf/ldconfig.c: Likewise.
14758 * elf/ldd.bash.in: Likewise.
14759 * elf/pldd.c: Likewise.
14760 * elf/sotruss.ksh: Likewise.
14761 * elf/sprof.c: Likewise.
14762 * iconv/iconv_prog.c: Likewise.
14763 * iconv/iconvconfig.c: Likewise.
14764 * locale/programs/locale.c: Likewise.
14765 * locale/programs/localedef.c: Likewise.
14766 * login/programs/pt_chown.c: Likewise.
14767 * malloc/memusage.sh: Likewise.
14768 * malloc/memusagestat.c: Likewise.
14769 * malloc/mtrace.pl: Likewise.
14770 * nscd/nscd.c: Likewise.
14771 * nss/getent.c: Likewise.
14772 * nss/makedb.c: Likewise.
14773 * posix/getconf.c: Likewise.
14775 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
14777 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
14780 2012-12-30 Mike Frysinger <vapier@gentoo.org>
14782 * math/bits/mathcalls.h (modf): Use __nonnull.
14784 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
14786 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
14787 (split): Use macro CN instead of the bare value.
14788 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
14790 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
14791 instead of the bare value.
14792 (power1): Likewise.
14794 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14796 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
14798 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
14800 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
14802 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
14803 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
14804 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
14805 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
14807 2012-12-28 Andreas Jaeger <aj@suse.de>
14809 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
14810 values are from Linux 3.7.
14812 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
14813 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
14815 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14817 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
14820 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
14822 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
14823 variables with preprocessor constants.
14824 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
14825 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
14826 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
14828 2012-12-27 Bruno Haible <bruno@clisp.org>
14831 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
14834 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
14836 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
14837 and use variable directly.
14838 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
14840 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
14842 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
14843 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
14845 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
14846 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
14847 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
14848 include directive. Remove local variable MPONE.
14849 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
14850 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
14851 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
14853 2012-12-25 David S. Miller <davem@davemloft.net>
14855 * version.h (RELEASE): Set to "development".
14856 (VERSION): Set to "2.17.90".
14857 * NEWS: Add 2.18 section.
14859 2012-12-21 David S. Miller <davem@davemloft.net>
14861 * po/hr.po: Update from translation team.
14863 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14865 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
14867 2012-12-19 Steve Ellcey <sellcey@mips.com>
14869 * NEWS: Mention new memcpy for MIPS.
14871 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14873 * manual/contrib.texi (Contributors): Spelling correction.
14875 2012-12-15 David S. Miller <davem@davemloft.net>
14877 * po/ru.po: Update from translation team.
14879 2012-12-13 David S. Miller <davem@davemloft.net>
14881 * NEWS: Mention IFUNC testsuite enhancements.
14883 * po/pl.po: Update from translation team.
14884 * po/bg.po: Likewise.
14886 * manual/contrib.texi (Contributors): Update entries for Hongjiu
14887 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
14889 2012-12-11 David S. Miller <davem@davemloft.net>
14891 * po/sv.po: Update from translation team.
14893 * po/vi.po: Update from translation team.
14895 * po/cs.po: Update from translation team.
14897 * po/de.po: Update from translation team.
14898 * po/eo.po: Likewise.
14899 * po/nl.po: Likewise.
14901 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
14904 * manual/argp.texi (Argp Helper Functions): Move node to follow
14905 Argp Parsing State.
14908 * manual/conf.texi (Limits on File System Capacity): Mention if
14909 terminating null is included in the max size.
14911 2012-12-10 Andreas Jaeger <aj@suse.de>
14913 * po/cs.po: Update from translation team.
14915 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
14917 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
14918 void pointer and cast to uintptr_t.
14919 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
14921 * sysdeps/s390/s390-64/memcpy.S: Likewise.
14922 * sysdeps/s390/s390-64/memset.S: Likewise.
14924 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
14927 * menual/message.texi (Message Translation): Fix typos.
14928 (Helper programs for gettext): Likewise.
14930 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
14933 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
14936 2012-12-07 David S. Miller <davem@davemloft.net>
14938 * po/libc.pot: Update.
14940 2012-12-07 Richard Henderson <rth@redhat.com>
14943 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
14944 normal/normal case to before the switch.
14945 (_FP_DIV): Likewise.
14947 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
14948 Mike Frysinger <vapier@gentoo.org>
14950 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
14951 check for __NR_fadvise64_64.
14953 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
14955 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
14956 0, not just to plain "0" as a statement.
14957 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
14960 2012-12-06 Joseph Myers <joseph@codesourcery.com>
14962 * NEWS: Use sourceware.org in Bugzilla URL.
14964 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
14966 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
14967 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
14969 * stdio-common/tst-put-error.c (do_test): Add newline to the
14970 padded test to ensure flush.
14972 2012-12-05 Jeff Law <law@redhat.com>
14974 * sunrpc/etc.rpc (fedfs_admin): Add entry.
14976 2012-12-05 Joseph Myers <joseph@codesourcery.com>
14978 * README: Don't refer to ports add-on as distributed separately.
14979 Mention AArch64 in list of systems supported in the ports add-on.
14981 * LICENSES: Add more non-FSF copyright and license notices.
14983 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
14986 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
14988 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
14989 10000 as width of padded output.
14991 2012-12-04 Joseph Myers <joseph@codesourcery.com>
14993 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
14995 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
14996 variable LX with __attribute__ ((unused)).
14997 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
14999 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
15000 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
15001 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
15002 with __attribute__ ((unused)).
15004 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
15006 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
15008 2012-12-04 Joseph Myers <joseph@codesourcery.com>
15010 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
15011 (CFLAGS-nldbl-acos.c): New variable.
15012 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
15013 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
15014 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
15015 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
15016 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
15017 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
15018 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
15019 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
15020 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
15021 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
15022 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
15023 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
15024 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
15025 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
15026 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
15027 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
15028 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
15029 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
15030 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
15031 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
15032 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
15033 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
15034 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
15035 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
15036 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
15037 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
15038 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
15039 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
15040 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
15041 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
15042 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
15043 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
15044 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
15045 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
15046 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
15047 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
15048 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
15049 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
15050 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
15051 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
15052 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
15053 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
15054 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
15055 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
15056 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
15057 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
15058 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
15059 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
15060 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
15061 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
15062 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
15063 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
15064 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
15065 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
15066 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
15067 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
15068 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
15069 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
15070 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
15071 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
15072 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
15073 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
15074 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
15075 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
15076 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
15077 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
15078 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
15079 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
15080 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
15081 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
15082 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
15083 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
15084 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
15085 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
15086 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
15087 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
15088 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
15089 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
15090 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
15091 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
15092 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
15093 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
15094 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
15095 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
15096 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
15097 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
15098 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
15099 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
15100 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
15101 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
15102 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
15103 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
15104 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
15105 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
15106 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
15107 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
15108 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
15110 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
15111 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
15114 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
15115 whole low double instead of just low 47 bits when splitting values
15118 2012-12-03 Allan McRae <allan@archlinux.org>
15120 * manual/stdio.texi (Predefined Printf Handlers): Remove
15121 @hsep and @vsep usage.
15123 2012-12-03 Mike Frysinger <vapier@gentoo.org>
15125 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
15126 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
15128 2012-12-03 Jeff Law <law@redhat.com>
15130 * time/sys/time.h (settimeofday): Do not mark TV argument
15133 2012-12-01 Mike Frysinger <vapier@gentoo.org>
15135 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
15136 when currently writing and seek to current position when not.
15137 * libio/Makefile (tests): Remove bug-fclose1.
15138 * libio/bug-fclose1.c: Delete.
15140 2012-12-01 Joseph Myers <joseph@codesourcery.com>
15142 * manual/arith.texi (feenableexcept): Fix typo.
15143 (fedisableexcept): Likewise.
15145 2012-11-30 Roland McGrath <roland@hack.frob.com>
15147 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
15148 second, differently-typed declaration, rather than a cast.
15150 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
15152 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
15153 * include/rpc/svc.h: ... here.
15155 2012-11-30 Aurelien Jarno <aurel32@debian.org>
15158 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
15159 depending n and resplen2 to catch cases where answer
15162 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
15164 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
15165 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
15167 2012-11-29 Mike Frysinger <vapier@gentoo.org>
15169 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
15171 2012-11-29 Roland McGrath <roland@hack.frob.com>
15173 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
15175 2012-11-28 Jeff Law <law@redhat.com>
15178 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
15179 dataset_temporary. Track alloca usage into alloca_used.
15180 If dataset is large allocate and release it via malloc/free.
15182 2012-06-04 Florian Weimer <fweimer@redhat.com>
15185 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
15187 2012-11-28 David S. Miller <davem@davemloft.net>
15189 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15191 2012-11-28 Joseph Myers <joseph@codesourcery.com>
15194 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
15195 of pi/2 rounded to nearest to 64 bits.
15196 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
15197 nearest to 64 bits.
15198 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
15201 2012-11-28 Jeff Law <law@redhat.com>
15202 Martin Osvald <mosvald@redhat.com>
15205 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
15206 * sunrpc/svc.c: Include time.h.
15207 (__svc_accept_failed): New function.
15208 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
15209 any reason other than EINTR, call __svc_accept_failed.
15210 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
15211 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
15213 2012-11-28 Andreas Schwab <schwab@suse.de>
15215 * scripts/abilist.awk: Also handle indirect functions in .opd
15218 2012-11-28 Joseph Myers <joseph@codesourcery.com>
15221 * sysdeps/x86/fpu/powl_helper.c: New file.
15222 * sysdeps/x86/fpu/Makefile: Likewise.
15223 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
15225 (__ieee754_powl): Use __powl_helper for finite arguments except
15226 integer exponents below 8.
15227 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
15229 (__ieee754_powl): Use __powl_helper for finite arguments except
15230 integer exponents below 8.
15231 * math/libm-test.inc (pow_test): Add more tests and enable some
15232 previously disabled tests.
15233 * sysdeps/i386/fpu/libm-test-ulps: Update.
15234 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15236 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15237 Carlos O'Donell <carlos_odonell@mentor.com>
15239 * nss/makedb.c (is_prime): Assert that input is odd and greater
15240 than 4. Note that fact in a comment too.
15241 (next_prime): Add 4 to input.
15243 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
15246 * libio/Makefile (tests): Add test case tst-fwrite-error.
15247 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
15248 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
15249 * libio/tst-fwrite-error.c: New test case.
15251 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
15253 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
15254 before casting to void *.
15255 * include/libc-internal.h (__pointer_type): New macro.
15256 (__integer_if_pointer_type_sub): Likewise.
15257 (__integer_if_pointer_type): Likewise.
15258 (cast_to_integer): Likewise.
15259 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
15260 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
15261 before casting to atomic64_t.
15262 (atomic_exchange_acq): Likewise.
15263 (__arch_exchange_and_add_body): Likewise.
15264 (__arch_add_body): Likewise.
15265 (atomic_add_negative): Likewise.
15266 (atomic_add_zero): Likewise.
15268 2012-11-26 Joseph Myers <joseph@codesourcery.com>
15270 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
15271 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
15272 (add_fdes): Likewise.
15273 (linear_search_fdes): Likewise.
15274 (binary_search_unencoded_fdes): Likewise.
15276 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
15278 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
15280 2012-11-24 Adam Conrad <adconrad@0c3.net>
15282 * configure.in: Autodetect C++ header directories.
15283 * configure: Regenerated.
15285 2012-11-23 Mike Frysinger <vapier@gentoo.org>
15287 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
15289 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
15291 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15293 2012-11-22 Joseph Myers <joseph@codesourcery.com>
15295 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
15296 LDBL_MANT_DIG == 106]: Disable some tests.
15297 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
15299 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
15303 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
15304 input for small inputs. Return +/- pi/2 for large inputs.
15305 * math/libm-test.inc (atan_test): Add more tests.
15307 * sysdeps/generic/unwind-dw2-fde-glibc.c
15308 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
15309 __attribute__ ((unused)).
15312 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
15313 x * y if x and y are nonzero and z is zero.
15316 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
15317 nonzero exponents with absolute value below 0x1p-117 to +/-
15321 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
15322 up arguments below 2**-450, not just those below 2**-500.
15323 * math/libm-test.inc (hypot_test): Add another test.
15326 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
15327 Return a+b for ratio over 2**120, not 2**60.
15328 * math/libm-test.inc (hypot_test): Add another test.
15330 * math/libm-test.inc (clog_test): Use
15331 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
15332 (clog10_test): Likewise.
15335 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
15337 2012-11-22 Andreas Schwab <schwab@suse.de>
15339 * sysdeps/i386/fpu/libm-test-ulps: Update.
15341 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
15343 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
15344 printf output with newline.
15346 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
15349 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
15350 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
15351 -z nodlopen, -z initfirst and -z execstack support.
15352 * configure: Regenerated.
15354 * elf/elf.h (DF_1_NODIRECT): New macro.
15355 (DF_1_IGNMULDEF): Likewise.
15356 (DF_1_NOKSYMS): Likewise.
15357 (DF_1_NOHDR): Likewise.
15358 (DF_1_EDITED): Likewise.
15359 (DF_1_NORELOC): Likewise.
15360 (DF_1_SYMINTPOSE): Likewise.
15361 (DF_1_GLOBAUDIT): Likewise.
15362 (DF_1_SINGLETON): Likewise.
15363 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
15364 DT_1_SUPPORTED_MASK bits.
15365 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
15367 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
15369 * sysdeps/unix/make-syscalls.sh: Document prefixes.
15371 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
15373 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
15376 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
15377 (sendmmsg): Move declarations...
15378 * socket/sys/socket.h: ... here.
15379 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
15380 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
15382 * socket/recvmmsg.c: ... this new file.
15383 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
15384 (sendmmsg): Rename to __sendmmsg, create weak alias and make
15385 definition of __sendmmsg hidden.
15386 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
15387 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
15388 Move ENOSYS stub into and include it from...
15389 * socket/sendmmsg.c: ... this new file.
15390 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
15391 (sysdep_routines): Move recvmmsg and sendmmsg...
15392 * socket/Makefile (routines): ... here.
15393 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
15394 (GLIBC_PRIVATE): Add __sendmmsg.
15395 * include/sys/socket.h (__sendmmsg): Add declarations.
15396 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
15399 2012-11-20 Joseph Myers <joseph@codesourcery.com>
15401 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
15402 variable I1 with __attribute__ ((unused)).
15403 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
15405 2012-11-19 Joseph Myers <joseph@codesourcery.com>
15407 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
15408 DUMMY variables with __attribute__ ((unused)).
15410 * bits/byteswap.h: Include <bits/types.h>.
15411 (__bswap_64): Use __uint64_t instead of unsigned long long int.
15413 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
15415 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
15416 string_t. Do not manually set errno.
15417 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
15418 length with __strnlen. Make sure to both set errno and return it on
15421 2012-11-19 David S. Miller <davem@davemloft.net>
15423 With help from Joseph Myers.
15424 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
15425 very large arguments properly.
15426 * math/libm-test.inc (atan_test): New tests.
15427 (atan2_test): New tests.
15428 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15429 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15431 2012-11-19 Joseph Myers <joseph@codesourcery.com>
15434 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
15437 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
15438 [POSIX] (EADDRNOTAVAIL): Likewise.
15439 [POSIX] (EAFNOSUPPORT): Likewise.
15440 [POSIX] (EALREADY): Likewise.
15441 [POSIX] (ECONNABORTED): Likewise.
15442 [POSIX] (ECONNREFUSED): Likewise.
15443 [POSIX] (ECONNRESET): Likewise.
15444 [POSIX] (EDESTADDRREQ): Likewise.
15445 [POSIX] (EDQUOT): Likewise.
15446 [POSIX] (EHOSTUNREACH): Likewise.
15447 [POSIX] (EIDRM): Likewise.
15448 [POSIX] (EISCONN): Likewise.
15449 [POSIX] (ELOOP): Likewise.
15450 [POSIX] (EMULTIHOP): Likewise.
15451 [POSIX] (ENETDOWN): Likewise.
15452 [POSIX] (ENETUNREACH): Likewise.
15453 [POSIX] (ENOBUFS): Likewise.
15454 [POSIX] (ENODATA): Likewise.
15455 [POSIX] (ENOLINK): Likewise.
15456 [POSIX] (ENOMSG): Likewise.
15457 [POSIX] (ENOPROTOOPT): Likewise.
15458 [POSIX] (ENOSR): Likewise.
15459 [POSIX] (ENOSTR): Likewise.
15460 [POSIX] (ENOTCONN): Likewise.
15461 [POSIX] (ENOTSOCK): Likewise.
15462 [POSIX] (EOPNOTSUPP): Likewise.
15463 [POSIX] (EOVERFLOW): Likewise.
15464 [POSIX] (EPROTO): Likewise.
15465 [POSIX] (EPROTONOSUPPORT): Likewise.
15466 [POSIX] (EPROTOTYPE): Likewise.
15467 [POSIX] (ESTALE): Likewise.
15468 [POSIX] (ETIME): Likewise.
15469 [POSIX] (ETXTBSY): Likewise.
15470 [POSIX] (EWOULDBLOCK): Likewise.
15471 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
15472 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
15473 [POSIX] (SEEK_CUR): Likewise.
15474 [POSIX] (SEEK_END): Likewise.
15475 [POSIX || UNIX98] (mode_t): Do not require.
15476 [POSIX] (off_t): Likewise.
15477 [POSIX] (pid_t): Likewise.
15478 [POSIX] (sys/stat.h): Do not allow header.
15479 [POSIX] (unistd.h): Likewise.
15480 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
15481 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
15482 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
15483 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
15485 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
15486 sigevent): Specify elements.
15487 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
15489 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
15490 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
15492 * conform/data/cpio.h-data [POSIX]: Disable whole file.
15493 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
15494 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
15495 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
15496 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
15497 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
15498 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
15499 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
15500 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
15501 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
15502 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
15503 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
15504 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
15505 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
15507 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
15509 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
15511 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
15513 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
15514 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
15515 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
15516 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
15517 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
15518 Specify lower bound on value.
15519 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
15520 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
15521 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
15522 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
15523 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
15524 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
15525 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
15526 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
15528 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
15530 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
15531 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
15532 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
15533 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
15534 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
15535 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
15536 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
15537 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
15538 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
15539 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
15540 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
15541 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
15542 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
15543 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
15544 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
15545 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
15547 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
15549 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
15550 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
15551 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
15552 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
15553 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
15554 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
15556 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
15557 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
15558 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
15559 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
15560 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
15561 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
15562 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
15564 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
15565 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
15566 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
15567 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
15568 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
15569 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
15570 specify as optional.
15571 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
15572 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
15573 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
15574 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
15575 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
15576 [XPG3] (NL_LANGMAX): Likewise.
15577 [POSIX || XPG3] (NL_MSGMAX): Likewise.
15578 [POSIX || XPG3] (NL_NMAX): Likewise.
15579 [POSIX || XPG3] (NL_SETMAX): Likewise.
15580 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
15581 [XPG3] (NZERO): Likewise.
15582 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
15583 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
15584 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
15585 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
15586 (REG_ERANGE): Expect.
15587 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
15589 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
15590 Use (void) in prototype.
15591 [POSIX] (*_t): Allow.
15592 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
15593 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
15594 (WRDE_BADVAL): Expect.
15596 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
15598 [XPG3 || XPG4] (O_RSYNC): Likewise.
15599 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
15601 [XPG3 || XPG4] (pthread_sigmask): Likewise.
15602 [XPG3 || XPG4] (sigqueue): Likewise.
15603 [XPG3 || XPG4] (sigtimedwait): Likewise.
15604 [XPG3 || XPG4] (sigwaitinfo): Likewise.
15605 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
15606 [XPG3 || XPG4] (vsnprintf): Likewise.
15607 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
15609 [XPG3 || XPG4] (blksize_t): Likewise.
15610 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
15612 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
15613 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
15614 [XPG3 || XPG4] (struct itimerspec): Likewise.
15615 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
15616 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
15617 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
15618 [XPG3 || XPG4] (clockid_t): Likewise.
15619 [XPG3 || XPG4] (timer_t): Likewise.
15620 [XPG3 || XPG4] (clock_getres): Likewise.
15621 [XPG3 || XPG4] (clock_gettime): Likewise.
15622 [XPG3 || XPG4] (clock_settime): Likewise.
15623 [XPG3 || XPG4] (nanosleep): Likewise.
15624 [XPG3 || XPG4] (timer_create): Likewise.
15625 [XPG3 || XPG4] (timer_delete): Likewise.
15626 [XPG3 || XPG4] (timer_gettime): Likewise.
15627 [XPG3 || XPG4] (timer_getoverrun): Likewise.
15628 [XPG3 || XPG4] (timer_settime): Likewise.
15629 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
15630 [XPG3 || XPG4] (getlogin_r): Likewise.
15631 [XPG3 || XPG4] (pread): Likewise.
15632 [XPG3 || XPG4] (pthread_atfork): Likewise.
15633 [XPG3 || XPG4] (pwrite): Likewise.
15636 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
15639 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
15641 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
15642 finalizing MALLSTREAM.
15644 * sysdeps/mach/hurd/syncfs.c: New file.
15646 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
15649 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
15650 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
15651 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
15652 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
15653 (_nss_dns_gethostbyname4_r): Likewise.
15654 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
15655 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
15657 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
15660 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
15662 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
15664 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
15665 * elf/cache.c (print_entry): Print ",AArch64" for
15668 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
15669 * elf/cache.c (print_entry): Print ",hard-float" for
15672 2012-11-18 David S. Miller <davem@davemloft.net>
15674 With help from Joseph Myers.
15675 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
15677 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
15679 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
15680 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
15682 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
15683 * math/libm-test.inc (y0_test): New tests.
15684 (y1_test): New tests.
15685 * sysdeps/i386/fpu/libm-test-ulps: Update.
15686 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15687 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15689 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
15691 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
15693 * configure: Regenerated.
15695 2012-11-17 David S. Miller <davem@davemloft.net>
15698 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
15699 nonzero exponents with absolute value below 0x1p-128 to +/-
15702 2012-11-17 Joseph Myers <joseph@codesourcery.com>
15704 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
15706 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
15708 * posix/getconf-speclist.c: New file.
15709 * posix/posix-envs.def: Likewise.
15710 * posix/confstr.c (START_ENV_GROUP): New macro.
15711 (END_ENV_GROUP): Likewise.
15712 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
15713 (KNOWN_PRESENT_ENV_STRING): Likewise.
15714 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
15715 (UNKNOWN_ENVIRONMENT): Likewise.
15716 (confstr): Include posix-envs.def instead of handling
15717 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
15718 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
15719 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
15720 (END_ENV_GROUP): Likewise.
15721 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
15722 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
15723 (UNKNOWN_ENVIRONMENT): Likewise.
15724 (__sysconf): Include posix-envs.def instead of handling associated
15725 cases directly here.
15726 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
15727 preprocessing getconf-speclist.c rather than running getconf or
15728 generating empty file.
15730 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
15732 * scripts/check-local-headers.sh: Ignore 'mach' headers.
15734 2012-11-16 Andrej Lajovic <natrij@gmail.com>
15737 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
15739 2012-11-16 David S. Miller <davem@davemloft.net>
15741 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
15742 smaller than LDBL_EPSILON/2.0L, just return xm1.
15744 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
15746 * elf/tst-array1.c (init): Set constructor priority to 1000.
15747 (fini): Set destructor priority to 1000.
15748 * elf/tst-array2dep.c: Likewise.
15750 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
15753 * libio/fileops.c (_IO_new_file_write): Correctly return error.
15754 (_IO_new_file_xsputn): Also return EOF if none of the input
15755 data was written when overflow failed.
15756 * libio/iopadn.c (_IO_padn): Likewise.
15757 * libio/iowpadn.c (_IO_wpadn): Likewise.
15758 * stdio-common/tst-put-error.c: Add copyright notice.
15759 (do_test): Add case for printing padded string.
15760 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
15761 _IO_padn returned error.
15762 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
15763 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
15766 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
15768 * libio/libioP.h: Add comment note that the references to C++
15769 bits are now obsolete.
15771 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15773 * math/libm-test.inc (check_complex): Use asprintf.
15775 2012-11-14 Joseph Myers <joseph@codesourcery.com>
15777 * debug/pcprofiledump.c (print_version): Update copyright year.
15778 * malloc/memusagestat.c (print_version): Likewise.
15780 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
15783 * elf/Makefile (tests): Add tst-audit8.
15784 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
15785 ($(objpfx)tst-audit8.out): New target.
15786 (tst-audit8-ENV): New variable.
15787 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
15788 audit if l_reloc_result is NULL.
15789 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
15790 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
15791 * elf/tst-audit8.c: New file.
15793 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15795 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
15796 * misc/Makefile (CFLAGS-select.c): Define.
15797 * posix/Makefile (CFLAGS-pause.c): Define.
15799 2012-11-13 David S. Miller <davem@davemloft.net>
15801 * crypt/Makefile: Move test targets after toplevel Rules
15802 inclusion. Grab any necessary sysdep routines when linking.
15803 * crypt/md5.c (md5_process_block): Remove define, we will always
15804 name it __md5_process_block.
15805 (md5_finish_ctx): Update md5_process_block call.
15806 (md5_stream): Likewise.
15807 (md5_process_bytes): Likewise.
15808 (md5_process_block): Rename to __md5_process_block and move to ...
15809 * crypt/md5-block.c: ... here.
15810 * crypt/sha256.c (sha256_process_block): Move to ...
15811 * crypt/sha256-block.c: ... here.
15812 * crypt/sha512.c (sha512_process_block): Move to ...
15813 * crypt/sha512-block.c: ... here.
15814 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
15816 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
15817 * sysdeps/sparc/sparc64/multiarch/Makefile
15818 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
15820 (localedef-aux): Add md5 crypto assembler when in locale subdir.
15821 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
15823 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
15824 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
15825 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
15826 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
15827 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
15828 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
15829 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
15830 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
15831 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
15833 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
15834 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
15836 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
15838 2012-11-13 Joseph Myers <joseph@codesourcery.com>
15840 * timezone/tzselect.ksh: Update from tzcode git revision
15841 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
15842 * timezone/zdump.c: Likewise.
15843 * timezone/zic.c: Likewise.
15844 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
15845 in TZVERSION setting, not $(PKGVERSION).
15846 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
15847 REPORT_BUGS_TO settings.
15850 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
15853 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15855 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
15856 detection to immediately after _FP_ROUND().
15857 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
15860 2012-11-11 David S. Miller <davem@davemloft.net>
15862 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
15864 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
15865 __close rather than their public counterparts.
15867 2012-11-10 Joseph Myers <joseph@codesourcery.com>
15869 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
15871 [UNIX98] (sem_timedwait): Do not expect.
15872 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
15873 [XPG4 || UNIX98] (sockatmark): Do not expect.
15874 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
15875 (clock_getcpuclockid): Do not expect.
15876 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
15877 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
15879 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
15880 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
15881 [UNIX98] (vwscanf): Likewise.
15882 [UNIX98] (vswscanf): Likewise.
15884 2012-11-09 Joseph Myers <joseph@codesourcery.com>
15886 * timezone/version.h: Remove file.
15887 * timezone/README: Do not refer to version.h.
15888 * timezone/Makefile ($(objpfx)zic.o): New dependency on
15889 $(objpfx)version.h.
15890 ($(objpfx)zdump.o): Likewise.
15891 ($(objpfx)version.h): New target.
15893 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
15895 * timezone/README: Don't mention modification to tzselect.ksh.
15896 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
15897 work on unmodified tzselect.ksh. Substitute version numbers in
15900 * Makefile (format-me): Remove.
15901 (INSTALL): Adjust indentation. Use commands directly instead of
15902 using $(format-me).
15904 * aclocal.m4 (ACX_PKGVERSION): New macro.
15905 (ACX_BUGURL): Likewise.
15906 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
15907 (PKGVERSION): New AC_DEFINE_UNQUOTED.
15908 (REPORT_BUGS_TO): Likewise.
15909 * configure: Regenerated.
15910 * config.h.in (PKGVERSION): New macro.
15911 (REPORT_BUGS_TO): Likewise.
15912 * config.make.in (PKGVERSION): New variable.
15913 (PKGVERSION_TEXI): Likewise.
15914 (REPORT_BUGS_TO): Likewise.
15915 (REPORT_BUGS_TEXI): Likewise.
15916 * Makefile (format-me): Use -I$(common-objpfx)manual.
15917 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
15918 ($(common-objpfx)manual/%): New target.
15919 (manual/%): Remove target.
15920 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
15921 (print_version): Use PKGVERSION.
15922 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
15923 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
15924 and REPORT_BUGS_TO.
15925 ($(objpfx)xtrace): Likewise.
15926 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
15927 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
15928 (print_version): Use PKGVERSION.
15929 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
15930 (do_version): Use PKGVERSION.
15931 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
15933 (common-ldd-rewrite): Likewise.
15934 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
15935 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
15936 (print_version): Use PKGVERSION.
15937 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
15938 * elf/pldd.c (argp_program_bug_address): Remove variable.
15939 (more_help): New function.
15940 (argp): Use more_help.
15941 (print_version): Use PKGVERSION.
15942 * elf/sln.c (main): Use PKGVERSION.
15943 (usage): Use REPORT_BUGS_TO.
15944 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
15945 (top level): Use PKGVERSION.
15946 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
15947 (print_version): Use PKGVERSION.
15948 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
15949 (print_version): Use PKGVERSION.
15950 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
15951 (print_version): Use PKGVERSION.
15952 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
15953 (print_version): Use PKGVERSION.
15954 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
15955 (print_version): Use PKGVERSION.
15956 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
15957 (print_version): Use PKGVERSION.
15958 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
15960 ($(objpfx)memusage): Likewise.
15961 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
15962 (do_version): Use PKGVERSION.
15963 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
15964 (print_version): Use PKGVERSION.
15965 * malloc/mtrace.pl ($PACKAGE): Remove variable.
15966 ($PKGVERSION): New variable.
15967 ($REPORT_BUGS_TO): Likewise.
15968 (usage): Use $REPORT_BUGS_TO.
15969 (top level): Use $PKGVERSION.
15970 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
15971 ($(objpfx)pkgvers.texi): New rule.
15972 ($(objpfx)stamp-pkgvers): Likewise.
15973 * manual/install.texi: Include pkgvers.texi.
15974 (--with-pkgversion): Document new configure option.
15975 (--with-bugurl): Likewise.
15976 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
15977 than necessarily for this particular distribution. Use
15978 REPORT_BUGS_TO for where to report bugs.
15979 * INSTALL: Regenerated.
15980 * manual/libc.texinfo: Include pkgvers.texi.
15981 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
15982 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
15983 (print_version): Use PKGVERSION.
15984 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
15985 (print_version): Use PKGVERSION.
15986 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
15987 (print_version): Use PKGVERSION.
15988 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
15989 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
15991 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
15992 (print_version): Use PKGVERSION.
15993 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
15994 (print_version): Use PKGVERSION.
15995 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
15998 * timezone/checktab.awk: Update from tzcode 2012i.
15999 * timezone/ialloc.c: Likewise.
16000 * timezone/private.h: Likewise.
16001 * timezone/scheck.c: Likewise.
16002 * timezone/tzfile.h: Likewise.
16003 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
16004 (TZVERSION): Hardcode tzcode version number.
16005 * timezone/zdump.c: Update from tzcode 2012i.
16006 * timezone/zic.c: Likewise.
16007 * timezone/version.h: New file.
16008 * timezone/README: Describe version.h. Update upstream location.
16011 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
16012 (mktemp): Enable declaration.
16013 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
16014 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
16015 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
16016 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
16018 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
16020 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
16022 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
16024 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
16026 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
16030 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
16031 offset in buffer as u_int32_t not u_long. Consistently use memcpy
16032 for copies of such integer values.
16033 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
16034 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
16036 2012-11-09 Andreas Jaeger <aj@suse.de>
16038 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
16039 definitions and declarations that are provided by
16040 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
16042 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16044 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
16045 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
16046 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
16049 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16051 * elf/elf.h: Update comment before AArch64 relocations.
16053 2012-11-07 David S. Miller <davem@davemloft.net>
16055 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
16056 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
16057 (__start_context): Declare.
16058 (__makecontext_ret): Delete.
16059 (__makecontext): Hook up __start_context instead of
16061 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
16062 (sysdep_routines): Add __start_context when in stdlib.
16064 2012-11-07 Joseph Myers <joseph@codesourcery.com>
16066 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
16067 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
16068 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
16070 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
16071 (READELF): New variable. Use it instead of hardcoded "readelf".
16073 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
16075 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
16076 * sysdeps/x86/Makefile: Here.
16077 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
16078 * sysdeps/x86/tst-xmmymm.sh: This.
16080 2012-11-07 Joseph Myers <joseph@codesourcery.com>
16082 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
16084 [UNIX98] (pthread_barrier_t): Do not expect.
16085 [UNIX98] (pthread_barrierattr_t): Likewise.
16086 [UNIX98] (pthread_spinlock_t): Likewise.
16087 [UNIX98] (pthread_barrier_destroy): Likewise.
16088 [UNIX98] (pthread_barrier_init): Likewise.
16089 [UNIX98] (pthread_barrier_wait): Likewise.
16090 [UNIX98] (pthread_barrierattr_destroy): Likewise.
16091 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
16092 [UNIX98] (pthread_barrierattr_init): Likewise.
16093 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
16094 [UNIX98] (pthread_getcpuclockid): Likewise.
16095 [UNIX98] (pthread_mutex_timedlock): Likewise.
16096 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
16097 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
16098 [UNIX98] (pthread_sigmask): Likewise.
16099 [UNIX98] (pthread_spin_destroy): Likewise.
16100 [UNIX98] (pthread_spin_init): Likewise.
16101 [UNIX98] (pthread_spin_lock): Likewise.
16102 [UNIX98] (pthread_spin_trylock): Likewise.
16103 [UNIX98] (pthread_spin_unlock): Likewise.
16104 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
16106 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
16107 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
16108 [XPG3 || XPG4] (pthread_cond_t): Likewise.
16109 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
16110 [XPG3 || XPG4] (pthread_key_t): Likewise.
16111 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
16112 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
16113 [XPG3 || XPG4] (pthread_once_t): Likewise.
16114 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
16115 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
16116 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
16117 [XPG3 || XPG4] (pthread_t): Likewise.
16119 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
16121 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
16123 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
16124 Change function return type to int.
16126 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
16127 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
16128 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
16129 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
16130 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
16131 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
16132 [!POSIX] (posix_madvise): Likewise.
16133 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
16135 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
16136 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
16137 (mode_t): Likewise.
16138 (posix_mem_offset): Likewise.
16139 (posix_typed_mem_get_info): Likewise.
16140 (posix_typed_mem_open): Likewise.
16142 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
16143 Change condition to [XOPEN2K8].
16145 * conform/conformtest.pl: Preprocess allow-header data with -x c
16146 instead of from stdin.
16147 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
16148 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
16149 [C99-based standards] (cerfc): Likewise.
16150 [C99-based standards] (cexp2): Likewise.
16151 [C99-based standards] (cexpm1): Likewise.
16152 [C99-based standards] (clog10): Likewise.
16153 [C99-based standards] (clog1p): Likewise.
16154 [C99-based standards] (clog2): Likewise.
16155 [C99-based standards] (clgamma): Likewise.
16156 [C99-based standards] (ctgamma): Likewise.
16157 [C99-based standards] (cerff): Likewise.
16158 [C99-based standards] (cerfcf): Likewise.
16159 [C99-based standards] (cexp2f): Likewise.
16160 [C99-based standards] (cexpm1f): Likewise.
16161 [C99-based standards] (clog10f): Likewise.
16162 [C99-based standards] (clog1pf): Likewise.
16163 [C99-based standards] (clog2f): Likewise.
16164 [C99-based standards] (clgammaf): Likewise.
16165 [C99-based standards] (ctgammaf): Likewise.
16166 [C99-based standards] (cerfl): Likewise.
16167 [C99-based standards] (cerfcl): Likewise.
16168 [C99-based standards] (cexp2l): Likewise.
16169 [C99-based standards] (cexpm1l): Likewise.
16170 [C99-based standards] (clog10l): Likewise.
16171 [C99-based standards] (clog1pl): Likewise.
16172 [C99-based standards] (clog2l): Likewise.
16173 [C99-based standards] (clgammal): Likewise.
16174 [C99-based standards] (ctgammal): Likewise.
16175 * conform/data/inttypes.h-data [C99-based standards]: Include
16176 stdint.h-data. Remove all expectations for stdint.h contents.
16177 [C99-based standards] (PRI*): Do not allow.
16178 [C99-based standards] (SCN*): Likewise.
16179 [C99-based standards] (*_t): Likewise.
16180 [C99-based-standards] (PRId8): Expect macro.
16181 [C99-based-standards] (PRIi8): Likewise.
16182 [C99-based-standards] (PRIo8): Likewise.
16183 [C99-based-standards] (PRIu8): Likewise.
16184 [C99-based-standards] (PRIx8): Likewise.
16185 [C99-based-standards] (PRIX8): Likewise.
16186 [C99-based-standards] (SCNd8): Likewise.
16187 [C99-based-standards] (SCNi8): Likewise.
16188 [C99-based-standards] (SCNo8): Likewise.
16189 [C99-based-standards] (SCNu8): Likewise.
16190 [C99-based-standards] (SCNx8): Likewise.
16191 [C99-based-standards] (PRIdLEAST8): Likewise.
16192 [C99-based-standards] (PRIiLEAST8): Likewise.
16193 [C99-based-standards] (PRIoLEAST8): Likewise.
16194 [C99-based-standards] (PRIuLEAST8): Likewise.
16195 [C99-based-standards] (PRIxLEAST8): Likewise.
16196 [C99-based-standards] (PRIXLEAST8): Likewise.
16197 [C99-based-standards] (SCNdLEAST8): Likewise.
16198 [C99-based-standards] (SCNiLEAST8): Likewise.
16199 [C99-based-standards] (SCNoLEAST8): Likewise.
16200 [C99-based-standards] (SCNuLEAST8): Likewise.
16201 [C99-based-standards] (SCNxLEAST8): Likewise.
16202 [C99-based-standards] (PRIdFAST8): Likewise.
16203 [C99-based-standards] (PRIiFAST8): Likewise.
16204 [C99-based-standards] (PRIoFAST8): Likewise.
16205 [C99-based-standards] (PRIuFAST8): Likewise.
16206 [C99-based-standards] (PRIxFAST8): Likewise.
16207 [C99-based-standards] (PRIXFAST8): Likewise.
16208 [C99-based-standards] (SCNdFAST8): Likewise.
16209 [C99-based-standards] (SCNiFAST8): Likewise.
16210 [C99-based-standards] (SCNoFAST8): Likewise.
16211 [C99-based-standards] (SCNuFAST8): Likewise.
16212 [C99-based-standards] (SCNxFAST8): Likewise.
16213 [C99-based-standards] (PRId16): Likewise.
16214 [C99-based-standards] (PRIi16): Likewise.
16215 [C99-based-standards] (PRIo16): Likewise.
16216 [C99-based-standards] (PRIu16): Likewise.
16217 [C99-based-standards] (PRIx16): Likewise.
16218 [C99-based-standards] (PRIX16): Likewise.
16219 [C99-based-standards] (SCNd16): Likewise.
16220 [C99-based-standards] (SCNi16): Likewise.
16221 [C99-based-standards] (SCNo16): Likewise.
16222 [C99-based-standards] (SCNu16): Likewise.
16223 [C99-based-standards] (SCNx16): Likewise.
16224 [C99-based-standards] (PRIdLEAST16): Likewise.
16225 [C99-based-standards] (PRIiLEAST16): Likewise.
16226 [C99-based-standards] (PRIoLEAST16): Likewise.
16227 [C99-based-standards] (PRIuLEAST16): Likewise.
16228 [C99-based-standards] (PRIxLEAST16): Likewise.
16229 [C99-based-standards] (PRIXLEAST16): Likewise.
16230 [C99-based-standards] (SCNdLEAST16): Likewise.
16231 [C99-based-standards] (SCNiLEAST16): Likewise.
16232 [C99-based-standards] (SCNoLEAST16): Likewise.
16233 [C99-based-standards] (SCNuLEAST16): Likewise.
16234 [C99-based-standards] (SCNxLEAST16): Likewise.
16235 [C99-based-standards] (PRIdFAST16): Likewise.
16236 [C99-based-standards] (PRIiFAST16): Likewise.
16237 [C99-based-standards] (PRIoFAST16): Likewise.
16238 [C99-based-standards] (PRIuFAST16): Likewise.
16239 [C99-based-standards] (PRIxFAST16): Likewise.
16240 [C99-based-standards] (PRIXFAST16): Likewise.
16241 [C99-based-standards] (SCNdFAST16): Likewise.
16242 [C99-based-standards] (SCNiFAST16): Likewise.
16243 [C99-based-standards] (SCNoFAST16): Likewise.
16244 [C99-based-standards] (SCNuFAST16): Likewise.
16245 [C99-based-standards] (SCNxFAST16): Likewise.
16246 [C99-based-standards] (PRId32): Likewise.
16247 [C99-based-standards] (PRIi32): Likewise.
16248 [C99-based-standards] (PRIo32): Likewise.
16249 [C99-based-standards] (PRIu32): Likewise.
16250 [C99-based-standards] (PRIx32): Likewise.
16251 [C99-based-standards] (PRIX32): Likewise.
16252 [C99-based-standards] (SCNd32): Likewise.
16253 [C99-based-standards] (SCNi32): Likewise.
16254 [C99-based-standards] (SCNo32): Likewise.
16255 [C99-based-standards] (SCNu32): Likewise.
16256 [C99-based-standards] (SCNx32): Likewise.
16257 [C99-based-standards] (PRIdLEAST32): Likewise.
16258 [C99-based-standards] (PRIiLEAST32): Likewise.
16259 [C99-based-standards] (PRIoLEAST32): Likewise.
16260 [C99-based-standards] (PRIuLEAST32): Likewise.
16261 [C99-based-standards] (PRIxLEAST32): Likewise.
16262 [C99-based-standards] (PRIXLEAST32): Likewise.
16263 [C99-based-standards] (SCNdLEAST32): Likewise.
16264 [C99-based-standards] (SCNiLEAST32): Likewise.
16265 [C99-based-standards] (SCNoLEAST32): Likewise.
16266 [C99-based-standards] (SCNuLEAST32): Likewise.
16267 [C99-based-standards] (SCNxLEAST32): Likewise.
16268 [C99-based-standards] (PRIdFAST32): Likewise.
16269 [C99-based-standards] (PRIiFAST32): Likewise.
16270 [C99-based-standards] (PRIoFAST32): Likewise.
16271 [C99-based-standards] (PRIuFAST32): Likewise.
16272 [C99-based-standards] (PRIxFAST32): Likewise.
16273 [C99-based-standards] (PRIXFAST32): Likewise.
16274 [C99-based-standards] (SCNdFAST32): Likewise.
16275 [C99-based-standards] (SCNiFAST32): Likewise.
16276 [C99-based-standards] (SCNoFAST32): Likewise.
16277 [C99-based-standards] (SCNuFAST32): Likewise.
16278 [C99-based-standards] (SCNxFAST32): Likewise.
16279 [C99-based-standards] (PRId64): Likewise.
16280 [C99-based-standards] (PRIi64): Likewise.
16281 [C99-based-standards] (PRIo64): Likewise.
16282 [C99-based-standards] (PRIu64): Likewise.
16283 [C99-based-standards] (PRIx64): Likewise.
16284 [C99-based-standards] (PRIX64): Likewise.
16285 [C99-based-standards] (SCNd64): Likewise.
16286 [C99-based-standards] (SCNi64): Likewise.
16287 [C99-based-standards] (SCNo64): Likewise.
16288 [C99-based-standards] (SCNu64): Likewise.
16289 [C99-based-standards] (SCNx64): Likewise.
16290 [C99-based-standards] (PRIdLEAST64): Likewise.
16291 [C99-based-standards] (PRIiLEAST64): Likewise.
16292 [C99-based-standards] (PRIoLEAST64): Likewise.
16293 [C99-based-standards] (PRIuLEAST64): Likewise.
16294 [C99-based-standards] (PRIxLEAST64): Likewise.
16295 [C99-based-standards] (PRIXLEAST64): Likewise.
16296 [C99-based-standards] (SCNdLEAST64): Likewise.
16297 [C99-based-standards] (SCNiLEAST64): Likewise.
16298 [C99-based-standards] (SCNoLEAST64): Likewise.
16299 [C99-based-standards] (SCNuLEAST64): Likewise.
16300 [C99-based-standards] (SCNxLEAST64): Likewise.
16301 [C99-based-standards] (PRIdFAST64): Likewise.
16302 [C99-based-standards] (PRIiFAST64): Likewise.
16303 [C99-based-standards] (PRIoFAST64): Likewise.
16304 [C99-based-standards] (PRIuFAST64): Likewise.
16305 [C99-based-standards] (PRIxFAST64): Likewise.
16306 [C99-based-standards] (PRIXFAST64): Likewise.
16307 [C99-based-standards] (SCNdFAST64): Likewise.
16308 [C99-based-standards] (SCNiFAST64): Likewise.
16309 [C99-based-standards] (SCNoFAST64): Likewise.
16310 [C99-based-standards] (SCNuFAST64): Likewise.
16311 [C99-based-standards] (SCNxFAST64): Likewise.
16312 [C99-based-standards] (PRIdMAX): Likewise.
16313 [C99-based-standards] (PRIiMAX): Likewise.
16314 [C99-based-standards] (PRIoMAX): Likewise.
16315 [C99-based-standards] (PRIuMAX): Likewise.
16316 [C99-based-standards] (PRIxMAX): Likewise.
16317 [C99-based-standards] (PRIXMAX): Likewise.
16318 [C99-based-standards] (SCNdMAX): Likewise.
16319 [C99-based-standards] (SCNiMAX): Likewise.
16320 [C99-based-standards] (SCNoMAX): Likewise.
16321 [C99-based-standards] (SCNuMAX): Likewise.
16322 [C99-based-standards] (SCNxMAX): Likewise.
16323 [C99-based-standards] (PRIdPTR): Likewise.
16324 [C99-based-standards] (PRIiPTR): Likewise.
16325 [C99-based-standards] (PRIoPTR): Likewise.
16326 [C99-based-standards] (PRIuPTR): Likewise.
16327 [C99-based-standards] (PRIxPTR): Likewise.
16328 [C99-based-standards] (PRIXPTR): Likewise.
16329 [C99-based-standards] (SCNdPTR): Likewise.
16330 [C99-based-standards] (SCNiPTR): Likewise.
16331 [C99-based-standards] (SCNoPTR): Likewise.
16332 [C99-based-standards] (SCNuPTR): Likewise.
16333 [C99-based-standards] (SCNxPTR): Likewise.
16334 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
16336 * conform/data/stdint.h-data: Update comments to clarify
16338 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
16340 [C99-based standards] (INT8_MAX): Likewise.
16341 [C99-based standards] (INT16_MIN): Likewise.
16342 [C99-based standards] (INT16_MAX): Likewise.
16343 [C99-based standards] (INT32_MIN): Likewise.
16344 [C99-based standards] (INT32_MAX): Likewise.
16345 [C99-based standards] (INT64_MIN): Likewise.
16346 [C99-based standards] (INT64_MAX): Likewise.
16347 [C99-based standards] (UINT8_MAX): Likewise.
16348 [C99-based standards] (UINT16_MAX): Likewise.
16349 [C99-based standards] (UINT32_MAX): Likewise.
16350 [C99-based standards] (UINT64_MAX): Likewise.
16351 [C99-based standards] (INT_LEAST8_MIN): Likewise.
16352 [C99-based standards] (INT_LEAST8_MAX): Likewise.
16353 [C99-based standards] (INT_LEAST16_MIN): Likewise.
16354 [C99-based standards] (INT_LEAST16_MAX): Likewise.
16355 [C99-based standards] (INT_LEAST32_MIN): Likewise.
16356 [C99-based standards] (INT_LEAST32_MAX): Likewise.
16357 [C99-based standards] (INT_LEAST64_MIN): Likewise.
16358 [C99-based standards] (INT_LEAST64_MAX): Likewise.
16359 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
16360 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
16361 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
16362 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
16363 [C99-based standards] (INT_FAST8_MIN): Likewise.
16364 [C99-based standards] (INT_FAST8_MAX): Likewise.
16365 [C99-based standards] (INT_FAST16_MIN): Likewise.
16366 [C99-based standards] (INT_FAST16_MAX): Likewise.
16367 [C99-based standards] (INT_FAST32_MIN): Likewise.
16368 [C99-based standards] (INT_FAST32_MAX): Likewise.
16369 [C99-based standards] (INT_FAST64_MIN): Likewise.
16370 [C99-based standards] (INT_FAST64_MAX): Likewise.
16371 [C99-based standards] (UINT_FAST8_MAX): Likewise.
16372 [C99-based standards] (UINT_FAST16_MAX): Likewise.
16373 [C99-based standards] (UINT_FAST32_MAX): Likewise.
16374 [C99-based standards] (UINT_FAST64_MAX): Likewise.
16375 [C99-based standards] (INTPTR_MIN): Likewise.
16376 [C99-based standards] (INTPTR_MAX): Likewise.
16377 [C99-based standards] (UINTPTR_MAX): Likewise.
16378 [C99-based standards] (INTMAX_MIN): Likewise.
16379 [C99-based standards] (INTMAX_MAX): Likewise.
16380 [C99-based standards] (UINTMAX_MAX): Likewise.
16381 [C99-based standards] (PTRDIFF_MIN): Likewise.
16382 [C99-based standards] (PTRDIFF_MAX): Likewise.
16383 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
16384 [C99-based standards] (SIZE_MAX): Likewise.
16385 [C99-based standards] (WCHAR_MAX): Likewise.
16386 [C99-based standards] (WINT_MAX): Likewise.
16387 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
16388 constraint on value.
16389 [C99-based standards] (WCHAR_MIN): Likewise.
16390 [C99-based standards] (WINT_MIN): Likewise.
16391 [C99-based standards] (*_t): Allow.
16392 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
16393 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
16394 Include math.h-data and complex.h-data. Remove all expectations
16395 of math.h and complex.h contents.
16396 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
16398 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
16399 (struct tm): Expect tag.
16400 [C99-based-standards] (wcstof): Expect function.
16401 [C99-based-standards] (wcstold): Likewise.
16402 [C99-based-standards] (wcstoll): Likewise.
16403 [C99-based-standards] (wcstoull): Likewise.
16404 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
16405 macro-int-constant. Specify type.
16406 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
16407 constraint on value.
16408 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
16410 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
16412 [ISO C standards]: Do not allow headers.
16413 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
16414 wcs[abcdefghijklmnopqrstuvwxyz]*.
16415 [ISO C standards] (*_t): Do not allow.
16416 * conform/data/wctype.h-data [C99-based standards] (iswblank):
16418 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
16419 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
16421 [ISO C standards]: Do not allow headers.
16422 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
16423 is[abcdefghijklmnopqrstuvwxyz]*.
16424 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
16425 to[abcdefghijklmnopqrstuvwxyz]*.
16426 [ISO C standards] (*_t): Do not allow.
16427 * conform/data/stdalign.h-data: New file.
16428 * conform/data/stdbool.h-data: Likewise.
16429 * conform/data/stdnoreturn.h-data: Likewise.
16431 2012-11-07 Roland McGrath <roland@hack.frob.com>
16434 * manual/filesys.texi (Directory Entries): Typo fix.
16435 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
16437 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16439 * elf/elf.h (EM_AARCH64): New macro.
16440 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
16441 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
16442 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
16443 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
16444 (R_AARCH64_TLSDESC): Likewise.
16445 (NT_ARM_TLS): Likewise.
16446 (NT_ARM_HW_BREAK): Likewise.
16447 (NT_ARM_HW_WATCH): Likewise.
16449 2012-11-07 Joseph Myers <joseph@codesourcery.com>
16452 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
16453 (__ieee754_powl): Saturate nonzero exponents with absolute value
16454 below 0x1p-79 to +/- 0x1p-79.
16455 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
16456 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
16457 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
16458 nonzero exponents with absolute value below 0x1p-32 to +/-
16460 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
16461 (__ieee754_powl): Saturate nonzero exponents with absolute value
16462 below 0x1p-79 to +/- 0x1p-79.
16463 * math/libm-test.inc (pow_test): Add more tests.
16465 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16467 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
16468 _dl_s390_cap_flags with kernel. Increase string length.
16469 (_dl_s390_platforms): Add z196 and zEC12.
16471 2012-11-07 Joseph Myers <joseph@codesourcery.com>
16473 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
16474 Change XOPEN21K to XOPEN2K.
16476 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
16478 * string/memmove.c: Use memcpy when possible.
16480 2012-11-06 Andreas Jaeger <aj@suse.de>
16482 * po/eo.po: Update from translation team.
16484 2012-11-06 Joseph Myers <joseph@codesourcery.com>
16487 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
16488 exponent and small x and y exponents, scale x or y up. Increase
16489 by 2 the exponent used in scaling up.
16490 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16491 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16492 * math/libm-test.inc (fma_test): Add more tests.
16493 (fma_test_towardzero): Likewise.
16494 (fma_test_downward): Likewise.
16495 (fma_test_upward): Likewise.
16497 2012-11-05 Joseph Myers <joseph@codesourcery.com>
16500 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
16504 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
16505 namespace for names of struct fields.
16506 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
16508 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
16509 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
16511 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
16514 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
16516 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
16518 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
16522 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
16525 2012-11-04 Joseph Myers <joseph@codesourcery.com>
16528 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
16529 definitely overflow as x * y not x * y + z.
16530 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16531 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16532 * math/libm-test.inc (fma_test): Add more tests.
16533 (fma_test_towardzero): Likewise.
16534 (fma_test_downward): Likewise.
16535 (fma_test_upward): Likewise.
16537 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
16541 * include/stub-tag.h: Remove file.
16542 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
16544 * manual/maint.texi (Porting): Don't reference it.
16545 * Makerules ($(objpfx)stubs): Likewise.
16546 * dirent/closedir.c: Don't include <stub-tag.h>.
16547 * dirent/dirfd.c: Likewise.
16548 * dirent/fdopendir.c: Likewise.
16549 * dirent/getdents.c: Likewise.
16550 * dirent/getdents64.c: Likewise.
16551 * dirent/opendir.c: Likewise.
16552 * dirent/readdir.c: Likewise.
16553 * dirent/readdir64.c: Likewise.
16554 * dirent/readdir64_r.c: Likewise.
16555 * dirent/readdir_r.c: Likewise.
16556 * dirent/rewinddir.c: Likewise.
16557 * dirent/seekdir.c: Likewise.
16558 * dirent/telldir.c: Likewise.
16559 * gmon/profil.c: Likewise.
16560 * grp/setgroups.c: Likewise.
16561 * inet/if_index.c: Likewise.
16562 * io/access.c: Likewise.
16563 * io/chdir.c: Likewise.
16564 * io/chmod.c: Likewise.
16565 * io/chown.c: Likewise.
16566 * io/close.c: Likewise.
16567 * io/dup.c: Likewise.
16568 * io/dup2.c: Likewise.
16569 * io/dup3.c: Likewise.
16570 * io/euidaccess.c: Likewise.
16571 * io/faccessat.c: Likewise.
16572 * io/fchdir.c: Likewise.
16573 * io/fchmod.c: Likewise.
16574 * io/fchmodat.c: Likewise.
16575 * io/fchown.c: Likewise.
16576 * io/fchownat.c: Likewise.
16577 * io/fcntl.c: Likewise.
16578 * io/flock.c: Likewise.
16579 * io/fstatfs.c: Likewise.
16580 * io/fstatfs64.c: Likewise.
16581 * io/fstatvfs.c: Likewise.
16582 * io/fstatvfs64.c: Likewise.
16583 * io/futimens.c: Likewise.
16584 * io/fxstat.c: Likewise.
16585 * io/fxstat64.c: Likewise.
16586 * io/fxstatat.c: Likewise.
16587 * io/fxstatat64.c: Likewise.
16588 * io/getcwd.c: Likewise.
16589 * io/isatty.c: Likewise.
16590 * io/lchmod.c: Likewise.
16591 * io/lchown.c: Likewise.
16592 * io/link.c: Likewise.
16593 * io/linkat.c: Likewise.
16594 * io/lseek.c: Likewise.
16595 * io/lseek64.c: Likewise.
16596 * io/lxstat64.c: Likewise.
16597 * io/mkdir.c: Likewise.
16598 * io/mkdirat.c: Likewise.
16599 * io/mkfifo.c: Likewise.
16600 * io/mkfifoat.c: Likewise.
16601 * io/open.c: Likewise.
16602 * io/open64.c: Likewise.
16603 * io/openat.c: Likewise.
16604 * io/openat64.c: Likewise.
16605 * io/pipe.c: Likewise.
16606 * io/pipe2.c: Likewise.
16607 * io/poll.c: Likewise.
16608 * io/posix_fadvise.c: Likewise.
16609 * io/posix_fadvise64.c: Likewise.
16610 * io/posix_fallocate.c: Likewise.
16611 * io/posix_fallocate64.c: Likewise.
16612 * io/read.c: Likewise.
16613 * io/readlink.c: Likewise.
16614 * io/readlinkat.c: Likewise.
16615 * io/rmdir.c: Likewise.
16616 * io/sendfile.c: Likewise.
16617 * io/sendfile64.c: Likewise.
16618 * io/statfs.c: Likewise.
16619 * io/statfs64.c: Likewise.
16620 * io/statvfs.c: Likewise.
16621 * io/statvfs64.c: Likewise.
16622 * io/symlink.c: Likewise.
16623 * io/symlinkat.c: Likewise.
16624 * io/ttyname.c: Likewise.
16625 * io/ttyname_r.c: Likewise.
16626 * io/umask.c: Likewise.
16627 * io/unlink.c: Likewise.
16628 * io/unlinkat.c: Likewise.
16629 * io/utime.c: Likewise.
16630 * io/utimensat.c: Likewise.
16631 * io/write.c: Likewise.
16632 * io/xmknod.c: Likewise.
16633 * io/xmknodat.c: Likewise.
16634 * io/xstat.c: Likewise.
16635 * io/xstat64.c: Likewise.
16636 * login/getpt.c: Likewise.
16637 * login/grantpt.c: Likewise.
16638 * login/unlockpt.c: Likewise.
16639 * math/e_acoshl.c: Likewise.
16640 * math/e_acosl.c: Likewise.
16641 * math/e_asinl.c: Likewise.
16642 * math/e_atan2l.c: Likewise.
16643 * math/e_atanhl.c: Likewise.
16644 * math/e_coshl.c: Likewise.
16645 * math/e_expl.c: Likewise.
16646 * math/e_fmodl.c: Likewise.
16647 * math/e_gammal_r.c: Likewise.
16648 * math/e_hypotl.c: Likewise.
16649 * math/e_j0l.c: Likewise.
16650 * math/e_j1l.c: Likewise.
16651 * math/e_jnl.c: Likewise.
16652 * math/e_lgammal_r.c: Likewise.
16653 * math/e_log10l.c: Likewise.
16654 * math/e_log2l.c: Likewise.
16655 * math/e_logl.c: Likewise.
16656 * math/e_powl.c: Likewise.
16657 * math/e_rem_pio2l.c: Likewise.
16658 * math/e_sinhl.c: Likewise.
16659 * math/e_sqrtl.c: Likewise.
16660 * math/fclrexcpt.c: Likewise.
16661 * math/fedisblxcpt.c: Likewise.
16662 * math/feenablxcpt.c: Likewise.
16663 * math/fegetenv.c: Likewise.
16664 * math/fegetexcept.c: Likewise.
16665 * math/fegetround.c: Likewise.
16666 * math/feholdexcpt.c: Likewise.
16667 * math/fesetenv.c: Likewise.
16668 * math/fesetround.c: Likewise.
16669 * math/feupdateenv.c: Likewise.
16670 * math/fgetexcptflg.c: Likewise.
16671 * math/fraiseexcpt.c: Likewise.
16672 * math/fsetexcptflg.c: Likewise.
16673 * math/ftestexcept.c: Likewise.
16674 * math/k_cosl.c: Likewise.
16675 * math/k_rem_pio2l.c: Likewise.
16676 * math/k_sinl.c: Likewise.
16677 * math/k_tanl.c: Likewise.
16678 * math/s_asinhl.c: Likewise.
16679 * math/s_atanl.c: Likewise.
16680 * math/s_cbrtl.c: Likewise.
16681 * math/s_erfl.c: Likewise.
16682 * math/s_expm1l.c: Likewise.
16683 * math/s_log1pl.c: Likewise.
16684 * math/s_tanhl.c: Likewise.
16685 * misc/acct.c: Likewise.
16686 * misc/brk.c: Likewise.
16687 * misc/chflags.c: Likewise.
16688 * misc/chroot.c: Likewise.
16689 * misc/fchflags.c: Likewise.
16690 * misc/fgetxattr.c: Likewise.
16691 * misc/flistxattr.c: Likewise.
16692 * misc/fremovexattr.c: Likewise.
16693 * misc/fsetxattr.c: Likewise.
16694 * misc/fsync.c: Likewise.
16695 * misc/ftruncate.c: Likewise.
16696 * misc/futimes.c: Likewise.
16697 * misc/futimesat.c: Likewise.
16698 * misc/getdomain.c: Likewise.
16699 * misc/getdtsz.c: Likewise.
16700 * misc/gethostid.c: Likewise.
16701 * misc/gethostname.c: Likewise.
16702 * misc/getloadavg.c: Likewise.
16703 * misc/getpagesize.c: Likewise.
16704 * misc/getsysstats.c: Likewise.
16705 * misc/getxattr.c: Likewise.
16706 * misc/gtty.c: Likewise.
16707 * misc/ioctl.c: Likewise.
16708 * misc/lgetxattr.c: Likewise.
16709 * misc/listxattr.c: Likewise.
16710 * misc/llistxattr.c: Likewise.
16711 * misc/lremovexattr.c: Likewise.
16712 * misc/lsetxattr.c: Likewise.
16713 * misc/lutimes.c: Likewise.
16714 * misc/madvise.c: Likewise.
16715 * misc/mincore.c: Likewise.
16716 * misc/mlock.c: Likewise.
16717 * misc/mlockall.c: Likewise.
16718 * misc/mmap.c: Likewise.
16719 * misc/mprotect.c: Likewise.
16720 * misc/msync.c: Likewise.
16721 * misc/munlock.c: Likewise.
16722 * misc/munlockall.c: Likewise.
16723 * misc/munmap.c: Likewise.
16724 * misc/preadv.c: Likewise.
16725 * misc/preadv64.c: Likewise.
16726 * misc/ptrace.c: Likewise.
16727 * misc/pwritev.c: Likewise.
16728 * misc/pwritev64.c: Likewise.
16729 * misc/readv.c: Likewise.
16730 * misc/reboot.c: Likewise.
16731 * misc/remap_file_pages.c: Likewise.
16732 * misc/removexattr.c: Likewise.
16733 * misc/revoke.c: Likewise.
16734 * misc/select.c: Likewise.
16735 * misc/setdomain.c: Likewise.
16736 * misc/setegid.c: Likewise.
16737 * misc/seteuid.c: Likewise.
16738 * misc/sethostid.c: Likewise.
16739 * misc/sethostname.c: Likewise.
16740 * misc/setregid.c: Likewise.
16741 * misc/setreuid.c: Likewise.
16742 * misc/setxattr.c: Likewise.
16743 * misc/sstk.c: Likewise.
16744 * misc/stty.c: Likewise.
16745 * misc/swapoff.c: Likewise.
16746 * misc/swapon.c: Likewise.
16747 * misc/sync.c: Likewise.
16748 * misc/syncfs.c: Likewise.
16749 * misc/syscall.c: Likewise.
16750 * misc/truncate.c: Likewise.
16751 * misc/ualarm.c: Likewise.
16752 * misc/usleep.c: Likewise.
16753 * misc/ustat.c: Likewise.
16754 * misc/utimes.c: Likewise.
16755 * misc/vhangup.c: Likewise.
16756 * misc/writev.c: Likewise.
16757 * posix/_exit.c: Likewise.
16758 * posix/alarm.c: Likewise.
16759 * posix/execve.c: Likewise.
16760 * posix/fexecve.c: Likewise.
16761 * posix/fork.c: Likewise.
16762 * posix/fpathconf.c: Likewise.
16763 * posix/getaddrinfo.c: Likewise.
16764 * posix/getegid.c: Likewise.
16765 * posix/geteuid.c: Likewise.
16766 * posix/getgid.c: Likewise.
16767 * posix/getgroups.c: Likewise.
16768 * posix/getlogin.c: Likewise.
16769 * posix/getlogin_r.c: Likewise.
16770 * posix/getpgid.c: Likewise.
16771 * posix/getpid.c: Likewise.
16772 * posix/getppid.c: Likewise.
16773 * posix/getresgid.c: Likewise.
16774 * posix/getresuid.c: Likewise.
16775 * posix/getsid.c: Likewise.
16776 * posix/getuid.c: Likewise.
16777 * posix/glob64.c: Likewise.
16778 * posix/nanosleep.c: Likewise.
16779 * posix/pathconf.c: Likewise.
16780 * posix/pause.c: Likewise.
16781 * posix/posix_madvise.c: Likewise.
16782 * posix/pread.c: Likewise.
16783 * posix/pread64.c: Likewise.
16784 * posix/pwrite.c: Likewise.
16785 * posix/pwrite64.c: Likewise.
16786 * posix/sched_getaffinity.c: Likewise.
16787 * posix/sched_getp.c: Likewise.
16788 * posix/sched_gets.c: Likewise.
16789 * posix/sched_primax.c: Likewise.
16790 * posix/sched_primin.c: Likewise.
16791 * posix/sched_rr_gi.c: Likewise.
16792 * posix/sched_setaffinity.c: Likewise.
16793 * posix/sched_setp.c: Likewise.
16794 * posix/sched_sets.c: Likewise.
16795 * posix/sched_yield.c: Likewise.
16796 * posix/setgid.c: Likewise.
16797 * posix/setlogin.c: Likewise.
16798 * posix/setpgid.c: Likewise.
16799 * posix/setresgid.c: Likewise.
16800 * posix/setresuid.c: Likewise.
16801 * posix/setsid.c: Likewise.
16802 * posix/setuid.c: Likewise.
16803 * posix/sleep.c: Likewise.
16804 * posix/spawni.c: Likewise.
16805 * posix/sysconf.c: Likewise.
16806 * posix/times.c: Likewise.
16807 * posix/wait.c: Likewise.
16808 * posix/wait3.c: Likewise.
16809 * posix/wait4.c: Likewise.
16810 * posix/waitpid.c: Likewise.
16811 * resolv/gai_sigqueue.c: Likewise.
16812 * resource/getpriority.c: Likewise.
16813 * resource/getrlimit.c: Likewise.
16814 * resource/getrusage.c: Likewise.
16815 * resource/nice.c: Likewise.
16816 * resource/setpriority.c: Likewise.
16817 * resource/setrlimit.c: Likewise.
16818 * resource/ulimit.c: Likewise.
16819 * rt/aio_cancel.c: Likewise.
16820 * rt/aio_fsync.c: Likewise.
16821 * rt/aio_read.c: Likewise.
16822 * rt/aio_sigqueue.c: Likewise.
16823 * rt/aio_suspend.c: Likewise.
16824 * rt/aio_write.c: Likewise.
16825 * rt/clock_getres.c: Likewise.
16826 * rt/clock_gettime.c: Likewise.
16827 * rt/clock_nanosleep.c: Likewise.
16828 * rt/clock_settime.c: Likewise.
16829 * rt/lio_listio.c: Likewise.
16830 * rt/mq_close.c: Likewise.
16831 * rt/mq_getattr.c: Likewise.
16832 * rt/mq_notify.c: Likewise.
16833 * rt/mq_open.c: Likewise.
16834 * rt/mq_receive.c: Likewise.
16835 * rt/mq_send.c: Likewise.
16836 * rt/mq_setattr.c: Likewise.
16837 * rt/mq_timedreceive.c: Likewise.
16838 * rt/mq_timedsend.c: Likewise.
16839 * rt/mq_unlink.c: Likewise.
16840 * rt/shm_open.c: Likewise.
16841 * rt/shm_unlink.c: Likewise.
16842 * rt/timer_create.c: Likewise.
16843 * rt/timer_delete.c: Likewise.
16844 * rt/timer_getoverr.c: Likewise.
16845 * rt/timer_gettime.c: Likewise.
16846 * rt/timer_settime.c: Likewise.
16847 * setjmp/__longjmp.c: Likewise.
16848 * setjmp/setjmp.c: Likewise.
16849 * signal/kill.c: Likewise.
16850 * signal/killpg.c: Likewise.
16851 * signal/raise.c: Likewise.
16852 * signal/sigaction.c: Likewise.
16853 * signal/sigaltstack.c: Likewise.
16854 * signal/sigblock.c: Likewise.
16855 * signal/sigignore.c: Likewise.
16856 * signal/sigintr.c: Likewise.
16857 * signal/signal.c: Likewise.
16858 * signal/sigpause.c: Likewise.
16859 * signal/sigpending.c: Likewise.
16860 * signal/sigqueue.c: Likewise.
16861 * signal/sigreturn.c: Likewise.
16862 * signal/sigset.c: Likewise.
16863 * signal/sigsetmask.c: Likewise.
16864 * signal/sigstack.c: Likewise.
16865 * signal/sigsuspend.c: Likewise.
16866 * signal/sigtimedwait.c: Likewise.
16867 * signal/sigvec.c: Likewise.
16868 * signal/sigwait.c: Likewise.
16869 * signal/sigwaitinfo.c: Likewise.
16870 * signal/sysv_signal.c: Likewise.
16871 * socket/accept.c: Likewise.
16872 * socket/accept4.c: Likewise.
16873 * socket/bind.c: Likewise.
16874 * socket/connect.c: Likewise.
16875 * socket/getpeername.c: Likewise.
16876 * socket/getsockname.c: Likewise.
16877 * socket/getsockopt.c: Likewise.
16878 * socket/isfdtype.c: Likewise.
16879 * socket/listen.c: Likewise.
16880 * socket/recv.c: Likewise.
16881 * socket/recvfrom.c: Likewise.
16882 * socket/recvmsg.c: Likewise.
16883 * socket/send.c: Likewise.
16884 * socket/sendmsg.c: Likewise.
16885 * socket/sendto.c: Likewise.
16886 * socket/setsockopt.c: Likewise.
16887 * socket/shutdown.c: Likewise.
16888 * socket/sockatmark.c: Likewise.
16889 * socket/socket.c: Likewise.
16890 * socket/socketpair.c: Likewise.
16891 * stdio-common/ctermid.c: Likewise.
16892 * stdio-common/cuserid.c: Likewise.
16893 * stdio-common/remove.c: Likewise.
16894 * stdio-common/rename.c: Likewise.
16895 * stdio-common/renameat.c: Likewise.
16896 * stdio-common/tempname.c: Likewise.
16897 * stdlib/getcontext.c: Likewise.
16898 * stdlib/makecontext.c: Likewise.
16899 * stdlib/setcontext.c: Likewise.
16900 * stdlib/swapcontext.c: Likewise.
16901 * stdlib/system.c: Likewise.
16902 * streams/fattach.c: Likewise.
16903 * streams/fdetach.c: Likewise.
16904 * streams/getmsg.c: Likewise.
16905 * streams/getpmsg.c: Likewise.
16906 * streams/putmsg.c: Likewise.
16907 * streams/putpmsg.c: Likewise.
16908 * sysdeps/unix/bsd/getpt.c: Likewise.
16909 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
16910 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
16911 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
16912 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
16914 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
16915 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
16916 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
16917 * sysvipc/msgctl.c: Likewise.
16918 * sysvipc/msgget.c: Likewise.
16919 * sysvipc/msgrcv.c: Likewise.
16920 * sysvipc/msgsnd.c: Likewise.
16921 * sysvipc/semctl.c: Likewise.
16922 * sysvipc/semget.c: Likewise.
16923 * sysvipc/semop.c: Likewise.
16924 * sysvipc/semtimedop.c: Likewise.
16925 * sysvipc/shmat.c: Likewise.
16926 * sysvipc/shmctl.c: Likewise.
16927 * sysvipc/shmdt.c: Likewise.
16928 * sysvipc/shmget.c: Likewise.
16929 * termios/tcdrain.c: Likewise.
16930 * termios/tcflow.c: Likewise.
16931 * termios/tcflush.c: Likewise.
16932 * termios/tcgetattr.c: Likewise.
16933 * termios/tcgetpgrp.c: Likewise.
16934 * termios/tcsendbrk.c: Likewise.
16935 * termios/tcsetattr.c: Likewise.
16936 * termios/tcsetpgrp.c: Likewise.
16937 * time/adjtime.c: Likewise.
16938 * time/clock.c: Likewise.
16939 * time/getitimer.c: Likewise.
16940 * time/gettimeofday.c: Likewise.
16941 * time/setitimer.c: Likewise.
16942 * time/settimeofday.c: Likewise.
16943 * time/stime.c: Likewise.
16944 * time/time.c: Likewise.
16946 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
16948 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
16951 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
16953 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
16955 2012-11-03 Joseph Myers <joseph@codesourcery.com>
16958 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
16959 FE_TONEAREST before applying Dekker multiplication and Knuth
16960 addition. Clear inexact exceptions and check for exact zero
16961 results afterwards.
16962 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16963 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
16964 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16965 * math/libm-test.inc (fma_test): Add more tests.
16966 (fma_test_towardzero): Likewise.
16967 (fma_test_downward): Likewise.
16968 (fma_test_upward): Likewise.
16969 * sysdeps/generic/math_private.h (default_libc_fesetround): New
16971 (libc_fesetround): New macro.
16972 (libc_fesetroundf): Likewise.
16973 (libc_fesetroundl): Likewise.
16974 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
16976 (libc_fesetround_387): Likewise.
16977 (libc_fesetroundf): New macro.
16978 (libc_fesetround): Likewise.
16979 (libc_fesetroundl): Likewise.
16980 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
16982 (libc_fesetroundf): New macro.
16983 (libc_fesetround): Likewise.
16984 (libc_fesetroundl): Likewise.
16985 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
16986 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
16987 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
16989 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
16990 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
16992 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
16993 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
16995 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
16999 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
17000 integer constant usable in #if and use that to give value to enum
17002 (FE_DIVBYZERO): Likewise.
17003 (FE_UNDERFLOW): Likewise.
17004 (FE_OVERFLOW): Likewise.
17005 (FE_INVALID): Likewise.
17006 (FE_INVALID_SNAN): Likewise.
17007 (FE_INVALID_ISI): Likewise.
17008 (FE_INVALID_IDI): Likewise.
17009 (FE_INVALID_ZDZ): Likewise.
17010 (FE_INVALID_IMZ): Likewise.
17011 (FE_INVALID_COMPARE): Likewise.
17012 (FE_INVALID_SOFTWARE): Likewise.
17013 (FE_INVALID_SQRT): Likewise.
17014 (FE_INVALID_INTEGER_CONVERSION): Likewise.
17015 (FE_TONEAREST): Likewise.
17016 (FE_TOWARDZERO): Likewise.
17017 (FE_UPWARD): Likewise.
17018 (FE_DOWNWARD): Likewise.
17019 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
17020 (FE_DIVBYZERO): Likewise.
17021 (FE_OVERFLOW): Likewise.
17022 (FE_UNDERFLOW): Likewise.
17023 (FE_INEXACT): Likewise.
17024 (FE_TONEAREST): Likewise.
17025 (FE_DOWNWARD): Likewise.
17026 (FE_UPWARD): Likewise.
17027 (FE_TOWARDZERO): Likewise.
17028 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
17029 (FE_UNDERFLOW): Likewise.
17030 (FE_OVERFLOW): Likewise.
17031 (FE_DIVBYZERO): Likewise.
17032 (FE_INVALID): Likewise.
17033 (FE_TONEAREST): Likewise.
17034 (FE_TOWARDZERO): Likewise.
17035 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
17036 (FE_OVERFLOW): Likewise.
17037 (FE_UNDERFLOW): Likewise.
17038 (FE_DIVBYZERO): Likewise.
17039 (FE_INEXACT): Likewise.
17040 (FE_TONEAREST): Likewise.
17041 (FE_TOWARDZERO): Likewise.
17042 (FE_UPWARD): Likewise.
17043 (FE_DOWNWARD): Likewise.
17044 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
17045 (FE_DIVBYZERO): Likewise.
17046 (FE_OVERFLOW): Likewise.
17047 (FE_UNDERFLOW): Likewise.
17048 (FE_INEXACT): Likewise.
17049 (FE_TONEAREST): Likewise.
17050 (FE_DOWNWARD): Likewise.
17051 (FE_UPWARD): Likewise.
17052 (FE_TOWARDZERO): Likewise.
17054 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
17056 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
17058 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
17060 * scripts/cross-test-ssh.sh (command): Use newlines to separate
17061 commands. Quote $PWD.
17062 (blacklist_exports): Don't use remove_newlines. Replace "declare
17064 (remove_newlines): Remove.
17066 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
17068 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
17069 * stdlib/stdlib.h (atof): Moved to ...
17070 * include/bits/stdlib-float.h: Here. New file.
17071 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
17072 * stdlib/bits/stdlib-float.h: New file.
17073 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
17075 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
17078 2012-11-02 Joseph Myers <joseph@codesourcery.com>
17080 * conform/conformtest.pl (@headers): Add fenv.h.
17081 * conform/data/fenv.h-data: New file.
17082 * include/fenv.h [_ISOMAC]: Disable all contents of file except
17083 include of <math/fenv.h>.
17085 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
17086 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
17087 && !UNIX98]. Enables tests for XOPEN2K8.
17088 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
17089 POSIX2008]: Likewise.
17091 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
17092 (struct rusage): Do not expect type or its members.
17095 * math/math.h (FP_NAN): Define macro to integer constant usable in
17096 #if and use that to give value to enum constant.
17097 (FP_INFINITE): Likewise.
17098 (FP_ZERO): Likewise.
17099 (FP_SUBNORMAL): Likewise.
17100 (FP_NORMAL): Likewise.
17102 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
17104 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
17105 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
17108 2012-11-02 Roland McGrath <roland@hack.frob.com>
17110 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
17111 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
17112 autoconf-time if not.
17113 * configure.in: Remove AC_PREREQ.
17115 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17117 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
17118 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
17119 of the internal implementation.
17121 2012-11-02 Joseph Myers <joseph@codesourcery.com>
17123 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
17124 except include of <misc/sys/syslog.h>.
17126 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
17128 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
17129 function returns with a NULL context exit with zero.
17131 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17133 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
17135 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
17137 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
17138 (run_program_cmd): This.
17139 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
17140 (tst_langinfo): New variable. Use it.
17142 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
17144 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
17145 floating point opcodes.
17147 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
17149 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
17152 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
17154 * sysdeps/mach/hurd/powerpc: Remove directory.
17155 * sysdeps/mach/powerpc: Likewise.
17157 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
17159 * scripts/check-local-headers.sh: Ignore c++ headers.
17161 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
17163 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
17164 __libc_cleanup_region_start argument.
17166 2012-11-01 Joseph Myers <joseph@codesourcery.com>
17170 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
17171 x * y using scaling, not as x * y + z.
17172 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17173 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17174 * math/libm-test.inc (fma_test): Add more tests.
17175 (fma_test_towardzero): Likewise.
17176 (fma_test_downward): Likewise.
17177 (fma_test_upward): Likewise.
17179 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
17181 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
17183 2012-10-31 Joseph Myers <joseph@codesourcery.com>
17185 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
17188 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
17190 * rt/tst-shm.c (worker): Correct checking for mmap failure.
17192 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
17194 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17196 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17199 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17201 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17202 Fix the order of the list for glibc 2.17.
17203 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17206 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
17208 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17210 2012-10-31 Joseph Myers <joseph@codesourcery.com>
17213 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
17214 for low part of x being zero before using __atanl (y).
17215 * math/libm-test.inc (atan2_test): Add another test.
17217 * manual/install.texi (Configuring and compiling): Document
17218 general use of test-wrapper and test-wrapper-env.
17219 * INSTALL: Regenerated.
17221 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
17222 (__fma): Do not extract and scale down low bits on after-rounding
17223 systems when result rounded to normal precision would have normal
17225 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
17226 (__fmal): Do not extract and scale down low bits on after-rounding
17227 systems when result rounded to normal precision would have normal
17229 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
17230 (__fmal): Do not extract and scale down low bits on after-rounding
17231 systems when result rounded to normal precision would have normal
17233 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
17235 (fma_test): Add more tests.
17236 (fma_test_towardzero): Likewise.
17237 (fma_test_downward): Likewise.
17238 (fma_test_upward): Likewise.
17240 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
17242 * sysdeps/i386/tininess.h: Renamed to ...
17243 * sysdeps/x86/tininess.h: This.
17244 * sysdeps/x86_64/tininess.h: Removed.
17246 2012-10-30 Joseph Myers <joseph@codesourcery.com>
17248 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
17249 input. Use $(build-program-cmd).
17250 ($(objpfx)tst-array1-static.out): Likewise.
17251 ($(objpfx)tst-array2.out): Likewise.
17252 ($(objpfx)tst-array3.out): Likewise.
17253 ($(objpfx)tst-array4.out): Likewise.
17254 ($(objpfx)tst-array5.out): Likewise.
17255 ($(objpfx)tst-array5-static.out): Likewise.
17257 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
17259 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
17262 * nss/nsswitch.h (nss_interface_function): Provide new
17263 macro for use with NSS functions.
17264 * grp/initgroups.c: Use new macro.
17265 * nss/getXXbyYY.c: Likewise.
17266 * nss/getXXbyYY_r.c: Likewise.
17267 * nss/getXXent.c: Likewise.
17268 * nss/getXXent_r.c: Likewise.
17269 * sysdeps/posix/getaddrinfo.c: Likewise.
17271 2012-10-30 Andreas Jaeger <aj@suse.de>
17273 * po/ru.po: Update Russion translation from translation project.
17275 2012-10-30 Joseph Myers <joseph@codesourcery.com>
17279 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
17280 result and shift together with sticky bit instead of replicating
17281 round-to-nearest rounding.
17282 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17283 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17284 * math/libm-test.inc (fma_test): Add more tests. Do not permit
17285 missing underflow exceptions.
17286 (fma_test_towardzero): Add more tests.
17287 (fma_test_downward): Likewise.
17288 (fma_test_upward): Likewise.
17291 * sysdeps/generic/tininess.h: New file.
17292 * sysdeps/i386/tininess.h: Likewise.
17293 * sysdeps/sh/tininess.h: Likewise.
17294 * sysdeps/x86_64/tininess.h: Likewise.
17295 * stdlib/tst-strtod-underflow.c: Likewise.
17296 * stdlib/tst-tininess.c: Likewise.
17297 * stdlib/strtod_l.c: Include <tininess.h>.
17298 (round_and_return): Do not set errno for exact underflow cases.
17299 Force an underflow exception when setting errno for underflow.
17300 Determine underflow based on rounding to normal precision if
17301 TININESS_AFTER_ROUNDING.
17302 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
17303 ERANGE for exact underflow cases.
17304 * stdlib/Makefile (tests): Add tst-tininess and
17305 tst-strtod-underflow.
17306 ($(objpfx)tst-tininess): Use $(link-libm).
17307 ($(objpfx)tst-strtod-underflow): Likewise.
17309 2012-10-30 Andreas Jaeger <aj@suse.de>
17312 * elf/Makefile (tests): Remove conditional for have-initfini-array
17313 since this is now always required and the variable does not exist
17315 (tests-static): Likewise.
17316 (modules-names): Likewise.
17318 * po/eo.po: Add Esperanto translation from translation project.
17320 * elf/tst-array1.c (fini_array): Make writeable so that it can be
17321 merged with constructor/destructor.
17322 (init_array): Likewise.
17323 * elf/tst-array2dep.c (fini_array): Likewise.
17324 (init_array): Likewise.
17326 2012-10-29 Mike Frysinger <vapier@gentoo.org>
17328 * manual/message.texi: Delete @cartouche tags.
17330 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
17332 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
17334 * sysdeps/mach/hurd/fsync.c: Likewise.
17336 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
17337 [_POSIX_REALTIME_SIGNALS]: Change condition to
17338 [_POSIX_REALTIME_SIGNALS > 0].
17340 2012-10-27 Andreas Jaeger <aj@suse.de>
17342 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
17343 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
17344 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
17345 [__WORDSIZE != 64]: Likewise.
17347 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
17349 * iconvdata/tst-table.sh: Remove ${SHELL}.
17350 * iconvdata/tst-tables.sh: Likewise.
17352 2012-10-25 David S. Miller <davem@davemloft.net>
17354 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17355 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
17358 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
17360 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
17361 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
17362 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
17365 2012-10-25 Roland McGrath <roland@hack.frob.com>
17367 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17368 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
17371 2012-10-25 Joseph Myers <joseph@codesourcery.com>
17372 Jim Blandy <jimb@codesourcery.com>
17374 * scripts/cross-test-ssh.sh: New file.
17375 * manual/install.texi (Configuring and compiling): Document use of
17377 * INSTALL: Regenerated.
17379 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
17381 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
17384 2012-10-25 Joseph Myers <joseph@codesourcery.com>
17386 * Makeconfig (run-program-prefix): Fix comment.
17388 2012-10-24 Joseph Myers <joseph@codesourcery.com>
17389 Jim Blandy <jimb@codesourcery.com>
17391 * Makeconfig (test-wrapper): New variable,
17392 (test-wrapper-env): Likewise.
17393 [$(cross-compiling) = yes && $(test-wrapper) != ""]
17394 (run-built-tests): Define to yes.
17395 (run-program-prefix): Use $(test-wrapper).
17396 (built-program-cmd): Likewise.
17397 * Rules (make-test-out): Use $(test-wrapper-env) and
17398 $(host-built-program-cmd).
17399 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
17400 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
17402 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
17403 $(test-wrapper-env) to tst-rtld-load-self.sh.
17404 ($(objpfx)order2.out): Use $(test-wrapper).
17405 ($(objpfx)tst-initorder.out): Likewise.
17406 ($(objpfx)tst-initorder2.out): Likewise.
17407 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
17408 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
17409 (test_wrapper_env): New variable. Use it to run ld.so.
17410 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
17411 Use it to run ld.so.
17412 (test_wrapper_env): Likewise.
17413 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
17414 $(test-wrapper) to run-iconv-test.sh.
17415 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
17416 (ICONV): Use $test_wrapper.
17417 * posix/Makefile ($(objpfx)globtest.out): Pass
17418 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
17419 globtest.sh, not $(run-program-prefix).
17420 * posix/globtest.sh (run_via_rtld_prefix): New variable.
17421 (test_wrapper): Likewise.
17422 (test_wrapper_env): Likewise. Use it to run globtest with HOME
17423 set together with run_via_rtld_prefix.
17424 (run_program_prefix): Define in terms of test_wrapper and
17425 run_via_rtld_prefix.
17427 2012-10-24 Roland McGrath <roland@hack.frob.com>
17429 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
17430 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
17434 * include/time.h: Remove librt_hidden_proto (clock_gettime).
17435 Declare __clock_getres, __clock_gettime, __clock_settime,
17436 __clock_nanosleep, and __clock_getcpuclockid.
17437 * rt/clock_gettime.c: Define __clock_gettime as an alias.
17438 Remove librt_hidden_def (clock_gettime).
17439 * sysdeps/unix/clock_gettime.c: Likewise.
17440 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
17441 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
17442 * rt/clock_getres.c: Define __clock_getres as an alias.
17443 * sysdeps/posix/clock_getres.c: Likewise.
17444 * rt/clock_settime.c: Define __clock_settime as an alias.
17445 * sysdeps/unix/clock_settime.c: Likewise.
17446 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
17447 * sysdeps/unix/clock_nanosleep.c: Likewise.
17448 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
17449 * rt/clock-compat.c: New file.
17450 * rt/Makefile (librt-routines): Add clock-compat and move
17451 $(clock-routines) to ...
17452 (routines): ... here, new variable.
17453 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
17454 Don't add get_clockfreq here.
17455 * rt/Versions (libc: GLIBC_2.17): New version set.
17456 Add clock_* symbols here.
17457 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
17458 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
17459 (GLIBC_2.17): Add clock_* symbols.
17460 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
17461 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
17462 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
17463 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17465 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17467 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
17468 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
17469 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
17470 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
17471 * NEWS: Mention the move.
17473 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
17474 Use __open, __read, __close rather than their public counterparts.
17475 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17476 (__get_clockfreq_via_cpuinfo): Likewise.
17477 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
17478 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
17480 * config.h.in (HAVE_IFUNC): New #undef.
17481 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
17483 * configure: Regenerated.
17485 2012-10-24 Mike Frysinger <vapier@gentoo.org>
17487 * configure.in: Move READELF check to start of file.
17488 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
17489 libc_cv_asm_gnu_indirect_function in the process.
17490 * configure: Regenerated.
17492 2012-10-24 Mike Frysinger <vapier@gentoo.org>
17494 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
17495 send the output to /dev/null.
17496 (libc_cv_cc_with_libunwind): Likewise.
17497 (libc_cv_as_noexecstack): Likewise.
17498 * configure: Regenerate.
17500 2012-10-24 Joseph Myers <joseph@codesourcery.com>
17502 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
17504 * posix/globtest.sh (TMPDIR): Do not set.
17505 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
17506 (testout): Likewise.
17508 2012-10-24 Andreas Jaeger <aj@suse.de>
17510 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
17511 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
17512 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
17513 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
17514 posix_fadvise64, posix_fallocate64.
17516 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
17517 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
17518 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
17520 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
17522 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
17524 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
17525 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
17526 <bits/fcntl-linux.h>.
17527 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
17529 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
17530 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
17531 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
17532 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
17533 [__WORDSIZE != 64]: Likewise.
17535 2012-10-23 Joseph Myers <joseph@codesourcery.com>
17537 * Makeconfig (run-built-tests): New variable.
17538 * Rules [$(cross-compiling) = yes]: Change condition to
17539 [$(run-built-tests) = no].
17540 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
17541 to [$(run-built-tests) = yes].
17542 * elf/Makefile [$(cross-compiling) = no]: Likewise
17543 * grp/Makefile [$(cross-compiling) = no]: Likewise.
17544 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
17545 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
17546 * intl/Makefile [$(cross-compiling) = no]: Likewise.
17547 * io/Makefile [$(cross-compiling) = no]: Likewise.
17548 * libio/Makefile [$(cross-compiling) = no]: Likewise.
17549 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
17550 * misc/Makefile [$(cross-compiling) = no]: Likewise.
17551 * posix/Makefile [$(cross-compiling) = no]: Likewise.
17552 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
17553 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
17554 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
17555 * string/Makefile [$(cross-compiling) = no]: Likewise.
17557 * posix/Makefile ($(objpfx)globtest.out): Pass
17558 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
17559 $(rtld-installed-name).
17560 * posix/globtest.sh (elf_objpfx): Remove variable.
17561 (rtld_installed_name): Likewise.
17562 (library_path): Likewise.
17563 (run_program_prefix): New variable. Use for running globtest
17566 2012-10-23 Jim Blandy <jimb@codesourcery.com>
17567 Joseph Myers <joseph@codesourcery.com>
17569 * Makeconfig (host-built-program-cmd): New variable.
17570 * elf/Makefile (tst-stackguard1-ARGS): Use
17571 $(host-built-program-cmd).
17572 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
17573 (tst-spawn-ARGS): Likewise.
17574 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
17576 2012-10-23 Joseph Myers <joseph@codesourcery.com>
17577 Jim Blandy <jimb@codesourcery.com>
17579 * Makeconfig (run-via-rtld-prefix): New variable.
17580 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
17581 (built-program-cmd): Likewise.
17583 2012-10-22 Andreas Jaeger <aj@suse.de>
17585 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
17586 __O_RSYNC if it exists, otherwise to O_SYNC.
17588 2012-10-22 Jim Blandy <jimb@codesourcery.com>
17589 Joseph Myers <joseph@codesourcery.com>
17591 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
17593 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
17595 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
17598 2012-10-22 Andreas Jaeger <aj@suse.de>
17600 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
17602 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
17604 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17605 bits/fcntl-linux.h.
17607 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
17608 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
17610 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
17612 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
17615 2012-10-21 Jim Blandy <jimb@codesourcery.com>
17616 Joseph Myers <joseph@codesourcery.com>
17618 * config.make.in (NM): New variable.
17620 2012-10-21 Andreas Jaeger <aj@suse.de>
17622 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
17623 definitions and declarations that are provided by
17624 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
17626 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
17629 * elf/Makefile (tests-static): Add tst-leaks1-static.
17630 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
17631 ($(objpfx)tst-leaks1-static): New rule.
17632 ($(objpfx)tst-leaks1-static-mem): Likewise.
17633 (tst-leaks1-static-ENV): New macro.
17634 * elf/dl-open.c (dl_open_worker): Check the main application
17635 only if SHARED is defined.
17636 * elf/tst-leaks1-static.c: New file.
17638 2012-10-20 Andreas Jaeger <aj@suse.de>
17640 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
17641 generic values for Linux.
17642 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
17643 and declarations that are provided by <bits/fcntl-linux.h> and
17644 include <bits/fcntl-linux.h>.
17645 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17646 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
17648 2012-10-20 Roland McGrath <roland@hack.frob.com>
17650 * io/fcntl.h: Move include of <bits/types.h> to the top and
17651 include it unconditionally.
17653 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
17655 * wcsmbs/Makefile (tests-ifunc): New variable.
17656 (tests): Add $(tests-ifunc).
17657 * wcsmbs/test-wcschr-ifunc.c: New file.
17658 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
17659 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
17660 * wcsmbs/test-wcslen-ifunc.c: Likewise.
17661 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
17662 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
17664 * string/Makefile (tests-ifunc): New variable.
17665 (tests): Add $(tests-ifunc).
17666 * string/test-memccpy.c (TEST_NAME): New macro.
17667 * string/test-memchr.c (TEST_NAME): Likewise.
17668 * string/test-memcmp.c (TEST_NAME): Likewise.
17669 * string/test-memcpy.c (TEST_NAME): Likewise.
17670 * string/test-memmem.c (TEST_NAME): Likewise.
17671 * string/test-memmove.c (TEST_NAME): Likewise.
17672 * string/test-memset.c (TEST_NAME): Likewise.
17673 * string/test-rawmemchr.c (TEST_NAME): Likewise.
17674 * string/test-stpcpy.c (TEST_NAME): Likewise.
17675 * string/test-stpncpy.c (TEST_NAME): Likewise.
17676 * string/test-strcasecmp.c (TEST_NAME): Likewise.
17677 * string/test-strcasestr.c (TEST_NAME): Likewise.
17678 * string/test-strcat.c (TEST_NAME): Likewise.
17679 * string/test-strchr.c (TEST_NAME): Likewise.
17680 * string/test-strcmp.c(TEST_NAME): Likewise.
17681 * string/test-strcpy.c (TEST_NAME): Likewise.
17682 * string/test-strcspn.c (TEST_NAME): Likewise.
17683 * string/test-strlen.c (TEST_NAME): Likewise.
17684 * string/test-strncasecmp.c (TEST_NAME): Likewise.
17685 * string/test-strncmp.c (TEST_NAME): Likewise.
17686 * string/test-strncpy.c (TEST_NAME): Likewise.
17687 * string/test-strnlen.c (TEST_NAME): Likewise.
17688 * string/test-strpbrk.c (TEST_NAME): Likewise.
17689 * string/test-strrchr.c (TEST_NAME): Likewise.
17690 * string/test-strspn.c (TEST_NAME): Likewise.
17691 * string/test-strstr.c (TEST_NAME): Likewise.
17692 * string/test-bcopy-ifunc.c: New file.
17693 * string/test-bzero-ifunc.c: Likewise.
17694 * string/test-memccpy-ifunc.c: Likewise.
17695 * string/test-memchr-ifunc.c: Likewise.
17696 * string/test-memcmp-ifunc.c: Likewise.
17697 * string/test-memcpy-ifunc.c: Likewise.
17698 * string/test-memmem-ifunc.c: Likewise.
17699 * string/test-memmove-ifunc.c: Likewise.
17700 * string/test-mempcpy-ifunc.c: Likewise.
17701 * string/test-memset-ifunc.c: Likewise.
17702 * string/test-rawmemchr-ifunc.c: Likewise.
17703 * string/test-stpcpy-ifunc.c: Likewise.
17704 * string/test-stpncpy-ifunc.c: Likewise.
17705 * string/test-strcasecmp-ifunc.c: Likewise.
17706 * string/test-strcasestr-ifunc.c: Likewise.
17707 * string/test-strcat-ifunc.c: Likewise.
17708 * string/test-strchr-ifunc.c: Likewise.
17709 * string/test-strchrnul-ifunc.c: Likewise.
17710 * string/test-strcmp-ifunc.c: Likewise.
17711 * string/test-strcpy-ifunc.c: Likewise.
17712 * string/test-strcspn-ifunc.c: Likewise.
17713 * string/test-strlen-ifunc.c: Likewise.
17714 * string/test-strncasecmp-ifunc.c: Likewise.
17715 * string/test-strncat-ifunc.c: Likewise.
17716 * string/test-strncmp-ifunc.c: Likewise.
17717 * string/test-strncpy-ifunc.c: Likewise.
17718 * string/test-strnlen-ifunc.c: Likewise.
17719 * string/test-strpbrk-ifunc.c: Likewise.
17720 * string/test-strrchr-ifunc.c: Likewise.
17721 * string/test-strspn-ifunc.c: Likewise.
17722 * string/test-strstr-ifunc.c: Likewise.
17724 * debug/Makefile (tests-ifunc): New variable.
17725 (tests): Add $(tests-ifunc).
17726 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
17727 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
17728 * debug/test-stpcpy_chk-ifunc.c: New file.
17729 * debug/test-strcpy_chk-ifunc.c: Likewise.
17731 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
17734 * elf/dl-load.c (open_verify): Retry read if the entire ELF
17735 header is not read in.
17737 2012-10-19 Joseph Myers <joseph@codesourcery.com>
17739 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
17740 script to $(SHELL) as $<. Pass $(common-objpfx) to script
17741 directly. Pass built executable to script as
17742 $(built-program-cmd).
17743 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
17744 $testprogram without using LD_LIBRARY_PATH and $ldso.
17746 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
17747 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
17748 $(rtld-installed-name).
17749 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
17750 (rtld_installed_name): Likewise.
17751 (library_path): Likewise.
17752 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
17753 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
17754 $(run-program-prefix) to tst-tables.sh.
17755 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
17756 it to run tst-table-from and tst-table-to.
17757 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
17758 Pass it to tst-table.sh.
17759 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
17760 $(run-program-prefix) to tst-gettext.sh.
17761 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
17763 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
17765 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
17766 to run tst-gettext.
17767 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
17768 to run tst-gettext2.
17769 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
17770 to run tst-translit.
17771 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
17772 $(run-program-prefix) to tst-mtrace.sh.
17773 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
17775 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
17776 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
17777 $(rtld-installed-name).
17778 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
17779 (rtld_installed_name): Likewise.
17780 (run_program_prefix): New variable. Use it to run wordexp-test.
17782 * Makeconfig (ARCH): Remove all definitions.
17783 (machine): Likewise.
17784 [ARCH]: Remove conditional code.
17785 [!objdir]: Give error.
17786 [!objdir] (objpfx): Remove.
17787 [!objdir] (common-objpfx): Likewise.
17788 [!objdir] (common-objdir): Likewise.
17789 * configure.in (config_makefile): Remove. Hardcode Makefile in
17790 AC_CONFIG_FILES call.
17791 * configure: Regenerated.
17794 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
17796 (testout): Likewise.
17798 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
17799 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
17800 $(rtld-installed-name).
17801 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
17802 (rtld_installed_name): Likwise.
17803 (runit): Remove function.
17804 (run_getconf): New variable, Use it for running getconf binary.
17806 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
17809 * string/test-memmem.c (check_result): New function.
17810 (do_one_test): Use it.
17811 (check1): New function.
17812 (test_main): Use it.
17814 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
17816 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
17818 2012-10-18 Joseph Myers <joseph@codesourcery.com>
17820 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
17821 (_G_LSEEK64): Likewise.
17822 (_G_MMAP64): Likewise.
17823 (_G_FSTAT64): Likewise.
17824 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
17825 (_G_LSEEK64): Likewise.
17826 (_G_MMAP64): Likewise.
17827 (_G_FSTAT64): Likewise.
17828 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
17829 unconditional. Call __mmap64 directly.
17830 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
17831 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
17832 __lseek64 directly.
17833 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
17834 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
17836 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
17837 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
17838 __lseek64 directly.
17839 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
17840 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
17841 __lseek64 directly.
17842 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
17843 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
17844 __lseek64 directly.
17845 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
17846 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
17847 __fxstat64 directly.
17848 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
17849 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
17851 (freopen64) [!_G_OPEN64]: Remove conditional code.
17852 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
17854 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
17855 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
17857 (ftello64) [!_G_LSEEK64]: Remove conditional code.
17858 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
17860 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
17861 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
17863 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
17864 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
17866 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
17867 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
17869 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
17870 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
17872 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
17874 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
17877 * manual/memory.texi (Malloc Tunable Parameters): Add note
17878 about free list pointers overwriting some perturb bytes.
17879 Wording suggested by Roland McGrath.
17881 2012-10-17 Joseph Myers <joseph@codesourcery.com>
17883 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
17884 (lgamma_test): Likewise.
17885 (tgamma_test): Likewise.
17887 2012-10-16 Florian Weimer <fweimer@redhat.com>
17890 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
17891 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
17893 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
17895 * NEWS: Mention BZ #14716.
17896 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
17897 when removing AVAILABLE1_USES_J macro.
17899 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
17901 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
17902 (__bswap_64): __uint64_t for unsigned 64-bit int.
17904 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
17906 * include/string.h (memmem): Declare libc hidden alias.
17907 * string/memmem.c (memmem): Define libc hidden alias.
17908 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
17909 __read, __close instead of open, read, close.
17911 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
17913 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
17914 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
17916 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
17917 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
17918 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
17920 (__rawmemchr_sse2): Likewise.
17921 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
17922 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
17923 (__strchr_sse2): Likewise.
17924 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
17925 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
17926 (__strcasecmp_sse2): Likewise.
17927 (__strncasecmp_sse2): Likewise.
17928 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
17929 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
17930 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
17931 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
17932 (__strrchr_sse2): Likewise.
17933 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
17935 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
17936 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
17937 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
17938 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
17939 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
17940 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
17941 * sysdeps/x86_64/multiarch/memset.S: Likewise.
17942 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
17943 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
17944 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
17945 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
17946 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
17947 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
17948 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
17949 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
17950 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
17951 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
17952 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
17953 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
17954 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
17955 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
17956 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
17957 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
17958 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
17959 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
17960 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
17961 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
17962 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
17963 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
17964 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
17966 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
17968 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
17969 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
17970 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
17971 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
17973 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
17975 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
17976 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
17977 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
17978 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
17980 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
17981 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
17982 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
17983 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
17984 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
17985 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
17986 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
17987 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
17988 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
17989 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
17990 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
17991 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
17992 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
17993 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
17994 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
17995 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
17996 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
17997 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
17998 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
17999 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
18000 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
18001 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
18002 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
18003 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
18004 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
18005 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
18006 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
18007 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
18008 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
18009 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
18010 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
18011 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
18012 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
18013 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
18014 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
18015 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
18016 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
18017 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
18018 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
18019 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
18020 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
18022 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
18023 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
18024 * include/ifunc-impl-list.h: New file.
18025 * misc/ifunc-impl-list.c: Likewise.
18026 * misc/Makefile (routines): Add ifunc-impl-list.
18027 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
18028 * string/test-string.h: Include <ifunc-impl-list.h>.
18029 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
18030 impl_array): New variables.
18031 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
18033 (test_init): Call __libc_ifunc_impl_list to initialize
18034 func_list if TEST_IFUNC and TEST_NAME are defined.
18036 * string/Makefile (strop-tests): Add bcopy and bzero.
18037 * string/test-bcopy.c: New file.
18038 * string/test-bzero.c: Likewise.
18039 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
18041 * string/test-memset.c: Support bzero test if TEST_BZERO is
18043 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
18045 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
18047 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
18050 2012-10-10 Joseph Myers <joseph@codesourcery.com>
18052 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
18053 * configure: Regenerated.
18055 * Makeconfig (+link-static-before-libc): Don't include
18056 $(link-static-libc).
18058 * libio/libio.h (_IO_pos_t): Remove.
18060 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
18062 * NEWS: Add note about FIPS mode. Wording suggested by Roland
18065 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
18067 * crypt/crypt-entry.c: Include fips-private.h.
18068 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
18069 * crypt/md5c-test.c (main): Tolerate disabled MD5.
18070 * sysdeps/unix/sysv/linux/fips-private.h: New file.
18071 * sysdeps/generic/fips-private.h: New file, dummy fallback.
18073 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
18075 * crypt/crypt-private.h: Include stdbool.h.
18076 (_ufc_setup_salt_r): Return bool.
18077 * crypt/crypt-entry.c: Include errno.h.
18078 (__crypt_r): Return NULL with EINVAL for bad salt.
18079 * crypt/crypt_util.c (bad_for_salt): New.
18080 (_ufc_setup_salt_r): Check that salt is long enough and within
18081 the specified alphabet.
18082 * crypt/badsalttest.c: New file.
18083 * crypt/Makefile (tests): Add it.
18084 ($(objpfx)badsalttest): New.
18086 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
18088 * NEWS: Add entry for BZ #14602.
18090 2012-10-09 Joseph Myers <joseph@codesourcery.com>
18092 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
18094 * math/libm-test.inc: Update comment listing what functions and
18096 (isgreater_test): New function.
18097 (isgreaterequal_test): Likewise.
18098 (isless_test): Likewise.
18099 (islessequal_test): Likewise.
18100 (islessgreater_test): Likewise.
18101 (isunordered_test): Likewise.
18102 (main): Call the new functions.
18104 2012-10-09 Roland McGrath <roland@hack.frob.com>
18106 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
18107 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
18108 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
18109 * sysdeps/i386/configure: Regenerated.
18110 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
18111 * sysdeps/mach/configure: Regenerated.
18112 * sysdeps/mach/hurd/configure: Regenerated.
18113 * sysdeps/powerpc/configure: Regenerated.
18114 * sysdeps/powerpc/powerpc32/configure: Regenerated.
18115 * sysdeps/powerpc/powerpc64/configure: Regenerated.
18116 * sysdeps/s390/s390-32/configure: Regenerated.
18117 * sysdeps/s390/s390-64/configure: Regenerated.
18118 * sysdeps/sh/configure: Regenerated.
18119 * sysdeps/sparc/configure: Regenerated.
18120 * sysdeps/unix/sysv/linux/configure: Regenerated.
18121 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
18122 * sysdeps/x86_64/configure: Regenerated.
18124 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
18125 defined. Don't check if MAP is NULL.
18127 2012-10-09 Joseph Myers <joseph@codesourcery.com>
18129 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
18130 (_G_stat64): Likewise.
18131 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
18132 (_G_stat64): Likewise.
18133 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
18134 instead of struct _G_stat64.
18135 * libio/fileops.c (mmap_remap_check): Likewise.
18136 (decide_maybe_mmap): Likewise.
18137 (_IO_new_file_seekoff): Likewise.
18138 (_IO_file_stat): Likewise.
18139 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
18141 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
18142 instead of struct _G_stat64.
18143 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
18145 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
18148 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
18150 (CHECK_EOL): New macro.
18151 (two_way_short_needle): Check beginning of haystack for EOL. Use
18153 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
18154 Replace with CHECK_EOL.
18155 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
18156 Replace with CHECK_EOL.
18158 2012-10-08 Joseph Myers <joseph@codesourcery.com>
18160 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
18162 * math/libm-test.inc: Update comment listing what functions and
18164 (finite_test): New function.
18165 (isinf_test): Likewise.
18166 (isnan_test): Likewise.
18167 (fpclassify_test): Test subnormal input.
18168 (isfinite_test): Likewise.
18169 (isnormal_test): Likewise.
18170 (main): Call the new functions.
18172 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
18175 * Makerules (%.dynsym): Force C locale when running
18176 $(OBJDUMP) --dynamic-syms.
18178 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
18180 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
18183 2012-10-06 David S. Miller <davem@davemloft.net>
18185 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
18186 upper 32-bits of the length value in %o2 since we use branch-on-register
18187 tests which consider the entire 64-bit register.
18189 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
18191 * string/test-strstr.c (check2): Add a test for page boundary.
18193 2012-10-05 David S. Miller <davem@davemloft.net>
18195 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
18196 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
18198 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
18200 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
18201 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
18202 and bzero when HWCAP_SPARC_CRYPTO is present.
18204 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
18207 * string/test-strstr.c (check2): New function.
18208 (test_main): Call check2.
18210 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
18212 * string/bug-strcasestr1.c (do_test): Moved to ...
18213 * string/test-strcasestr.c (check1): Here. New function.
18214 (do_one_test): Break out result checking code into ...
18215 (check_result): This. New function.
18216 (do_one_test): Call check_result.
18217 (test_main): Call check1.
18218 * string/bug-strchr1.c (do_test): Moved to ...
18219 * string/test-strchr.c (check1): Here. New function.
18220 (do_one_test): Break out result checking code into ...
18221 (check_result): This. New function.
18222 (do_one_test): Call check_result.
18223 (test_main): Call check1.
18224 * string/bug-strstr1.c (main): Moved to ...
18225 * string/test-strstr.c (check1): Here. New function.
18226 (do_one_test): Break out result checking code into ...
18227 (check_result): This. New function.
18228 (do_one_test): Call check_result.
18229 (test_main): Call check1.
18230 * string/bug-strcasestr1.c: Removed.
18231 * string/bug-strchr1.c: Likewise.
18232 * string/bug-strstr1.c: Likewise.
18234 * elf/Makefile (dl-routines): Add hwcaps.
18235 * elf/dl-support.c (_dl_important_hwcaps): Removed.
18236 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
18237 (_dl_important_hwcaps): Moved to ...
18238 * elf/dl-hwcaps.c: Here. New file.
18239 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
18242 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
18243 if IS_IN_rtld isn't defined.
18245 * elf/dl-support.c (_dl_sysinfo_map): New.
18246 Include "get-dynamic-info.h" and "setup-vdso.h".
18247 (_dl_non_dynamic_init): Call setup_vdso.
18248 * elf/dynamic-link.h: Don't include <assert.h>.
18249 (elf_get_dynamic_info): Moved to ...
18250 * elf/get-dynamic-info.h: Here. New file.
18251 * elf/dynamic-link.h: Include "get-dynamic-info.h".
18252 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
18253 * elf/setup-vdso.h: Here. New file.
18254 * elf/rtld.c: Include "setup-vdso.h".
18255 (dl_main): Call setup_vdso.
18257 2012-10-05 Joseph Myers <joseph@codesourcery.com>
18259 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
18260 creal in comment listing functions tested. List finite, isinf,
18261 isnan, isless, islessequal, isgreater, isgreaterequal,
18262 islessgreater, isunordered, lgamma_r and pow10 as functions and
18263 macros not tested. Mention which functions not tested are aliases
18264 for other functions. Fix typo. Note that signs of NaNs are not
18267 * scripts/config.guess: Update from config.git.
18268 * scripts/config.sub: Likewise.
18270 2012-10-04 Roland McGrath <roland@hack.frob.com>
18272 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
18273 * misc/madvise.c (madvise): Renamed to __madvise.
18274 Make madvise a weak alias.
18275 * include/sys/mman.h: Declare __madvise.
18276 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
18277 * sysdeps/unix/syscalls.list
18278 (madvise): Make __madvise the strong name, and madvise a weak alias.
18279 * sysdeps/unix/sysv/linux/syscalls.list
18280 (madvise, mmap): Remove redundant entries.
18281 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
18282 * malloc/malloc.c (mtrim): Likewise.
18283 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
18285 2012-10-03 Roland McGrath <roland@hack.frob.com>
18287 * sysdeps/mach/hurd/dl-cache.c: File removed.
18288 * config.h.in (USE_LDCONFIG): New #undef.
18289 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
18290 * configure: Regenerated.
18291 * elf/Makefile (dl-routines): Add dl-cache only under
18292 [$(use-ldconfig) = yes].
18293 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
18294 cache on [USE_LDCONFIG].
18295 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
18297 * elf/rtld.c (dl_main): Likewise.
18299 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
18301 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
18302 _SC_LEVEL4_CACHE_LINESIZE.
18304 2012-10-03 Roland McGrath <roland@hack.frob.com>
18306 * sysdeps/unix/bsd/confstr.h: File removed.
18308 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
18310 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
18313 2012-10-02 Roland McGrath <roland@hack.frob.com>
18315 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
18316 Make 'mapoff' field ElfW(Off) rather than off_t.
18318 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
18320 * nscd/Makefile: Remove nscd-cflags and all its users.
18321 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
18322 (CFLAGS-nonlib): Add compiler flags for nscd modules.
18325 * malloc.c (malloc_printerr): Clarify error message.
18327 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
18330 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18331 Set bit_FMA_Usable if FMA is supported.
18332 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
18334 (bit_FMA4_Usable): Updated.
18335 (index_FMA_Usable): New macro.
18336 (CPUID_FMA): Likewise
18337 (HAS_FMA): Defined with bit_FMA_Usable.
18339 2012-10-01 Roland McGrath <roland@hack.frob.com>
18341 * bits/types.h (__swblk_t): Type removed.
18342 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
18343 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
18344 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
18345 (__SWBLK_T_TYPE): Likewise.
18346 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
18347 (__SWBLK_T_TYPE): Likewise.
18348 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18349 (__SWBLK_T_TYPE): Likewise.
18350 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
18351 (__SWBLK_T_TYPE): Likewise.
18353 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
18354 Honza Horak <hhorak@redhat.com>
18356 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
18357 (xdr_mapname): Use YPMAXMAP as maxsize.
18358 (xdr_peername): Use YPMAXPEER as maxsize.
18359 (xdr_keydat): Use YPAXRECORD as maxsize.
18360 (xdr_valdat): Use YPMAXRECORD as maxsize.
18362 2012-10-01 Roland McGrath <roland@hack.frob.com>
18364 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
18366 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
18367 * csu/init-first.c: ... here.
18368 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
18369 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
18370 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
18371 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
18372 * sysdeps/i386/init-first.c: File removed.
18373 * sysdeps/sh/init-first.c: File removed.
18375 2012-10-01 Joseph Myers <joseph@codesourcery.com>
18378 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
18379 if x * y might underflow to zero and z is zero.
18380 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
18381 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18382 * math/libm-test.inc (min_subnorm_value): New variable.
18383 (fma_test): Add more tests.
18384 (fma_test_towardzero): Likewise.
18385 (fma_test_downward): Likewise
18386 (fma_test_upward): Likewise.
18387 (initialize): Set min_subnorm_value.
18389 2012-09-29 Joseph Myers <joseph@codesourcery.com>
18392 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
18394 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
18395 mode for addition resulting in exact zero.
18396 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
18397 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
18399 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
18400 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18401 * math/libm-test.inc (fma_test): Add more tests.
18402 (fma_test_towardzero): New function.
18403 (fma_test_downward): Likewise.
18404 (fma_test_upward): Likewise.
18405 (main): Call the new functions.
18407 2012-09-28 David S. Miller <davem@davemloft.net>
18409 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
18411 2012-09-28 Roland McGrath <roland@hack.frob.com>
18413 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
18414 instead of SIGALRM.
18416 * sysdeps/gnu/_G_config.h: Moved to ...
18417 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
18418 * sysdeps/mach/hurd/_G_config.h: Moved to ...
18419 * sysdeps/generic/_G_config.h: ... here.
18421 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
18423 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
18425 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
18426 Conditionalize target on [libnss_test1.so-version].
18428 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
18430 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
18431 (elfobjdir): Move out of conditionals.
18433 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
18434 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
18435 (__nss_lookup_function): Conditionalize label remove_from_tree on
18436 [!DO_STATIC_NSS || SHARED], matching its only use.
18438 2012-09-28 David S. Miller <davem@davemloft.net>
18440 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
18441 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
18443 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
18445 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
18446 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
18447 when HWCAP_SPARC_CRYPTO is present.
18449 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
18451 * io/tst-mknodat.c: Create a FIFO instead of a socket.
18453 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
18456 * stdio-common/vfprintf.c (process_string_arg): Revert
18459 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
18461 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
18463 * stdio-common/tst-sprintf.c: Include <locale.h>
18464 (main): Test sprintf's handling of incomplete multibyte
18467 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
18469 * elf/dl-runtime.c (VERSYMIDX): Removed.
18470 * elf/dl-version.c (VERSYMIDX): Likewise.
18471 * elf/do-rel.h (VERSYMIDX): Likewise.
18472 (VALIDX): Likewise.
18473 * elf/dynamic-link.h (VERSYMIDX): Likewise.
18474 * elf/rtld.c (VALIDX): Likewise.
18475 (ADDRIDX): Likewise.
18476 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
18477 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
18478 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
18479 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
18480 (VALIDX): Likewise.
18481 (ADDRIDX): Likewise.
18483 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
18485 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
18487 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
18490 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
18492 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
18493 addresses are in the same scope as 192.0.2/24.
18494 * posix/gai.conf: Document new scope table defaults.
18496 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
18499 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
18500 for ftell. Compute offsets from write pointers instead.
18501 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
18503 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
18506 * libio/Makefile (tests): New test case tst-fseek.
18507 * libio/tst-fseek.c: New test case to verify that fseek/ftell
18508 combination works in wide mode.
18509 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
18510 state when the external buffer state changes.
18512 2012-09-27 David S. Miller <davem@davemloft.net>
18515 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
18516 pass reloc->r_addend in as the 'high' argument to
18517 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
18519 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18521 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
18523 * rt/tst-aio2.c: Include <pthread.h>.
18524 * rt/tst-aio3.c: Likewise.
18526 2012-09-27 Steve Ellcey <sellcey@mips.com>
18528 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
18530 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
18532 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
18533 contents on [SHARED].
18535 2012-09-26 Marek Polacek <polacek@redhat.com>
18539 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
18540 for C++ and GCC <4.3 as well as for non GCC compilers.
18542 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
18544 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18546 2012-09-25 Roland McGrath <roland@hack.frob.com>
18548 * Makefile.in (all, install): Declare with .PHONY.
18549 Reported by Michael Hope <michael.hope@linaro.org>.
18551 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18553 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
18554 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
18556 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
18558 (sydep_routines): Add the new and the internal functions.
18559 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
18560 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
18561 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
18562 (GLIBC_2.17): Add the new function.
18563 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
18564 (GLIBC_2.17): Likewise.
18565 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
18566 (GLIBC_2.17): Likewise.
18567 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
18568 (GLIBC_2.17): Likewise.
18569 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
18571 2012-09-25 Alan Modra <amodra@gmail.com>
18573 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
18574 Add release barrier before setting once_control to say
18575 initialisation is done. Add hints on lwarx. Use macro in
18577 (clear_once_control): Add release barrier.
18579 2012-09-25 Joseph Myers <joseph@codesourcery.com>
18582 * math/s_clog.c (__clog): Handle more values close to |z| = 1
18584 * math/s_clog10.c (__clog10): Likewise.
18585 * math/s_clog10f.c (__clog10f): Likewise.
18586 * math/s_clog10l.c (__clog10l): Likewise.
18587 * math/s_clogf.c (__clogf): Likewise.
18588 * math/s_clogl.c (__clogl): Likewise.
18589 * math/Makefile (libm-calls): Add x2y2m1.
18590 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
18591 (__x2y2m1): Likewise.
18592 (__x2y2m1l): Likewise.
18593 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
18594 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
18595 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
18596 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
18597 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
18598 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
18599 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
18600 * sysdeps/i386/fpu/libm-test-ulps: Update.
18601 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18604 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
18605 int as type of variable DEPTH.
18606 (glob): Use size_t instead of int as type of variables NEWCOUNT
18609 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18611 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
18612 Add s_sincosf-sse2.
18613 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
18614 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
18615 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
18616 macros for using routine as __sincosf_ia32.
18617 Use macro for function declaration and weak_alias.
18618 * sysdeps/i386/fpu/libm-test-ulps: Update.
18620 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
18621 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18623 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
18624 subnormal argument.
18625 * math/s_cexpf.c (__cexpf): Likewise.
18626 * math/s_csinf.c (__csinf): Likewise.
18627 * math/s_csinhf.c (__csinhf): Likewise.
18628 * math/s_ctanf.c (__ctanf): Likewise.
18629 * math/s_ctanhf.c (__ctanhf): Likewise.
18630 * math/s_ccosh.c (__ccoshf): Likewise.
18631 * math/s_cexp.c (__cexpl): Likewise.
18632 * math/s_csin.c (__csin): Likewise.
18633 * math/s_csinh.c (__csinh): Likewise.
18634 * math/s_ctan.c (__ctan): Likewise.
18635 * math/s_ctanh.c (ctanh): Likewise.
18636 * math/s_ccoshl.c (__ccoshl): Likewise.
18637 * math/s_cexpl.c (__cexpl): Likewise.
18638 * math/s_csinl.c (__csinl): Likewise.
18639 * math/s_csinhl.c (__csinhl): Likewise.
18640 * math/s_ctanl.c (__ctanl): Likewise.
18641 * math/s_ctanhl.c (__ctanhl): Likewise.
18643 2012-09-25 Joseph Myers <joseph@codesourcery.com>
18645 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
18646 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
18647 (_IO_off_t): Define to __off_t, not _G_off_t.
18648 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
18649 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
18650 (_IO_wint_t): Define to wint_t, not _G_wint_t.
18651 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
18652 type of __dummy and __dummy2 fields.
18653 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
18654 (_G_ssize_t): Likewise.
18655 (_G_off_t): Likewise.
18656 (_G_pid_t): Likewise.
18657 (_G_uid_t): Likewise.
18658 (_G_wchar_t): Likewise.
18659 (_G_wint_t): Likewise.
18660 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
18661 (_G_ssize_t): Likewise.
18662 (_G_off_t): Likewise.
18663 (_G_pid_t): Likewise.
18664 (_G_uid_t): Likewise.
18665 (_G_wchar_t): Likewise.
18666 (_G_wint_t): Likewise.
18667 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
18668 (_G_ssize_t): Likewise.
18669 (_G_off_t): Likewise.
18670 (_G_pid_t): Likewise.
18671 (_G_uid_t): Likewise.
18672 (_G_wchar_t): Likewise.
18673 (_G_wint_t): Likewise.
18675 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
18677 * malloc/arena.c: Include malloc-sysdep.h.
18678 (shrink_heap): Use check_may_shrink_heap to decide if madvise
18679 is sufficient to shrink the heap or an unmap is needed.
18680 * sysdeps/generic/malloc-sysdep.h: New file. Define
18681 new function check_may_shrink_heap.
18682 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
18683 new function check_may_shrink_heap.
18685 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
18687 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
18690 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
18692 * catgets/test-gencat.sh: Add "set -e".
18693 * elf/tst-pathopt.sh: Likewise.
18694 * grp/tst_fgetgrent.sh: Likewise.
18695 * iconvdata/run-iconv-test.sh: Likewise.
18696 * intl/tst-gettext.sh: Likewise.
18697 * intl/tst-gettext2.sh: Likewise.
18698 * intl/tst-gettext4.sh: Likewise.
18699 * intl/tst-gettext6.sh: Likewise.
18700 * intl/tst-translit.sh: Likewise.
18701 * io/ftwtest-sh: Likewise.
18702 * libio/test-freopen.sh: Likewise.
18703 * malloc/tst-mtrace.sh: Likewise.
18704 * posix/globtest.sh: Likewise.
18705 * posix/tst-getconf.sh: Likewise.
18706 * posix/wordexp-tst.sh: Likewise.
18707 * stdio-common/tst-printf.sh: Likewise.
18708 * stdio-common/tst-unbputc.sh: Likewise.
18709 * stdlib/tst-fmtmsg.sh: Likewise.
18710 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
18711 * catgets/Makefile: Do not specify -e option when running
18712 testsuite shell scripts.
18713 * elf/Makefile: Likewise.
18714 * grp/Makefile: Likewise.
18715 * iconvdata/Makefile: Likewise.
18716 * intl/Makefile: Likewise.
18717 * io/Makefile: Likewise.
18718 * libio/Makefile: Likewise.
18719 * malloc/Makefile: Likewise.
18720 * posix/Makefile: Likewise.
18721 * stdio-common/Makefile: Likewise.
18722 * stdlib/Makefile: Likewise.
18723 * sysdeps/x86_64/Makefile: Likewise.
18725 * io/ftwtest-sh: Add copyright header.
18726 * posix/globtest.sh: Likewise.
18727 * posix/tst-getconf.sh: Likewise.
18728 * posix/wordexp-tst.sh: Likewise.
18729 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
18731 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
18734 * Makeconfig (+link): Defined as $(+link-static) if
18735 $(build-shared) isn't yes.
18736 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
18738 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
18740 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
18743 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
18744 new chunk size with MALLOC_ALIGN_MASK.
18746 2012-09-24 Joseph Myers <joseph@codesourcery.com>
18749 * stdio-common/printf_fphex.c: Include <stdbool.h> and
18751 (__printf_fphex): Determine rounding using get_rounding_mode and
18753 * stdio-common/tst-printf-round.c (struct hex_test): New
18755 (hex_tests): New variable.
18756 (test_hex_in_one_mode): New function.
18757 (do_test): Also run tests for hex float output.
18759 2012-09-21 Joseph Myers <joseph@codesourcery.com>
18761 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
18762 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
18763 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
18764 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
18765 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
18766 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
18767 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
18768 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
18770 2012-09-20 Joseph Myers <joseph@codesourcery.com>
18772 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
18773 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
18774 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
18775 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
18777 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
18780 * elf/rtld.c (dl_main): Limit the check for self loading to normal
18782 * elf/tst-rtld-load-self.sh: New test.
18783 * elf/Makefile: Run it.
18785 2012-09-18 Joseph Myers <joseph@codesourcery.com>
18787 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
18788 (tst-writev-ENV): Remove.
18789 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
18791 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
18793 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
18795 2012-09-17 Joseph Myers <joseph@codesourcery.com>
18797 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
18799 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
18801 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
18802 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
18803 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
18806 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
18809 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
18810 * config.make.in (have-cpp-asm-debuginfo): Removed.
18811 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
18812 * configure: Regenerated.
18814 2012-09-14 Joseph Myers <joseph@codesourcery.com>
18817 * stdio-common/printf_fp.c: Include <stdbool.h> and
18819 (___printf_fp): Determine rounding using get_rounding_mode and
18821 * stdio-common/tst-printf-round.c: New file.
18822 * stdio-common/Makefile (tests): Add tst-printf-round.
18823 (link-libm): New variable.
18824 ($(objpfx)tst-printf-round): Depend in $(link-libm).
18826 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
18829 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
18830 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
18832 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
18835 2012-09-13 Joseph Myers <joseph@codesourcery.com>
18837 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
18838 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
18839 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
18840 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
18842 2012-09-12 Joseph Myers <joseph@codesourcery.com>
18845 * include/rounding-mode.h: New file.
18846 * sysdeps/generic/get-rounding-mode.h: Likewise.
18847 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
18848 * stdlib/strtod_l.c: Include <rounding-mode.h>.
18849 (MAX_VALUE): New macro.
18850 (MIN_VALUE): Likewise.
18851 (overflow_value): New function.
18852 (underflow_value): Likewise.
18853 (round_and_return): Use overflow_value and underflow_value to
18854 determine return values in overflow and underflow cases. Use
18855 round_away to determine rounding depending on rounding mode.
18856 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
18857 determine return values in overflow and underflow cases.
18858 * stdlib/tst-strtod-round.c: Include <fenv.h>.
18859 (struct test_results): New structure.
18860 (struct test): Use struct test_results to store expected results
18861 for all rounding modes.
18862 (TEST): Include expected results for all rounding modes.
18863 (test_in_one_mode): New function.
18864 (do_test): Use test_in_one_mode to compute and check results.
18865 Check results for all rounding modes.
18866 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
18869 2012-12-09 Allan McRae <allan@archlinux.org>
18871 * sysdeps/i386/fpu/libm-test-ulps: Update
18873 2012-09-11 Joseph Myers <joseph@codesourcery.com>
18875 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
18876 (_G_int32_t): Likewise.
18877 (_G_uint16_t): Likewise.
18878 (_G_uint32_t): Likewise.
18879 (_G_HAVE_BOOL): Likewise.
18880 (_G_HAVE_ATEXIT): Likewise.
18881 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
18882 (_G_HAVE_IO_FILE_OPEN): Likewise.
18883 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
18884 (_G_int32_t): Likewise.
18885 (_G_uint16_t): Likewise.
18886 (_G_uint32_t): Likewise.
18887 (_G_HAVE_BOOL): Likewise.
18888 (_G_HAVE_ATEXIT): Likewise.
18889 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
18890 (_G_HAVE_IO_FILE_OPEN): Likewise.
18891 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
18892 (_G_int32_t): Likewise.
18893 (_G_uint16_t): Likewise.
18894 (_G_uint32_t): Likewise.
18895 (_G_HAVE_BOOL): Likewise.
18896 (_G_HAVE_ATEXIT): Likewise.
18897 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
18898 (_G_HAVE_IO_FILE_OPEN): Likewise.
18900 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
18902 * csu/libc-tls.c: Update copyright years.
18904 2012-09-10 Joseph Myers <joseph@codesourcery.com>
18906 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
18907 [!_G_USING_THUNKS]: Remove conditional code.
18908 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
18909 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
18911 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
18912 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
18913 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
18914 (_G_VTABLE_LABEL_PREFIX): Likewise.
18915 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
18916 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
18917 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
18918 (_G_VTABLE_LABEL_PREFIX): Likewise.
18919 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
18920 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
18921 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
18922 (_G_VTABLE_LABEL_PREFIX): Likewise.
18923 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
18925 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
18927 * libio/Makefile: Include ../Makeconfig before tests.
18928 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
18929 only if $(build-shared) is yes.
18931 * iconv/gconv_db.c: Update copyright years.
18933 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18935 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
18936 unwind info if defined PIC. Fix special cases description.
18937 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
18939 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
18941 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
18943 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
18945 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
18947 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
18950 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
18951 (LDLIBS-tst-chk4): This.
18952 (LDFLAGS-tst-chk5): Renamed to ...
18953 (LDLIBS-tst-chk5): This.
18954 (LDFLAGS-tst-chk6): Renamed to ...
18955 (LDLIBS-tst-chk6): This.
18956 (LDFLAGS-tst-lfschk4): Renamed to ...
18957 (LDLIBS-tst-lfschk4): This.
18958 (LDFLAGS-tst-lfschk5): Renamed to ...
18959 (LDLIBS-tst-lfschk5): This.
18960 (LDFLAGS-tst-lfschk6): Renamed to ...
18961 (LDLIBS-tst-lfschk6): This.
18963 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
18964 on $(common-objpfx)soversions.mk.
18966 2012-09-07 Joseph Myers <joseph@codesourcery.com>
18969 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
18972 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
18974 * malloc/arena.c (arena_get_retry): New function that gets
18975 another arena for the caller to try its request on.
18976 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
18977 current arena cannot fulfill the request.
18978 (__libc_memalign): Likewise.
18979 (__libc_memalign): Likewise.
18980 (__libc_pvalloc): Likewise.
18981 (__libc_calloc): Likewise.
18983 2012-09-05 John Tobey <john.tobey@gmail.com>
18986 * manual/arith.texi (Operations on Complex): Fix description
18987 of carg branch cut.
18989 2012-09-06 Joseph Myers <joseph@codesourcery.com>
18992 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
18996 * manual/memory.texi (Memory): Make order of menu items match
18999 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
19001 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
19002 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
19003 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
19005 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
19007 * csu/libc-tls.c (static_dtv): Renamed to ...
19008 (_dl_static_dtv): This. Make it global.
19009 (_dl_initial_dtv): Removed.
19010 (__libc_setup_tls): Updated.
19011 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
19012 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
19015 2012-09-06 Petr Machata <pmachata@redhat.com>
19017 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
19018 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
19019 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
19020 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
19022 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
19025 * csu/libc-tls.c (_dl_initial_dtv): New variable.
19026 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
19029 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
19032 * Makeconfig (link-static-before-libc): Replace $(+prector)
19034 (link-static-after-libc): Replace $(+postctor) with
19036 (link-bounded): Replace $(+prector)/$(+postctor) with
19037 $(+prectorT)/$(+postctorT).
19038 (+prectorT): New macro.
19039 (+postctorT): Likewise.
19041 2012-09-06 Joseph Myers <joseph@codesourcery.com>
19043 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
19044 (round_str): Handle values above the maximum for IBM long double
19046 * stdlib/tst-strtod-round.c (tests): Regenerated.
19048 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19050 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
19052 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
19053 zarch_nohighgprs around the zarch optimized routines.
19054 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
19055 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
19056 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
19059 2012-09-05 David S. Miller <davem@davemloft.net>
19061 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19063 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
19064 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
19065 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
19066 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
19069 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
19071 * malloc/arena.c: Fold copyright years.
19072 * malloc/mcheck.c, malloc/memusage.c: Likewise.
19074 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
19076 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
19078 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
19080 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
19082 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
19084 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
19085 change internal state upon failure.
19087 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
19089 * malloc/mcheck.c (mcheck_check_all): Fix typo.
19090 * malloc/memusage.c (mmap): Likewise.
19091 (mmap64, mremap): Likewise. Adjust name in comment.
19093 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
19095 * libio/fileops.c: Fix typos in comments.
19096 * libio/oldfileops.c: Likewise.
19097 * libio/wfileops.c: Likewise.
19099 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
19102 * malloc/Makefile (tests): Add tst-malloc-usable test case.
19103 (tst-malloc-usable-ENV): Set environment for test case.
19104 * malloc/hooks.c (malloc_check_get_size): New function to get
19106 * malloc/malloc.c (musable): Use malloc_check_get_size.
19107 * malloc/tst-malloc-usable.c: New test case.
19109 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
19111 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
19113 2012-09-05 Allan McRae <allan@archlinux.org>
19116 * configure.in (CXX_SYSINCLUDES): Use compiler output to
19117 determine header location.
19118 * configure: Regenerated.
19120 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
19122 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
19124 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
19125 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
19127 (test): Regenerate.
19129 2012-09-04 David S. Miller <davem@davemloft.net>
19131 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
19132 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
19133 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
19135 2012-09-04 Florian Weimer <fweimer@redhat.com>
19137 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
19140 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
19142 2012-09-04 Joseph Myers <joseph@codesourcery.com>
19145 * libio/iogetdelim.c: Include <limits.h>.
19146 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
19147 + len + 1 would overflow.
19149 2012-09-03 Andreas Jaeger <aj@suse.de>
19151 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19152 * sysdeps/i386/fpu/libm-test-ulps: Update.
19154 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19156 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
19157 Add s_sinf-sse2, s_conf-sse2.
19159 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
19160 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
19161 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
19162 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
19164 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
19165 for using routine as __sinf_ia32.
19166 Use macro for function declaration and weak_alias.
19167 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
19168 for using routine as __cosf_ia32.
19169 Use macro for function declaration and weak_alias.
19171 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
19172 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
19174 * sysdeps/x86_64/fpu/s_sinf.S: New file.
19175 * sysdeps/x86_64/fpu/s_cosf.S: New file.
19176 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19178 * math/libm-test.inc (cos_test): Add more test cases.
19179 (sin_test): Likewise.
19180 (sincos_test): Likewise.
19182 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19184 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
19185 (IFUNC_RESOLVE): Make pointers to the specialized implementations
19187 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
19189 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
19192 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
19193 first element of the GOT.
19194 (elf_machine_load_address): Return the difference between
19195 the runtime address of _DYNAMIC and elf_machine_dynamic ().
19197 2012-09-01 Allan McRae <allan@archlinux.org>
19200 * configure.in (AWK): Require gawk version 3.0 or later.
19201 * configure: Regenerated.
19203 2012-09-01 Joseph Myers <joseph@codesourcery.com>
19205 * sysdeps/unix/sysv/linux/kernel-features.h
19206 (__ASSUME_POSIX_CPU_TIMERS): Remove.
19207 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
19208 [__NR_clock_getres]: Make code unconditional.
19209 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
19210 (clock_getcpuclockid): Remove code left unreachable by removal of
19212 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
19213 code unconditional.
19214 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
19215 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
19216 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
19217 Make code unconditional.
19218 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
19219 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
19220 * sysdeps/unix/sysv/linux/clock_settime.c
19221 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
19223 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
19224 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
19226 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
19229 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
19230 scripts/test-installation.pl.
19232 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
19233 and $ld_so_version if it is set.
19235 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
19238 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
19239 failure if reading from procfs failed.
19240 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
19242 2012-08-27 Joseph Myers <joseph@codesourcery.com>
19244 * sysdeps/unix/sysv/linux/kernel-features.h
19245 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
19246 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
19247 Remove conditional code.
19248 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19249 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
19250 Remove conditional code.
19251 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19252 * sysdeps/unix/sysv/linux/i386/fxstat.c
19253 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
19254 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19255 * sysdeps/unix/sysv/linux/i386/fxstatat.c
19256 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
19257 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19258 * sysdeps/unix/sysv/linux/i386/lxstat.c
19259 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
19260 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19261 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
19262 Remove conditional code.
19263 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19264 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
19265 Remove conditional code.
19266 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19267 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
19268 <kernel-features.h>.
19269 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
19271 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
19272 Remove conditional code.
19273 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19274 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
19275 Remove conditional.
19277 2012-08-27 Mike Frysinger <vapier@gentoo.org>
19280 * NEWS: Add fixed bug number.
19282 2012-08-27 Joseph Myers <joseph@codesourcery.com>
19285 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
19286 underflowing exponent in case of negative sign.
19287 * stdlib/tst-strtod-round-data: Add more tests.
19288 * stdlib/tst-strtod-round.c (tests): Regenerated.
19291 * stdlib/strtod_l.c (NDIG): Remove.
19292 (HEXNDIG): Likewise.
19293 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
19294 smallest representable value.
19295 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
19296 lie within an exact representation of 1/2 ulp of the result.
19297 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
19299 (TENS_P9_IDX): Define unconditionally.
19300 (TENS_P9_SIZE): Likewise.
19301 (TENS_P10_IDX): Likewise.
19302 (TENS_P10_SIZE): Likewise.
19303 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
19304 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
19305 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
19306 entries for 10^2^13 and 10^2^14.
19307 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
19308 (TENS_P13_IDX): Define.
19309 (TENS_P13_SIZE): Likewise.
19310 (TENS_P14_IDX): Likewise.
19311 (TENS_P14_SIZE): Likewise.
19312 (_fpioconst_pow10): Change array size to
19313 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
19315 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
19316 1024]: Add entries for 10^2^13 and 10^2^14.
19317 [LAST_POW10 > _LAST_POW10]: Remove #error.
19318 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
19319 (_fpioconst_pow10): Change array size to
19320 FPIOCONST_POW10_ARRAY_SIZE.
19321 * stdlib/gen-fpioconst.c: New file.
19322 * stdlib/gen-tst-strtod-round.c: Likewise.
19323 * stdlib/tst-strtod-round-data: Likewise.
19324 * stdlib/tst-strtod-round.c: Likewise.
19325 * stdlib/Makefile (tests): Add tst-strtod-round.
19328 * stdlib/strtod_l.c: Include <stdint.h>.
19329 (NDEBUG): Do not define.
19330 (round_and_return): Change EXPONENT parameter to type intmax_t.
19331 Rearrange calculations to avoid internal overflow possibilities.
19332 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
19333 Rearrange calculations to avoid internal overflow possibilities.
19334 Assert that number fits inside MPNSIZE limbs.
19335 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
19336 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
19337 calculations and add assertions to avoid internal overflow
19338 possibilities. Add casts to avoid signed/unsigned operations.
19339 * stdlib/tst-strtod-overflow.c: New file.
19340 * stdlib/Makefile (tests): Add tst-strtod-overflow.
19342 2012-08-25 Marek Polacek <polacek@redhat.com>
19344 * time/time.h: Fix some typos in comments.
19346 2012-08-23 Roland McGrath <roland@hack.frob.com>
19348 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
19349 * posix/tst-rfc3484-2.c: Likewise.
19350 * posix/tst-rfc3484-3.c: Likewise.
19352 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
19354 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
19355 (EF_ARM_ABI_FLOAT_HARD): Likewise.
19357 2012-08-23 Joseph Myers <joseph@codesourcery.com>
19359 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
19360 #include of fxstatat64.c.
19362 2012-08-22 Roland McGrath <roland@hack.frob.com>
19364 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
19365 * shadow/getspent_r.c: Likewise.
19366 * shadow/getspnam.c: Likewise.
19367 * shadow/getspnam_r.c: Likewise.
19368 * gshadow/getsgent.c: Likewise.
19369 * gshadow/getsgent_r.c: Likewise.
19370 * gshadow/getsgnam.c: Likewise.
19371 * gshadow/getsgnam_r.c: Likewise.
19372 * inet/getnetbyad.c: Likewise.
19373 * inet/getnetbyad_r.c: Likewise.
19374 * inet/getnetbynm.c: Likewise.
19375 * inet/getnetbynm_r.c: Likewise.
19376 * inet/getnetent.c: Likewise.
19377 * inet/getnetent_r.c: Likewise.
19378 * inet/getproto.c: Likewise.
19379 * inet/getproto_r.c: Likewise.
19380 * inet/getprtent.c: Likewise.
19381 * inet/getprtent_r.c: Likewise.
19382 * inet/getprtname.c: Likewise.
19383 * inet/getprtname_r.c: Likewise.
19384 * inet/getrpcbyname.c: Likewise.
19385 * inet/getrpcbyname_r.c: Likewise.
19386 * inet/getrpcbynumber.c: Likewise.
19387 * inet/getrpcbynumber_r.c: Likewise.
19388 * inet/getrpcent.c: Likewise.
19389 * inet/getrpcent_r.c: Likewise.
19390 * inet/getaliasent.c: Likewise.
19391 * inet/getaliasent_r.c: Likewise.
19392 * inet/getaliasname.c: Likewise.
19393 * inet/getaliasname_r.c: Likewise.
19394 * nscd/getgrgid_r.c: Likewise.
19395 * nscd/getgrnam_r.c: Likewise.
19396 * nscd/gethstbyad_r.c: Likewise.
19397 * nscd/gethstbynm3_r.c: Likewise.
19398 * nscd/getpwnam_r.c: Likewise.
19399 * nscd/getpwuid_r.c: Likewise.
19400 * nscd/getsrvbynm_r.c: Likewise.
19401 * nscd/getsrvbypt_r.c: Likewise.
19402 * nscd/gai.c: Likewise.
19404 * configure.in (build_nscd): New substituted variable, set
19405 by --disable-build-nscd and defaults to $use_nscd.
19406 * configure: Regenerated.
19407 * config.make.in (build-nscd): New substituted variable.
19408 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
19409 Change conditional to require [$(build-nscd) = yes] as well.
19410 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
19413 * configure.in (use_nscd): New substituted variable, set by
19414 --disable-nscd. If enabled, define USE_NSCD.
19415 * configure: Regenerated.
19416 * config.h.in: Add USE_NSCD.
19417 * config.make.in (use-nscd): New substituted variable.
19418 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
19419 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
19420 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
19421 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
19422 (CFLAGS-getgrnam_r.c): Likewise.
19423 (CFLAGS-initgroups.c): Likewise.
19424 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
19425 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
19427 * inet/getnetgrent_r.c
19428 (nscd_setnetgrent): New function, broken out of ...
19429 (setnetgrent): ... here. Call it.
19430 (innetgr): Conditionalize nscd bits on [USE_NSCD].
19431 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
19432 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
19433 * nscd/Makefile (routines, aux): Move definitions after include of
19434 Makeconfig. Conditionalize on [$(use-nscd) != no].
19435 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
19436 Conditionalize on [USE_NSCD].
19437 (is_nscd, nscd_init_cb): Likewise.
19438 (nss_load_library): Conditionalize init callback on [USE_NSCD].
19439 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
19440 * nss/nss_db/db-init.c: Likewise.
19441 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
19443 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
19444 (make_request): Use it.
19445 (cache_valid_p): New function.
19446 (__check_pf): Use it.
19447 * NEWS: Add item for --disable-nscd.
19449 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
19451 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
19452 to support sed >= 4.2.1-20-ga9bf076.
19453 * configure: Regenerated.
19455 2012-08-22 Roland McGrath <roland@hack.frob.com>
19457 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
19458 Conditionalize whole body on [IREL].
19460 2012-08-22 Jeff Law <law@redhat.com>
19463 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
19464 if the family is PF_UNSPEC.
19466 2012-08-22 Mike Frysinger <vapier@gentoo.org>
19468 * Makerules (lib-version): Rename from V.
19469 (install-lib-nosubdir): Change V to lib-version.
19471 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
19474 * powerpc32/power6/wcschr.c: New file.
19475 * powerpc32/power6/wcscpy.c: New file.
19476 * powerpc32/power6/wcsrchr.c: New file.
19477 * powerpc64/power6/wcschr.c: New file.
19478 * powerpc64/power6/wcscpy.c: New file.
19479 * powerpc64/power6/wcsrchr.c: New file.
19481 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
19483 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
19484 (two_way_short_needle): Use it.
19485 * string/strstr.c (AVAILABLE1_USES_J): Define.
19486 * string/strcasestr.c: Likewise.
19488 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
19490 * string/strcasestr.c (TOLOWER): Make side-effect safe.
19493 * NEWS: Add an entry.
19494 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
19495 define their defaults.
19496 (two_way_short_needle): Detect end-of-string on-the-fly.
19497 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
19498 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
19499 * string/bug-strcasestr1.c: New test.
19500 * string/Makefile: Run it.
19502 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
19505 * string/str-two-way.h (two_way_short_needle): Optimize matching of
19506 the first character.
19508 2012-08-21 Roland McGrath <roland@hack.frob.com>
19510 * csu/elf-init.c (__libc_csu_irel): Function removed.
19511 * csu/libc-start.c (apply_irel): New function.
19512 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
19514 2012-08-21 Joseph Myers <joseph@codesourcery.com>
19516 * sysdeps/unix/sysv/linux/kernel-features.h
19517 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
19518 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
19519 <kernel-features.h>.
19520 [__NR_fadvise64_64]: Make code unconditional.
19521 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
19522 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
19523 !__NR_fadvise64_64)]: Likewise.
19524 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
19525 !__NR_fadvise64_64))]: Likewise.
19526 [__NR_fadvise64]: Make code unconditional.
19527 [!__NR_fadvise64]: Remove conditional code.
19528 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
19529 <kernel-features.h>.
19530 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
19532 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
19534 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
19535 not include <kernel-features.h>.
19536 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
19538 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
19540 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
19541 include <kernel-features.h>.
19542 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
19544 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
19547 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
19549 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
19550 slight instruction rearrangements per scrollpipe analysis.
19551 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
19553 2012-08-20 Roland McGrath <roland@hack.frob.com>
19555 * manual/syslog.texi (syslog; vsyslog, closelog):
19556 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
19557 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
19559 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
19560 DSOCAPS to match condition on defining it.
19562 2012-08-20 Joseph Myers <joseph@codesourcery.com>
19564 * sysdeps/unix/sysv/linux/kernel-features.h
19565 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
19566 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
19567 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
19568 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
19569 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
19570 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
19571 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
19572 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
19573 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
19574 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
19576 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
19577 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
19579 * sysdeps/unix/sysv/linux/kernel-features.h
19580 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
19581 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
19583 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19584 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
19585 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
19586 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19587 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
19588 Make code unconditional.
19589 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19590 (__mmap64) [!__NR_mmap2]: Likewise.
19591 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
19592 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
19593 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19594 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
19595 [__NR_mmap2]: Make code unconditional.
19596 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19597 (__mmap64) [!__NR_mmap2]: Likewise.
19599 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19601 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
19603 2012-08-18 Andreas Jaeger <aj@suse.de>
19605 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
19607 2012-08-18 Mike Frysinger <vapier@gentoo.org>
19609 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
19610 * include/unistd.h (__have_sock_cloexec): Likewise.
19611 (__have_pipe2): Likewise.
19612 (__have_dup3): Likewise.
19614 2012-08-18 Mike Frysinger <vapier@gentoo.org>
19617 * include/unistd.h (__have_pipe2): Change define into an extern int.
19618 (__have_dup3): Likewise.
19619 * socket/have_sock_cloexec.c: Include fcntl.h.
19620 (__have_pipe2): New variable.
19621 (__have_dup3): Likewise.
19623 2012-08-17 Mike Frysinger <vapier@gentoo.org>
19625 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
19627 2012-08-17 Marek Polacek <polacek@redhat.com>
19629 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
19630 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
19632 2012-08-17 Roland McGrath <roland@hack.frob.com>
19634 * configure.in: Add AC_SUBST for sysheaders.
19635 * configure: Regenerated.
19636 * config.make.in (sysheaders): New substituted variable.
19638 * sysdeps/unix/mkfifo.c: Moved ...
19639 * sysdeps/posix/mkfifo.c: ... here.
19640 * sysdeps/unix/mkfifoat.c: Moved ...
19641 * sysdeps/posix/mkfifoat.c: ... here.
19643 * sysdeps/unix/utime.c: Moved ...
19644 * sysdeps/posix/utime.c: ... here.
19646 * sysdeps/unix/time.c: Moved ...
19647 * sysdeps/posix/time.c: ... here.
19648 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
19649 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
19651 * sysdeps/unix/nice.c: Moved ...
19652 * sysdeps/posix/nice.c: ... here.
19654 * sysdeps/unix/alarm.c: Moved ...
19655 * sysdeps/posix/alarm.c: ... here.
19657 * intl/Makefile ($(codeset_mo)): Depend on the input file.
19659 2012-08-17 Jeff Law <law@redhat.com>
19661 * intl/Makefile (codeset_mo): New variable.
19662 ($(codeset_mo)): New target.
19663 (tst-codeset.out): Depend on that. Remove explicit rule.
19664 (tst-gettext3.out, tst-gettext5.out): Likewise.
19665 (LOCPATH-ENV, tst-codeset-ENV): New variables.
19666 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
19667 * intl/tst-codeset.sh: Remove.
19668 * intl/tst-gettext3.sh: Likewise.
19669 * intl/tst-gettext5.sh: Likewise.
19671 2012-08-17 Roland McGrath <roland@hack.frob.com>
19673 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
19674 * sysdeps/unix/syscalls.list: ... here.
19676 * sysdeps/posix/getaddrinfo.c
19677 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
19678 (gaiconf_init, gaiconf_reload): Use them.
19679 [!_STATBUF_ST_NSEC]
19680 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
19681 Define using time_t rather than struct timespec.
19683 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
19684 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
19686 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
19688 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
19689 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
19692 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
19693 __libc_cleanup_push argument.
19695 * bits/param.h: New file.
19696 * misc/sys/param.h: New file.
19697 * include/sys/param.h: New file.
19698 * misc/Makefile (headers): Add bits/param.h.
19699 * sysdeps/generic/sys/param.h: File removed.
19700 * sysdeps/unix/sysv/linux/bits/param.h: New file.
19701 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
19702 * sysdeps/mach/hurd/bits/param.h: New file.
19703 * sysdeps/mach/hurd/sys/param.h: File removed.
19705 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
19708 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
19710 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
19711 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
19714 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
19715 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
19716 rather than -D_IO_MTSAFE_IO conditionally.
19717 * stdio-common/Makefile (CPPFLAGS): Likewise.
19718 * wcsmbs/Makefile (CPPFLAGS): Likewise.
19719 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
19720 Use $(libio-mtsafe).
19721 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
19722 of -D_IO_MTSAFE_IO.
19723 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
19724 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
19725 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
19726 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
19727 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
19728 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
19729 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
19730 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
19731 (CFLAGS-fread_u_chk.c): Likewise.
19732 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
19733 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
19734 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
19735 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
19736 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
19737 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
19738 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
19739 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
19740 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
19742 * libio/Makefile: Test [$(libc-reentrant) = yes]
19743 instead of [$(filter %REENTRANT, $(defines)) nonempty].
19746 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
19747 * sysdeps/pthread/configure: File removed.
19748 * sysdeps/pthread/Makeconfig: New file.
19749 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
19750 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
19752 2012-08-16 Gary Benson <gbenson@redhat.com>
19754 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
19755 unmapping the first object in a namespace.
19757 2012-08-16 Roland McGrath <roland@hack.frob.com>
19759 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
19760 (__internal_setnetgrent): ... this. Add internal_function to
19761 definition. Add libc_hidden_def.
19762 (setnetgrent): Update caller.
19763 (internal_endnetgrent): Renamed to ...
19764 (__internal_endnetgrent): ... this. Add internal_function to
19765 definition. Add libc_hidden_def.
19766 (endnetgrent): Update caller.
19767 (internal_getnetgrent_r): Renamed to ...
19768 (__internal_getnetgrent_r): ... this. Add internal_function to
19769 definition. Add libc_hidden_def.
19770 (__getnetgrent_r): Update caller.
19771 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
19773 2012-08-16 Joseph Myers <joseph@codesourcery.com>
19775 * stdlib/longlong.h: Update from GCC.
19777 2012-08-16 Roland McGrath <roland@hack.frob.com>
19779 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
19780 on _QL, which is set by umul_ppmm but never used.
19781 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
19782 variables, which are set by GMP macros but never used.
19783 * stdio-common/_itowa.c (_itowa): Likewise.
19784 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
19785 * stdlib/mod_1.c (mpn_mod_1): Likewise.
19787 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
19789 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
19790 struct La_sh_regs is not constant.
19791 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
19792 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
19793 and struct La_sparc64_regs are not constant.
19795 2012-08-16 Joseph Myers <joseph@codesourcery.com>
19797 * sysdeps/unix/sysv/linux/kernel-features.h
19798 (__ASSUME_POSIX_TIMERS): Remove.
19799 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
19800 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
19801 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
19802 Make code unconditional.
19803 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
19804 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
19805 Make code unconditional.
19806 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
19807 * sysdeps/unix/sysv/linux/clock_nanosleep.c
19808 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
19809 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
19810 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
19811 Make code unconditional.
19812 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
19813 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
19814 (__libc_missing_posix_timers): Remove.
19816 2012-08-15 Roland McGrath <roland@hack.frob.com>
19818 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
19819 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
19821 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
19823 * elf/dl-sym.c: Include <stdlib.h>.
19825 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
19826 constants, which avoids warnings in 32-bit builds.
19828 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
19829 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
19831 * misc/lseek.c: File moved to ...
19832 * io/lseek.c: ... here.
19834 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
19836 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
19837 shifting LEN more than 31 bits at once.
19839 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19842 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
19843 segmentation fault for a case of two empty input strings.
19844 * string/test-strncasecmp.c (check1): Renamed to...
19845 (bz12205): ...this.
19846 (bz14195): Add new testcase for two empty input strings and N > 0.
19847 (test_main): Call new testcase, adapt for renamed function.
19849 2012-08-15 Andreas Jaeger <aj@suse.de>
19852 * crypt/md5test2.c: New test, based on test supplied by Serge
19853 Belyshev <belyshev@depni.sinp.msu.ru>.
19854 * crypt/Makefile (xtests): Add md5test-giant..
19855 * crypt/Makefile ($(objpfx)md5test-giant): Add.
19857 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
19860 * crypt/md5.c (md5_process_block): Don't assume the buffer
19861 length is less than 2**32.
19862 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
19863 length is less than 2**64.
19865 2012-08-15 Roland McGrath <roland@hack.frob.com>
19867 * string/str-two-way.h: Include <sys/param.h>.
19868 (MAX): Macro removed.
19870 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
19871 Move #define and #undef of memmove to just before and after
19872 including <string.h>.
19874 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
19875 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
19876 and after including <string.h>. Move declarations of
19877 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
19878 to before #include "string/memmove.c".
19880 * include/dirent.h: Declare __getdirentries.
19882 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
19883 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
19885 2012-08-14 Mike Frysinger <vapier@gentoo.org>
19887 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
19888 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
19889 * sysdeps/i386/configure: Regenerated.
19890 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
19891 STABS_CURRENT_FILE, and STABS_FUN.
19892 (END): Remove call to STABS_FUN_END.
19893 (STABS_CURRENT_FILE1): Delete.
19894 (STABS_CURRENT_FILE): Likewise.
19895 (STABS_FUN): Likewise.
19896 (STABS_FUN_END): Likewise.
19897 (STABS_FUN2): Likewise.
19898 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
19899 * sysdeps/x86_64/configure: Regenerated.
19901 2012-08-14 Roland McGrath <roland@hack.frob.com>
19903 * elf/dl-open.c: Include <atomic.h>.
19904 * elf/dl-lookup.c: Likewise.
19906 2012-08-14 Joseph Myers <joseph@codesourcery.com>
19908 * sysdeps/unix/sysv/linux/kernel-features.h
19909 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
19910 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
19912 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
19914 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
19915 condition on __ASSUME_CLONE_THREAD_FLAGS.
19917 2012-08-14 Andreas Jaeger <aj@suse.de>
19919 * sysdeps/i386/fpu/libm-test-ulps: Update.
19921 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
19923 * include/atomic.h (atomic_exchange_and_add): Split into ...
19924 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
19927 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
19929 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19931 2012-08-13 Jeff Law <law@redhat.com>
19933 * manual/stdio.texi (snprintf): Clarify handling of the trailing
19934 null byte in the output string.
19936 2012-08-10 Joseph Myers <joseph@codesourcery.com>
19938 * sysdeps/unix/sysv/linux/kernel-features.h
19939 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
19940 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
19941 (__ASSUME_ARG_MAX_STACK_BASED): Define.
19942 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
19943 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
19944 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
19945 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
19947 2012-08-09 Jeff Law <law@redhat.com>
19950 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
19951 When avoid_arena is set, don't retry in the that arena. Pick the
19952 next one, whatever it might be.
19953 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
19954 (arena_lock): Pass in new parameter to arena_get2.
19955 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
19957 (__libc_malloc): Unify retrying after main arena failure with
19958 __libc_memalign version.
19959 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
19961 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
19964 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
19965 to __redirect_strstr.
19966 (__strstr_sse42): Use typeof __redirect_strstr.
19967 (__strstr_ia32): Likewise.
19968 (__libc_strstr): New prototype.
19969 (strstr): Renamed to ...
19970 (__libc_strstr): This.
19971 (strstr): New strong alias of __libc_strstr.
19972 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
19973 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
19976 (__libc_time): New prototype.
19977 (time_ifunc): Replace time with __libc_time.
19978 (time): New strong alias and hidden definition of __libc_time.
19979 (__GI_time): Remove strong alias.
19980 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
19981 Include <stddef.h>.
19982 (memmove): Redefined to __redirect_memmove.
19983 (__memmove_sse2): Use typeof __redirect_memmove.
19984 (__memmove_ssse3): Likewise.
19985 (__memmove_ssse3_back): Likewise.
19986 (__libc_memmove): New prototype.
19987 (memmove): Renamed to ...
19988 (__libc_memmove): This.
19989 (memmove): New strong alias of __libc_memmove.
19991 2012-08-08 Mark Salter <msalter@redhat.com>
19994 (R_MN10300_TLS_GD): Define.
19995 (R_MN10300_TLS_LD): Likewise.
19996 (R_MN10300_TLS_LDO): Likewise.
19997 (R_MN10300_TLS_GOTIE): Likewise.
19998 (R_MN10300_TLS_IE): Likewise.
19999 (R_MN10300_TLS_LE): Likewise.
20000 (R_MN10300_TLS_DTPMOD): Likewise.
20001 (R_MN10300_TLS_DTPOFF): Likewise.
20002 (R_MN10300_TLS_TPOFF): Likewise.
20003 (R_MN10300_SYM_DIFF): Likewise.
20004 (R_MN10300_ALIGN): Likewise.
20005 (R_MN10300_NUM): Update.
20007 2012-08-08 Joseph Myers <joseph@codesourcery.com>
20009 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
20012 2012-08-08 Roland McGrath <roland@hack.frob.com>
20014 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
20016 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
20017 sysdeps/unix -> sysdeps/posix move.
20018 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
20020 2012-08-07 Allan McRae <allan@archlinux.org>
20023 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
20024 (SUNOS_CPP): Likewise.
20025 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
20027 (open_input): Call CPP using execvp.
20029 2012-08-07 Joseph Myers <joseph@codesourcery.com>
20031 * sysdeps/unix/sysv/linux/kernel-features.h
20032 (__ASSUME_PROT_GROWSUPDOWN): Remove.
20033 (__ASSUME_NO_CLONE_DETACHED): Likewise.
20034 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
20035 (__ASSUME_WAITID_SYSCALL): Likewise.
20036 * sysdeps/unix/sysv/linux/dl-execstack.c
20037 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
20038 code unconditional.
20039 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
20041 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
20042 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
20043 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
20045 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
20047 [__ASSUME_WAITID_SYSCALL]: Likewise.
20048 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
20050 2012-08-07 Roland McGrath <roland@hack.frob.com>
20052 * sysdeps/unix/closedir.c: Renamed to ...
20053 * sysdeps/posix/closedir.c: ... here.
20054 * sysdeps/unix/dirfd.c: Renamed to ...
20055 * sysdeps/posix/dirfd.c: ... here.
20056 * sysdeps/unix/dirstream.h: Renamed to ...
20057 * sysdeps/posix/dirstream.h: ... here.
20058 * sysdeps/unix/fdopendir.c: Renamed to ...
20059 * sysdeps/posix/fdopendir.c: ... here.
20060 * sysdeps/unix/opendir.c: Renamed to ...
20061 * sysdeps/posix/opendir.c: ... here.
20062 * sysdeps/unix/readdir.c: Renamed to ...
20063 * sysdeps/posix/readdir.c: ... here.
20064 * sysdeps/unix/readdir_r.c: Renamed to ...
20065 * sysdeps/posix/readdir_r.c: ... here.
20066 * sysdeps/unix/rewinddir.c: Renamed to ...
20067 * sysdeps/posix/rewinddir.c: ... here.
20068 * sysdeps/unix/seekdir.c: Renamed to ...
20069 * sysdeps/posix/seekdir.c: ... here.
20070 * sysdeps/unix/telldir.c: Renamed to ...
20071 * sysdeps/posix/telldir.c: ... here.
20072 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
20073 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
20074 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
20075 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
20077 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
20078 * bits/fcntl.h: ... here.
20080 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
20082 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
20083 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
20084 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
20085 (struct flock): Move l_start, l_len to the beginning.
20086 Use __pid_t for l_pid.
20087 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
20088 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
20089 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
20090 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
20091 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
20092 [__USE_LARGEFILE64] (struct flock64): New type.
20093 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
20095 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
20096 * bits/dirent.h: ... here.
20098 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
20099 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
20101 2012-08-07 Joseph Myers <joseph@codesourcery.com>
20103 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
20104 Change from 2.6.0 to 2.6.16.
20105 * sysdeps/unix/sysv/linux/configure: Regenerated.
20106 * sysdeps/unix/sysv/linux/kernel-features.h
20107 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
20108 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
20110 (__ASSUME_UTIMES): Likewise.
20111 (__ASSUME_CLONE_STOPPED): Remove.
20112 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
20113 architectures, not kernel version.
20114 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
20115 (__ASSUME_NO_CLONE_DETACHED): Likewise.
20116 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
20117 (__ASSUME_WAITID_SYSCALL): Likewise.
20118 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
20119 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
20120 * README: State 2.6.16 as minimum Linux kernel version. Do not
20121 refer to older versions.
20123 2012-08-06 Roland McGrath <roland@hack.frob.com>
20125 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
20126 Define alphasort64 as an alias.
20127 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
20128 Define versionsort64 as an alias.
20129 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
20130 Define scandir64 as an alias.
20131 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
20132 Define scandirat64 as an alias.
20133 * dirent/alphasort64.c (alphasort64):
20134 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
20135 * dirent/versionsort64.c: Likewise.
20136 * dirent/scandir64.c: Likewise.
20137 * dirent/scandirat64.c: Likewise.
20138 * sysdeps/wordsize-64/alphasort.c: File removed.
20139 * sysdeps/wordsize-64/alphasort64.c: File removed.
20140 * sysdeps/wordsize-64/scandir.c: File removed.
20141 * sysdeps/wordsize-64/scandir64.c: File removed.
20142 * sysdeps/wordsize-64/scandirat.c: File removed.
20143 * sysdeps/wordsize-64/scandirat64.c: File removed.
20144 * sysdeps/wordsize-64/versionsort.c: File removed.
20145 * sysdeps/wordsize-64/versionsort64.c: File removed.
20146 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
20147 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
20148 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
20149 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
20150 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
20151 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
20152 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
20153 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
20155 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
20156 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
20157 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
20158 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20159 [defined __arch64__ || defined __sparcv9]
20160 (__INO_T_MATCHES_INO64_T): New macro.
20161 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
20162 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
20163 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
20164 * sysdeps/unix/sysv/linux/bits/dirent.h
20165 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
20166 (_DIRENT_MATCHES_DIRENT64): New macro.
20168 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
20169 Define lockf64 as an alias.
20170 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
20171 Define fseeko64 as an alias.
20172 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
20173 Define ftello64 as an alias.
20174 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
20175 Define _IO_fgetpos64 and fgetpos64 as aliases.
20176 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
20177 Define _IO_fsetpos64 and fsetpos64 as aliases.
20178 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
20179 Conditionalize body on this.
20180 * libio/fseeko64.c: Likewise.
20181 * libio/ftello64.c: Likewise.
20182 * libio/iofgetpos64.c: Likewise.
20183 * libio/iofsetpos64.c: Likewise.
20184 * sysdeps/wordsize-64/lockf.c: File removed.
20185 * sysdeps/wordsize-64/lockf64.c: File removed.
20186 * sysdeps/wordsize-64/fseeko.c: File removed.
20187 * sysdeps/wordsize-64/fseeko64.c: File removed.
20188 * sysdeps/wordsize-64/ftello.c: File removed.
20189 * sysdeps/wordsize-64/ftello64.c: File removed.
20190 * sysdeps/wordsize-64/iofgetpos.c: File removed.
20191 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
20192 * sysdeps/wordsize-64/iofsetpos.c: File removed.
20193 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
20194 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
20195 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
20196 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
20197 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
20198 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
20199 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
20200 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
20201 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
20202 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
20203 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
20205 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
20206 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
20207 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
20208 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20209 [defined __arch64__ || defined __sparcv9]
20210 (__OFF_T_MATCHES_OFF64_T): New macro.
20211 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
20212 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
20213 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20214 (__OFF_T_MATCHES_OFF64_T): New macro.
20216 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
20218 * stdlib/secure-getenv.c (__secure_getenv): Replace
20219 GLIBC_2_16 with GLIBC_2_17.
20221 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
20223 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
20224 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
20226 2012-08-03 David S. Miller <davem@davemloft.net>
20228 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20230 2012-08-03 Joseph Myers <joseph@codesourcery.com>
20232 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
20234 (__ASSUME_CORRECT_SI_PID): Likewise.
20235 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
20236 (__ASSUME_TMPFS_NAME): Likewise.
20237 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
20238 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
20239 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
20240 (HAVE_AUX_SECURE): Make definition unconditional.
20241 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
20242 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
20244 2012-08-03 Roland McGrath <roland@hack.frob.com>
20246 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
20247 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
20248 * sysdeps/mach/hurd/eloop-threshold.h: New file.
20249 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
20250 __eloop_threshold instead of SYMLOOP_MAX.
20252 * sysdeps/generic/eloop-threshold.h: New file.
20253 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
20255 * elf/chroot_canon.c (chroot_canon): Likewise.
20257 2012-08-03 Joseph Myers <joseph@codesourcery.com>
20260 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
20261 Change to 2.6.0 everywhere.
20262 * sysdeps/unix/sysv/linux/configure: Regenerated.
20263 * sysdeps/unix/sysv/linux/kernel-features.h
20264 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
20265 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
20267 (__ASSUME_POSIX_TIMERS): Define unconditionally.
20268 (__ASSUME_FUTEX_REQUEUE): Remove.
20269 (__ASSUME_STATFS64): Define unconditionally.
20270 (__ASSUME_AT_SECURE): Likewise.
20271 (__ASSUME_CORRECT_SI_PID): Likewise.
20272 (__ASSUME_TGKILL): Define without depending on kernel version for
20274 (__ASSUME_UTIMES): Likewise.
20275 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
20277 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
20278 (__ASSUME_TMPFS_NAME): Likewise.
20279 * README: Update reference to Linux kernel versions.
20281 2012-08-02 Marek Polacek <polacek@redhat.com>
20284 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
20285 libc_cv_asm_type_prefix with %.
20286 * configure: Regenerated.
20287 * include/libc-symbols.h: Remove comment about
20288 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
20289 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
20290 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
20291 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
20292 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
20293 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
20294 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
20295 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
20296 * elf/tst-unique2mod1.c: Likewise.
20297 * elf/tst-unique1mod2.c: Likewise.
20298 * elf/tst-unique1mod1.c: Likewise.
20299 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
20300 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
20301 Replace ASM_TYPE_DIRECTIVE with .type.
20302 * sysdeps/s390/s390-64/sysdep.h: Likewise.
20303 * sysdeps/i386/sysdep.h: Likewise.
20304 * sysdeps/x86_64/sysdep.h: Likewise.
20305 * sysdeps/sh/sysdep.h: Likewise.
20306 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
20307 Do not define ASM_TYPE_DIRECTIVE.
20308 * sysdeps/powerpc/sysdep.h: Likewise.
20309 * sysdeps/powerpc/powerpc32/sysdep.h:
20310 Replace ASM_TYPE_DIRECTIVE with .type.
20311 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
20312 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
20313 * sysdeps/i386/fpu/e_powf.S: Likewise.
20314 * sysdeps/i386/fpu/e_expl.S: Likewise.
20315 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
20316 * sysdeps/i386/fpu/e_acosh.S: Likewise.
20317 * sysdeps/i386/fpu/e_pow.S: Likewise.
20318 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
20319 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
20320 * sysdeps/i386/fpu/s_expm1.S: Likewise.
20321 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
20322 * sysdeps/i386/fpu/e_log2.S: Likewise.
20323 * sysdeps/i386/fpu/e_log2l.S: Likewise.
20324 * sysdeps/i386/fpu/e_scalb.S: Likewise.
20325 * sysdeps/i386/fpu/e_powl.S: Likewise.
20326 * sysdeps/i386/fpu/e_log10f.S: Likewise.
20327 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
20328 * sysdeps/i386/fpu/e_logl.S: Likewise.
20329 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
20330 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
20331 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
20332 * sysdeps/i386/fpu/e_log2f.S: Likewise.
20333 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
20334 * sysdeps/i386/fpu/e_log.S: Likewise.
20335 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
20336 * sysdeps/i386/fpu/e_logf.S: Likewise.
20337 * sysdeps/i386/fpu/e_log10l.S: Likewise.
20338 * sysdeps/i386/fpu/e_atanh.S: Likewise.
20339 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
20340 * sysdeps/i386/fpu/e_log10.S: Likewise.
20341 * sysdeps/i386/fpu/s_frexp.S: Likewise.
20342 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
20343 * sysdeps/i386/fpu/s_asinh.S: Likewise.
20344 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
20345 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
20346 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
20347 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
20348 * sysdeps/i386/i686/strtok.S: Likewise.
20349 * sysdeps/i386/i386-mcount.S: Likewise.
20350 * sysdeps/i386/strtok.S: Likewise.
20351 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
20352 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
20353 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
20354 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
20355 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
20356 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
20357 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
20358 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
20359 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
20360 * sysdeps/x86_64/_mcount.S: Likewise.
20361 * sysdeps/x86_64/strtok.S: Likewise.
20362 * sysdeps/sh/_mcount.S: Likewise.
20364 2012-08-01 Roland McGrath <roland@hack.frob.com>
20366 * libio/iofopen.c: Include <fcntl.h>.
20367 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
20368 (_IO_fopen64, fopen64): Define as aliases.
20369 * libio/iofopen64.c: Include <fcntl.h>.
20370 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
20371 Conditionalize body on this.
20372 * sysdeps/wordsize-64/iofopen.c: File removed.
20373 * sysdeps/wordsize-64/iofopen64.c: File removed.
20375 2012-08-01 Marek Polacek <polacek@redhat.com>
20377 * libc/Makeconfig: Use elf in place of binfmt-subdir.
20378 Use dlfcn directly instead of a variable.
20379 (binfmt-subdir): Do not define.
20382 2012-08-01 Joseph Myers <joseph@codesourcery.com>
20384 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
20385 Remove all definitions.
20386 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
20387 <kernel-features.h>.
20388 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
20389 (miss_F_GETOWN_EX): Remove all definitions.
20390 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
20392 [!__ASSUME_FCNTL64]: Remove conditional code.
20393 [__ASSUME_FCNTL64]: Make code unconditional.
20394 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
20395 <kernel-features.h>.
20396 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
20397 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
20398 (lockf64) [__NR_fcntl64]: Make code unconditional.
20399 (lockf64) [__ASSUME_FCNTL64]: Likewise.
20401 * sysdeps/unix/sysv/linux/kernel-features.h
20402 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
20403 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
20404 Make code unconditional.
20405 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
20406 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
20407 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
20408 [__NR_vfork]: Make code unconditional.
20409 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
20410 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
20411 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
20412 [__NR_vfork]: Make code unconditional.
20413 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
20414 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
20416 2012-08-01 Roland McGrath <roland@hack.frob.com>
20418 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
20419 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
20421 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
20422 Define mkstemp64 as an alias.
20423 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
20424 Define mkstemps64 as an alias.
20425 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
20426 Define mkostemp64 as an alias.
20427 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
20428 Define mkostemps64 as an alias.
20429 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
20430 Conditionalize body on this.
20431 * misc/mkostemp64.c: Likewise.
20432 * misc/mkostemps64.c: Likewise.
20433 * misc/mkstemps64.c: Likewise.
20434 * sysdeps/wordsize-64/mkstemp64.c: File removed.
20435 * sysdeps/wordsize-64/mkostemp64.c: File removed.
20436 * sysdeps/wordsize-64/mkostemp.c: File removed.
20437 * sysdeps/wordsize-64/mkstemp.c: File removed.
20438 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
20439 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
20440 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
20441 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
20444 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
20445 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
20446 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
20447 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
20449 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
20450 compat_symbol macros from <shlib-compat.h> rather than the underlying
20451 default_symbol_version and symbol_version macros, so that DEFAULT
20452 lines in shlib-versions are respected.
20453 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
20455 2012-08-01 Florian Weimer <fweimer@redhat.com>
20457 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
20458 Declare with warn_unused_result.
20459 (setgid, setregid, setegid, setresgid): Likewise.
20460 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
20462 * WUR-REPORT: Remove set*id functions.
20464 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
20466 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
20468 2012-07-31 Roland McGrath <roland@hack.frob.com>
20471 * include/sys/socket.h (__libc_accept, __libc_accept4):
20472 Add attribute_hidden.
20473 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
20475 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
20477 * inet/getnetgrent_r.c (setup): Likewise.
20479 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
20481 2012-07-31 David S. Miller <davem@davemloft.net>
20483 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20485 2012-07-31 Joseph Myers <joseph@codesourcery.com>
20488 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
20489 value between 1.0 and 2.0 and smaller part has absolute value less
20491 * math/s_clog10.c (__clog10): Likewise.
20492 * math/s_clog10f.c (__clog10f): Likewise.
20493 * math/s_clog10l.c (__clog10l): Likewise.
20494 * math/s_clogf.c (__clogf): Likewise.
20495 * math/s_clogl.c (__clogl): Likewise.
20496 * math/libm-test.inc (clog_test): Add more tests.
20497 (clog10_test): Likewise.
20498 * sysdeps/i386/fpu/libm-test-ulps: Update.
20499 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20501 2012-07-31 Florian Weimer <fweimer@redhat.com>
20503 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
20504 Exit with zero in case no suitable GID is found, and write a
20505 message to standard error.
20507 2012-07-30 Roland McGrath <roland@hack.frob.com>
20509 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
20511 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
20512 (MAXPATHLEN): Removed.
20513 (NOGROUP, NODEV): New macros.
20514 (setbit, clrbit, isset, isclr): New macros.
20515 (howmany, roundup, powerof2): New macros.
20516 (DEV_BSIZE): New macro.
20518 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
20519 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
20521 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
20522 definition on [!__NO_LONG_DOUBLE_MATH].
20524 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
20525 PTR_MANGLE and PTR_DEMANGLE.
20527 * socket/accept4.c (accept4): Rename to __libc_accept4.
20528 Define accept4 as a weak alias.
20530 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
20531 on [_DIRENT_HAVE_D_TYPE].
20532 * io/ftw.c (ftw_dir): Likewise.
20534 * io/xmknod.c (__xmknod): Don't check PATH for being null.
20536 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
20538 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
20539 Use the BSD numbers rather than the arbitrary ones we had.
20540 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
20541 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
20542 (SIGXCPU, SIGXFSZ): New macros.
20545 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
20546 initializer on [_LIBC_REENTRANT].
20548 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
20549 definitions inside [_POSIX_MAPPED_FILES].
20551 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
20553 * dirent/opendir.c: Include <fcntl.h>.
20555 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
20556 (__libc_getspecific): Likewise.
20557 (__libc_key_create): Likewise.
20559 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
20560 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
20561 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
20562 (tmpfile64): Define as alias.
20563 * sysdeps/wordsize-64/tmpfile.c: File removed.
20564 * sysdeps/wordsize-64/tmpfile64.c: File removed.
20565 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
20566 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
20568 * stdio-common/vfscanf.c: Include <stdbool.h>.
20569 * nss/makedb.c: Likewise.
20570 * stdio-common/_i18n_number.h: Likewise.
20571 * argp/argp-help.c: Likewise.
20572 * posix/wordexp.c: Likewise.
20573 * sysdeps/posix/spawni.c: Likewise.
20574 * nss/nss_files/files-initgroups.c: Likewise.
20575 * stdio-common/reg-modifier.c: Include <stdlib.h>.
20576 * nss/nss_files/files-initgroups.c: Likewise.
20577 * nss/nss_db/db-netgrp.c: Likewise.
20578 * nss/nss_db/db-initgroups.c: Likewise.
20579 * io/fchmodat.c: Include <sys/stat.h>.
20581 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
20582 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
20584 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
20587 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
20588 Add multiple inclusion protection.
20590 2012-07-27 David S. Miller <davem@davemloft.net>
20592 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20594 2012-07-27 Gary Benson <gbenson@redhat.com>
20597 * elf/rtld.c: Include <stap-probe.h>.
20598 (dl_main): Added static probes "init_start" and "init_complete".
20599 * elf/dl-load.c: Include <stap-probe.h>.
20600 (lose): Take new parameter "nsid".
20601 Added static probe "map_failed".
20602 (_dl_map_object_from_fd): Pass namespace id to lose.
20603 Added static probe "map_start".
20604 (open_verify): Pass namespace id to lose.
20605 * elf/dl-open.c: Include <stap-probe.h>.
20606 (dl_open_worker) Added static probes "map_complete", "reloc_start"
20607 and "reloc_complete".
20608 * elf/dl-close.c: Include <stap-probe.h>.
20609 (_dl_close_worker): Added static probes "unmap_start" and
20611 * elf/rtld-debugger-interface.txt: New file documenting the above.
20613 2012-07-26 Roland McGrath <roland@hack.frob.com>
20615 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
20616 rather than a string variable.
20617 * sunrpc/rpc_main.c (h_output): Likewise.
20618 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
20620 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
20622 * inet/check_native.c: New file.
20624 2012-07-26 Joseph Myers <joseph@codesourcery.com>
20627 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
20628 if larger part has absolute value 1.0.
20629 * math/s_clog10.c (__clog10): Likewise.
20630 * math/s_clog10f.c (__clog10f): Likewise.
20631 * math/s_clog10l.c (__clog10l): Likewise.
20632 * math/s_clogf.c (__clogf): Likewise.
20633 * math/s_clogl.c (__clogl): Likewise.
20634 * math/libm-test.inc (clog_test): Add more tests.
20635 (clog10_test): Likewise.
20636 * sysdeps/i386/fpu/libm-test-ulps: Update.
20637 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20639 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
20640 (pltexit): Likewise.
20641 (La_regs): Likewise.
20642 (La_retval): Likewise.
20643 (int_retval): Likewise.
20644 Update #error for removed macros to refer only to definitions in
20646 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
20648 (pltexit): Likewise.
20649 (La_regs): Likewise.
20650 (La_retval): Likewise.
20651 (int_retval): Likewise.
20652 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
20654 (pltexit): Likewise.
20655 (La_regs): Likewise.
20656 (La_retval): Likewise.
20657 (int_retval): Likewise.
20658 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
20660 (pltexit): Likewise.
20661 (La_regs): Likewise.
20662 (La_retval): Likewise.
20663 (int_retval): Likewise.
20664 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
20666 (pltexit): Likewise.
20667 (La_regs): Likewise.
20668 (La_retval): Likewise.
20669 (int_retval): Likewise.
20670 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
20672 (pltexit): Likewise.
20673 (La_regs): Likewise.
20674 (La_retval): Likewise.
20675 (int_retval): Likewise.
20676 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
20678 (pltexit): Likewise.
20679 (La_regs): Likewise.
20680 (La_retval): Likewise.
20681 (int_retval): Likewise.
20682 * sysdeps/generic/tst-audit.h: Update comment to refer only to
20683 macro definitions in tst-audit.h.
20684 * sysdeps/i386/tst-audit.h: New file.
20685 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
20686 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
20687 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
20688 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
20689 * sysdeps/sh/tst-audit.h: Likewise.
20690 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
20691 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
20692 * sysdeps/x86_64/tst-audit.h: Likewise.
20694 2012-07-26 Andreas Jaeger <aj@suse.de>
20696 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
20699 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
20700 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
20701 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
20703 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
20704 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
20705 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
20707 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
20710 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
20712 (si_call_addr, si_syscall, si_arch): Define new macro.
20713 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
20715 (si_call_addr, si_syscall, si_arch): Define new marcro.
20716 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
20718 (si_call_addr, si_syscall, si_arch): Define new macro.
20719 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
20721 (si_call_addr, si_syscall, si_arch): Define new macro.
20723 2012-07-25 Joseph Myers <joseph@codesourcery.com>
20726 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
20727 Change to 2.4.21 where previously 2.4.1.
20728 * sysdeps/unix/sysv/linux/configure: Regenerated.
20729 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
20730 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
20731 Linux kernel version.
20732 (__ASSUME_STD_AUXV): Remove.
20733 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
20735 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
20736 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
20737 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
20738 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
20739 (__ASSUME_NETLINK_SUPPORT): Likewise.
20740 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
20741 (__no_netlink_support): Remove conditional definition.
20742 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
20744 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
20745 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
20746 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
20747 (if_nameindex_ioctl): Remove.
20748 (if_nameindex_netlink): Do not handle __no_netlink_support.
20749 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
20751 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
20752 Remove conditional code.
20753 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
20755 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
20757 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
20758 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
20759 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
20761 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
20762 [!__ASSUME_STD_AUXV]: Remove conditional code.
20763 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
20764 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
20765 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
20766 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
20767 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
20768 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
20770 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
20771 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
20772 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
20773 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
20775 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
20776 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
20777 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
20779 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
20780 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
20782 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
20783 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
20784 code unconditional.
20785 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20787 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
20789 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20791 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
20792 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
20794 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20796 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
20797 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
20798 code unconditional.
20799 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20801 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
20803 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20805 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
20806 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
20807 code unconditional.
20808 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20810 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
20812 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20815 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
20817 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
20818 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
20819 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
20820 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
20821 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
20822 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
20823 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
20824 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
20825 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
20826 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
20827 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
20828 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
20829 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
20830 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
20831 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
20832 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
20833 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
20834 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
20835 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
20836 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
20837 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
20838 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
20839 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
20841 2012-07-25 Florian Weimer <fweimer@redhat.com>
20843 * Versions.def: Add GLIBC_2.17.
20844 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
20845 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
20846 Introduce __libc_secure_getenv.
20847 * stdlib/Versions (2.17): Add secure_getenv
20848 (GLIBC_PRIVATE): Add __libc_secure_getenv.
20849 * stdlib/secure-getenv.c: Rename __secure_getenv to
20850 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
20851 symbol __secure_getenv for GLIBC_2.0.
20852 * stdlib/tst-secure-getenv.c: New.
20853 * stdlib/Makefile (tests): Add testcase.
20854 * manual/startup.texi (Environment Access): Document
20856 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
20857 __libc_secure_getenv.
20858 * inet/ruserpass.c (ruserpass): Likewise.
20859 * malloc/mtrace.c (mtrace): Likewise.
20860 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
20861 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
20862 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
20863 * sysdeps/posix/tempname.c: Likewise. Evaluate
20864 HAVE_SECURE_GETENV.
20865 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
20866 __secure_getenv to __libc_secure_getenv.
20867 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
20868 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
20870 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
20872 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
20873 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
20874 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
20875 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
20876 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
20877 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
20878 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
20880 2012-07-25 Joseph Myers <joseph@codesourcery.com>
20882 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
20883 (struct La_i86_retval): Likewise.
20884 (struct La_x86_64_regs): Likewise.
20885 (struct La_x86_64_retval): Likewise.
20886 (struct La_x32_regs): Likewise.
20887 (struct La_x32_retval): Likewise.
20888 (struct La_ppc32_regs): Likewise.
20889 (struct La_ppc32_retval): Likewise.
20890 (struct La_ppc64_regs): Likewise.
20891 (struct La_ppc64_retval): Likewise.
20892 (struct La_sh_regs): Likewise.
20893 (struct La_sh_retval): Likewise.
20894 (struct La_s390_32_regs): Likewise.
20895 (struct La_s390_32_retval): Likewise.
20896 (struct La_s390_64_regs): Likewise.
20897 (struct La_s390_64_retval): Likewise.
20898 (struct La_sparc32_regs): Likewise.
20899 (struct La_sparc32_retval): Likewise.
20900 (struct La_sparc64_regs): Likewise.
20901 (struct La_sparc64_retval): Likewise.
20902 (struct audit_ifaces): Remove architecture-specific pltenter and
20904 * sysdeps/i386/ldsodefs.h: New file.
20905 * sysdeps/powerpc/ldsodefs.h: Likewise.
20906 * sysdeps/s390/ldsodefs.h: Likewise.
20907 * sysdeps/sh/ldsodefs.h: Likewise.
20908 * sysdeps/sparc/ldsodefs.h: Likewise.
20909 * sysdeps/x86_64/ldsodefs.h: Likewise.
20911 2012-07-25 Marek Polacek <polacek@redhat.com>
20914 * math/libm-test.inc (yn_test): Add another test.
20915 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
20916 to ERANGE when the result is +-Inf.
20917 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
20918 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
20919 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
20920 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
20922 2012-07-24 Joseph Myers <joseph@codesourcery.com>
20924 * conform/data/time.h-data (NULL): Use macro-constant. Require
20926 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
20928 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
20930 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
20932 * configure.in <sysdeps resolving>: Correct printing
20934 * configure: Regenerate.
20936 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
20938 * math/w_ilogb.c: Include <limits.h>.
20939 * math/w_ilogbl.c: Likewise.
20941 2012-07-20 Joseph Myers <joseph@codesourcery.com>
20943 * manual/lang.texi (__va_copy): Document primarily as ISO C99
20944 va_copy. Document allowing for unavailable va_copy only as
20945 pre-C99 compatibility.
20946 * manual/string.texi (Copying and Concatenation): Use va_copy
20947 instead of __va_copy in concat example.
20949 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
20951 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
20952 (__sendto): Use create_address_port. Initialize APORT and deallocate
20955 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
20956 with O_NOLINK passed to __file_name_lookup.
20958 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
20959 with O_NOLINK passed to __file_name_lookup.
20961 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
20962 negative N or less than NGIDS.
20964 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
20965 type to string_t. Set ERANGE as errno and return it if NAME is not big
20966 enough. Use memcpy instead of strncpy.
20968 2012-07-20 Joseph Myers <joseph@codesourcery.com>
20970 * elf/Makefile (check-data): Remove.
20971 (localplt.data): New vpath directive.
20972 ($(objpfx)check-localplt.out): Use localplt.data from vpath
20973 instead of $(check-data).
20974 * scripts/data/localplt-generic.data: Move to ...
20975 * sysdeps/generic/localplt.data: ... here.
20976 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
20977 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
20978 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
20979 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
20981 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
20982 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
20984 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
20985 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
20987 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
20988 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
20990 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
20991 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
20993 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
20994 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
20997 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20999 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
21000 PPC32 and PPC64 files.
21001 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
21002 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
21004 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21006 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
21007 __makecontext_ret to ...
21008 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
21009 ... here and call exit if uc_link is NULL. New file.
21010 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
21011 __makecontext_ret.S.
21012 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
21013 __makecontext_ret to ...
21014 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
21015 ... here and call exit if uc_link is NULL. New file.
21016 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
21017 __makecontext_ret.S.
21019 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21021 * elf/elf.h (R_390_IRELATIVE): New definition.
21022 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
21023 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
21024 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
21025 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
21026 (elf_machine_lazy_rel): Likewise.
21027 * sysdeps/s390/dl-irel.h: New file.
21028 * sysdeps/s390/s390-64/memcpy.S: New asm code.
21029 * sysdeps/s390/s390-64/memset.S: New asm code.
21030 * sysdeps/s390/s390-64/memcmp.S: New asm code.
21031 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
21032 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
21033 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
21034 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
21035 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
21036 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
21037 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
21038 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
21039 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
21040 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
21041 * sysdeps/s390/s390-32/memcpy.S: New asm code.
21042 * sysdeps/s390/s390-32/memset.S: New asm code.
21043 * sysdeps/s390/s390-32/memcmp.S: New asm code.
21045 2012-07-17 Marek Polacek <polacek@redhat.com>
21048 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
21049 * sysdeps/s390/s390-64/configure.in: Likewise.
21050 * sysdeps/sparc/configure.in: Likewise.
21051 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
21052 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
21053 * sysdeps/i386/configure.in: Likewise.
21054 * sysdeps/x86_64/configure.in: Likewise.
21055 * sysdeps/sh/configure.in: Likewise.
21056 * sysdeps/s390/s390-32/configure: Regenerated.
21057 * sysdeps/s390/s390-64/configure: Likewise.
21058 * sysdeps/x86_64/configure: Likewise.
21059 * sysdeps/sh/configure: Likewise.
21060 * sysdeps/powerpc/powerpc64/configure: Likewise.
21061 * sysdeps/powerpc/powerpc32/configure: Likewise.
21062 * sysdeps/sparc/configure: Likwise.
21063 * sysdeps/i386/configure: Likewise.
21065 * elf/dl-open.c: Comment fixes.
21067 2012-07-17 Joseph Myers <joseph@codesourcery.com>
21069 * Makefile [CXX] (check-data): Remove.
21070 [CXX] (c++-types.data): New vpath directive.
21071 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
21072 vpath. Do not allow for C++ type data being missing.
21073 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
21074 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
21075 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
21076 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
21077 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
21078 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
21079 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
21080 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
21082 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
21083 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
21085 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
21086 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
21088 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
21089 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
21091 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
21092 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
21094 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
21095 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
21097 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
21098 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
21100 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
21101 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
21103 * elf/tls-macros.h (TLS_LE): Move architecture-specific
21104 definitions to architecture-specific files.
21105 (TLS_IE): Likewise.
21106 (TLS_LD): Likewise.
21107 (TLS_GD): Likewise.
21108 * sysdeps/i386/tls-macros.h: New file.
21109 * sysdeps/powerpc/tls-macros.h: Likewise.
21110 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
21111 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
21112 * sysdeps/sh/tls-macros.h: Likewise.
21113 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
21114 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
21115 * sysdeps/x86_64/tls-macros.h: Likewise.
21117 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
21119 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
21120 zero value for regular exit case.
21122 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
21123 (__start_context): Preserve zero value for regular exit case.
21125 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
21126 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21128 * manual/setjmp.texi (setcontext): Clarify normal process
21129 termination when uc_link is the null pointer.
21130 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
21133 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
21135 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
21136 preprocessor. Test for each exception mask separately.
21138 2012-07-16 Andreas Jaeger <aj@suse.de>
21140 * po/ru.po: Update from translation team.
21142 2012-07-15 Joseph Myers <joseph@codesourcery.com>
21144 * conform/data/string.h-data (NULL): Use macro-constant. Require
21146 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
21147 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
21148 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
21149 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
21150 [ISO || ISO99 || ISO11] (*_t): Do not allow.
21152 2012-07-13 Andreas Jaeger <aj@suse.de>
21154 * po/fr.po: Update from translation team.
21156 2012-07-12 Marek Polacek <polacek@redhat.com>
21159 * math/libm-test.inc (yn_test): Add test for BZ #14173.
21160 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
21163 2012-07-12 Joseph Myers <joseph@codesourcery.com>
21166 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
21167 Change to 2.4.1 where previously 2.4.0.
21168 * sysdeps/unix/sysv/linux/configure: Regenerated.
21169 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
21170 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
21172 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
21173 (__ASSUME_AT_CLKTCK): Remove.
21174 (__ASSUME_AT_PAGESIZE): Likewise.
21175 (__ASSUME_AT_XID): Likewise.
21176 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
21177 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
21178 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
21180 (HAVE_AUX_PAGESIZE): Likewise.
21181 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
21182 [__ASSUME_AT_CLKTCK]: Make code unconditional.
21183 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
21185 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
21188 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
21189 the temporary buffer used to invoke __gethostbyname2_r,
21190 __gethostbyaddr_r and gethostbyname4_r to make room for struct
21191 host_data / struct gaih_addrtuple.
21192 * resolv/nss_dns/dns-host.c (global scope): Move definition of
21193 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
21194 header file nss/nsswitch.h.
21195 * nss/nsswitch.h (global scope): Add definition of implementation
21196 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
21197 resolv/nss_dns/dns-host.c).
21199 2012-07-11 Andreas Jaeger <aj@suse.de>
21201 * po/fr.po: Update from translation team.
21203 * po/sv.po: Update from translation team
21204 * po/fr.po: Another update from translation team.
21206 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21208 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
21209 for subnormals or multiply small sinh result by itself.
21210 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
21211 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21213 2012-07-11 David S. Miller <davem@davemloft.net>
21215 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21217 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
21220 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
21221 (INTERNAL_MARK): Shift it here.
21223 2012-07-10 Marek Polacek <polacek@redhat.com>
21226 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
21227 libc_cv_asm_global_directive with .globl.
21228 * configure: Regenerated.
21229 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
21231 * sysdeps/i386/configure: Regenerated.
21232 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
21234 * sysdeps/x86_64/configure: Regenerated.
21235 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
21236 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
21237 * elf/tst-unique2mod2.c: Likewise.
21238 * elf/tst-unique2mod1.c: Likewise.
21239 * elf/tst-unique1mod2.c: Likewise.
21240 * elf/tst-unique1mod1.c: Likewise.
21241 * sysdeps/s390/s390-32/sysdep.h: Likewise.
21242 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
21243 * sysdeps/s390/s390-64/sysdep.h: Likewise.
21244 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
21245 * sysdeps/mach/sysdep.h: Likewise.
21246 * sysdeps/i386/sysdep.h: Likewise.
21247 * sysdeps/i386/i386-mcount.S: Likewise.
21248 * sysdeps/x86_64/_mcount.S: Likewise.
21249 * sysdeps/x86_64/sysdep.h: Likewise.
21250 * sysdeps/sh/_mcount.S: Likewise.
21251 * sysdeps/sh/sysdep.h: Likewise.
21252 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
21253 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
21254 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
21255 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
21256 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
21257 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
21258 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
21259 * locale/localeinfo.h: Likewise.
21260 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
21261 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
21263 2012-07-09 Roland McGrath <roland@hack.frob.com>
21266 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
21268 * manual/message.texi (The Uniforum approach): Likewise.
21269 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
21270 (glibc iconv Implementation): Likewise.
21272 2012-07-09 Joseph Myers <joseph@codesourcery.com>
21275 * math/s_clog.c (__clog): Avoid scaling a value down where that
21276 could result in underflow.
21277 * math/s_clog10.c (__clog10): Likewise.
21278 * math/s_clog10f.c (__clog10f): Likewise.
21279 * math/s_clog10l.c (__clog10l): Likewise.
21280 * math/s_clogf.c (__clogf): Likewise.
21281 * math/s_clogl.c (__clogl): Likewise.
21282 * math/libm-test.inc (clog_test): Add more tests.
21283 (clog10_test): Likewise.
21284 * sysdeps/i386/fpu/libm-test-ulps: Update.
21285 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21287 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
21290 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
21291 by 7 not 8 to examine high bit of fractional part.
21294 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
21295 for call to __mcount_internal.
21296 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
21297 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
21298 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
21300 2012-07-06 Joseph Myers <joseph@codesourcery.com>
21303 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
21304 approximation for values within 0x1p-13f of an odd multiple of
21306 * math/libm-test.inc (tan_test): Do not allow spurious underflow
21307 exception. Add more tests.
21308 * sysdeps/i386/fpu/libm-test-ulps: Update.
21311 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
21312 inputs and return -1 for them. Do not check for +Inf in case not
21313 reachable for +Inf.
21314 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
21315 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
21316 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
21317 and return -1 for them. Do not check for +Inf in case not
21318 reachable for +Inf.
21319 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
21321 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
21322 and return -1 for them. Do not check for +Inf in case not
21323 reachable for +Inf.
21324 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
21325 spurious underflow.
21326 * sysdeps/i386/fpu/libm-test-ulps: Update.
21327 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21329 2012-07-06 Mike Frysinger <vapier@gentoo.org>
21331 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
21333 2012-07-05 Joseph Myers <joseph@codesourcery.com>
21337 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
21338 could result in spurious underflow. Scale down values above
21339 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
21340 * math/s_csqrtf.c (__csqrtf): Likewise.
21341 * math/s_csqrtl.c (__csqrtl): Likewise.
21342 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
21343 spurious underflow.
21344 * sysdeps/i386/fpu/libm-test-ulps: Update.
21345 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21347 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
21349 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
21351 * catgets/xopen-msg.awk: New file.
21352 * catgets/xopen-msg.sed: Removed.
21354 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
21356 * intl/po2test.awk: New file.
21357 * intl/po2test.sed: Removed.
21359 2012-07-04 Joseph Myers <joseph@codesourcery.com>
21362 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
21363 or multiply small sinh result by itself.
21364 * math/s_ctanf.c (__ctanf): Likewise.
21365 * math/s_ctanh.c (__ctanh): Likewise.
21366 * math/s_ctanhf.c (__ctanhf): Likewise.
21367 * math/s_ctanhl.c (__ctanhl): Likewise.
21368 * math/s_ctanl.c (__ctanl): Likewise.
21369 * math/libm-test.inc (ctan_test_tonearest): New function.
21370 (ctan_test_towardzero): Likewise.
21371 (ctan_test_downward): Likewise.
21372 (ctan_test_upward): Likewise.
21373 (ctanh_test_tonearest): Likewise.
21374 (ctanh_test_towardzero): Likewise.
21375 (ctanh_test_downward): Likewise.
21376 (ctanh_test_upward): Likewise.
21377 (main): Call these new functions.
21378 * sysdeps/i386/fpu/libm-test-ulps: Update.
21379 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21381 2012-07-03 Mike Frysinger <vapier@gentoo.org>
21383 * .gitignore: Delete /ports entry.
21385 2012-07-03 Andreas Jaeger <aj@suse.de>
21387 * po/bg.po: Update from translation team.
21388 * po/cs.po: Likewise.
21389 * po/de.po: Likewise.
21390 * po/hr.po: Likewise.
21391 * po/nl.pl: Likewise.
21392 * po/pl.po: Likewise.
21393 * po/vi.po: Likewise.
21395 2012-07-03 Joseph Myers <joseph@codesourcery.com>
21397 * Makeconfig [!+link] (+link-before-libc): New variable.
21398 [!+link] (+link-after-libc): Likewise.
21399 [!+link] (+link-tests): Likewise.
21400 [!+link] (+link): Define in terms of $(+link-before-libc) and
21401 $(+link-after-libc).
21402 [!+link-static] (+link-static-before-libc): New variable.
21403 [!+link-static] (+link-static-after-libc): Likewise.
21404 [!+link-static] (+link-static-tests): Likewise.
21405 [!+link-static] (+link-static): Define in terms of
21406 $(+link-static-before-libc) and $(+link-static-after-libc).
21407 [build-shared] (link-libc-before-gnulib): New variable.
21408 [build-shared] (link-libc-tests): Likewise.
21409 [build-shared] (link-libc): Define in terms of
21410 $(link-libc-before-gnulib).
21411 [!build-shared] (link-libc-tests): New variable.
21412 (link-libc-static-tests): New variable.
21413 [!gnulib] (gnulib-arch): New variable.
21414 [!gnulib] (gnulib-tests): Likewise.
21415 [!gnulib] (static-gnulib-arch): Likewise.
21416 [!gnulib] (static-gnulib-tests): Likewise.
21417 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
21418 Define with "=" instead of ":=".
21419 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
21420 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
21421 * Rules (binaries-all-notests): New variable.
21422 (binaries-all-tests): Likewise.
21423 (binaries-static-notests): Likewise.
21424 (binaries-static-tests): Likewise.
21425 (binaries-all): Define using $(binaries-all-notests) and
21426 $(binaries-all-tests).
21427 (binaries-static): Define using $(binaries-static-notests) and
21428 $(binaries-static-tests).
21429 (binaries-shared-tests): New variable.
21430 (binaries-shared-notests): Likewise.
21431 (binaries-shared): Remove variable.
21432 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
21433 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
21434 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
21435 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
21436 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
21437 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
21438 * elf/Makefile (sln-modules): New variable.
21439 (extra-objs): Add $(sln-modules:=.o).
21440 (ldconfig-modules): Add static-stubs.
21441 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
21442 * elf/static-stubs.c: New file.
21445 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
21446 by 7 not 8 to examine high bit of fractional part. Use volatile
21447 variables when splitting into final array of floats if
21448 __FLT_EVAL_METHOD__ != 0.
21449 * math/libm-test.inc (cos_test): Add another test.
21450 (sin_test): Likewise.
21451 * sysdeps/i386/fpu/libm-test-ulps: Update.
21454 * math/libm-test.inc (cosh_test): Add more tests.
21456 * version.h (RELEASE): Set to "development".
21457 (VERSION): Set to "2.16.90".
21459 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
21461 * NEWS: Update copyright. Remove last-updated date.
21462 Mention math library bug fixes and timezone data changes.
21463 * README: Mention GNU/Hurd, x32, and HPPA support status.
21465 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
21467 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
21469 2012-06-27 Andreas Jaeger <aj@suse.de>
21471 * manual/contrib.texi (Contributors): Add Samuel Thibault.
21473 2012-06-25 Andreas Jaeger <aj@suse.de>
21475 * sysdeps/s390/fpu/libm-test-ulps: Update.
21477 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
21478 Thomas Schwinge <thomas@codesourcery.com>
21480 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
21481 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
21482 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
21485 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
21487 * sysdeps/mach/start.c: Remove file.
21488 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
21489 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
21490 * sysdeps/sh/init-first.c: Likewise.
21492 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
21493 registers for frame unwinding purposes, add CFI directives.
21494 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
21495 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
21496 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
21499 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
21500 __fortify_fail returning.
21501 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
21503 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
21504 sysdeps/sh/____longjmp_chk.S.
21505 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
21506 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
21507 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
21508 (gen-as-const-headers): Append sigaltstack-offsets.sym.
21510 * sysdeps/sh/abort-instr.h: New file.
21511 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
21512 process in case exit returns.
21514 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
21515 initialize the GOT register before use.
21517 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
21518 calculation of ARGC > 4.
21520 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
21521 meaningful names to some local labels.
21523 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
21524 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21526 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
21527 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
21528 (__arch_compare_and_exchange_val_16_acq): Likewise.
21529 (__arch_compare_and_exchange_val_32_acq): Likewise.
21530 (atomic_exchange_and_add): Fix gUSA sequence.
21531 (atomic_add): Likewise.
21532 (atomic_add_negative): Likewise.
21533 (atomic_add_zero): Likewise.
21534 (atomic_bit_test_set): Likewise.
21536 2012-06-22 Andreas Schwab <schwab@redhat.com>
21539 * include/link.h (struct link_map): Add l_free_initfini.
21540 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
21542 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
21543 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
21544 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
21547 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
21549 * configure.in: Use AC_LANG_SOURCE.
21550 * configure: Regenerate.
21552 2012-06-22 Roland McGrath <roland@hack.frob.com>
21554 * configure.in (libc_cv_localstatedir): New substituted variable.
21555 * configure: Regenerated.
21556 * config.make.in (localstatedir): New variable, substituted from
21557 libc_cv_localstatedir.
21558 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
21559 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
21560 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
21561 * sysdeps/gnu/configure: Regenerated.
21563 2012-06-21 Jeff Law <law@redhat.com>
21566 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
21567 free. Simplify list management for _LIBC case.
21569 2012-06-21 Joseph Myers <joseph@codesourcery.com>
21572 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
21573 Clear sign bit of 64-bit integer value before comparing against
21576 * sysdeps/mach/configure: Regenerated.
21578 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
21581 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
21583 2012-06-21 Jeff Law <law@redhat.com>
21586 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
21587 uint16_t for elements in the "seen" array to avoid char overflows.
21588 * elf/dl-fini.c (_dl_sort_fini): Likewise.
21589 * elf/dl-open.c (dl_open_worker): Likewise.
21591 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
21593 * scripts/list-sources.sh: Scan PORTS for translations.
21594 * po/libc.pot: Regenerated.
21596 2012-06-21 Andreas Jaeger <aj@suse.de>
21599 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
21601 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
21602 * bits/byteswap-16.h (__bswap_16): Likewise.
21603 * bits/byteswap.h (__bswap_constant_16): Likewise.
21605 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
21608 * sysdeps/i386/fpu_control.h: Removed.
21609 * sysdeps/x86_64/fpu_control.h: Moved to ...
21610 * sysdeps/x86/fpu_control.h: Here.
21612 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
21613 (_FPU_SETCW): Likewise.
21615 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
21618 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
21619 * sysdeps/x86/fpu/bits/mathinline.h: This.
21620 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
21624 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
21625 functions if __x86_64__ is defined.
21627 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
21629 * string/endian.h: Add !__ASSEMBLER__ condition for including
21630 conversion interfaces.
21632 2012-06-15 Joseph Myers <joseph@codesourcery.com>
21635 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
21636 of ABS(x) in calculating zero to negative powers other than odd
21638 * math/libm-test.inc (pow_test): Add more tests.
21640 2012-06-15 Andreas Jaeger <aj@suse.de>
21642 * manual/contrib.texi (Contributors): Update entry of Liubov
21643 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
21646 2012-06-15 Cyril Hrubis <metan@ucw.cz>
21648 * string/string.h: Add __wur to GNU version of strerror_r.
21650 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
21653 * string/Makefile (tests): Add tst-strtok_r.
21654 * string/tst-strtok_r.c: New file.
21655 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
21656 RAX_LP/RDX_LP on SAVE_PTR.
21658 2012-06-14 Roland McGrath <roland@hack.frob.com>
21660 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
21662 2012-06-14 Joseph Myers <joseph@codesourcery.com>
21664 * libm_test.inc (csqrt_test): Allow more spurious underflow
21666 (j0_test): Likewise.
21667 (j1_test): Likewise.
21668 (y0_test): Likewise.
21669 (y1_test): Likewise.
21671 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
21673 * po/Makefile (libc.pot): Use UTF-8 charset.
21675 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
21678 Suppress sign-conversion warning from FD_SET.
21679 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
21680 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
21681 not unsigned long int.
21682 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
21684 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
21688 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
21689 __extern_always_inline instead of __extern_inline.
21690 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
21691 (__signbit): Likewise.
21692 (__signbitl): Support C++ namespace.
21693 (lrintf): New inline function.
21695 (llrintf): Likewise.
21696 (llrint): Likewise.
21706 (floorf): Likewise.
21707 (nearbyint): Likewise.
21708 (nearbyintf): Likewise.
21710 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
21712 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
21713 non-default versions.
21715 2012-06-11 Roland McGrath <roland@hack.frob.com>
21718 * manual/argp.texi (Argp): Reword argp_parse description slightly.
21720 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
21722 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
21723 (FE_UPWARD, FE_DOWNWARD): Don't define.
21724 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
21725 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
21727 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
21729 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
21730 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
21732 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21734 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
21735 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
21736 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
21737 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
21739 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
21742 * sysdeps/i386/fpu/bits/fenv.h: Removed.
21743 * sysdeps/i386/fpu/Implies: New file.
21744 * sysdeps/x86_64/fpu/Implies: Likewise.
21745 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
21746 * sysdeps/x86/fpu/bits/fenv.h: This.
21748 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
21751 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
21754 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
21755 character 0xffff that matches the last element of the
21758 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21760 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
21763 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21765 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
21766 values higher than 25.6283.
21768 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21770 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
21771 subnormal exponent extraction and add some __builtin_expect.
21772 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
21773 Fix for subnormal mantissa calculation.
21775 2012-06-04 Mike Frysinger <vapier@gentoo.org>
21777 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
21778 cpu2 is -1 and errno is not ENOSYS.
21780 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
21783 * sysdeps/i386/i486/bits/string.h: Renamed to ...
21784 * sysdeps/x86/bits/string.h: This.
21785 * sysdeps/x86_64/bits/string.h: Removed.
21787 * sysdeps/i386/i486/bits/string.h: Define inline functions only
21788 if not compiling for x86-64, but compiling for >= i486.
21790 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
21791 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
21793 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
21794 New macro from Linux kernel 3.4.0.
21795 (FP_XSTATE_MAGIC2): Likewise.
21796 (FP_XSTATE_MAGIC2_SIZE): Likewise.
21797 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
21798 (struct _fpx_sw_bytes): New struct.
21799 (struct _xsave_hdr): Likewise.
21800 (struct _ymmh_state): Likewise.
21801 (struct _xstate): Likewise.
21803 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
21804 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
21805 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
21806 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
21807 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
21808 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
21810 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
21811 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
21812 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
21813 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
21814 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
21815 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
21817 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21820 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
21821 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
21822 (sysdep_headers): Include sys/platform/ppc.h.
21823 * sysdeps/powerpc/test-gettimebase.c: Test for
21824 __ppc_get_timebase() to catch future ISA opcode/insn changes.
21825 * manual/Makefile (appendices): Include platform.texi.
21826 * manual/contrib.texi (Contributors): Update @node pointers.
21827 * manual/maint.texi (Maintenance): Likewise.
21828 (Platform): New node.
21829 * manual/platform.texi: New file. Document the new features.
21831 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
21832 Jakub Jelinek <jakub@redhat.com>
21835 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
21836 where __builtin_expect is unavailable.
21838 2012-06-03 David S. Miller <davem@davemloft.net>
21840 * stdlib/longlong.h: Updated from GCC.
21842 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
21845 * sysdeps/powerpc/powerpc32/mcount.c: New file.
21846 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
21848 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
21849 (GLIBC_2.16): Likewise.
21851 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
21853 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
21855 2012-06-01 Joseph Myers <joseph@codesourcery.com>
21857 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
21858 (default-abi): New variable.
21859 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
21860 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
21862 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
21864 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
21866 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
21869 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
21870 definition. Document in comment.
21872 2012-06-01 David S. Miller <davem@davemloft.net>
21874 * stdlib/longlong.h: Updated from GCC.
21876 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
21879 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
21880 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
21881 sys/debugreg.h sys/io.h here.
21882 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
21883 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
21885 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
21886 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
21887 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
21888 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
21889 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
21890 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
21892 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
21893 Define only if __x86_64__ is defined.
21895 2012-06-01 Joseph Myers <joseph@codesourcery.com>
21898 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
21899 Use int64_t for variable i.
21900 * math/libm-test.inc (fmod_test): Add more tests.
21902 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
21903 z computation is not scheduled after fetestexcept.
21904 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
21905 Use math_force_eval instead of asm to ensure calculation scheduled
21906 before exception test.
21907 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
21908 Ensure a1 + u.d computation is not scheduled after fetestexcept.
21910 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
21912 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
21913 computation is not scheduled after fetestexcept.
21915 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
21918 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
21919 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
21921 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21923 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
21924 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
21926 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
21929 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
21931 (__WCHAR_MIN): Support __WORDSIZE == 64.
21932 (__WCHAR_MAX): Likewise.
21934 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
21935 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
21938 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
21939 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
21942 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
21943 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
21945 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
21946 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
21948 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
21949 Defined to 1 if __x86_64__ isn't defined.
21950 (_STAT_VER_LINUX_OLD): New.
21951 (st_atime): Remove duplicate.
21952 (st_mtime): Likewise.
21953 (st_ctime): Likewise.
21955 2012-05-31 David S. Miller <davem@davemloft.net>
21957 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
21960 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
21962 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
21966 * elf/dl-reloc.c: Include <_itoa.h>.
21967 (_dl_reloc_bad_type): Remove use of INTUSE.
21968 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
21969 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
21970 * stdio-common/psiginfo.c (psiginfo): Likewise.
21971 * stdio-common/psignal.c (psignal): Likewise.
21972 * string/strsignal.c (strsignal): Likewise.
21973 * include/signal.h (_sys_siglist): Declare hidden proto.
21974 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
21975 INTVARDEF with libc_hidden_data_def.
21976 * stdio-common/itoa-udigits.c: Likewise.
21977 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
21978 (_itoa_lower_digits_internal): Remove declaration.
21979 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
21980 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
21981 (_sys_sigabbrev_internal): Remove aliases.
21982 (_sys_siglist): Define hidden alias.
21984 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
21986 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21989 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
21992 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
21993 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
21995 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
21996 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
21997 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
21998 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
21999 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
22000 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
22002 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
22003 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
22004 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
22006 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
22014 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
22015 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
22016 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
22018 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
22019 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
22020 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
22021 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
22022 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
22023 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
22025 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
22026 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
22028 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
22029 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
22031 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
22032 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
22033 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
22035 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
22036 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
22038 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
22040 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
22041 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
22042 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
22044 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
22046 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
22048 2012-05-31 Joseph Myers <joseph@codesourcery.com>
22050 * math/math.h (M_El): Use two more decimal places.
22051 (M_LOG2El): Likewise.
22052 (M_LOG10El): Likewise.
22053 (M_LN2l): Likewise.
22054 (M_LN10l): Likewise.
22056 (M_PI_2l): Likewise.
22057 (M_PI_4l): Likewise.
22058 (M_1_PIl): Likewise.
22059 (M_2_PIl): Likewise.
22060 (M_2_SQRTPIl): Likewise.
22061 (M_SQRT2l): Likewise.
22062 (M_SQRT1_2l): Likewise.
22064 2012-05-31 David S. Miller <davem@davemloft.net>
22066 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
22067 values between float registers.
22068 * sysdeps/sparc/sparc64/memset.S: Likewise.
22069 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
22071 2012-05-31 Mike Frysinger <vapier@gentoo.org>
22073 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
22074 -D_FORTIFY_SOURCE=1.
22075 (CPPFLAGS-tst-longjmp_chk.c): Define.
22076 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
22077 (CPPFLAGS-tst-longjmp_chk2.c): Define.
22078 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
22079 CFLAGS-tst-wchar-h.c.
22081 2012-05-31 Marek Polacek <polacek@redhat.com>
22084 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
22085 __endmntent_internal): Remove declaration.
22086 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
22087 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
22088 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
22090 2012-05-30 David S. Miller <davem@davemloft.net>
22092 * sysdeps/sparc/sparc32/soft-fp/q_util.c
22093 (___Q_simulate_exceptions): Use real FP ops rather than writing
22095 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
22098 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
22101 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
22102 * sysdeps/x86/bits/xtitypes.h: This.
22104 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
22105 * sysdeps/x86/bits/wordsize.h: This.
22107 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
22108 * sysdeps/x86/bits/huge_vall.h: This.
22110 * sysdeps/i386/bits/select.h: Removed.
22111 * sysdeps/x86_64/bits/select.h: Renamed to ...
22112 * sysdeps/x86/bits/select.h: This.
22114 * sysdeps/i386/bits/setjmp.h: Removed.
22115 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
22116 * sysdeps/x86/bits/setjmp.h: This.
22118 * sysdeps/i386/bits/mathdef.h: Removed.
22119 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
22120 * sysdeps/x86/bits/mathdef.h: This.
22122 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
22125 * include/sys/socket.h (__connect_internal)
22126 (__libc_sa_len_internal): Remove declaration.
22127 (__connect, __libc_sa_len): Declare hidden_proto.
22128 (SA_LEN): Remove use of INTUSE.
22129 * socket/connect.c: Add libc_hidden_def.
22130 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
22131 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
22132 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
22134 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
22135 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
22136 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
22137 of adding _internal alias.
22139 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
22142 * sysdeps/i386/bits/link.h: Removed.
22143 * sysdeps/i386/bits/linkmap.h: Likewise.
22144 * sysdeps/x86_64/bits/link.h: Renamed to ...
22145 * sysdeps/x86/bits/link.h: This.
22146 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
22147 * sysdeps/x86/bits/linkmap.h: This.
22149 * sysdeps/i386/bits/endian.h: Removed.
22150 * sysdeps/x86_64/bits/endian.h: Renamed to ...
22151 * sysdeps/x86/bits/endian.h: This.
22153 * sysdeps/i386/bits/byteswap.h: Removed.
22154 * sysdeps/i386/bits/byteswap-16.h: Likewise.
22155 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
22156 * sysdeps/x86/bits/byteswap.h: This.
22157 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
22158 * sysdeps/x86/bits/byteswap-16.h: This.
22159 * sysdeps/i386/Implies: Add x86.
22160 * sysdeps/x86_64/Implies: Likewise.
22162 2012-05-30 David S. Miller <davem@davemloft.net>
22164 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
22165 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
22166 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
22167 (FP_TRAPPING_EXCEPTIONS): Define.
22168 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
22169 (FP_TRAPPING_EXCEPTIONS): Define.
22170 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
22171 subnormals only when inexact has been signalled or underflow
22172 exceptions are enabled.
22173 (_FP_PACK_CANONICAL): Likewise.
22175 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
22178 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
22179 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
22181 2012-05-30 Richard Henderson <rth@twiddle.net>
22183 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
22184 with #ifndef NOT_IN_libc.
22186 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
22187 marked to avoid plt entry.
22189 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
22192 * Makeconfig (default-abi): New macro.
22193 (abi-includes): Likewise.
22194 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
22195 $(abi-$(default-abi)-lib-soname) for soname if defined.
22196 ($(common-objpfx)gnu/lib-names.stmp): Generate from
22198 * Makefile (installed-stubs): Likewise.
22199 * include/stubs-biarch.h: Removed.
22200 * scripts/lib-names.awk: Only handle one library at a time.
22201 * scripts/soversions.awk: Remove WORDSIZE support.
22202 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
22204 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
22206 (syscall-list-default-condition): Likewise.
22207 (syscall-list-default-condition): Likewise.
22208 (syscall-list-includes): Likewise.
22209 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
22210 syscall-list-* with abi-*. Handle undefined abi-variants.
22211 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
22212 * sysdeps/unix/sysv/linux/i386/Implies: New file.
22213 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
22214 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
22215 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
22216 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
22218 (syscall-list-32-options): Likewise.
22219 (syscall-list-32-condition): Likewise.
22220 (syscall-list-64-options): Likewise.
22221 (syscall-list-64-condition): Likewise.
22222 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
22224 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
22227 (abi-64-ld-soname): New macro.
22228 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
22229 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
22232 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
22233 * sysdeps/x86_64/x32/shlib-versions: Likewise.
22235 2012-05-30 Joseph Myers <joseph@codesourcery.com>
22237 * sysdeps/unix/sysv/linux/kernel-features.h
22238 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
22239 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
22240 include <kernel-features.h>.
22241 [!__NR_ftruncate64]: Remove conditional code.
22242 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22243 [__NR_ftruncate64]: Make code unconditional.
22244 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22245 * sysdeps/unix/sysv/linux/truncate64.c: Do not
22246 include <kernel-features.h>.
22247 [!__NR_ftruncate64]: Remove conditional code.
22248 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22249 [__NR_ftruncate64]: Make code unconditional.
22250 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22251 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
22252 include <kernel-features.h>.
22253 [!__NR_ftruncate64]: Remove conditional code.
22254 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22255 [__NR_ftruncate64]: Make code unconditional.
22256 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22257 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
22258 include <kernel-features.h>.
22259 [!__NR_ftruncate64]: Remove conditional code.
22260 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22261 [__NR_ftruncate64]: Make code unconditional.
22262 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22264 * configure.in (libc_cv_fpie): Weaken to a compile test using
22265 LIBC_TRY_CC_OPTION.
22266 * configure: Regenerated.
22268 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22270 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
22271 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
22272 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
22273 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
22275 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
22276 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
22277 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
22278 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
22279 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
22280 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
22283 2012-05-27 David S. Miller <davem@davemloft.net>
22285 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
22287 (__Q_simulate_exceptions): Return void. Change to simulate
22288 exceptions by writing into the %fsr.
22289 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
22290 (__Qp_handle_exceptions): Likewise.
22292 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
22293 __Qp_handle_exceptions.
22294 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
22295 __Qp_handle_exceptions.
22296 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
22297 as unused and give dummy FP_RND_NEAREST initializer.
22298 (FP_INHIBIT_RESULTS): Define.
22299 (___Q_simulate_exceptions): Update declaration.
22300 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
22302 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
22303 as unused and give dummy FP_RND_NEAREST initializer.
22304 (__Qp_handle_exceptions): Update declaration.
22305 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
22308 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
22310 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
22311 the temporary FPU control word.
22312 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
22313 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
22314 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
22315 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
22316 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
22317 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
22318 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
22319 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
22320 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
22321 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
22322 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
22324 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
22326 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
22329 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
22331 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
22332 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
22333 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
22334 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
22336 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
22337 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
22340 2012-05-27 Ulrich Drepper <drepper@gmail.com>
22342 * po/h.po: Update from translation team.
22344 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
22346 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
22348 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
22349 handling of denormals.
22350 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
22351 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
22352 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
22353 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
22354 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
22355 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
22356 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
22359 2012-05-26 Marek Polacek <polacek@redhat.com>
22362 * math/libm-test.inc (fma_test): Don't always expect underflow
22365 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
22368 * elf/tst-execstack.c: Include stackinfo.h.
22369 (do_test): Adjust test case to ensure that pthread_getattr_np
22370 behaviour remains the same after marking stack executable.
22372 2012-05-25 Joseph Myers <joseph@codesourcery.com>
22374 * sysdeps/unix/sysv/linux/kernel-features.h
22375 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
22376 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
22378 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
22379 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
22380 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
22382 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
22383 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
22385 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
22387 * configure.in: Define the default includes to being none.
22388 * configure: Regenerated.
22390 2012-05-25 Roland McGrath <roland@hack.frob.com>
22392 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
22393 * sysdeps/x86_64/setjmp.S: Likewise.
22394 * sysdeps/i386/bsd-setjmp.S: Likewise.
22395 * sysdeps/i386/bsd-_setjmp.S: Likewise.
22396 * sysdeps/i386/setjmp.S: Likewise.
22397 * sysdeps/i386/__longjmp.S: Likewise.
22398 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
22399 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
22401 * include/stap-probe.h: New file.
22402 * configure.in: Handle --enable-systemtap.
22403 * configure: Regenerated.
22404 * config.h.in (USE_STAP_PROBE): New #undef.
22405 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
22406 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
22407 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
22409 2012-05-25 Joseph Myers <joseph@codesourcery.com>
22412 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
22413 to 2.4.0 where earlier.
22414 * sysdeps/unix/sysv/linux/configure: Regenerated.
22415 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
22416 <kernel-features.h>.
22417 [__ASSUME_32BITUIDS]: Make code unconditional.
22418 [!__ASSUME_32BITUIDS]: Remove conditional code.
22419 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
22420 <kernel-features.h>.
22421 [__ASSUME_32BITUIDS]: Make code unconditional.
22422 [!__ASSUME_32BITUIDS]: Remove conditional code.
22423 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
22424 [__ASSUME_32BITUIDS]: Make code unconditional.
22425 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
22426 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
22427 <kernel-features.h>.
22428 [__ASSUME_32BITUIDS]: Make code unconditional.
22429 [!__ASSUME_32BITUIDS]: Remove conditional code.
22430 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
22431 <kernel-features.h>.
22432 [__ASSUME_32BITUIDS]: Make code unconditional.
22433 [!__ASSUME_32BITUIDS]: Remove conditional code.
22434 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
22435 <kernel-features.h>.
22436 [__ASSUME_32BITUIDS]: Make code unconditional.
22437 [!__ASSUME_32BITUIDS]: Remove conditional code.
22438 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
22439 <kernel-features.h>.
22440 [__ASSUME_32BITUIDS]: Make code unconditional.
22441 [!__ASSUME_32BITUIDS]: Remove conditional code.
22442 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
22443 <kernel-features.h>.
22444 [__ASSUME_32BITUIDS]: Make code unconditional.
22445 [!__ASSUME_32BITUIDS]: Remove conditional code.
22446 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
22447 <kernel-features.h>.
22448 [__ASSUME_32BITUIDS]: Make code unconditional.
22449 [!__ASSUME_32BITUIDS]: Remove conditional code.
22450 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
22451 <kernel-features.h>.
22452 [__ASSUME_32BITUIDS]: Make code unconditional.
22453 [!__ASSUME_32BITUIDS]: Remove conditional code.
22454 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
22455 <kernel-features.h>.
22456 [__ASSUME_32BITUIDS]: Make code unconditional.
22457 [!__ASSUME_32BITUIDS]: Remove conditional code.
22458 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
22459 <kernel-features.h>.
22460 [__ASSUME_32BITUIDS]: Make code unconditional.
22461 [!__ASSUME_32BITUIDS]: Remove conditional code.
22462 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
22463 <kernel-features.h>.
22464 [__ASSUME_32BITUIDS]: Make code unconditional.
22465 [!__ASSUME_32BITUIDS]: Remove conditional code.
22466 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
22467 <kernel-features.h>.
22468 [__NR_setresgid] (__setresgid): Do not declare.
22469 [__ASSUME_32BITUIDS]: Make code unconditional.
22470 [!__ASSUME_32BITUIDS]: Remove conditional code.
22471 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
22472 <kernel-features.h>.
22473 [__NR_setresuid] (__setresuid): Do not declare.
22474 [__ASSUME_32BITUIDS]: Make code unconditional.
22475 [!__ASSUME_32BITUIDS]: Remove conditional code.
22476 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
22477 <kernel-features.h>.
22478 [__ASSUME_32BITUIDS]: Make code unconditional.
22479 [!__ASSUME_32BITUIDS]: Remove conditional code.
22480 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
22481 <kernel-features.h>.
22482 [__ASSUME_32BITUIDS]: Make code unconditional.
22483 [!__ASSUME_32BITUIDS]: Remove conditional code.
22484 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
22485 <kernel-features.h>.
22486 [__ASSUME_32BITUIDS]: Make code unconditional.
22487 [!__ASSUME_32BITUIDS]: Remove conditional code.
22488 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
22489 <kernel-features.h>.
22490 [__ASSUME_32BITUIDS]: Make code unconditional.
22491 [!__ASSUME_32BITUIDS]: Remove conditional code.
22492 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
22493 <kernel-features.h>.
22494 [__ASSUME_32BITUIDS]: Make code unconditional.
22495 [!__ASSUME_32BITUIDS]: Remove conditional code.
22496 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
22497 <kernel-features.h>.
22498 [__ASSUME_32BITUIDS]: Make code unconditional.
22499 [!__ASSUME_32BITUIDS]: Remove conditional code.
22500 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
22501 <kernel-features.h>.
22502 [__ASSUME_32BITUIDS]: Make code unconditional.
22503 [!__ASSUME_32BITUIDS]: Remove conditional code.
22504 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
22505 <kernel-features.h>.
22506 [__ASSUME_32BITUIDS]: Make code unconditional.
22507 [!__ASSUME_32BITUIDS]: Remove conditional code.
22508 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
22509 <kernel-features.h>.
22510 [__ASSUME_32BITUIDS]: Make code unconditional.
22511 [!__ASSUME_32BITUIDS]: Remove conditional code.
22512 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
22513 <kernel-features.h>.
22514 [__ASSUME_32BITUIDS]: Make code unconditional.
22515 [!__ASSUME_32BITUIDS]: Remove conditional code.
22516 * sysdeps/unix/sysv/linux/kernel-features.h
22517 (__ASSUME_SETRESUID_SYSCALL): Remove.
22518 (__ASSUME_SETRESGID_SYSCALL): Likewise.
22519 (__ASSUME_32BITUIDS): Likewise.
22520 (__ASSUME_LDT_WORKS): Likewise.
22521 (__ASSUME_O_DIRECTORY): Likewise.
22522 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
22523 architecture but not kernel version.
22524 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
22525 (__ASSUME_MMAP2_SYSCALL): Likewise.
22526 (__ASSUME_STAT64_SYSCALL): Likewise.
22527 (__ASSUME_IPC64): Likewise.
22528 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
22529 <kernel-features.h>.
22530 [__ASSUME_32BITUIDS]: Make code unconditional.
22531 [!__ASSUME_32BITUIDS]: Remove conditional code.
22532 * sysdeps/unix/sysv/linux/opendir.c: Do not include
22533 <kernel-features.h>.
22534 [__ASSUME_O_DIRECTORY]: Make code unconditional.
22535 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
22536 132096]: Remove conditional code.
22537 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
22538 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
22539 <kernel-features.h>.
22540 [__ASSUME_32BITUIDS]: Make code unconditional.
22541 [!__ASSUME_32BITUIDS]: Remove conditional code.
22542 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
22543 <kernel-features.h>.
22544 [__ASSUME_32BITUIDS]: Make code unconditional.
22545 [!__ASSUME_32BITUIDS]: Remove conditional code.
22546 * sysdeps/unix/sysv/linux/setegid.c: Do not include
22547 <kernel-features.h>.
22548 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
22550 (__setresgid): Do not declare.
22551 [__ASSUME_32BITUIDS]: Make code unconditional.
22552 [!__ASSUME_32BITUIDS]: Remove conditional code.
22553 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
22554 <kernel-features.h>.
22555 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
22557 (__setresuid): Do not declare.
22558 [__ASSUME_32BITUIDS]: Make code unconditional.
22559 [!__ASSUME_32BITUIDS]: Remove conditional code.
22560 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
22561 <kernel-features.h>.
22562 [__ASSUME_32BITUIDS]: Make code unconditional.
22563 [!__ASSUME_32BITUIDS]: Remove conditional code.
22564 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
22565 <kernel-features.h>.
22566 [__ASSUME_32BITUIDS]: Make code unconditional.
22567 [!__ASSUME_32BITUIDS]: Remove conditional code.
22569 2012-05-25 Richard Henderson <rth@twiddle.net>
22571 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
22572 dl_hwcap to ifunc resolver.
22573 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
22575 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
22576 dl_hwcap to ifunc resolver.
22577 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
22579 2012-05-24 Joseph Myers <joseph@codesourcery.com>
22582 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
22583 for |x| <= 2**-26, not 2**-57.
22584 * math/libm-test.inc (acos_test): Do not allow spurious underflow
22587 2012-05-24 Jeff Law <law@redhat.com>
22589 * stdio-common/Makefile (tests): Add bug25.
22590 * stdio-common/bug25.c: New test.
22592 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
22595 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
22596 multiple of MALLOC_ALIGNMENT in size.
22597 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
22599 2012-05-24 Joseph Myers <joseph@codesourcery.com>
22601 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
22603 (FILENAME_MAX): Use macro-int-constant.
22604 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
22605 (_IOFBF): Use macro-int-constant.
22606 (_IOLBF): Likewise.
22607 (_IONBF): Likewise.
22608 (SEEK_CUR): Likewise.
22609 (SEEK_END): Likewise.
22610 (SEEK_SET): Likewise.
22611 (TMP_MAX): Likewise.
22612 (EOF): Use macro-int-constant. Require < 0.
22613 (NULL): Use macro-constant. Require == 0.
22614 (stdin): Require type to be FILE *.
22615 (stdout): Likewise.
22616 (stderr): Likewise.
22617 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
22618 macro-int-constant.
22619 (EXIT_SUCCESS): Likewise.
22620 (NULL): Use macro-constant. Require == 0.
22621 (RAND_MAX): Use macro-int-constant.
22622 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
22623 [C99-based standards] (strtof): Require function.
22624 [C99-based standards] (strtold): Likewise.
22625 [C99-based standards] (strtoll): Likewise.
22626 [C99-based standards] (strtoull): Likewise.
22627 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
22628 [ISO || ISO99 || ISO11] (limits.h): Likewise.
22629 [ISO || ISO99 || ISO11] (math.h): Likewise.
22630 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
22631 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
22632 [ISO || ISO99 || ISO11] (*_t): Do not allow.
22634 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
22637 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
22638 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
22639 * intl/dgettext.c (DCGETTEXT): Likewise.
22640 * intl/gettext.c (DCGETTEXT): Likewise.
22641 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
22642 * posix/regex_internal.h (gettext): Likewise.
22643 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
22644 Remove declaration.
22645 * include/argz.h (__argz_count_internal)
22646 (__argz_stringify_internal): Remove declaration.
22647 (__argz_count, __argz_stringify): Declare hidden proto.
22648 * intl/dcgettext.c: Remove use of INTDEF.
22649 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
22650 * string/argz-stringify.c: Likewise.
22651 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
22652 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
22653 Declare hidden proto.
22654 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
22655 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
22656 Declare hidden proto.
22657 * include/stdio.h (__asprintf_internal): Don't declare.
22658 (__asprintf): Don't define as macro. Declare hidden proto.
22659 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
22660 (__fsetlocking): Declare hidden proto.
22661 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
22662 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
22664 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
22665 (_IO_setlinebuf): Remove use of INTUSE.
22666 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
22667 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
22668 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
22669 Remove declaration.
22670 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
22671 (_IO_do_flush): Remove use of INTUSE.
22672 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
22673 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
22674 (_IO_adjust_column, _IO_least_wmarker)
22675 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
22676 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
22677 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
22678 (_IO_default_doallocate, _IO_wdefault_doallocate)
22679 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
22680 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
22681 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
22682 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
22683 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
22684 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
22685 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
22686 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
22687 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
22688 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
22689 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
22690 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
22691 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
22693 (_IO_flush_all_internal, _IO_adjust_column_internal)
22694 (_IO_default_uflow_internal, _IO_default_finish_internal)
22695 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
22696 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
22697 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
22698 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
22699 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
22700 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
22701 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
22702 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
22703 (_IO_file_close_internal, _IO_file_close_it_internal)
22704 (_IO_file_underflow_internal, _IO_file_overflow_internal)
22705 (_IO_file_init_internal, _IO_file_attach_internal)
22706 (_IO_file_fopen_internal, _IO_file_read_internal)
22707 (_IO_file_sync_internal, _IO_file_seek_internal)
22708 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
22709 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
22710 (_IO_str_underflow_internal, _IO_str_overflow_internal)
22711 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
22712 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
22713 (_IO_list_all_internal, _IO_link_in_internal)
22714 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
22715 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
22716 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
22717 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
22718 (_IO_do_write_internal, _IO_padn_internal)
22719 (_IO_getline_info_internal, _IO_getline_internal)
22720 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
22721 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
22722 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
22723 (_IO_vfscanf_internal, _IO_vfprintf_internal)
22724 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
22725 (_IO_init_internal, _IO_un_link_internal): Don't declare.
22726 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
22727 with libc_hidden_ver, remove use of INTUSE.
22728 * libio/genops.c: Likewise.
22729 * libio/freopen.c: Likewise.
22730 * libio/freopen64.c: Likewise.
22731 * libio/iofclose.c: Likewise.
22732 * libio/iofdopen.c: Likewise.
22733 * libio/iofflush.c: Likewise.
22734 * libio/iofflush_u.c: Likewise.
22735 * libio/iofgets.c: Likewise.
22736 * libio/iofgets_u.c: Likewise.
22737 * libio/iofopen.c: Likewise.
22738 * libio/iofopncook.c: Likewise.
22739 * libio/iofread.c: Likewise.
22740 * libio/iofread_u.c: Likewise.
22741 * libio/ioftell.c: Likewise.
22742 * libio/iofwrite.c: Likewise.
22743 * libio/iogetline.c: Likewise.
22744 * libio/iogets.c: Likewise.
22745 * libio/iogetwline.c: Likewise.
22746 * libio/iopadn.c: Likewise.
22747 * libio/iopopen.c: Likewise.
22748 * libio/ioseekoff.c: Likewise.
22749 * libio/ioseekpos.c: Likewise.
22750 * libio/iosetbuffer.c: Likewise.
22751 * libio/iosetvbuf.c: Likewise.
22752 * libio/ioungetc.c: Likewise.
22753 * libio/ioungetwc.c: Likewise.
22754 * libio/iovdprintf.c: Likewise.
22755 * libio/iovsprintf.c: Likewise.
22756 * libio/iovsscanf.c: Likewise.
22757 * libio/memstream.c: Likewise.
22758 * libio/obprintf.c: Likewise.
22759 * libio/oldfileops.c: Likewise.
22760 * libio/oldiofclose.c: Likewise.
22761 * libio/oldiofdopen.c: Likewise.
22762 * libio/oldiofopen.c: Likewise.
22763 * libio/oldiopopen.c: Likewise.
22764 * libio/oldstdfiles.c: Likewise.
22765 * libio/putc.c: Likewise.
22766 * libio/setbuf.c: Likewise.
22767 * libio/setlinebuf.c: Likewise.
22768 * libio/stdfiles.c: Likewise.
22769 * libio/strops.c: Likewise.
22770 * libio/vasprintf.c: Likewise.
22771 * libio/vscanf.c: Likewise.
22772 * libio/vsnprintf.c: Likewise.
22773 * libio/vswprintf.c: Likewise.
22774 * libio/wfiledoalloc.c: Likewise.
22775 * libio/wfileops.c: Likewise.
22776 * libio/wgenops.c: Likewise.
22777 * libio/wmemstream.c: Likewise.
22778 * libio/wstrops.c: Likewise.
22779 * libio/__fpurge.c: Likewise.
22780 * libio/__fsetlocking.c: Likewise.
22781 * assert/assert.c: Likewise.
22782 * debug/fgets_chk.c: Likewise.
22783 * debug/fgets_u_chk.c: Likewise.
22784 * debug/fread_chk.c: Likewise.
22785 * debug/fread_u_chk.c: Likewise.
22786 * debug/gets_chk.c: Likewise.
22787 * debug/obprintf_chk.c: Likewise.
22788 * debug/vasprintf_chk.c: Likewise.
22789 * debug/vdprintf_chk.c: Likewise.
22790 * debug/vsnprintf_chk.c: Likewise.
22791 * debug/vsprintf_chk.c: Likewise.
22792 * malloc/mtrace.c: Likewise.
22793 * misc/error.c: Likewise.
22794 * misc/syslog.c: Likewise.
22795 * stdio-common/asprintf.c: Likewise.
22796 * stdio-common/fxprintf.c: Likewise.
22797 * stdio-common/getw.c: Likewise.
22798 * stdio-common/isoc99_fscanf.c: Likewise.
22799 * stdio-common/isoc99_scanf.c: Likewise.
22800 * stdio-common/isoc99_vfscanf.c: Likewise.
22801 * stdio-common/isoc99_vscanf.c: Likewise.
22802 * stdio-common/isoc99_vsscanf.c: Likewise.
22803 * stdio-common/printf-prs.c: Likewise.
22804 * stdio-common/printf_fp.c: Likewise.
22805 * stdio-common/printf_fphex.c: Likewise.
22806 * stdio-common/printf_size.c: Likewise.
22807 * stdio-common/putw.c: Likewise.
22808 * stdio-common/scanf.c: Likewise.
22809 * stdio-common/sprintf.c: Likewise.
22810 * stdio-common/tmpfile.c: Likewise.
22811 * stdio-common/vfprintf.c: Likewise.
22812 * stdio-common/vfscanf.c: Likewise.
22813 * stdlib/strfmon_l.c: Likewise.
22814 * sunrpc/openchild.c: Likewise.
22815 * sunrpc/xdr_stdio.c: Likewise.
22816 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
22817 * sysdeps/mach/hurd/tmpfile.c: Likewise.
22819 2012-05-24 Roland McGrath <roland@hack.frob.com>
22821 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
22823 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
22824 in the third column, to generate for the shared library an IFUNC
22825 that uses _dl_vdso_vsym.
22826 * Makerules (COMPILE.c, compile-stdin.c): New variables.
22827 * Makeconfig (object-suffixes-noshared): New variable.
22829 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
22830 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
22831 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
22832 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
22835 * include/sys/time.h (__gettimeofday): Remove macro.
22836 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
22837 * time/gettimeofday.c (__gettimeofday): Remove #undef.
22839 (__gettimeofday): Add libc_hidden_def.
22840 (gettimeofday): Add libc_hidden_weak.
22841 * sysdeps/mach/gettimeofday.c: Likewise.
22842 * sysdeps/posix/gettimeofday.c: Likewise.
22843 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
22844 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
22845 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
22846 (__gettimeofday_internal): Remove strong_alias.
22847 (__gettimeofday): Add libc_hidden_def.
22848 (gettimeofday): Add libc_hidden_weak.
22849 * sysdeps/unix/syscalls.list (gettimeofday):
22850 Remove __gettimeofday_internal alias.
22852 2012-05-24 Daniel Jacobowitz <drow@false.org>
22853 H.J. Lu <hongjiu.lu@intel.com>
22856 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
22857 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
22858 (largebin_index_32_big): New.
22859 (largebin_index): Use it for 16-byte alignment.
22860 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
22861 correction with front_misalign.
22863 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
22865 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
22866 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
22868 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
22870 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
22872 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
22874 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
22876 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
22878 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
22880 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
22882 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
22884 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
22886 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
22888 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
22891 * scripts/data/c++-types-x32-linux-gnu.data: New file.
22892 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
22894 2012-05-24 Joseph Myers <joseph@codesourcery.com>
22898 * math/libm-test.inc (exp_test): Add test from bug 14036.
22899 (pow_test): Add test from bug 10846.
22901 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
22903 (special_function): Do not include flags in test name.
22904 (parse_args): Likewise.
22905 * sysdeps/i386/fpu/libm-test-ulps: Update.
22906 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
22907 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
22908 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
22909 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22911 * math/gen-libm-test.pl (%beautify): Add entries for underflow
22913 * math/libm-test.inc ("Philosophy"): Update comment about
22915 (UNDERFLOW_EXCEPTION): New macro.
22916 (UNDERFLOW_EXCEPTION_OK): Likewise.
22917 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
22918 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
22919 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
22920 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
22921 (INVALID_EXCEPTION_OK): Update value.
22922 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
22923 (OVERFLOW_EXCEPTION_OK): Likewise.
22924 (IGNORE_ZERO_INF_SIGN): Likewise.
22925 (test_exceptions): Handle underflow exceptions.
22926 (acos_test): Update for underflow exception expectations.
22927 (cexp_test): Likewise.
22928 (clog_test): Likewise.
22929 (clog10_test): Likewise.
22930 (csqrt_test): Likewise.
22931 (ctan_test): Likewise.
22932 (ctanh_test): Likewise.
22933 (exp_test): Likewise.
22934 (exp10_test): Likewise.
22935 (exp2_test): Likewise.
22936 (expm1_test): Likewise.
22937 (fma_test): Likewise.
22938 (j0_test): Likewise.
22939 (jn_test): Likewise.
22940 (nexttoward_test): Likewise.
22941 (pow_test): Likewise.
22942 (scalbn_test): Likewise.
22943 (scalbln_test): Likewise.
22944 (tan_test): Likewise.
22945 (y1_test): Likewise.
22946 * sysdeps/i386/fpu/libm-test-ulps: Update.
22947 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22949 2012-05-23 David S. Miller <davem@davemloft.net>
22951 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
22952 (__libc_sigaction): Remove unused local variables.
22954 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
22956 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
22958 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
22960 mktime: avoid signed integer overflow
22961 * time/mktime.c (__mktime_internal): Do not mishandle the case
22962 where diff == INT_MIN.
22964 mktime: simplify computation of average
22965 * time/mktime.c (ranged_convert): Use new time_t_avg function
22966 instead of rolling our own (probably-slower) code.
22968 mktime: do not assume signed right shift propagates sign bit
22969 * time/mktime.c (isdst_differ): New static function.
22970 (__mktime_internal): No need to normalize tm_isdst now.
22971 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
22974 mktime: merge another wrapv change from gnulib
22975 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
22976 from some compilers.
22978 mktime: remove incorrect attempt at unusual arithmetics
22979 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
22980 The code didn't really work on such machines anyway.
22981 (TYPE_MINIMUM): Assume two's complement.
22982 (twos_complement_arithmetic): Verify that long_int and time_t
22983 are two's complement (or unsigned, in the latter case).
22985 mktime: check signed shifts on long_int and time_t, too
22986 * time/mktime.c (SHR): Check that shifts work as desired
22987 on the types long_int and time_t too, as SHR is used on
22990 mktime: do not assume 'long' is wide enough
22991 * time/mktime.c (verify): Move decl up.
22992 (long_int): New type.
22993 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
22994 to remove assumption in the code that 'long' is wide enough to
22995 store year values. This assumption is not true on x32 and on
22996 some non-glibc platforms.
22998 mktime: merge wrapv change from gnulib
22999 * time/mktime.c (WRAPV): New macro.
23000 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
23001 (guess_time_tm, __mktime_internal): Do not assume that signed
23002 integer overflow wraps around; modern compilers generate code
23003 where this assumption is no longer valid.
23005 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
23007 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
23008 Replace "jmp L(pseudo_end)" with "ret".
23009 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
23012 2012-05-23 Andreas Jaeger <aj@suse.de>
23014 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
23015 * sysdeps/unix/sysv/linux/poll.c: Remove file.
23017 2012-05-23 Andreas Jaeger <aj@suse.de>
23018 Maximilian Attems <max@stro.at>
23020 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
23023 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
23025 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
23026 code so that pseudo_end is just ret and the stack pointer is
23027 correct also for static library in error case.
23029 2012-05-23 Joseph Myers <joseph@codesourcery.com>
23031 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
23032 move to syscalls.list.
23033 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
23034 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
23035 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
23036 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
23038 * manual/install.texi (Running make install): Do not mention Linux
23039 kernel version for which pt_chown is not needed.
23040 (Linux): Do not mention problems with nscd with 2.0 kernels.
23041 * INSTALL: Regenerated.
23043 2012-05-23 Andreas Jaeger <aj@suse.de>
23045 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
23046 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
23048 * sysdeps/unix/sysv/linux/s390/bits/mman.h
23049 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23050 * sysdeps/unix/sysv/linux/sh/bits/mman.h
23051 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23052 * sysdeps/unix/sysv/linux/i386/bits/mman.h
23053 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23054 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
23055 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23056 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
23057 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23058 * sysdeps/unix/sysv/linux/bits/in.h
23059 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
23061 2012-05-22 Roland McGrath <roland@hack.frob.com>
23063 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
23064 (PREPARE_VERSION): Just use assert instead, it will be elided
23065 under [NDEBUG] anyway.
23067 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
23069 * sysdeps/unix/sysv/linux/Makefile: Include
23070 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
23071 (sysdep_routines): Remove sysctl.
23072 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
23073 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
23074 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
23075 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
23076 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
23078 2012-05-22 Andreas Jaeger <aj@suse.de>
23080 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
23081 that pseudo_end is just ret and the stack pointer is correct also
23082 for static library in error case.
23084 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
23087 * nss/nsswitch.c (defconfig_entries): New variable.
23088 (__nss_database_lookup): Don't leak defconfig entries.
23089 (nss_parse_service_list): Don't leak on error paths.
23090 (free_database_entries): New function.
23091 (free_defconfig): New function.
23092 (free_mem): Move common code to free_database_entries.
23094 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
23096 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
23098 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
23100 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
23101 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
23102 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
23104 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
23105 (INTERNAL_SYSCALL_TYPES): Likewise.
23106 (LOAD_ARGS_TYPES_[1-6]): Likewise.
23107 (LOAD_REGS_TYPES_[1-6]): Likewise.
23108 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
23109 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
23111 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23113 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
23114 copysignl for GLIBC_2_0.
23115 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
23116 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
23117 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
23118 logbl for GLIBC_2_0.
23119 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
23120 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
23122 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
23124 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
23125 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
23127 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
23130 * time/mktime.c: Update copyright years.
23132 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
23134 mktime: merge comment-quoting-style change from gnulib
23135 * time/mktime.c: Quote 'like this' in comments.
23136 The GNU coding standards suggest that we no longer quote `like this',
23137 as "`" and "'" are typically rendered asymmetrically nowadays.
23138 The typical gnulib style is to quote 'like this' when quoting
23139 code, and "like this" when quoting English.
23141 * time/mktime.c (compile-command): Add "-I.".
23143 mktime: merge mktime-internal.h change from gnulib
23144 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
23146 mktime: merge time_r change from gnulib
23147 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
23149 mktime: merge DEBUG change from gnulib
23150 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
23151 case system <time.h> has a #define.
23153 mktime: merge <sys/types.h> change from gnulib
23154 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
23155 since <time.t> is now guaranteed to define time_t.
23157 mktime: merge HAVE_CONFIG_H change from gnulib
23158 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
23160 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
23162 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
23165 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
23167 (struct rusage): Use anonymous union to pad each field to
23170 2012-05-21 David S. Miller <davem@davemloft.net>
23172 * Makefules (o-iterator): Remove .s cases.
23173 (compile-command.s): Delete.
23174 (COMPILE.s): Delete.
23175 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
23177 2012-05-21 Joseph Myers <joseph@codesourcery.com>
23179 * configure.in (libc_cv_predef_stack_protector): Only consider
23180 "foobar" and "__stack_chk_fail" lines in libc_undefs.
23181 * configure: Regenerated.
23183 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
23185 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
23186 New macro. Use R*LP on int and pointer.
23187 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
23188 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
23189 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
23190 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
23192 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
23193 [__WORDSIZE_TIME64_COMPAT32] instead of
23194 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
23195 (struct utmp): Likewise.
23196 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
23197 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
23199 (__WORDSIZE_TIME64_COMPAT32): This.
23200 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
23201 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
23202 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
23203 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
23204 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
23205 (__WORDSIZE_TIME64_COMPAT32): New macro.
23207 2012-05-21 Andreas Jaeger <aj@suse.de>
23209 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
23210 only if [SHARED]. Add prototype for __wcschr_ia32.
23212 2012-05-21 Roland McGrath <roland@hack.frob.com>
23214 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
23215 of %rbp unmolested in the jmp_buf while mangling the low bits.
23216 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
23217 unmolested high bits of %rbp while demangling the low bits.
23218 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
23220 2012-05-21 Andreas Jaeger <aj@suse.de>
23222 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
23223 * sunrpc/svc_simple.c: Use it for registerrpc.
23224 * sunrpc/xcrypt.c: Use it for passwd2des.
23226 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
23228 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
23230 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
23231 Don't define if [__SYSCALL_WORDSIZE != 32].
23232 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
23235 2012-05-21 Bruno Haible <bruno@clisp.org>
23236 Andreas Jaeger <aj@suse.de>
23238 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
23239 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
23240 inptr and inend for must_buffer_ch.
23241 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
23242 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
23243 * stdio-common/Makefile (tests): Remove bug15.
23244 (bug15-ENV): Remove macro.
23245 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
23248 2012-05-19 Andreas Jaeger <aj@suse.de>
23249 Roland McGrath <roland@hack.frob.com>
23251 * manual/contrib.texi: Completely rewritten. It contains now an
23252 alphabetical list of contributors and their contributions.
23254 2012-05-21 Richard Henderson <rth@twiddle.net>
23256 * misc/getauxval.c (__getauxval): Use unsigned long int.
23257 * misc/sys/auxv.h: Include <sys/cdefs.h>.
23258 (getauxval): Use unsigned long int.
23260 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
23262 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
23264 2012-05-21 Roland McGrath <roland@hack.frob.com>
23266 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
23267 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
23268 __alignof__ (long double).
23270 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23272 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23274 2012-05-20 Richard Henderson <rth@twiddle.net>
23276 * misc/getauxval.c: New file.
23277 * misc/sys/auxv.h: New file.
23278 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
23279 (routines): Add getauxval.
23280 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
23281 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
23282 * elf/dl-sysdep.c (_dl_auxv): Remove.
23283 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
23284 * elf/dl-support.c (_dl_auxv): New variable.
23285 (_dl_aux_init): Initialize it.
23286 * manual/startup.texi (Auxiliary Vector): New node.
23287 * sysdeps/generic/bits/hwcap.h: New file.
23288 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
23289 * sysdeps/powerpc/sysdep.h: ... here. Include it.
23290 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
23291 * sysdeps/sparc/sysdep.h: ... here. Include it.
23292 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
23293 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
23294 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23296 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
23297 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
23298 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
23299 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
23300 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
23301 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
23302 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
23303 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
23305 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23307 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23309 2012-05-19 David S. Miller <davem@davemloft.net>
23311 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23313 2012-05-19 Joseph Myers <joseph@codesourcery.com>
23316 * math/s_ccosh.c: Include <float.h>
23317 (__ccosh): Avoid internal overflow calculating sinh and cosh
23318 values before multiplying by sin and cos values.
23319 * math/s_ccoshf.c: Likewise.
23320 * math/s_ccoshl.c: Likewise.
23321 * math/s_csin.c: Likewise.
23322 * math/s_csinf.c: Likewise.
23323 * math/s_csinl.c: Likewise.
23324 * math/s_csinh.c: Likewise.
23325 * math/s_csinhf.c: Likewise.
23326 * math/s_csinhl.c: Likewise.
23327 * math/libm-test.inc (ccos_test): Add more tests.
23328 (ccosh_test): Likewise.
23329 (csin_test): Likewise.
23330 (csinh_test): Likewise.
23331 * sysdeps/i386/fpu/libm-test-ulps: Update.
23332 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23334 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
23336 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
23337 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
23339 * sysdeps/x86_64/x32/_itoa.h: Add comment.
23341 2012-05-19 Joseph Myers <joseph@codesourcery.com>
23343 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
23344 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
23345 * sysdeps/powerpc/soft-fp/Versions: Likewise.
23346 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
23347 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
23348 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
23349 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
23350 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
23351 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
23352 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
23353 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
23354 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
23355 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
23356 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
23357 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
23358 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
23359 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
23360 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
23361 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
23362 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
23363 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
23364 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
23365 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
23366 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
23367 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
23368 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
23369 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
23370 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
23371 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
23372 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
23373 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
23375 2012-05-18 Andreas Jaeger <aj@suse.de>
23377 * csu/.gitignore: Delete.
23379 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
23381 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
23382 (timex): Use __syscall_slong_t.
23384 2012-05-18 Andreas Jaeger <aj@suse.de>
23385 Carlos O'Donell <carlos_odonell@mentor.com>
23387 * manual/install.texi (Configuring and compiling): Update
23388 description about files modified in the source directory.
23389 * INSTALL: Regenerated.
23391 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
23393 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
23394 value. Use "or" to set return value to -1.
23395 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
23396 negate return value.
23398 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23400 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
23401 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
23402 failure if the compiler has Graphite support disabled.
23403 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
23405 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
23406 CFLAGS-memmove.c): Likewise.
23407 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
23410 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
23412 * sysdeps/x86_64/x32/_itoa.h: New file.
23414 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
23415 getdents system call only if kernel and user dirents have the
23416 same d_ino and d_off.
23418 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
23419 LLONG_MAX != LONG_MAX.
23420 (_itoa_word): Use _ITOA_WORD_TYPE on value.
23421 (_fitoa_word): Likewise.
23423 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
23425 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
23426 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
23427 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
23429 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
23430 include <bits/wordsize.h>. Check __x86_64__ instead of
23432 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
23433 if __x86_64__ is defined. Use anonymous union on fpstate.
23435 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
23438 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
23440 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
23441 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
23442 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
23443 Refer to _rtld_local_ro instead of _rtld_global_ro.
23444 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
23446 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
23448 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
23450 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
23451 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
23452 of _rtld_global, and rtld_progname instead of _dl_argv[0].
23454 * sysdeps/powerpc/powerpc32/dl-machine.c
23455 (__elf_machine_runtime_setup) [PROF]: Don't reference
23458 2012-05-18 Andreas Jaeger <aj@suse.de>
23460 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
23461 function only available for GCCs before 3.4 since GCC 3.4
23462 introduced a builtin.
23464 (llrintf): Likewise.
23465 (llrint): Likewise.
23472 (nearbyint): Likewise.
23473 (nearbyintf): Likewise.
23477 (floorf): Likewise.
23479 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
23481 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
23482 on both fields and cast pointer to __syscall_ulong_t.
23484 * bits/types.h (__fsword_t): New type.
23485 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
23486 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
23487 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23488 (__FSWORD_T_TYPE): Likewise.
23489 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
23490 (__FSWORD_T_TYPE): Likewise.
23491 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23492 (__FSWORD_T_TYPE): Likewise.
23493 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
23494 (__FSWORD_T_TYPE): Likewise.
23495 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
23496 __SWORD_TYPE with __fsword_t.
23497 (statfs64): Likewise.
23499 2012-05-17 David S. Miller <davem@davemloft.net>
23501 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
23503 2012-05-17 Andreas Jaeger <aj@suse.de>
23505 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
23508 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
23510 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
23512 2012-05-17 Andreas Jaeger <aj@suse.de>
23514 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
23517 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
23519 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
23521 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
23523 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
23524 * sysdeps/x86_64/tst-mallocalign1.c: New file.
23526 2012-05-17 Andreas Jaeger <aj@suse.de>
23527 Carlos O'Donell <carlos_odonell@mentor.com>
23530 * sysdeps/x86_64/multiarch/init-arch.h
23531 (bit_YMM_Usable): Rename to...
23532 (bit_AVX_Usable): ... this.
23533 (bit_FMA4_Usable): New macro.
23534 (bit_XMM_state): New macro.
23535 (bit_YMM_state): New macro.
23536 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
23537 [__ASSEMBLER__] (index_AVX_Usable): ... this.
23538 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
23539 (CPUID_OSXSAVE): New macro.
23540 (CPUID_AVX): New macro.
23541 (CPUID_FMA4): New macro.
23542 (index_YMM_Usable): Rename to...
23543 (index_AVX_Usable): ... this.
23544 (HAS_AVX): Use HAS_ARCH_FEATURE.
23545 (HAS_FMA4): Likewise.
23546 (HAS_YMM_USABLE): Remove.
23547 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23548 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
23550 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
23551 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
23552 * sysdeps/x86_64/multiarch/Makefile: Likewise.
23553 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
23554 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
23556 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
23558 * math/libm-test.c: Support platforms without multiple rounding modes.
23559 * math/bug-nextafter.c: Support platforms without FP exceptions.
23560 * math/bug-nexttoward.c: Likewise.
23561 * math/test-fenv.c: Likewise.
23562 * math/test-misc.c: Likewise.
23563 * stdlib/bug-getcontext.c: Likewise.
23565 2012-05-17 Andreas Jaeger <aj@suse.de>
23567 * manual/examples/search.c (critter_cmp): Change signature to
23569 * manual/string.texi (Collation Functions): Likewise.
23571 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
23573 * bits/types.h: Fold copyright years.
23574 * bits/typesizes.h: Likewise.
23575 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
23576 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
23577 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
23578 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
23579 * time/time.h: Likewise.
23581 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
23584 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
23585 in instead of returning them. Return void.
23586 (__libc_mallinfo): Accumulate over all arenas.
23587 (__malloc_stats): Adjust for change in int_mallinfo interface.
23589 2012-05-16 Roland McGrath <roland@hack.frob.com>
23592 * configure.in (NM): Add AC_CHECK_TOOL for it.
23593 (libc_extra_cflags): New substituted variable.
23594 Check for -fstack-protector being used implicitly.
23595 * configure: Regenerated.
23596 * config.make.in (config-extra-cflags): New variable,
23597 gets @libc_extra_cflags@.
23598 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
23601 * configure.in: Check for _FORTIFY_SOURCE being predefined.
23602 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
23603 * configure: Regenerated.
23604 * config.make.in (CPPUNDEFS): New substituted variable.
23605 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
23606 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
23607 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
23609 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
23611 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
23612 (mq_attr): Use __syscall_slong_t.
23614 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
23616 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
23617 Check __x86_64__ instead of __WORDSIZE.
23618 (_STAT_VER_LINUX): Likewise.
23619 (stat): Check __x86_64__ instead of __WORDSIZE. Use
23620 __syscall_ulong_t and __syscall_slong_t.
23621 (stat64): Likewise.
23623 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
23625 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
23627 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
23629 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
23631 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
23633 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
23636 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
23637 include <bits/wordsize.h>. Check __x86_64__ instead of
23639 (greg_t): Use "__extension__ long long int" if __x86_64__ is
23641 (mcontext_t): Replace "unsigned long" with "unsigned long long".
23643 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
23644 include <bits/wordsize.h>. Check __x86_64__ instead of
23646 (user_regs_struct): Use "__extension__ unsigned long long"
23647 instead of "unsigned long" if __x86_64__ is defined.
23648 (user): Likewise. Pad after pointer field if __ILP32__ is
23651 2012-05-16 Joseph Myers <joseph@codesourcery.com>
23653 * configure.in (makeinfo): Require version 4.5 or later. Allow
23655 * configure: Regenerated.
23656 * manual/install.texi (texinfo): Increase version requirement to
23658 * INSTALL: Regenerated.
23660 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
23662 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
23664 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
23666 * sysdeps/x86_64/x32/ffs.c: New file.
23668 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
23670 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
23671 defined. Use __syscall_ulong_t.
23672 (shminfo): Use __syscall_ulong_t.
23673 (shm_info): Likewise.
23675 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
23678 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
23680 (msgqnum_t): Use __syscall_ulong_t.
23681 (msglen_t): Likewise.
23682 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
23685 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
23686 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
23688 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
23690 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
23691 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
23693 * sysvipc/sys/msg.h (msgbuf): Replace long int with
23696 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
23697 include <bits/wordsize.h>. Check __x86_64__ instead of
23700 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
23701 "unsigned long long int" if __x86_64__ is defined.
23702 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
23704 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
23705 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
23706 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
23708 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
23710 (GET_PC): Cast to uintptr_t first.
23711 (GET_FRAME): Likewise.
23712 (GET_STACK): Likewise.
23714 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
23715 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
23716 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
23717 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
23718 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
23719 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
23720 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
23721 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
23722 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
23723 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
23724 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
23725 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
23726 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
23727 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
23728 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
23729 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
23730 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
23731 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
23732 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
23733 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
23734 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
23735 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
23736 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
23737 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
23738 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
23739 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
23740 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
23741 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
23742 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
23744 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
23746 * Makerules (+depfiles): Also collect depfiles from .oS in
23748 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
23749 .oS, $(libnldbl-routines)).
23751 * Makerules (native-compile-mkdep-flags): Define.
23752 * sunrpc/Makefile (extra-objs): Add $(addprefix
23753 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
23754 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
23755 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
23756 calling $(make-target-directory).
23758 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23760 * bits/types.h (__snseconds_t): Removed.
23761 * time/time.h (struct timespec): Replace __snseconds_t with
23763 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
23764 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
23766 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23767 (__SNSECONDS_T_TYPE): Likewise.
23768 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
23769 (__SNSECONDS_T_TYPE): Likewise.
23770 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23771 (__SNSECONDS_T_TYPE): Likewise.
23773 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23775 * sysdeps/mach/hurd/bits/typesizes.h
23776 (__SYSCALL_SLONG_TYPE): New macro.
23777 (__SYSCALL_ULONG_TYPE): Likewise.
23779 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23781 * bits/types.h (__syscall_slong_t): New type.
23782 (__syscall_ulong_t): Likewise.
23784 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
23785 (__SYSCALL_ULONG_TYPE): Likewise.
23786 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23787 (__SYSCALL_SLONG_TYPE): Likewise.
23788 (__SYSCALL_ULONG_TYPE): Likewise.
23789 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
23790 (__SYSCALL_SLONG_TYPE): Likewise.
23791 (__SYSCALL_ULONG_TYPE): Likewise.
23792 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23793 (__SYSCALL_SLONG_TYPE): Likewise.
23794 (__SYSCALL_ULONG_TYPE): Likewise.
23796 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23798 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
23799 Add sigaltstack-offsets.sym.
23800 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
23801 <sigaltstack-offsets.h>.
23802 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
23803 longjmp_msg pointer.
23804 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
23805 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
23807 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
23809 2012-05-15 Joseph Myers <joseph@codesourcery.com>
23811 * elf/stackguard-macros.h: Remove file.
23812 * sysdeps/generic/stackguard-macros.h: New file.
23813 * sysdeps/i386/stackguard-macros.h: Likewise.
23814 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
23815 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
23816 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
23817 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
23818 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
23819 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
23820 * sysdeps/x86_64/stackguard-macros.h: Likewise.
23821 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
23822 <elf/stackguard-macros.h>.
23825 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
23826 __aligned__ in attribute.
23827 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
23828 (gregset_t): Likewise.
23830 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23832 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
23833 * sysdeps/x86_64/64/Implies-after: Here. New file.
23834 * sysdeps/x86_64/x32/Implies-after: New file.
23836 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23838 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
23839 and access return value for _dl_profile_fixup. Use R10_LP to
23842 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23844 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
23846 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23848 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
23849 * sysdeps/x86_64/x32/sysdep.h: New file.
23851 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23853 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
23854 * sysdeps/x86_64/setjmp.S: Likewise.
23856 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23858 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
23859 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
23860 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
23861 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
23862 remove unused global constant.
23864 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
23866 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
23867 include of <not-cancel.h>.
23869 2012-05-15 Roland McGrath <roland@hack.frob.com>
23871 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
23873 2012-05-15 Jeff Law <law@redhat.com>
23874 Andreas Jaeger <aj@suse.de>
23877 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
23879 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
23880 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
23881 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
23882 code changing __hst_map_handle.map.
23884 2012-05-15 Roland McGrath <roland@hack.frob.com>
23886 * configure.in (sysnames): Look for Implies-before and Implies-after
23888 * configure: Regenerated.
23890 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23892 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
23893 8-byte data alignment with LP_SIZE alignment.
23895 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23897 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
23900 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23902 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
23904 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23906 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
23907 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
23908 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
23910 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
23912 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23914 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
23915 (stackinfo_sub_sp): Likewise.
23917 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23919 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
23922 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23924 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
23927 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23929 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
23932 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23934 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
23936 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23938 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
23939 into R11_LP and load __x86_64_shared_cache_size_half into
23942 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23944 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
23947 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23949 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
23951 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
23953 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
23955 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
23956 powerpc32/power7/fpu/s_logb.c via #include.
23957 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
23958 powerpc32/power7/fpu/s_logbf.c via #include.
23959 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
23960 powerpc32/power7/fpu/s_logbl.c via #include.
23962 2012-05-15 Joseph Myers <joseph@codesourcery.com>
23964 * README.libm: Remove file.
23966 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
23968 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
23969 count for x32. Use R*_LP and omit operand-size suffix.
23971 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
23973 * shlib-versions: Move x86_64-.*-linux.* entries to ...
23974 * sysdeps/x86_64/64/shlib-versions: Here. New file.
23975 * sysdeps/x86_64/x32/shlib-versions: New file.
23977 2012-05-14 Roland McGrath <roland@hack.frob.com>
23979 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
23980 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
23981 Use _dl_fatal_printf instead.
23983 2012-05-14 Joseph Myers <joseph@codesourcery.com>
23985 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
23986 set if not set by the user. Do not allow for being unset.
23987 * sysdeps/unix/sysv/linux/configure: Regenerated.
23989 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
23991 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
23992 the `q' suffix from lea and replace .quad with ASM_ADDR.
23994 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
23996 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
23997 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
23999 (PTR_DEMANGLE): Likewise.
24001 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24003 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
24005 (ASM_ADDR): Likewise.
24006 (RAX_LP): Likewise.
24007 (RBP_LP): Likewise.
24008 (RBX_LP): Likewise.
24009 (RCX_LP): Likewise.
24010 (RDI_LP): Likewise.
24011 (RSI_LP): Likewise.
24012 (RSP_LP): Likewise.
24015 (R10_LP): Likewise.
24016 (R10_LP): Likewise.
24017 (R11_LP): Likewise.
24018 (R12_LP): Likewise.
24019 (R13_LP): Likewise.
24020 (R14_LP): Likewise.
24021 (R15_LP): Likewise.
24023 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24025 * sysdeps/x86_64/x32/dl-machine.h: New file.
24027 2012-05-14 Andreas Jaeger <aj@suse.de>
24029 * manual/Makefile (subdir): Remove export of subdir.
24030 (all): Remove target.
24031 (.PHONY): Remove all from list.
24032 (mkinstalldirs): Remove.
24033 (.PHONY): Remove installdirs from list.
24034 ($(inst_infodir)/libc.info): Use make-target-directory.
24035 (installdirs): Remove.
24036 (subdir_%): Remove.
24037 (glibc-targets): Remove.
24040 ($(objpfx)stubs ../po/manual.pot): Remove.
24041 ($(objpfx)stamp%): Remove.
24042 (make-target-directory): Remove.
24043 (subdir_install): Remove.
24044 (routines): Remove.
24051 * manual/.gitignore: Remove, it's not needed anymore.
24052 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
24054 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
24056 (texis): Renamed to $(objpfx)texis.
24057 (texis-path): New, contains path to generated files.
24058 (chapters.%): Use texis-path for complete path, add extra argument
24060 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
24061 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
24062 (summary,texi, stamp-summary): Use complete path of
24063 files. Generate files in build dir.
24064 (dir-add.texi): Build in build dir.
24065 (libm-err.texi,stamp-libm-err): Likewise.
24066 (version.texi, stamp-version): Likewise.
24067 (.%c.texi): Likewise.
24068 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
24069 (mostlyclean): Remove target.
24070 (realclean): Remove target.
24071 (generated): Add new variable with contents from mostlyclean and
24072 realclean, remove entries duplicated in common-mostlyclean, add
24073 stamp-libm-err and stamp-version.
24074 (generated-dirs): Add libc directory.
24075 ($(inst_infodir)/libc.info): Install files from build dir.
24077 * manual/install.texi (Configuring and compiling): Adjust since
24078 the info files are not part of the tar ball anymore.
24080 2012-05-14 Andreas Jaeger <aj@suse.de>
24082 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
24085 2012-05-14 Joseph Myers <joseph@codesourcery.com>
24088 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
24089 to 2.2.0 where earlier.
24090 * sysdeps/unix/sysv/linux/configure: Regenerated.
24091 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
24092 Remove conditional code.
24093 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
24094 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
24095 Remove conditional code.
24096 [!__NR_lchown]: Likewise.
24097 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
24098 [__NR_lchown]: Likewise.
24099 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
24100 comment referencing __ASSUME_LCHOWN_SYSCALL.
24101 * sysdeps/unix/sysv/linux/i386/sigaction.c
24102 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24103 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24104 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
24105 Remove conditional code.
24106 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
24107 (__protocol_available): Remove #if 0 code.
24108 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
24110 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
24111 * sysdeps/unix/sysv/linux/kernel-features.h
24112 (__ASSUME_GETCWD_SYSCALL): Don't define.
24113 (__ASSUME_REALTIME_SIGNALS): Likewise.
24114 (__ASSUME_PREAD_SYSCALL): Likewise.
24115 (__ASSUME_PWRITE_SYSCALL): Likewise.
24116 (__ASSUME_POLL_SYSCALL): Likewise.
24117 (__ASSUME_LCHOWN_SYSCALL): Likewise.
24118 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
24120 (__ASSUME_SIOCGIFNAME): Don't define.
24121 (__ASSUME_MSG_NOSIGNAL): Likewise.
24122 (__ASSUME_SENDFILE): Define unconditionally.
24123 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
24124 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
24126 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
24127 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
24128 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
24129 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
24130 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
24131 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
24132 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
24133 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
24134 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24135 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24136 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
24137 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24138 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24139 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
24140 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24141 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24142 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
24143 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24144 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24145 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
24146 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24147 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24148 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
24149 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24150 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24151 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
24152 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24153 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24154 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
24155 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24156 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24157 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
24158 Remove conditional code.
24159 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24160 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
24161 Remove conditional code.
24162 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24163 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
24164 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
24165 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
24166 Remove conditional code.
24167 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24168 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
24169 Remove conditional code.
24170 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24171 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
24172 Remove conditional code.
24173 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24174 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
24175 Remove conditional code.
24176 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24177 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
24178 Remove conditional code.
24179 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24180 * sysdeps/unix/sysv/linux/sh/pwrite64.c
24181 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24182 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24183 * sysdeps/unix/sysv/linux/sigaction.c
24184 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24185 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24186 * sysdeps/unix/sysv/linux/sigpending.c
24187 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24188 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24189 * sysdeps/unix/sysv/linux/sigprocmask.c
24190 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24191 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24192 * sysdeps/unix/sysv/linux/sigsuspend.c
24193 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24194 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24195 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
24196 (__libc_missing_rt_sigs): Remove.
24197 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
24198 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
24199 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
24200 Remove conditional code.
24201 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
24202 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
24204 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
24205 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
24206 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
24207 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
24209 2012-05-14 Andreas Jaeger <aj@suse.de>
24211 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
24212 it's not used in glibc.
24213 (__coshm1): Likewise.
24214 (__acosh1p): Likewise.
24217 * manual/string.texi (Copying and Concatenation): Add missing
24218 variable in concat example.
24219 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
24221 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24224 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
24225 __builtin_clzl with __builtin_clzll.
24227 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24230 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
24233 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24235 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
24236 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
24237 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
24238 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
24240 2012-05-14 Mike Frysinger <vapier@gentoo.org>
24242 * NEWS: Update ia64 info.
24244 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
24246 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
24249 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
24251 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
24252 * sysdeps/unix/syscalls.list (dup3): Likewise.
24253 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
24254 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
24256 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
24258 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
24259 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
24261 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
24263 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
24265 (TLS_IE): Use mov/add instead of movq/addq to load thread
24267 (TLS_GD_PREFIX): New.
24270 2012-05-11 David S. Miller <davem@davemloft.net>
24272 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
24273 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
24274 (_FPU_SETCW): Likewise.
24276 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
24278 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
24279 is 32-byte aligned.
24281 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
24284 * iconvdata/gb18030.c: Update tables.
24285 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
24286 characters specially.
24287 (BODY for TO_LOOP): Add encoding of missing ranges.
24289 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
24292 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
24293 * sysdeps/mach/hurd/dup3.c: Likewise.
24294 * sysdeps/mach/hurd/readlinkat.c: Likewise.
24295 * sysdeps/powerpc/memmove.c:: Likewise.
24297 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
24299 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
24300 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
24302 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
24304 * elf/elf.h (R_X86_64_RELATIVE64): New.
24305 (R_X86_64_NUM): Updated.
24306 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
24307 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
24308 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
24309 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
24310 tst-quad1pie tst-quad2pie
24311 (modules-names): Add tst-quadmod1 tst-quadmod2.
24312 ($(objpfx)tst-quad1): New dependency.
24313 ($(objpfx)tst-quad2): Likewise.
24314 ($(objpfx)tst-quad1pie): Likewise.
24315 ($(objpfx)tst-quad2pie): Likewise.
24316 * sysdeps/x86_64/tst-quad1.c: New file.
24317 * sysdeps/x86_64/tst-quad1pie.c: New file.
24318 * sysdeps/x86_64/tst-quad2.c: Likewise.
24319 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
24320 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
24321 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
24322 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
24323 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
24325 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24327 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
24328 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
24329 * streams/stropts.h (t_scalar_t): Define type.
24331 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
24332 (_PATH_PRESERVE): Set to "/var/lib".
24333 (_PATH_RWHODIR): Set to "/var/spool/rwho".
24335 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
24338 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
24339 if __dir_mkfile succeeded.
24341 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
24342 checking for _hurd_dtablesize. Unlock it right after having
24343 finished _hurd_dtable allocation.
24345 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
24347 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
24348 * sysdeps/mach/hurd/configure: Regenerated.
24349 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
24350 special-casing to...
24351 * sysdeps/gnu/configure.in: ... this new file.
24352 * sysdeps/unix/sysv/linux/configure: Regenerated.
24353 * sysdeps/gnu/configure: New generated file.
24355 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
24356 for Linux: use nsec instead of usec, as well as:
24357 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
24358 members of type struct timespec.
24359 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
24361 (struct stat64): Likewise.
24362 (_STATBUF_ST_NSEC): New macro.
24363 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
24365 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
24366 __strtoul_internal rather than strtoul.
24368 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
24370 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
24373 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24375 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
24376 which preserves existing values.
24377 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
24379 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
24381 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
24382 TIMEOUT values. Return EINVAL for NFDS values either negative or
24383 greater than FD_SETSIZE.
24385 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24387 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
24388 allocated, call __vm_protect to finish enabling the existing space, and
24389 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
24390 allocate the remainder.
24392 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
24394 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
24395 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
24397 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24399 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
24400 sysdeps/mach/hurd/readlink.c.
24402 * posix/tst-sysconf.c (posix_options): Only use
24403 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
24404 _POSIX_SYNCHRONIZED_IO when they are defined
24405 * sysdeps/mach/hurd/bits/posix_opt.h:
24406 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
24407 (_XOPEN_REALTIME): Undefine macro.
24408 (_XOPEN_REALTIME_THREADS): Undefine macro.
24409 (_XOPEN_SHM): Undefine macro.
24410 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
24412 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
24414 (_POSIX_ASYNC_IO): Undefine macro.
24415 (_POSIX_PRIORITIZED_IO): Undefine macro.
24416 (_POSIX_SPIN_LOCKS): Define macro to -1.
24418 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
24419 SA_NODEFER, SA_RESETHAND.
24420 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
24421 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
24424 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
24426 * elf/Makefile (pldd-modules): Define unconditionally.
24428 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
24430 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
24432 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24434 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
24435 Return ENOENT when name is empty.
24436 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
24438 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
24440 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
24442 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
24444 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24446 Fix mlock in all cases except non-readable pages.
24447 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
24448 instead of VM_PROT_ALL as parameter to __vm_wire function.
24450 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
24451 (__mkdir): When path is `/', just fail with EEXIST.
24452 * sysdeps/mach/hurd/mkdirat.c: Likewise.
24454 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
24456 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
24457 <sys/uio.h> (for writev).
24458 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
24459 and <sys/param.h> (for MIN).
24461 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
24463 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
24464 REQUESTED_TIME. Properly set the remaining time and return EINTR
24467 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
24469 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
24470 Depend on against $(link-rpcuserlibs).
24472 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24474 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
24475 (__libc_stack_end): Do not use attribute_relro.
24476 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
24477 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
24478 to libthread-provided value.
24479 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
24482 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
24485 * bits/libc-lock.h (__libc_once_get): New macro.
24486 * sysdeps/mach/bits/libc-lock.h: Likewise.
24487 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
24488 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
24489 instead of using implementation details.
24491 * libio/fileops.c: Unconditionally include <kernel-features.h>.
24492 * libio/freopen.c: Likewise.
24493 * libio/freopen64.c: Likewise.
24494 * misc/syslog.c: Likewise.
24495 * nscd/connections.c: Likewise.
24496 * nscd/netgroupcache.c: Likewise.
24497 * sysdeps/posix/getcwd.c: Likewise.
24499 2012-05-10 Roland McGrath <roland@hack.frob.com>
24501 * math/w_ilogbf.c: Add #include <limits.h>.
24503 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24505 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
24506 path instead of returning without unlocking.
24508 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
24509 immediate-write ioctls.
24510 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
24512 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
24514 * sysdeps/mach/hurd/i386/init-first.c (init): Use
24515 __builtin_frame_address instead of making assumptions about the
24516 location of the return address relative to DATA. Force early load of
24517 the return address.
24518 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
24519 __builtin_frame_address.
24522 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
24523 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
24524 implement dup3 and do some further code clean-ups.
24525 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
24526 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
24528 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24530 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
24532 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
24533 HURD_CRITICAL_END around holding _hurd_dtable_lock.
24534 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
24535 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
24536 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
24539 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
24540 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
24541 when handler == SIG_ERR, not when handler != SIG_ERR.
24543 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
24545 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
24546 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
24549 accept4 for GNU Hurd.
24550 * include/sys/socket.h (__libc_accept4): New prototype.
24551 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
24552 to implement __libc_accept4.
24553 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
24555 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
24557 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
24558 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
24559 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
24560 signal-defines.sym.
24562 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24564 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
24566 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
24568 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
24569 assertion on O_CLOEXEC flag.
24570 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
24571 * hurd/intern-fd.c: Likewise.
24572 * hurd/port2fd.c: Likewise.
24574 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24577 * bits/in.h (IPV6_PKTINFO): Define new macro.
24578 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
24580 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24585 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
24586 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
24587 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
24588 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
24589 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
24590 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
24591 * math/libm-test.inc (logb_test) : Additional logb tests.
24593 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
24594 Andreas Jaeger <aj@suse.de>
24596 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
24597 * configure: Regenerated.
24598 * config.h.in (LINK_OBSOLETE_RPC): New macro.
24599 * config.make.in (link-obsolete-rpc): New substituted variable.
24600 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
24601 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
24602 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
24603 (shared-only-routines): Don't set it under [link-obsolete-rpc],
24604 so that libc.a contains the symbols.
24605 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
24606 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
24607 * sunrpc/auth_none.c: Likewise.
24608 * sunrpc/auth_unix.c: Likewise.
24609 * sunrpc/authdes_prot.c: Likewise.
24610 * sunrpc/authuxprot.c: Likewise.
24611 * sunrpc/clnt_gen.c: Likewise.
24612 * sunrpc/clnt_perr.c: Likewise.
24613 * sunrpc/clnt_raw.c: Likewise.
24614 * sunrpc/clnt_simp.c: Likewise.
24615 * sunrpc/clnt_tcp.c: Likewise.
24616 * sunrpc/clnt_udp.c: Likewise.
24617 * sunrpc/clnt_unix.c: Likewise.
24618 * sunrpc/des_crypt.c: Likewise.
24619 * sunrpc/des_soft.c: Likewise.
24620 * sunrpc/get_myaddr.c: Likewise.
24621 * sunrpc/key_call.c: Likewise.
24622 * sunrpc/key_prot.c: Likewise.
24623 * sunrpc/netname.c: Likewise.
24624 * sunrpc/pm_getmaps.c: Likewise.
24625 * sunrpc/pm_getport.c: Likewise.
24626 * sunrpc/pmap_clnt.c: Likewise.
24627 * sunrpc/pmap_prot.c: Likewise.
24628 * sunrpc/pmap_prot2.c: Likewise.
24629 * sunrpc/pmap_rmt.c: Likewise.
24630 * sunrpc/publickey.c: Likewise.
24631 * sunrpc/rpc_cmsg.c: Likewise.
24632 * sunrpc/rpc_common.c: Likewise.
24633 * sunrpc/rpc_dtable.c: Likewise.
24634 * sunrpc/rpc_prot.c: Likewise.
24635 * sunrpc/rpc_thread.c: Likewise.
24636 * sunrpc/rtime.c: Likewise.
24637 * sunrpc/svc.c: Likewise.
24638 * sunrpc/svc_auth.c: Likewise.
24639 * sunrpc/svc_raw.c: Likewise.
24640 * sunrpc/svc_run.c: Likewise.
24641 * sunrpc/svc_tcp.c: Likewise.
24642 * sunrpc/svc_udp.c: Likewise.
24643 * sunrpc/svc_unix.c: Likewise.
24644 * sunrpc/svcauth_des.c: Likewise.
24645 * sunrpc/xcrypt.c: Likewise.
24646 * sunrpc/xdr.c: Likewise.
24647 * sunrpc/xdr_array.c: Likewise.
24648 * sunrpc/xdr_float.c: Likewise.
24649 * sunrpc/xdr_intXX_t.c: Likewise.
24650 * sunrpc/xdr_mem.c: Likewise.
24651 * sunrpc/xdr_rec.c: Likewise.
24652 * sunrpc/xdr_ref.c: Likewise.
24653 * sunrpc/xdr_sizeof.c: Likewise.
24654 * sunrpc/xdr_stdio.c: Likewise.
24656 2012-05-10 Roland McGrath <roland@hack.frob.com>
24658 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
24659 change. Update copyright years.
24661 2012-05-10 Joseph Myers <joseph@codesourcery.com>
24663 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
24665 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
24666 Joseph Myers <joseph@codesourcery.com>
24667 Paul Pluzhnikov <ppluzhnikov@google.com>
24670 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
24672 [cross-compiling] (extra-libs): Likewise.
24673 [cross-compiling] (extra-libs-others): Likewise.
24674 [cross-compiling] (librpcsvc-routines): Likewise.
24675 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
24676 [cross-compiling] (omit-deps): Likewise.
24677 (sunrpc-CPPFLAGS): New variable.
24678 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
24679 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
24680 (cross-rpcgen-objs): New variable.
24681 (extra-objs): Append $(cross-rpcgen-objs).
24682 ($(cross-rpcgen-objs)): New rule.
24683 ($(objpfx)cross-rpcgen): Likewise.
24684 (rpcgen-cmd): Define to use $(built-program-file). Expand
24686 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
24687 ($(objpfx)x%.stmp): Likewise.
24688 * sunrpc/proto.h [IS_IN_build] (_): Define.
24689 [IS_IN_build] (_libc_intl_domainname): Likewise.
24691 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
24693 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
24694 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
24695 and R_X86_64_TPOFF64.
24697 2012-05-10 Joseph Myers <joseph@codesourcery.com>
24699 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
24700 sysdeps/unix/sysv/syscalls.list.
24703 * sysdeps/unix/sysv/syscalls.list: Remove file.
24705 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
24708 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
24709 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
24710 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
24711 (__LC_IDENTIFICATION): Make these macros useful in #if
24712 expressions, as required by C99.
24714 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
24716 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
24717 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
24720 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
24722 * stdlib/longlong.h: Updated from GCC.
24724 2012-05-09 Andreas Jaeger <aj@suse.de>
24726 * nscd/nscd.c (run_modes): Make named enum, reorder so that
24727 default is first entry.
24728 (run_mode): Set type.
24729 (main): Remove informal message about syslog.
24730 (options): Fix typo.
24733 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
24736 (llrintf): Likewise.
24737 (llrint): Likewise.
24740 (nearbyint): Likewise.
24741 (nearbyintf): Likewise.
24743 2012-05-09 Andreas Jaeger <aj@suse.de>
24744 Pedro Alves <palves@redhat.com>
24746 * nscd/nscd.c (run_mode): Use enum.
24747 (main): Cleanup coding style issue.
24749 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
24750 Andreas Jaeger <aj@suse.de>
24752 * nscd/nscd.c (go_background): Replaced with...
24753 (run_mode): ... this.
24754 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
24755 (options): Add -F --foreground.
24756 (main): Implement it.
24757 (parse_opt): Parse it.
24759 2012-05-09 Andreas Jaeger <aj@suse.de>
24762 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
24763 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
24764 -Wconversion warning.
24765 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
24768 2012-05-09 Joseph Myers <joseph@codesourcery.com>
24770 * conform/data/locale.h-data (NULL): Use macro-constant. Require
24772 (LC_ALL): Use macro-int-constant.
24773 (LC_COLLATE): Likewise.
24774 (LC_CTYPE): Likewise.
24775 (LC_MESSAGES): Likewise.
24776 (LC_MONETARY): Likewise.
24777 (LC_NUMERIC): Likewise.
24778 (LC_TIME): Likewise.
24779 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
24780 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
24781 [ISO || ISO99 || ISO11] (*_t): Do not allow.
24782 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
24784 [C99-based standards] (float_t): Expect type.
24785 [C99-based standards] (double_t): Expect type.
24786 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
24788 [C99-based standards] (HUGE_VALL): Likewise.
24789 [C99-based standards] (INFINITY): Likewise.
24790 [C99-based standards] (NAN): Likewise.
24791 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
24792 [C99-based standards] (FP_NAN): Likewise.
24793 [C99-based standards] (FP_NORMAL): Likewise.
24794 [C99-based standards] (FP_SUBNORMAL): Likewise.
24795 [C99-based standards] (FP_ZERO): Likewise.
24796 [C99-based standards] (FP_FAST_FMA): Use
24797 optional-macro-int-constant. Specify type. Require == 1.
24798 [C99-based standards] (FP_FAST_FMAF): Likewise.
24799 [C99-based standards] (FP_FAST_FMAL): Likewise.
24800 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
24801 [C99-based standards] (FP_ILOGBNAN): Likewise.
24802 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
24804 [C99-based standards] (MATH_ERREXCEPT): Likewise.
24805 [C99-based standards] (math_errhandling): Specify type.
24806 [ISO99 || ISO11] (signgam): Do not allow.
24807 [non-C99-based standards] (copysignf): Do not allow.
24808 [non-C99-based standards] (exp2f): Likewise.
24809 [non-C99-based standards] (log2f): Likewise.
24810 [non-C99-based standards] (modff): Allow.
24811 [non-C99-based standards] (erff): Do not allow.
24812 [non-C99-based standards] (erfcf): Likewise.
24813 [non-C99-based standards] (gammaf): Likewise.
24814 [non-C99-based standards] (hypotf): Likewise.
24815 [non-C99-based standards] (j0f): Likewise.
24816 [non-C99-based standards] (j1f): Likewise.
24817 [non-C99-based standards] (jnf): Likewise.
24818 [non-C99-based standards] (lgammaf): Likewise.
24819 [non-C99-based standards] (tgammaf): Likewise.
24820 [non-C99-based standards] (y0f): Likewise.
24821 [non-C99-based standards] (y1f): Likewise.
24822 [non-C99-based standards] (ynf): Likewise.
24823 [non-C99-based standards] (isnanf): Likewise.
24824 [non-C99-based standards] (acoshf): Likewise.
24825 [non-C99-based standards] (asinhf): Likewise.
24826 [non-C99-based standards] (atanhf): Likewise.
24827 [non-C99-based standards] (cbrtf): Likewise.
24828 [non-C99-based standards] (expm1f): Likewise.
24829 [non-C99-based standards] (ilogbf): Likewise.
24830 [non-C99-based standards] (log1pf): Likewise.
24831 [non-C99-based standards] (logbf): Likewise.
24832 [non-C99-based standards] (nextafterf): Likewise.
24833 [non-C99-based standards] (remainderf): Likewise.
24834 [non-C99-based standards] (rintf): Likewise.
24835 [non-C99-based standards] (scalbf): Likewise.
24836 [non-C99-based standards] (copysignl): Likewise.
24837 [non-C99-based standards] (exp2l): Likewise.
24838 [non-C99-based standards] (log2l): Likewise.
24839 [non-C99-based standards] (modfl): Allow.
24840 [non-C99-based standards] (erfl): Do not allow.
24841 [non-C99-based standards] (erfcl): Likewise.
24842 [non-C99-based standards] (gammal): Likewise.
24843 [non-C99-based standards] (hypotl): Likewise.
24844 [non-C99-based standards] (j0l): Likewise.
24845 [non-C99-based standards] (j1l): Likewise.
24846 [non-C99-based standards] (jnl): Likewise.
24847 [non-C99-based standards] (lgammal): Likewise.
24848 [non-C99-based standards] (tgammal): Likewise.
24849 [non-C99-based standards] (y0l): Likewise.
24850 [non-C99-based standards] (y1l): Likewise.
24851 [non-C99-based standards] (ynl): Likewise.
24852 [non-C99-based standards] (isnanl): Likewise.
24853 [non-C99-based standards] (acoshl): Likewise.
24854 [non-C99-based standards] (asinhl): Likewise.
24855 [non-C99-based standards] (atanhl): Likewise.
24856 [non-C99-based standards] (cbrtl): Likewise.
24857 [non-C99-based standards] (expm1l): Likewise.
24858 [non-C99-based standards] (ilogbl): Likewise.
24859 [non-C99-based standards] (log1pl): Likewise.
24860 [non-C99-based standards] (logbl): Likewise.
24861 [non-C99-based standards] (nextafterl): Likewise.
24862 [non-C99-based standards] (remainderl): Likewise.
24863 [non-C99-based standards] (rintl): Likewise.
24864 [non-C99-based standards] (scalbl): Likewise.
24865 [ISO || ISO99 || ISO11] (*_t): Do not allow.
24866 [non-C99-based standards] (FP_*): Do not allow.
24867 [C99-based standards] (FP_*): Change to
24868 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
24869 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
24871 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
24872 (SIG_ERR): Likewise.
24873 [X/Open-based standards] (SIG_HOLD): Likewise.
24874 (SIG_IGN): Likewise.
24875 (SIGABRT): Use macro-int-constant. Specify type. Require
24877 (SIGFPE): Likewise.
24878 (SIGILL): Likewise.
24879 (SIGINT): Likewise.
24880 (SIGSEGV): Likewise.
24881 (SIGTER): Likewise.
24882 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
24883 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
24884 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
24885 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
24886 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
24887 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
24888 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
24889 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
24890 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
24891 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
24892 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
24893 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
24894 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
24895 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
24896 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
24897 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
24898 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
24899 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
24900 [X/Open-based standards] (SIGTRAP): Likewise.
24901 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
24902 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
24903 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
24904 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
24905 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
24908 2012-05-08 Ian Wienand <ianw@vmware.com>
24911 * time/tzset.c (__tzset_parse_tz): Update default rules for
24912 daylight time changes in the Energy Policy Act of 2005.
24914 2012-05-09 Andreas Jaeger <aj@suse.de>
24917 * elf/ldconfig.c (parse_conf): Change string to make clear that
24918 ldconfig only issued a warning if ld.so.conf does not exist.
24920 2012-05-08 David S. Miller <davem@davemloft.net>
24922 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
24923 movxtod instead of popping the value on the stack.
24925 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24927 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
24929 * config.h.in: Add HAVE_ARM_PCS_VFP.
24931 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
24934 * include/features.h: Warn if user requests __FORTIFY_SOURCE
24935 checking but the checks are disabled for any reason.
24937 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
24939 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
24940 and ELF64_R_TYPE with ELFW(R_TYPE).
24942 2012-05-08 Joseph Myers <joseph@codesourcery.com>
24944 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
24945 (ulimit): Likewise.
24947 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
24948 (settimeofday): Likewise.
24950 2012-05-08 Mike Frysinger <vapier@gentoo.org>
24952 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
24953 a struct th_u2 inside the union, and move tu_block/tu_code into
24954 a new th_u3 union of tu_block/tu_code inside of that. Move
24955 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
24956 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
24957 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
24958 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
24959 (th_stuff): Change to th_u1.tu_stuff.
24961 (th_msg): Change to th_u1.th_u2.tu_data.
24963 2012-05-07 David S. Miller <davem@davemloft.net>
24965 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24968 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
24969 (SETUP_PIC_REG): Use it.
24970 (SETUP_PIC_REG_LEAF): Use it.
24972 2012-05-07 Joseph Myers <joseph@codesourcery.com>
24976 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
24978 (EXPL_FINITE): Likewise.
24979 (FLDLOG): Likewise.
24980 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
24981 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
24983 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
24985 (EXPL_FINITE): Likewise.
24986 (FLDLOG): Likewise.
24987 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
24988 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
24990 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
24991 test of -max_value argument for long double.
24992 * sysdeps/i386/fpu/libm-test-ulps: Update.
24993 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24995 2012-05-06 David S. Miller <davem@davemloft.net>
24997 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
24998 quad soft-float symbols whose references which are compiler
25000 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
25002 2012-05-06 Joseph Myers <joseph@codesourcery.com>
25006 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
25008 (EXPL_FINITE): Likewise.
25009 (FLDLOG): Likewise.
25012 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
25013 Adjust comments for base varying.
25014 (__expl_finite): Change alias to EXPL_FINITE.
25015 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
25017 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
25018 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
25019 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
25020 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
25021 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
25023 (EXPL_FINITE): Likewise.
25024 (FLDLOG): Likewise.
25027 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
25028 Adjust comments for base varying.
25029 (__expl_finite): Change alias to EXPL_FINITE.
25030 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
25032 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25035 * math/libm-test.inc (check_float_internal): Correct ulp
25036 calculation for subnormal expected results.
25038 2012-05-06 Andreas Jaeger <aj@suse.de>
25040 * Makeconfig (+math-flags): New, set to -frounding-math.
25041 (+cflags): Add +math-flags so that all of glibc gets compiled with
25044 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
25046 2012-05-05 Joseph Myers <joseph@codesourcery.com>
25048 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
25054 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
25055 (__ieee754_expl): Allow for and saturate large arguments.
25056 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
25057 (u_threshold): Likewise.
25058 (__exp): Call __ieee754_exp before checking for overflow and
25060 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
25061 (u_threshold): Likewise.
25062 (__expf): Call __ieee754_expf before checking for overflow and
25064 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
25065 (u_threshold): Likewise.
25066 (__expl): Call __ieee754_expl before checking for overflow and
25068 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
25069 (__ieee754_expl): Allow for and saturate large arguments.
25070 * math/libm-test.inc (exp_test): Add another test. Do not allow
25071 missing overflow exception on overflow.
25072 (expm1_test): Do not allow missing overflow exception on overflow.
25074 * sysdeps/i386/fpu/e_expl.c: Move to ...
25075 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
25076 rather than using inline asm.
25077 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
25078 * sysdeps/x86_64/fpu/e_expl.S: Copy from
25079 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
25081 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
25084 (signal): Likewise.
25088 2012-05-04 Joseph Myers <joseph@codesourcery.com>
25090 * sysdeps/unix/syscalls.list (adjtime): Add entry from
25091 sysdeps/unix/common/syscalls.list.
25092 (fchmod): Likewise.
25093 (fchown): Likewise.
25094 (ftruncate): Likewise.
25095 (getrusage): Likewise.
25096 (gettimeofday): Likewise.
25097 (setpgid): Likewise.
25098 (setregid): Likewise.
25099 (setreuid): Likewise.
25100 (sigaction): Likewise.
25101 (truncate): Likewise.
25102 (vhangup): Likewise.
25103 * sysdeps/unix/common/syscalls.list: Remove file.
25104 * sysdeps/unix/bsd/Implies: Don't include unix/common.
25105 * sysdeps/unix/sysv/linux/Implies: Likewise.
25107 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
25109 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
25110 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
25111 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
25113 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
25115 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
25117 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
25118 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
25120 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
25121 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
25123 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
25124 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
25126 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
25127 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
25129 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
25130 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
25132 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
25133 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
25135 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
25137 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
25139 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
25141 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
25143 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
25144 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
25146 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
25148 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
25150 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
25152 2012-05-04 Joseph Myers <joseph@codesourcery.com>
25154 * sysdeps/unix/common/bits/dirent.h: Remove file.
25155 * sysdeps/unix/common/bits/fcntl.h: Likewise.
25157 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
25158 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
25159 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
25160 * sysdeps/unix/bsd/isatty.c: Likewise.
25161 * sysdeps/unix/bsd/tcdrain.c: Likewise.
25162 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
25163 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
25165 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25168 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
25169 long double comparison inaccuracies.
25170 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
25171 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25173 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
25175 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
25176 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
25178 2012-05-04 Joseph Myers <joseph@codesourcery.com>
25181 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
25182 nonzero digits before rounding a hex value.
25183 * stdlib/tst-strtod.c (tests): Add another test.
25185 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25187 * sysdeps/s390/fpu/libm-test-ulps: Update.
25189 2012-05-03 Andreas Jaeger <aj@suse.de>
25191 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
25192 does not get optimized out.
25193 (malloc_opt_barrier): New.
25195 2012-05-03 Andreas Jaeger <aj@suse.de>
25196 Roland McGrath <roland@hack.frob.com>
25198 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
25199 intermediate file deletion.
25200 (generated): Add .symlist files.
25202 2012-05-03 Joseph Myers <joseph@codesourcery.com>
25205 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
25206 Redirect under this condition.
25207 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
25208 [__USE_GNU] (__dprintf_chk): Not under this condition.
25209 [__USE_GNU] (__vdprintf_chk): Likewise.
25210 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
25211 under this condition.
25212 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
25213 [__USE_XOPEN2K8] (dprintf): Define under this condition.
25214 [__USE_XOPEN2K8] (vdprintf): Likewise.
25215 [__USE_GNU] (__dprintf_chk): Not under this condition.
25216 [__USE_GNU] (__vdprintf_chk): Likewise.
25217 [__USE_GNU] (dprintf): Likewise.
25218 [__USE_GNU] (vdprintf): Likewise.
25220 2012-05-03 Roland McGrath <roland@hack.frob.com>
25222 * elf/Makefile (common-generated): Set this instead of generated for
25223 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
25224 $(all-built-dso)-derived lists.
25226 2012-05-03 Andreas Jaeger <aj@suse.de>
25228 * sysdeps/i386/fpu/libm-test-ulps: Update.
25231 * FAQ.in: Likewise.
25232 * scripts/gen-FAQ.pl: Likewise.
25233 * manual/install.texi (Installation): Point to online location of
25235 * Makefile (files-for-dist): Remove FAQ.
25238 2012-05-02 Allan McRae <allan@archlinux.org>
25240 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
25241 (LDFLAGS-reldepmod5.so): Likewise.
25242 (LDFLAGS-reldep6mod1.so): Likewise.
25243 (LDFLAGS-reldep6mod4.so): Likewise.
25244 (LDFLAGS-reldep8mod3.so): Likewise.
25245 (LDFLAGS-unload4mod1.so): Likewise.
25246 (LDFLAGS-unload4mod2.so): Likewise.
25247 (LDFLAGS-tst-initorder): Likewise.
25248 (LDFLAGS-tst-initordera2.so): Likewise.
25249 (LDFLAGS-tst-initordera3.so): Likewise.
25250 (LDFLAGS-tst-initordera4.so): Likewise.
25251 (LDFLAGS-tst-initorderb2.so): Likewise.
25252 (LDFLAGS-noload): Likewise.
25253 (LDFLAGS-next): Likewise.
25254 (LDFLAGS-order2mod1.so): Likewise.
25255 (LDFLAGS-order2mod2.so): Likewise.
25256 (LDFLAGS-tst-initorder2): Likewise.
25257 (LDFLAGS-tst-initorder2a.so): Likewise.
25258 (LDFLAGS-tst-initorder2b.so): Likewise.
25259 (LDFLAGS-tst-initorder2c.so): Likewise.
25260 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
25262 2012-05-02 David S. Miller <davem@davemloft.net>
25264 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25266 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
25269 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
25271 2012-05-02 Andreas Jaeger <aj@suse.de>
25273 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
25274 since we manipulate rounding mode.
25275 (CPPFLAGS-test-idouble.c): Likewise.
25276 (CPPFLAGS-test-ifloat.c): Likewise.
25277 (CFLAGS-test-ldouble.c): Likewise.
25278 (CFLAGS-test-double.c): Likewise.
25279 (CFLAGS-test-float.c): Likewise.
25280 (CFLAGS-test-misc.c): Likewise.
25281 (CFLAGS-test-test-fenv.c): Likewise.
25283 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25287 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
25288 comparisons to determine direction to adjust input.
25290 2012-05-01 Roland McGrath <roland@hack.frob.com>
25292 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
25293 output to the target.
25295 * scripts/localplt.awk: New file.
25296 * elf/Makefile ($(objpfx)check-localplt): Target removed.
25297 (check-localplt-CFLAGS): Variable removed.
25298 ($(all-built-dso:=.jmprel)): New static pattern rule.
25299 (generated): Add those targets.
25300 (localplt-built-dso): New variable.
25301 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
25303 * elf/check-localplt.c: File removed.
25305 * scripts/check-execstack.awk: New file.
25306 * elf/Makefile ($(objpfx)check-execstack): Target removed.
25307 (check-execstack-CFLAGS): Variable removed.
25308 ($(objpfx)check-execstack.h): Target removed.
25309 ($(objpfx)execstack-default): New target.
25310 (generated): Add that instead of check-execstack.h.
25311 ($(all-built-dso:=.phdr)): New static pattern rule.
25312 (generated): Add those targets.
25313 * elf/check-execstack.c: File removed.
25315 * scripts/check-textrel.awk: New file.
25316 * elf/Makefile ($(objpfx)check-textrel): Target removed.
25317 (check-textrel-CFLAGS): Variable removed.
25318 (all-built-dso): Use := to define.o
25319 ($(all-built-dso:=.dyn)): New static pattern rule.
25320 (generated): Add those targets.
25321 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
25322 * config.make.in (READELF): New substituted variable.
25323 * elf/check-textrel.c: File removed.
25325 2012-05-01 Joseph Myers <joseph@codesourcery.com>
25327 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
25329 * conform/data/ctype.h-data [C99-based standards] (isblank):
25331 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
25332 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
25333 [ISO || ISO99 || ISO11] (*_t): Do not allow.
25334 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
25335 Specify type. Require positive value.
25336 (EILSEQ): Likewise.
25337 (ERANGE): Likewise.
25338 [ISO || POSIX] (EILSEQ): Do not expect.
25339 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
25340 Specify type. Require positive value.
25341 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
25342 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
25343 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
25344 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
25345 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
25346 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
25347 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
25348 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
25349 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
25350 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
25351 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
25352 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
25353 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
25354 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
25355 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
25356 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
25357 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
25358 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
25359 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
25360 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
25361 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
25362 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
25363 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
25364 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
25365 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
25366 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
25367 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
25368 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
25369 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
25370 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
25371 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
25372 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
25373 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
25374 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
25375 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
25376 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
25377 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
25378 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
25379 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
25380 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
25381 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
25382 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
25383 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
25384 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
25385 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
25386 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
25387 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
25388 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
25389 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
25390 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
25391 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
25392 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
25393 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
25394 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
25395 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
25396 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
25397 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
25398 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
25399 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
25400 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
25401 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
25402 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
25403 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
25404 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
25405 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
25406 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
25407 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
25408 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
25409 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
25410 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
25411 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
25412 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
25413 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
25414 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
25415 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
25416 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
25417 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
25419 (FLT_ROUNDS): Expect as macro, not constant.
25420 (FLT_MANT_DIG): Use macro-int-constant.
25421 (DBL_MANT_DIG): Likewise.
25422 (LDBL_MANT_DIG): Likewise.
25423 (FLT_DIG): Likewise.
25424 (DBL_DIG): Likewise.
25425 (LDBL_DIG): Likewise.
25426 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
25427 (DBL_MIN_EXP): Likewise.
25428 (LDBL_MIN_EXP): Likewise.
25429 (FLT_MAX_EXP): Use macro-int-constant.
25430 (DBL_MAX_EXP): Likewise.
25431 (LDBL_MAX_EXP): Likewise.
25432 (FLT_MAX_10_EXP): Likewise.
25433 (DBL_MAX_10_EXP): Likewise.
25434 (LDBL_MAX_10_EXP): Likewise.
25435 (FLT_MAX): Use macro-constant.
25436 (DBL_MAX): Likewise.
25437 (LDBL_MAX): Likewise.
25438 (FLT_EPSILON): Use macro-constant. Give upper bound.
25439 (DBL_EPSILON): Likewise.
25440 (LDBL_EPSILON): Likewise.
25441 (FLT_MIN): Likewise.
25442 (DBL_MIN): Likewise.
25443 (LDBL_MIN): Likewise.
25444 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
25445 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
25446 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
25447 [ISO11] (FLT_HAS_SUBNORM): Likewise.
25448 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
25449 [ISO11] (DBL_DECIMAL_DIG): Likewise.
25450 [ISO11] (FLT_DECIMAL_DIG): Likewise.
25451 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
25452 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
25453 [ISO11] (FLT_TRUE_MIN): Likewise.
25454 [ISO11] (LDBL_TRUE_MIN): Likewise.
25455 [ISO || ISO99 || ISO11] (*_t): Do not allow.
25456 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
25457 (SCHAR_MIN): Use macro-int-constant. Specify type.
25458 (SCHAR_MAX): Likewise.
25459 (UCHAR_MAX): Likewise.
25460 (CHAR_MIN): Likewise.
25461 (CHAR_MAX): Likewise.
25462 (MB_LEN_MAX): Use macro-int-constant.
25463 (SHRT_MIN): Use macro-int-constant. Specify type.
25464 (SHRT_MAX): Likewise.
25465 (USHRT_MAX): Likewise.
25466 (INT_MAX): Likewise.
25467 (INT_MIN): Use macro-int-constant. Specify type. Make upper
25469 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
25471 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
25473 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
25474 bound negative. Suffix upper bound with "L".
25475 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
25477 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
25479 [C99-based standards] (LLONG_MAX): Likewise.
25480 [C99-based standards] (ULLONG_MAX): Likewise.
25481 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
25483 [ISO11] (max_align_t): Require type.
25484 [ISO || ISO99 || ISO11] (*_t): Do not allow.
25486 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
25487 from $CFLAGS, without defining away __attribute__ calls.
25488 (checknamespace): Use $CFLAGS_namespace.
25490 * conform/conformtest.pl (@keywords): Only include C99 keywords
25491 for standards based on C99 or C11.
25493 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
25495 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
25498 * conform/conformtest.pl: Handle "macro-int-constant" and test for
25499 usability of symbols in #if.
25501 * conform/conformtest.pl: If macro or constant types start
25502 "promoted:", expect the symbol to be of the following type
25503 promoted by the integer promotions.
25505 * conform/conformtest.pl: Parse all "constant" and "macro" lines
25506 in one place. Also handle "macro-constant".
25508 * conform/conformtest.pl: Only accept expected macro values with
25509 "==". Parse all "macro" lines in one place.
25510 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
25512 * conform/conformtest.pl: Handle braced types on "constant" lines
25513 instead of handling "typed-constant".
25514 * conform/data/signal.h-data: Use "constant" instead of
25517 * conform/conformtest.pl: Handle "optional-" at start of lines in
25518 one place rather than duplicating several cases. Handle each
25519 format of "macro" line with initial "optional-".
25521 * conform/conformtest.pl: Only accept expected constant or
25522 optional-constant values with "==". Parse all "constant" lines in
25523 one place. Parse all "optional-constant" lines in one place.
25524 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
25525 * conform/data/fmtmsg.h-data: Likewise.
25526 * conform/data/netinet/in.h-data: Likewise.
25527 * conform/data/tar.h-data: Likewise.
25528 * conform/data/limits.h-data: Use "==" form on "constant" and
25529 "optional-constant" lines.
25531 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
25532 Use -std=c99 for XOPEN2K.
25533 (@knownproblems): Remove.
25534 (newtoken): Don't check %isknown.
25536 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
25537 Do not expect macro.
25538 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
25539 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
25540 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
25541 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
25542 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
25543 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
25544 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
25545 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
25546 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
25547 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
25548 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
25549 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
25550 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
25551 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
25552 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
25553 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
25554 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
25555 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
25556 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
25557 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
25558 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
25559 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
25560 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
25561 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
25562 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
25563 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
25564 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
25565 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
25566 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
25567 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
25568 [XPG3] (acosh): Likewise.
25569 [XPG3] (asinh): Likewise.
25570 [XPG3] (atanh): Likewise.
25571 [XPG3] (cbrt): Likewise.
25572 [XPG3] (expm1): Likewise.
25573 [XPG3] (ilogb): Likewise.
25574 [XPG3] (log1p): Likewise.
25575 [XPG3] (logb): Likewise.
25576 [XPG3] (nextafter): Likewise.
25577 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
25578 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
25579 [XPG3] (remainder): Likewise.
25580 [XPG3] (rint): Likewise.
25581 [XPG3 || XPG4 || UNIX98] (round): Likewise.
25582 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
25583 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
25584 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
25585 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
25586 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
25587 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
25588 [UNIX98 || XOPEN2K] (scalb): Expect.
25589 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
25590 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
25591 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
25592 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
25593 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
25594 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
25595 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
25596 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
25597 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
25598 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
25599 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
25600 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
25601 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
25602 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
25603 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
25604 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
25605 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
25606 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
25607 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
25608 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
25609 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
25610 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
25611 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
25612 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
25613 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
25614 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
25615 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
25616 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
25617 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
25618 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
25619 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
25620 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
25621 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
25622 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
25623 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
25624 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
25625 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
25626 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
25627 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
25628 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
25629 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
25630 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
25631 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
25632 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
25633 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
25634 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
25635 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
25636 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
25637 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
25638 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
25639 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
25640 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
25641 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
25642 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
25643 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
25644 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
25645 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
25646 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
25647 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
25648 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
25649 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
25650 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
25651 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
25652 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
25653 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
25654 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
25655 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
25656 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
25657 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
25658 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
25659 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
25660 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
25661 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
25662 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
25663 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
25664 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
25665 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
25666 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
25667 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
25668 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
25669 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
25670 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
25671 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
25672 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
25673 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
25674 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
25675 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
25676 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
25677 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
25678 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
25679 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
25680 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
25681 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
25682 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
25683 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
25684 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
25685 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
25686 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
25687 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
25688 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
25689 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
25690 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
25691 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
25692 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
25693 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
25694 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
25695 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
25696 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
25697 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
25698 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
25699 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
25700 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
25701 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
25702 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
25703 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
25704 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
25705 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
25706 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
25707 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
25708 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
25709 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
25710 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
25711 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
25712 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
25713 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
25714 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
25715 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
25716 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
25717 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
25718 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
25719 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
25720 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
25721 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
25722 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
25723 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
25724 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
25725 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
25727 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
25728 _XOPEN_SOURCE_EXTENDED for XPG4.
25730 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
25732 * Makeconfig (localtime): Remove variable.
25733 (inst_localtime-file): Likewise.
25735 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
25737 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
25739 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25741 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
25743 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
25745 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
25747 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
25749 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25751 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
25753 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
25756 2012-05-01 Joseph Myers <joseph@codesourcery.com>
25760 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
25761 comparisons to determine direction to adjust input.
25762 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
25763 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
25764 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
25766 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
25768 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
25770 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
25771 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
25773 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
25775 * math/libm-test.inc (nexttoward_test): Add more tests.
25777 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
25780 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
25781 in version GLIBC_2.1, not GLIBC_2.0.
25782 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
25785 2012-04-30 Joseph Myers <joseph@codesourcery.com>
25788 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
25790 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
25791 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
25792 * math/libm-test.inc (acos_test): Add more tests.
25793 (asin_test): Likewise.
25794 * sysdeps/i386/fpu/libm-test-ulps: Update.
25795 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25798 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
25800 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
25801 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
25802 * math/libm-test.inc (acos_test_tonearest): New function.
25803 (acos_test_towardzero): Likewise.
25804 (acos_test_downward): Likewise.
25805 (acos_test_upward): Likewise.
25806 (asin_test_tonearest): Likewise.
25807 (asin_test_towardzero): Likewise.
25808 (asin_test_downward): Likewise.
25809 (asin_test_upward): Likewise.
25810 (main): Call the new functions.
25811 * sysdeps/i386/fpu/libm-test-ulps: Update.
25812 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25816 * math/e_exp10.c: Include <float.h>.
25817 (__ieee754_exp10): Handle underflow here rather than multiplying
25818 large negative argument by M_LN10.
25819 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
25821 * math/e_exp10l.c: Include <float.h>.
25822 (__ieee754_exp10l): Handle underflow here rather than multiplying
25823 large negative argument by M_LN10l.
25824 * math/libm-test.inc (exp10_test): Add another test. Do not allow
25825 spurious overflow exception on underflow.
25827 2012-04-29 Marek Polacek <polacek@redhat.com>
25829 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
25830 (__fortify_function): New macro.
25831 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
25832 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
25833 __extern_always_inline.
25834 * libio/bits/stdio2.h: Likewise.
25835 * libio/bits/stdio.h: Likewise.
25836 * string/string.h: Likewise.
25837 * string/bits/string3.h: Likewise.
25838 * include/stdio.h: Likewise.
25839 * stdlib/bits/stdlib.h: Likewise.
25840 * stdlib/stdlib.h: Likewise.
25841 * rt/bits/mqueue2.h: Likewise.
25842 * rt/mqueue.h: Likewise.
25843 * posix/bits/unistd.h: Likewise.
25844 * posix/unistd.h: Likewise.
25845 * io/bits/poll2.h: Likewise.
25846 * io/bits/fcntl2.h: Likewise.
25847 * io/fcntl.h: Likewise.
25848 * io/sys/poll.h: Likewise.
25849 * misc/bits/syslog.h: Likewise.
25850 * misc/bits/syslog-ldbl.h: Likewise.
25851 * misc/sys/syslog.h: Likewise.
25852 * socket/bits/socket2.h: Likewise.
25853 * socket/sys/socket.h: Likewise.
25854 * debug/tst-chk1.c: Likewise.
25855 * wcsmbs/bits/wchar2.h: Likewise.
25856 * wcsmbs/bits/wchar-ldbl.h: Likewise.
25857 * wcsmbs/wchar.h: Likewise.
25859 2012-04-29 Andreas Jaeger <aj@suse.de>
25861 * Makerules (tests): Remove enable-check-abi protection.
25862 (check-abi-warn): Remove.
25863 (check-abi-%): Remove check-abi-warn usage.
25865 * configure.in: Remove check-abi configure option.
25866 * configure: Regenerated.
25867 * config.make.in (enable-check-abi): Remove.
25869 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
25872 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
25873 double functions to double *_finite functions.
25876 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
25877 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
25879 * stdio-common/Makefile (tests): Add tst-sprintf3.
25880 * stdio-common/tst-sprintf3.c: New file.
25882 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
25883 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
25885 2012-04-28 Joseph Myers <joseph@codesourcery.com>
25887 * conform/conformtest.pl: Remove duplicate typed-constant
25890 2012-04-28 David S. Miller <davem@davemloft.net>
25892 * Makerules (%.abilist): Add vpath on sysdep_dirs.
25893 (check-abi-%): Remove AWK script prerequisite and explicit
25895 (check-abi): Rewrite to just diff the symlist with the abilist.
25896 (config-tls, config-abi-config): Delete, no longer used.
25897 (update-abi-%): Remove AWK script and explicit abilist directory.
25898 (update-abi): Rewrite to simply compare and conditionally copy the
25899 symlist and the sysdep abilist file. Remove update-abi-config
25901 * abilist/ld.abilist: Remove.
25902 * abilist/libBrokenLocale.abilist: Remove.
25903 * abilist/libanl.abilist: Remove.
25904 * abilist/libcrypt.abilist: Remove.
25905 * abilist/libdl.abilist: Remove.
25906 * abilist/librt.abilist: Remove.
25907 * abilist/libthread_db.abilist: Remove.
25908 * abilist/libutil.abilist: Remove.
25909 * scripts/extract-abilist.awk: Remove.
25910 * scripts/merge-abilist.awk: Remove.
25911 * sysdeps/generic/libcidn.abilist: New file.
25912 * sysdeps/generic/libnss_compat.abilist: New file.
25913 * sysdeps/generic/libnss_db.abilist: New file.
25914 * sysdeps/generic/libnss_dns.abilist: New file.
25915 * sysdeps/generic/libnss_files.abilist: New file.
25916 * sysdeps/generic/libnss_hesiod.abilist: New file.
25917 * sysdeps/generic/libnss_nis.abilist: New file.
25918 * sysdeps/generic/libnss_nisplus.abilist: New file.
25919 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
25920 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
25921 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
25923 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
25924 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
25925 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
25926 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
25927 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
25928 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
25929 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
25930 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
25931 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
25933 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
25934 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
25935 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
25936 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
25938 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
25939 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
25940 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
25941 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
25942 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
25943 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
25945 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
25946 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
25947 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
25949 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
25950 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
25952 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
25954 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
25956 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
25958 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
25960 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
25962 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
25964 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
25966 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
25968 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
25970 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
25972 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
25974 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
25976 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
25978 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
25980 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
25982 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
25984 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
25986 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
25988 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
25990 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
25992 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
25994 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
25996 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
25998 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
26000 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
26002 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
26003 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
26005 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
26007 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
26009 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
26011 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
26013 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
26015 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
26017 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
26019 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
26021 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
26023 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
26025 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
26027 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
26028 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
26030 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
26032 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
26034 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
26036 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
26038 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
26040 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
26042 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
26044 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
26046 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
26048 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
26050 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
26052 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
26053 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
26054 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
26056 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
26057 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
26058 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
26059 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
26060 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
26061 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
26062 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
26063 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
26064 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
26065 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
26066 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
26067 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
26069 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
26071 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
26073 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
26075 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
26077 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
26079 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
26081 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
26083 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
26085 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
26087 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
26089 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
26091 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
26092 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
26094 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
26096 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
26098 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
26100 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
26102 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
26104 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
26106 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
26108 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
26110 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
26112 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
26114 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
26117 2012-04-28 Joseph Myers <joseph@codesourcery.com>
26119 * conform/conformtest.pl: Fix typo in handling typed-constant from
26122 2012-04-27 Joseph Myers <joseph@codesourcery.com>
26124 * README: Cut down references to pre-2.6 Linux kernels and
26125 Linuxthreads. Update lists of configurations in libc and ports
26126 and sort alphabetically. Say "or newer" with Linux kernel version
26129 * config.h.in [IS_IN_build]: Allow compiling without optimization.
26131 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
26134 * math/libm-test.inc (logb_test_downward): New test to expose
26135 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
26138 2012-04-27 Joseph Myers <joseph@codesourcery.com>
26141 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
26143 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
26144 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
26146 2012-04-26 Joseph Myers <joseph@codesourcery.com>
26148 * sysdeps/unix/i386/brk.S: Remove file.
26149 * sysdeps/unix/i386/dl-brk.S: Likewise.
26150 * sysdeps/unix/i386/pipe.S: Likewise.
26151 * sysdeps/unix/i386/sigreturn.S: Likewise.
26152 * sysdeps/unix/i386/syscall.S: Likewise.
26153 * sysdeps/unix/i386/vfork.S: Likewise.
26154 * sysdeps/unix/i386/wait.S: Likewise.
26156 * sysdeps/unix/common/tcsendbrk.c: Move to ...
26157 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
26159 * configure.in (arm*-none*): Do not allow without
26160 --enable-hacker-mode.
26161 (netbsd*): Remove case setting base_os.
26162 (386bsd*): Likewise.
26163 (freebsd*): Likewise.
26166 (sunos*): Likewise.
26167 (ultrix*): Likewise.
26168 (newsos*): Likewise.
26169 (dynix*): Likewise.
26175 (minix*): Likewise.
26176 (irix4*): Likewise.
26177 (irix6*): Likewise.
26178 (solaris[2-9]*): Likewise.
26180 * configure: Regenerated.
26182 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26185 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
26186 overflow or cancellation in calculating denominator.
26187 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
26188 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
26189 down expression to avoid unexpected rounding in newer GCCs.
26190 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
26192 2012-04-26 David S. Miller <davem@davemloft.net>
26194 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
26195 long-double compat symbols.
26196 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
26197 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
26198 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
26199 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
26200 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
26201 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
26202 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
26203 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
26204 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
26205 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
26206 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
26207 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
26208 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
26210 2012-04-25 David S. Miller <davem@davemloft.net>
26212 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
26213 HWCAP_* values only after the memory barriers have been defined.
26214 (atomic_full_barrier): Define.
26215 (atomic_read_barrier): Define.
26216 (atomic_write_barrier): Define.
26218 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
26220 * shlib-versions: Add libgcc_s version information.
26221 * sysdeps/generic/libgcc_s.h: Remove.
26222 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
26224 * sysdeps/gnu/unwind-resume.c: Likewise.
26225 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
26227 2012-04-25 David S. Miller <davem@davemloft.net>
26229 * sysdeps/unix/sparc/brk.S: Delete.
26230 * sysdeps/unix/sparc/dl-brk.S: Delete.
26231 * sysdeps/unix/sparc/pipe.S: Delete.
26232 * sysdeps/unix/sparc/sysdep.S: Delete.
26233 * sysdeps/unix/sparc/sysdep.h: Delete.
26234 * sysdeps/unix/sparc/vfork.S: Delete.
26235 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
26236 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
26237 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
26238 ret_ERRVAL, r0, r1, MOVE): Define.
26239 (JUMPTARGET): Remove.
26240 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
26241 sysdeps/unix/sparc/sysdep.h
26242 (ENTRY, END): Remove.
26243 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
26245 2012-04-25 Joseph Myers <joseph@codesourcery.com>
26247 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
26248 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
26251 * timezone/README: Update upstream location and email address for
26253 * timezone/zdump.c: Update from tzcode 2012b.
26254 * timezone/zic.c: Likewise.
26256 * configure.in (libc_cv_as_needed): Remove test.
26257 * configure: Regenerated.
26258 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
26259 conditional definition.
26260 [$(have-as-needed) != yes] (no-as-needed): Likewise.
26261 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
26262 * config.make.in (have-as-needed): Remove variable.
26264 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
26265 Paul Pluzhnikov <ppluzhnikov@google.com>
26267 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
26270 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
26272 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
26273 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
26274 * sysdeps/sh/strlen.S: Likewise.
26276 2012-04-24 Joseph Myers <joseph@codesourcery.com>
26278 * sysdeps/unix/fork.S: Remove file.
26279 * sysdeps/unix/i386/fork.S: Likewise.
26280 * sysdeps/unix/sparc/fork.S: Likewise.
26282 * sysdeps/unix/system.c: Remove file.
26283 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
26285 * sysdeps/unix/getegid.S: Remove file.
26286 * sysdeps/unix/geteuid.S: Likewise.
26288 2012-04-24 Roland McGrath <roland@hack.frob.com>
26290 * scripts/check-localplt.awk: New file.
26291 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
26293 * scripts/data/localplt-generic.data: Add a comment.
26295 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
26296 NODE when __dir_mkfile failed.
26297 * sysdeps/mach/hurd/symlinkat.c: Likewise.
26298 Reported by Ludovic Courtès <ludo@gnu.org>.
26300 2012-04-24 Andreas Jaeger <aj@suse.de>
26302 * Makerules (common-clean): Also remove gen-as-const-headers
26305 2012-04-24 Joseph Myers <joseph@codesourcery.com>
26307 * Makerules (native-compile): Do not change working directory for
26308 build. Use $(OUTPUT_OPTION) in command.
26309 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
26311 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26314 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
26315 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
26316 * math/libm-test.inc (floor_test): Add more tests.
26317 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
26319 2012-04-24 Joseph Myers <joseph@codesourcery.com>
26321 * sysdeps/unix/getdents.c: Remove file.
26322 * sysdeps/unix/sysv/getdents.c: Likewise.
26323 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
26325 * sysdeps/unix/syscalls.list (madvise): Add syscall from
26326 sysdeps/unix/mman/syscalls.list.
26328 (mprotect): Likewise.
26330 (munmap): Likewise.
26331 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
26332 * sysdeps/unix/mman/syscalls.list: Remove.
26333 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
26335 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
26336 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
26337 * configure: Regenerated.
26338 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
26339 $(libgcc_s_suffix).
26340 * config.make.in (libgcc_s_suffix): Remove variable.
26342 2012-04-23 Joseph Myers <joseph@codesourcery.com>
26344 * sysdeps/unix/sysv/gethostname.c: Move to ...
26345 * sysdeps/posix/gethostname.c: ... here.
26347 * sysdeps/unix/execve.S: Remove file.
26349 * sysdeps/unix/_exit.S: Remove file.
26351 2012-04-23 Andreas Jaeger <aj@suse.de>
26354 * manual/Makefile: Remove make dist support, there's no
26355 need for a stand-alone documentation tar ball.
26356 (TEXI2DVI): Define always, it's not in Makeconfig.
26359 (edition): Removed.
26360 (glibc-doc-$(edition).tar): Removed
26364 (ETAGS): Remove, it's in Makeconfig.
26365 (move-if-change): Remove, it's in Makeconfig.
26367 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
26370 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
26371 (strtod, strtof, strtold, strtol, strtoul, strtoq)
26372 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
26373 (strtod_l, strtof_l, strtold_l): Remove __wur.
26374 It is not necessarily an error to ignore strtol's return value.
26375 One can reliably look at the stored endptr to decide whether
26376 the number had valid syntax.
26378 2012-04-21 Andreas Jaeger <aj@suse.de>
26381 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
26383 2012-04-21 Joseph Myers <joseph@codesourcery.com>
26385 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
26386 * sysdeps/unix/sysv/Versions: Remove file.
26388 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
26391 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26393 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
26396 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
26397 version from __vm86.
26399 2012-04-20 Joseph Myers <joseph@codesourcery.com>
26401 * sysdeps/unix/common/lxstat.c: Remove file.
26402 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
26404 * sysdeps/unix/sysv/Makefile: Remove file.
26406 * sysdeps/unix/sysv/direct.h: Remove file.
26408 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
26409 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
26410 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
26411 * sysdeps/unix/sysv/bits/signum.h: Likewise.
26412 * sysdeps/unix/sysv/bits/stat.h: Likewise.
26413 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
26414 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
26416 * sysdeps/unix/sysv/setrlimit.c: Remove file.
26418 * sysdeps/unix/xmknod.c: Remove file.
26419 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
26421 * sysdeps/unix/sysv/settimeofday.c: Remove file.
26423 * sysdeps/unix/sysv/i386/time.S: Remove file.
26425 * sysdeps/unix/fxstat.c: Remove file.
26426 * sysdeps/unix/xstat.c: Likewise.
26427 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
26429 * sysdeps/unix/sysv/sigaction.c: Remove file.
26431 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
26432 (sysdep_headers): Remove variable.
26433 [termio.h not in sysdep_headers] (generated): Likewise.
26434 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
26435 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
26436 * sysdeps/unix/sysv/tcdrain.c: Likewise.
26437 * sysdeps/unix/sysv/tcflow.c: Likewise.
26438 * sysdeps/unix/sysv/tcflush.c: Likewise.
26439 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
26440 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
26441 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
26442 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
26443 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
26445 * sysdeps/unix/siglist.c: Remove file.
26447 * sysdeps/unix/getppid.S: Remove file.
26449 * sysdeps/unix/mkdir.c: Remove file.
26450 * sysdeps/unix/rmdir.c: Likewise.
26452 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
26454 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
26456 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
26457 errlist-compat value.
26459 2012-04-18 David S. Miller <davem@davemloft.net>
26461 * sysdeps/generic/memcopy.h (reg_char): Delete.
26462 * debug/strcat_chk.c: Use char, not reg_char.
26463 * debug/strcpy_chk.c: Likewise.
26464 * debug/strncat_chk.c: Likewise.
26465 * debug/strncpy_chk.c: Likewise.
26466 * string/memchr.c: Likewise.
26467 * string/memrchr.c: Likewise.
26468 * string/rawmemchr.c: Likewise.
26469 * string/strcat.c: Likewise.
26470 * string/strchr.c: Likewise.
26471 * string/strchrnul.c: Likewise.
26472 * string/strcmp.c: Likewise.
26473 * string/strcpy.c: Likewise.
26474 * string/strncat.c: Likewise.
26475 * string/strncmp.c: Likewise.
26476 * string/strncpy.c: Likewise.
26478 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
26480 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
26481 __builtin_memcopy is called when src and dest ranges are known to not
26484 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
26486 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
26487 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
26488 fwd_align_merge macro call.
26489 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
26490 bwd_align_merge macro call.
26491 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
26493 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
26495 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
26496 bwd_align_merge macros.
26497 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
26498 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
26499 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
26501 2012-04-18 David S. Miller <davem@davemloft.net>
26503 * sysdeps/sparc/sparc64/memcopy.h: Delete.
26505 2012-04-18 Andreas Jaeger <aj@suse.de>
26508 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
26509 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
26510 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
26512 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
26513 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
26514 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
26516 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
26517 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
26518 Adjust for changed ldbl-128 files.
26520 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
26521 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
26522 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
26524 2012-04-17 David S. Miller <davem@davemloft.net>
26526 * sysdeps/sparc/sparc32/memcopy.h: Delete.
26528 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
26530 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
26531 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
26532 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
26533 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
26534 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
26535 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
26537 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26540 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
26541 * math/libm-test.inc: Add ilogb errno and exception tests.
26542 * math/w_ilogb.c: New file: ilogb wrapper.
26543 * math/w_ilogbf.c: New file: ilogbf wrapper.
26544 * math/w_ilogbl.c: New file: ilogbl wrapper.
26545 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
26546 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
26547 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
26548 exception being thrown with 0.0 as argument.
26549 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
26550 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
26551 exception being thrown with 0.0 as argument.
26552 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
26553 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
26554 exception being thrown with 0.0 as argument.
26555 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
26556 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
26557 exception being thrown with 0.0 as argument.
26558 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
26559 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
26560 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
26561 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
26562 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
26563 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
26564 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
26565 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
26566 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
26568 2012-04-17 Petr Baudis <pasky@ucw.cz>
26570 * include/sys/uio.h: Change __vector to __iovec to avoid clash
26573 2012-04-16 Marek Polacek <polacek@redhat.com>
26575 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
26577 2012-04-16 Marek Polacek <polacek@redhat.com>
26579 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
26580 operands of fdivp instruction.
26582 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
26584 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
26585 * elf/tst-auditmod3b.c: Likewise.
26586 * elf/tst-auditmod4b.c: Likewise.
26587 * elf/tst-auditmod5b.c: Likewise.
26588 * elf/tst-auditmod6b.c: Likewise.
26589 * elf/tst-auditmod6c.c: Likewise.
26590 * elf/tst-auditmod7b.c: Likewise.
26591 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
26592 * sysdeps/x86_64/preconfigure.in: Likewise.
26593 * sysdeps/x86_64/preconfigure: Regenerated.
26595 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
26597 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
26600 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
26602 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
26603 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
26605 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
26608 * locale/iso-639.def: Fix gl language name. Spotted by
26611 2012-04-12 Roland McGrath <roland@hack.frob.com>
26614 * libio/libio.h (__io_write_fn): Update comment.
26616 2012-04-12 Petr Baudis <pasky@ucw.cz>
26619 * stdio.texi (Hook Functions): The user provided writer function
26620 is not allowed to return -1.
26622 2012-04-11 David S. Miller <davem@davemloft.net>
26624 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26626 2012-04-11 Mike Frysinger <vapier@gentoo.org>
26628 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
26629 Add a leading slash to rtkaio.
26631 2012-04-11 Jim Meyering <meyering@redhat.com>
26634 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
26635 It is not necessarily an error to ignore fwrite's return
26636 value. One can reliably use ferror to test for errors after
26639 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
26641 * bits/types.h (__snseconds_t): New type.
26642 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
26644 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
26645 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
26646 (__SNSECONDS_T_TYPE): Likewise.
26647 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
26648 (__SNSECONDS_T_TYPE): Likewise.
26649 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
26650 (__SNSECONDS_T_TYPE): Likewise.
26652 2012-04-10 Andreas Jaeger <aj@suse.de>
26655 * manual/time.texi (Processor Time): Return type of times is
26656 elapsed real time since an arbitrary point in the past.
26657 (CPU Time): Move CLK_TCK from here...
26658 (Processor Time): ...to here. Correct description.
26659 * manual/conf.texi (Constants for Sysconf): Correct description of
26662 2012-04-10 David S. Miller <davem@davemloft.net>
26665 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
26666 where the is a gap between DT_REL(A) and DT_JMPREL.
26668 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
26670 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
26671 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
26672 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
26674 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
26676 * elf/dl-support.c (_dl_inhibit_cache): New variable.
26677 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
26678 (dl_main): Handle --inhibit-cache.
26679 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
26681 * elf/dl-load.c (_dl_map_object): Use it.
26682 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
26684 2012-04-09 Joseph Myers <joseph@codesourcery.com>
26687 * sysdeps/i386/fpu/e_powl.S (p78): New object.
26688 (__ieee754_powl): Saturate large exponents rather than testing for
26689 overflow of y*log2(x).
26690 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
26691 * math/libm-test.inc (pow_test): Do not permit spurious overflow
26695 * math/s_ctan.c: Include <float.h>.
26696 (__ctan): Avoid internal overflow or cancellation in calculating
26698 * math/s_ctanf.c: Likewise.
26699 * math/s_ctanl.c: Likewise.
26700 * math/s_ctanh.c: Likewise.
26701 * math/s_ctanhf.c: Likewise.
26702 * math/s_ctanhl.c: Likewise.
26703 * math/libm-test.inc (ctan_test): Add more tests.
26704 (ctanh_test): Likewise.
26705 * sysdeps/i386/fpu/libm-test-ulps: Update.
26706 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26708 2012-04-09 Andreas Jaeger <aj@suse.de>
26711 * manual/filesys.texi (Directory Entries): Mention that d_namlen
26712 is an optional BSD extension.
26715 * manual/stdio.texi (Opening Streams): Document additional fopen
26718 2012-04-09 Roland McGrath <roland@hack.frob.com>
26720 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
26721 %eax without telling the compiler.
26723 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
26726 * manual/install.texi: Use sourceware.org.
26728 2012-04-09 Joseph Myers <joseph@codesourcery.com>
26731 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
26732 (__ieee754_pow): Generate overflow and underflow using huge*huge
26733 and tiny*tiny rather than just returning constant infinity or zero
26734 for large exponents.
26735 * math/libm-test.inc (pow_test): Require overflow exceptions for
26736 applicable cases of large exponents.
26739 * sysdeps/i386/fpu/e_pow.S (p10): New object.
26740 (__ieee754_pow): Use iterative multiplication algorithm only for
26741 integer exponents with absolute value below 1024. Check for odd
26742 integer exponents when using algorithm for real exponents.
26743 * math/libm-test.inc (pow_test): Add more tests.
26744 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26746 2012-04-08 Joseph Myers <joseph@codesourcery.com>
26749 * math/libm-test.inc (exp_test): Do not allow overflow exception
26752 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
26755 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
26756 instead of __kernel_standard_f.
26758 2012-04-08 Mike Frysinger <vapier@gentoo.org>
26760 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
26761 * sysdeps/x86_64/memset_chk.S: Likewise.
26763 2012-04-08 Andreas Jaeger <aj@suse.de>
26766 * manual/startup.texi (Environment Access): Describe return value
26767 for putenv and setenv.
26770 * manual/filesys.texi (Directory Entries): Add description for
26774 * manual/filesys.texi (Directory Entries): Clarify that it's file
26775 system not operating system in the description of DT_UNKNOWN.
26778 * manual/syslog.texi (closelog): Fix reference, it's openlog.
26780 2012-04-08 Stephen Compall <s11@member.fsf.org>
26783 * manual/llio.texi (Opening and Closing Files): Add cross
26784 reference to explain mode argument.
26786 2012-04-07 Mike Frysinger <vapier@gentoo.org>
26788 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
26789 * sysdeps/x86_64/memset_chk.S: Likewise.
26791 2012-04-07 David S. Miller <davem@davemloft.net>
26793 * elf/elf.h (R_SPARC_WDISP10): Define.
26794 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
26796 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
26797 R_SPARC_SIZE64 and R_SPARC_H34.
26799 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
26801 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
26802 conditions and remove no longer applicable assertion.
26804 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
26806 * bits/byteswap.h: Include <features.h>.
26807 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
26808 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
26810 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
26812 * bits/byteswap.h (__bswap_16): Removed.
26813 Include <bits/byteswap-16.h> to get __bswap_16.
26814 * sysdeps/i386/bits/byteswap.h: Likewise.
26815 * sysdeps/s390/bits/byteswap.h: Likewise.
26816 * sysdeps/x86_64/bits/byteswap.h: Likewise.
26817 * bits/byteswap-16.h: New file.
26818 * sysdeps/i386/bits/byteswap-16.h: Likewise.
26819 * sysdeps/s390/bits/byteswap-16.h: Likewise.
26820 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
26821 * string/Makefile (headers): Add bits/byteswap-16.h.
26823 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
26826 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
26828 * nss/Makefile (tests-static, tests): Add tst-nss-static.
26829 * nss/tst-nss-static.c: New.
26831 2012-04-06 Robert Millan <rmh@gnu.org>
26834 * manual/llio.texi (File Position Primitive): lseek
26835 refers to WHENCE when it really means OFFSET.
26837 2012-04-06 Andreas Jaeger <aj@suse.de>
26839 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
26840 strncmp declarations.
26842 * abilist/libc.abilist: Add __poll and __ppoll.
26844 2012-04-05 David S. Miller <davem@davemloft.net>
26846 * scripts/check-local-headers.sh: Accept a host triplet in the
26847 path matched by the exclude regexp.
26849 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
26851 * sysdeps/powerpc/powerpc32/dl-machine.h
26852 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
26853 * sysdeps/s390/s390-32/dl-machine.h
26854 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
26855 * sysdeps/sparc/sparc32/dl-machine.h
26856 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
26857 * sysdeps/sparc/sparc64/dl-machine.h
26858 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
26860 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
26862 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
26863 undefined symbol errors.
26865 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
26868 2012-04-05 Michael Matz <matz@suse.de>
26871 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
26873 2012-04-05 Andreas Jaeger <aj@suse.de>
26876 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
26879 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
26881 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
26882 which ROUND is no valid rounding mode.
26884 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
26886 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
26888 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
26890 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
26892 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
26893 an exception using FPU order intentionally.
26895 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
26897 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
26898 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
26899 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
26900 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
26902 2012-04-05 Simon Josefsson <simon@josefsson.org>
26905 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
26906 EINVAL when BUFLEN is too smal.
26908 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
26911 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
26912 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
26914 2012-04-03 Andreas Jaeger <aj@suse.de>
26917 * manual/setjmp.texi (System V contexts): Fix sentence.
26920 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
26921 New macro for this case.
26922 [!__GNUC__] (__bswap_64): New inline function for this case.
26923 * sysdeps/x86_64/bits/byteswap.h: Likewise.
26924 * bits/byteswap.h: Likewise.
26925 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
26926 ull, guard with __GLIBC_HAVE_LONG_LONG.
26928 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
26929 __GLIBC_HAVE_LONG_LONG.
26931 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
26932 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
26934 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26937 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
26938 inptr and inend, rather than using last_ch.
26940 2012-04-02 David S. Miller <davem@davemloft.net>
26942 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
26943 * stdio-common/printf-parse.h (read_int): Change return type to
26944 'int', return -1 on INT_MAX overflow.
26945 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
26946 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
26947 overflows INT_MAX. Check for overflow of in-format-string precision
26948 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
26949 SIZE_MAX not INT_MAX for integer overflow test.
26950 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
26951 skip the construct in the format string but do not record anything.
26952 * stdio-common/bug22.c: Adjust to test both width/prevision
26953 INT_MAX overflow as well as total length INT_MAX overflow. Check
26954 explicitly for proper errno values.
26956 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
26958 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
26960 * string/test-strcmp.c [! WIDE]: Likewise.
26961 * time/tst-mktime2.c: Likewise for INT_MAX.
26962 * string/test-string.h: #include <sys/param.h> for MIN.
26964 * csu/init-first.c (__libc_init_first): Call __ctype_init.
26965 * sysdeps/i386/init-first.c (init): Likewise.
26966 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
26967 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
26968 * sysdeps/sh/init-first.c (init): Likewise.
26970 2012-04-01 Ulrich Drepper <drepper@gmail.com>
26972 * po/ru.po: Update from translation team.
26973 * po/vi.po: Likewise.
26975 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
26977 * resolv/nss_dns/dns-host.c: Merge copyright years.
26979 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26981 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
26982 Optimize memcpy with prefetch if
26983 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
26984 src, dst pointers have unequal 16 byte alignments.
26986 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
26989 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
26990 from a CNAME entry and return the minimum ttl for the query.
26991 (gaih_getanswer_slice): Likewise.
26993 2012-03-30 Jeff Law <law@redhat.com>
26995 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
26997 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
26998 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
27000 * resolv/nss_dns/dns-host.c: Update copyright year.
27002 2012-03-30 Ulrich Drepper <drepper@gmail.com>
27004 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
27005 requests to save a system call. Fix check that all bytes are sent.
27007 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
27008 comments for sendmmsg.
27010 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27013 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
27014 with only 1 character between 0x0041 and 0x01b0.
27015 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
27016 * wcsmbs/tst-mbsnrtowcs.c: New file.
27018 2012-03-29 David S. Miller <davem@davemloft.net>
27020 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
27021 small copies by hand.
27023 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
27026 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
27027 _nss_compat_initgroups_dyn): Fall back to malloc/free
27028 for large group memberships.
27030 2012-03-28 David S. Miller <davem@davemloft.net>
27032 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
27033 that branches into memcpy.
27034 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
27035 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
27036 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
27037 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
27038 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
27040 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
27041 implementation too.
27042 * sysdeps/sparc/mempcpy.S: New file.
27044 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
27045 the IFUNC routine in the libc case.
27046 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
27048 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
27049 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
27050 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
27051 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
27052 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
27053 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
27054 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
27055 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
27057 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
27058 loop to 256 bytes instead of 64 bytes and fix test signedness.
27060 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
27061 * sysdeps/sparc/sparc32/Makefile: rather than here...
27062 * sysdeps/sparc/sparc64/Makefile: and here.
27064 2012-03-28 Ulrich Drepper <drepper@gmail.com>
27066 * malloc/mallocbug.c: Avoid warnings about unused variables.
27068 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
27071 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
27072 in the right place. Discard and retry query if response is
27073 larger than input buffer size.
27075 2012-03-28 Joseph Myers <joseph@codesourcery.com>
27080 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
27081 x for large integer exponent.
27082 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
27083 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
27084 sign of result as needed afterwards.
27085 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
27086 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
27087 result for underflowing pow the same as for overflow.
27088 (__kernel_standard_l): Handle powl overflow and underflow here
27089 rather than calling __kernel_standard.
27090 * math/libm-test.inc (pow_test): Add more tests.
27105 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
27106 * sysdeps/ieee754/k_standard.c: Include <float.h>.
27107 (__kernel_standard_l): New function.
27108 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
27110 * math/w_acosl.c (__acosl): Likewise.
27111 * math/w_asinl.c (__asinl): Likewise.
27112 * math/w_atan2l.c (__atan2l): Likewise.
27113 * math/w_atanhl.c (__atanhl): Likewise.
27114 * math/w_coshl.c (__coshl): Likewise.
27115 * math/w_exp10l.c (__exp10l): Likewise.
27116 * math/w_exp2l.c (__exp2l): Likewise.
27117 * math/w_fmodl.c (__fmodl): Likewise.
27118 * math/w_hypotl.c (__hypotl): Likewise.
27119 * math/w_j0l.c (__j0l, __y0l): Likewise.
27120 * math/w_j1l.c (__j1l, __y1l): Likewise.
27121 * math/w_jnl.c (__jnl, __ynl): Likewise.
27122 * math/w_lgammal.c (__lgammal): Likewise.
27123 * math/w_log10l.c (__log10l): Likewise.
27124 * math/w_log2l.c (__log2l): Likewise.
27125 * math/w_logl.c (__logl): Likewise.
27126 * math/w_powl.c (__powl): Likewise.
27127 * math/w_remainderl.c (__remainderl): Likewise.
27128 * math/w_scalbl.c (sysv_scalbl): Likewise.
27129 * math/w_sinhl.c (__sinhl): Likewise.
27130 * math/w_sqrtl.c (__sqrtl): Likewise.
27131 * math/w_tgammal.c (__tgammal): Likewise.
27132 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
27133 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
27134 * math/libm-test.inc (acos_test): Add more tests.
27135 (acosh_test): Likewise.
27136 (asin_test): Likewise.
27137 (atanh_test): Likewise.
27138 (exp_test): Likewise.
27139 (exp10_test): Likewise.
27140 (exp2_test): Likewise.
27141 (expm1_test): Likewise.
27142 (lgamma_test): Likewise.
27143 (log_test): Likewise.
27144 (log10_test): Likewise.
27145 (log1p_test): Likewise.
27146 (log2_test): Likewise.
27147 (pow_test): Do not allow some spurious overflow exceptions.
27148 (sqrt_test): Add more tests.
27149 (tgamma_test): Likewise.
27150 (y0_test): Likewise.
27151 (y1_test): Likewise.
27152 (yn_test): Likewise.
27154 2012-03-27 Anton Blanchard <anton@samba.org>
27156 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
27158 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
27159 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
27160 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
27162 2012-03-27 David S. Miller <davem@davemloft.net>
27164 * conform/Makefile: Run run-conformtest.sh using $(BASH).
27166 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
27167 have-as-vis3 check.
27169 2012-03-27 Andreas Jaeger <aj@suse.de>
27171 * sysdeps/x86_64/elf/configure.in: Moved to ...
27172 * sysdeps/x86_64/configure.in: ... here.
27173 * sysdeps/x86_64/elf/start.S: Moved to ...
27174 * sysdeps/x86_64/start.S: ... here.
27175 * sysdeps/x86_64/elf/configure: Delete.
27177 * sysdeps/x86_64/configure.in: Merge contents from
27178 sysdeps/i386/configure.in (without i686 check).
27180 * sysdeps/i386/elf/Versions: Merge into ...
27181 * sysdeps/i386/Versions: ... this.
27182 * sysdeps/i386/elf/Versions: Delete file.
27183 * sysdeps/i386/elf/start.S: Moved to ...
27184 * sysdeps/i386/start.S: ...here.
27185 * sysdeps/i386/elf/configure.in: Merge into...
27186 * sysdeps/i386/configure.in: ...here.
27187 * sysdeps/i386/elf/configure.in: Delete file.
27188 * sysdeps/i386/elf/configure: Delete file.
27190 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
27191 * debug/backtracesyms.c: ... here.
27192 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
27193 * debug/backtracesymsfd.c: ... here.
27194 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
27195 * sysdeps/generic/ifunc-sel.h: ... here.
27197 * sysdeps/unix/i386/start.c: Delete file.
27198 * sysdeps/unix/sparc/start.c: Delete file.
27199 * sysdeps/unix/start.c: Delete file.
27201 * sysdeps/sh/elf/configure.in: Moved to ...
27202 * sysdeps/sh/configure.in: ... here.
27203 * sysdeps/sh/elf/start.S: Moved to ...
27204 * sysdeps/sh/start.S: ... here.
27205 * sysdeps/sh/elf/configure: Delete file.
27207 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
27208 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
27209 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
27210 * sysdeps/powerpc/powerpc64/entry.h: ... here.
27211 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
27212 * sysdeps/powerpc/powerpc64/start.S: here.
27213 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
27214 * sysdeps/powerpc/powerpc64/Makefile: ... this.
27215 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
27216 * sysdeps/powerpc/powerpc64/configure.in: ... this.
27217 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
27219 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
27220 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
27221 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
27222 * sysdeps/powerpc/powerpc32/start.S: ... here.
27223 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
27224 * sysdeps/powerpc/powerpc32/configure.in: ... this.
27225 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
27227 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
27228 * sysdeps/powerpc/ifunc-sel.h: ... here.
27229 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
27230 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
27232 * sysdeps/sparc/elf/configure.in: Moved to ...
27233 * sysdeps/sparc/configure.in: ... here.
27234 * sysdeps/sparc/elf/configure: Delete file.
27235 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
27236 * sysdeps/sparc/sparc32/start.S: ... here.
27237 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
27238 * sysdeps/sparc/sparc64/start.S: ... here.
27239 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
27240 * sysdeps/sparc/sparc32/Makefile: ... this.
27241 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
27242 * sysdeps/sparc/sparc64/Makefile: ... this.
27244 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
27245 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
27246 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
27247 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
27248 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
27249 * sysdeps/s390/s390-32/setjmp.S: ... here.
27250 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
27251 * sysdeps/s390/s390-32/configure.in: ... here.
27252 * sysdeps/s390/s390-32/elf/configure: Delete file.
27253 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
27254 * sysdeps/s390/s390-32/start.S: ... here.
27256 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
27257 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
27258 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
27259 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
27260 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
27261 * sysdeps/s390/s390-64/setjmp.S: ... here.
27262 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
27263 * sysdeps/s390/s390-64/configure.in: ... here
27264 * sysdeps/s390/s390-64/elf/configure: Delete file.
27265 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
27266 * sysdeps/s390/s390-64/start.S: ... here.
27267 * sysdeps/s390/s390-64/elf/configure: Delete.
27269 * configure.in: Remove support for elf directories in sysdeps.
27271 * configure: Regenerated.
27272 * sysdeps/i386/configure: Regenerated.
27273 * sysdeps/powerpc/powerpc32/configure: Regenerated.
27274 * sysdeps/powerpc/powerpc64/configure: Regenerated.
27275 * sysdeps/s390/s390-32/configure: Regenerated.
27276 * sysdeps/s390/s390-64/configure: Regenerated.
27277 * sysdeps/sh/configure: Regenerated.
27278 * sysdeps/sparc/configure: Regenerated.
27279 * sysdeps/x86_64/configure: Regenerated.
27281 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
27283 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27285 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
27286 denormal result into account.
27288 2012-03-25 Roland McGrath <roland@hack.frob.com>
27290 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
27291 Reported by Allan McRae <allan@archlinux.org>.
27293 2012-03-23 Jeff Law <law@redhat.com>
27295 * nss/getnssent.c (__nss_getent): Fix typo.
27297 2012-03-23 David S. Miller <davem@davemloft.net>
27299 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27301 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
27303 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
27304 to pad to uint64_t for each field.
27305 (dl_tls_index): Replace unsigned long with uint64_t.
27307 2012-03-23 Daniel Jacobowitz <dmj@google.com>
27308 Paul Pluzhnikov <ppluzhnikov@google.com>
27311 * grp/Makefile (otherlibs): Don't set it.
27312 * inet/Makefile (otherlibs): Likewise.
27313 * login/Makefile (otherlibs): Likewise.
27314 * nscd/Makefile (otherlibs): Likewise.
27315 * posix/Makefile (otherlibs): Likewise.
27316 * pwd/Makefile (otherlibs): Likewise.
27317 * rt/Makefile (otherlibs): Likewise.
27318 * sunrpc/Makefile (otherlibs): Likewise.
27319 * nss/Makefile (otherlibs): Likewise.
27320 Add libnss_files to routines and static-only-routines.
27321 ($(objpfx)getent): Remove rule.
27322 * resolv/Makefile: Add libnss_dns and libresolv to routines and
27323 static-only-routines.
27325 2012-03-22 Joseph Myers <joseph@codesourcery.com>
27328 * math/s_cexp.c: Include <float.h>.
27329 (__cexp): Handle exp result overflowing not necessarily
27330 overflowing both real and imaginary parts of result.
27331 * math/s_cexpf.c: Likewise.
27332 * math/s_cexpl.c: Likewise.
27333 * math/libm-test.inc (cexp_test): Add more tests.
27334 * sysdeps/i386/fpu/libm-test-ulps: Update.
27335 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27337 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
27339 * include/link.h (ELFW): New macro.
27340 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
27341 Replace ELF64_R_TYPE with ELFW(R_TYPE).
27343 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
27345 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
27348 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
27350 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
27352 (struct La_x32_retval): Likewise.
27354 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
27356 * sysdeps/x86_64/preconfigure.in: New file.
27357 * sysdeps/x86_64/preconfigure: New generated file.
27359 2012-03-22 Joseph Myers <joseph@codesourcery.com>
27362 * math/e_exp2l.c: Include <float.h>.
27363 (__ieee754_exp2l): Handle overflow and underflow cases
27364 separately. Only pass fractional part of argument to
27366 * math/libm-test.inc (exp2_test): Add more tests.
27368 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
27369 negating x to take absolute value.
27370 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
27372 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
27373 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
27375 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
27376 computing low part if x was negated.
27377 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
27379 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
27381 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
27382 la_x32_gnu_pltexit.
27383 (pltexit): Cast int_retval to ptrdiff_t.
27384 * elf/tst-auditmod3b.c: Likewise.
27385 * elf/tst-auditmod4b.c: Likewise.
27386 * elf/tst-auditmod5b.c: Likewise.
27387 * elf/tst-auditmod6b.c: Likewise.
27388 * elf/tst-auditmod6c.c: Likewise.
27389 * elf/tst-auditmod7b.c: Likewise.
27391 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
27392 and x32_gnu_pltexit.
27394 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
27395 __ELF_NATIVE_CLASS.
27396 (La_x32_regs): New macro.
27397 (La_x32_retval): Likewise.
27398 (la_x32_gnu_pltenter): New function prototype.
27399 (la_x32_gnu_pltexit): Likewise.
27401 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
27403 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
27406 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27408 * configure.in (libc_cv_cc_nofma): Check for option to disable
27409 generation of FMA instructions.
27410 * configure: Regenerate.
27411 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
27412 * sysdeps/ieee754/dbl-64/Makefile: New file.
27413 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
27414 Remove brandred-fma4.
27415 (CFLAGS-brandred-fma4.c): Remove.
27416 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
27417 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
27419 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
27422 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
27424 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
27425 LLONG_MAX != LONG_MAX.
27426 (_itoa_word): Use _ITOA_WORD_TYPE on value.
27427 (_fitoa_word): Likewise.
27428 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
27429 LLONG_MAX != LONG_MAX.
27430 * stdio-common/_itowa.h: Include <_itoa.h>.
27431 (_itowa_word): Use _ITOA_WORD_TYPE on value.
27432 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
27433 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
27434 only if not defined.
27435 (_ITOA_WORD_TYPE): Likewise.
27436 (_itoa_word): Use _ITOA_WORD_TYPE on value.
27437 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
27439 2012-03-21 David S. Miller <davem@davemloft.net>
27441 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27443 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
27445 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
27446 of x86_64 when setting libc_cv_slibdir, libdir and
27448 * sysdeps/unix/sysv/linux/configure: Regenerated.
27450 2012-03-21 Joseph Myers <joseph@codesourcery.com>
27452 * manual/lang.texi (Old Varargs): Remove section.
27453 (How Variadic): Update menu.
27454 (va_start): Do not mention varargs.h.
27456 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
27457 Joseph Myers <joseph@codesourcery.com>
27459 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
27461 * configure: Regenerated.
27463 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
27465 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
27466 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
27469 2012-03-21 Joseph Myers <joseph@codesourcery.com>
27472 * Makefile (files-for-dist): Remove NOTES.
27473 (NOTES): Remove rule.
27474 * README: Don't refer to NOTES.
27475 * manual/creature.texi: Don't include macros.texi.
27476 * manual/intro.texi (creature.texi): Remove comment referring to
27479 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
27480 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
27481 * configure: Regenerated.
27482 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
27483 LIBC_TRY_CC_OPTION.
27484 (libc_cv_as_i686): Likewise.
27485 (libc_cv_cc_avx): Likewise.
27486 (libc_cv_cc_sse2avx): Likewise.
27487 (libc_cv_cc_fma4): Likewise.
27488 (libc_cv_cc_novzeroupper): Likewise.
27489 * sysdeps/i386/configure: Regenerated.
27492 * sysdeps/i386/fpu/s_cexp.S: Remove.
27493 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
27494 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
27495 * math/libm-test.inc (cexp_test): Add more tests.
27496 * sysdeps/i386/fpu/libm-test-ulps: Update.
27497 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27499 2012-03-21 Allan McRae <allan@archlinux.org>
27501 * timezone/Makefile: Do not install iso3166.tab and zone.tab
27503 2012-03-21 Joseph Myers <joseph@codesourcery.com>
27506 * math/w_exp2.c: Do not include <float.h>.
27507 (o_threshold, u_threshold): Remove.
27508 (__exp2): Calculate result before checking finiteness and calling
27510 * math/w_exp2f.c: Likewise.
27511 * math/w_exp2l.c: Likewise.
27512 * math/libm-test.inc (exp2_test): Require overflow exception for
27516 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
27517 range of signed 64-bit integers before using fistpll. Remove
27518 checks for whether integers fit in mantissa bits.
27519 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
27520 the range of signed 32-bit integers before using fistpl. Remove
27521 checks for whether integers fit in mantissa bits.
27522 * sysdeps/i386/fpu/e_powl.S (p64): New object.
27523 (__ieee754_powl): Test for y outside the range of signed 64-bit
27524 integers before using fistpll. Reduce 64-bit values to 63-bit
27526 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
27527 divide-by-zero is raised for zero to large negative powers.
27528 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
27529 (__ieee754_powl): Test for y outside the range of signed 64-bit
27530 integers before using fistpll. Reduce 64-bit values to 63-bit
27532 * math/libm-test.inc (pow_test): Add more tests.
27534 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
27536 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
27537 <stdio-common/_itoa.h>.
27538 * debug/segfault.c: Likewise.
27539 * elf/dl-cache.c: Likewise.
27540 * elf/dl-minimal.c: Likewise.
27541 * elf/dl-misc.c: Likewise.
27542 * elf/dl-sysdep.c: Likewise.
27543 * elf/dl-version.c: Likewise.
27544 * elf/rtld.c: Likewise.
27545 * hurd/hurdsock.c: Likewise.
27546 * hurd/lookup-retry.c: Likewise.
27547 * malloc/malloc.c: Likewise.
27548 * malloc/mtrace.c: Likewise.
27549 * nscd/nscd_getgr_r.c: Likewise.
27550 * nscd/nscd_getpw_r.c: Likewise.
27551 * nscd/nscd_getserv_r.c: Likewise.
27552 * posix/getopt_init.c: Likewise.
27553 * posix/wordexp.c: Likewise.
27554 * stdio-common/_itoa.c: Likewise.
27555 * stdio-common/printf_fphex.c: Likewise.
27556 * stdio-common/vfprintf.c: Likewise.
27557 * string/_strerror.c: Likewise.
27558 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
27559 * sysdeps/i386/i686/hp-timing.h: Likewise.
27560 * sysdeps/mach/_strerror.c: Likewise.
27561 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
27562 * sysdeps/mach/hurd/sethostid.c: Likewise.
27563 * sysdeps/mach/hurd/xmknodat.c: Likewise.
27564 * sysdeps/mach/xpg-strerror.c: Likewise.
27565 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
27566 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
27567 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
27568 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
27569 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
27570 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
27571 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
27572 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
27573 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
27574 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
27575 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
27576 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
27577 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
27578 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
27579 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
27580 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
27581 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
27582 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
27583 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
27584 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
27585 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
27587 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
27589 * stdio-common/_itoa.h: Moved to ...
27590 * sysdeps/generic/_itoa.h: Here.
27592 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
27594 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
27595 instead of "_itoa.h" and "_itowa.h".
27596 * stdio-common/vfprintf.: Likewise.
27598 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
27600 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
27602 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
27603 (__signbit): Likwise.
27604 (llrintf): Likwise.
27607 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
27609 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
27612 2012-03-20 Joseph Myers <joseph@codesourcery.com>
27614 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
27615 OVERFLOW_EXCEPTION_OK.
27616 * math/libm-test.inc ("Philosophy"): Update comment about
27618 (OVERFLOW_EXCEPTION): Define.
27619 (OVERFLOW_EXCEPTION_OK): Likewise.
27620 (INVALID_EXCEPTION_OK): Renumber.
27621 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
27622 (IGNORE_ZERO_INF_SIGN): Likewise.
27623 (test_exceptions): Handle FE_OVERFLOW.
27624 (exp10_test): Expect overflow exceptions.
27625 (exp2_test): Likewise.
27626 (expm1_test): Likewise.
27627 (nextafter_test): Likewise.
27628 (pow_test): Likewise.
27629 (scalbn_test): Likewise.
27630 (scalbln_test): Likewise.
27632 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
27634 * sysdeps/x86_64/bits/atomic.h
27635 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
27637 (atomic_exchange_acq): Likewise.
27638 (__arch_exchange_and_add_body): Likewise.
27639 (__arch_add_body): Likewise.
27640 (atomic_add_negative): Likewise.
27641 (atomic_add_zero): Likewise.
27643 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
27645 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
27646 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
27648 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
27650 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
27651 Check __x86_64__ instead of __WORDSIZE.
27653 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
27655 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
27657 2012-03-19 David S. Miller <davem@davemloft.net>
27659 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27661 * sysdeps/sparc/fpu/fenv_private.h: New file.
27662 * sysdeps/sparc/fpu/math_private.h: Use it.
27663 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
27665 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
27666 (libc_feholdexcept_setroundl): Remove.
27667 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
27669 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
27670 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
27672 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
27674 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
27675 int64_t instead of long int.
27676 (INSERT_WORDS64): Likwise.
27678 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
27680 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
27681 _Unwind_GetCFA return to _Unwind_Ptr first.
27683 2012-03-19 Joseph Myers <joseph@codesourcery.com>
27686 * math/s_clog.c: Include <float.h>.
27687 (__clog): Scale large or subnormal inputs.
27688 * math/s_clogf.c: Likewise.
27689 * math/s_clogl.c: Likewise.
27690 * math/s_clog10.c: Include <float.h>.
27691 (M_LOG10_2): Define.
27692 (__clog10): Scale large or subnormal inputs.
27693 * math/s_clog10f.c: Likewise.
27694 * math/s_clog10l.c: Likewise.
27695 * math/libm-test.inc (clog_test): Add more tests.
27696 (clog10_test): Likewise.
27697 * sysdeps/i386/fpu/libm-test-ulps: Update.
27698 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27701 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
27703 * math/libm-test.inc (atan2_test): Add another test.
27705 * Makerules (common-objdir-compile): Remove.
27706 * sysdeps/unix/Makefile (config-generated): Do not add
27707 $(unix-generated) to variable.
27708 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
27709 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
27711 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
27713 [generic bits/local_lim.h] (before-compile): Do not append to
27715 [generic bits/local_lim.h] (common-generated): Likewise.
27716 [generic sys/param.h] (before-compile): Do not append to variable.
27717 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
27718 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
27719 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
27720 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
27722 [generic sys/param.h] (sys/param.h-includes): Remove variable.
27723 [generic sys/param.h] (sys/param.h-includes): Remove rule.
27724 [generic sys/param.h] ($(addprefix
27725 $(common-objpfx),$(sys/param.h-includes))): Likewise.
27726 [generic sys/param.h] (common-generated): Do not append to
27728 [generic sys/param.h] (sysdep_headers): Likewise.
27729 [generic bits/errno.h] (before-compile): Do not append to
27731 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
27733 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
27734 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
27735 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
27736 [generic bits/errno.h] (common-generated): Do not append to
27738 [generic bits/ioctls.h] (before-compile): Do not append to
27740 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
27742 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
27743 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
27744 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
27746 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
27747 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
27748 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
27749 [generic bits/ioctls.h] (common-generated): Do not append to
27751 [generic sys/syscall.h] (syscall.h): Remove variable.
27752 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
27754 [generic sys/syscall.h] (before-compile): Do not append to
27756 [generic sys/syscall.h] (common-generated): Likewise.
27757 * sysdeps/unix/errnos-tmpl.c: Remove file.
27758 * sysdeps/unix/errnos.awk: Likewise.
27759 * sysdeps/unix/ioctls-tmpl.c: Likewise.
27760 * sysdeps/unix/ioctls.awk: Likewise.
27761 * sysdeps/unix/mk-local_lim.c: Likewise.
27762 * sysdeps/unix/snarf-ioctls: Likewise.
27764 2012-03-19 Richard Henderson <rth@twiddle.net>
27766 * sysdeps/i386/fpu/fenv_private.h: New file.
27767 * sysdeps/i386/fpu/math_private.h: Use it.
27768 (math_opt_barrier, math_force_eval): Remove.
27769 (libc_feholdexcept_setround_53bit): Remove.
27770 (libc_feupdateenv_53bit): Remove.
27771 * sysdeps/x86_64/fpu/math_private.h: Likewise.
27772 (math_opt_barrier, math_force_eval): Remove.
27773 (libc_feholdexcept): Remove.
27774 (libc_feholdexcept_setround): Remove.
27775 (libc_fetestexcept, libc_fesetenv): Remove.
27776 (libc_feupdateenv_test): Remove.
27777 (libc_feupdateenv, libc_feholdsetround): Remove.
27778 (libc_feresetround): Remove.
27780 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
27781 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
27783 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
27784 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
27785 (libc_feupdateenv_testl): New.
27786 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
27787 (libc_feupdateenv_testf): New.
27788 (libc_feupdateenv): Use libc_feupdateenv_test.
27789 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
27790 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
27792 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
27793 (libc_feholdsetroundf, libc_feholdsetroundl): New.
27794 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
27795 (libc_feresetround_noex): New.
27796 (libc_feresetround_noexf): New.
27797 (libc_feresetround_noexl): New.
27798 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
27799 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
27800 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
27801 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
27803 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
27804 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
27806 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
27807 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
27808 SET_RESTORE_ROUND_NOEX.
27809 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
27810 SET_RESTORE_ROUND_NOEXF.
27811 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
27812 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
27813 (libc_feholdsetroundf): New.
27814 (libc_feresetround, libc_feresetroundf): New.
27816 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
27817 (libc_feholdexcept_setround_53bit): Convert from macro to function.
27818 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
27820 * sysdeps/generic/math_private.h: Include <fenv.h>.
27821 (default_libc_feholdexcept): New.
27822 (default_libc_feholdexcept_setround): New.
27823 (default_libc_fesetenv, default_libc_feupdateenv): New.
27824 (libc_feholdexcept): Only define if undefined.
27825 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
27826 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
27827 (libc_feholdexcept_setroundl): Likewise.
27828 (libc_feholdexcept_setround_53bit): Likewise.
27829 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
27830 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
27831 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
27832 (libc_feupdateenv_53bit): Likewise.
27833 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
27834 (libc_feholdexcept): Convert from macro to inline function.
27835 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
27836 (libc_fesetenv, libc_feupdateenv): Likewise.
27838 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
27839 not previously defined.
27840 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
27841 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
27842 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
27843 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
27844 * sysdeps/ieee754/flt-32/math_private.h: New file.
27845 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
27846 math_private.h below SET_FLOAT_WORD.
27847 (__isnan, __isinf_ns, __finite): Remove.
27848 (__isnanf, __isinf_nsf, __finitef): Remove.
27850 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
27852 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27854 2012-03-17 David S. Miller <davem@davemloft.net>
27857 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
27860 2012-03-16 David S. Miller <davem@davemloft.net>
27862 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
27866 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
27868 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
27869 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
27870 sysdep_routines when subdir is sysvipc.
27871 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
27872 __getshmlba helper.
27874 * sysdeps/sparc/fpu/libm-test/ulps: Update.
27876 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
27878 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
27881 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
27883 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
27884 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
27885 (__lround): Renamed to ...
27886 (__llround): This. Replace long int with long long int.
27887 Define lround functions as aliases of llround functions.
27888 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
27890 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
27892 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
27893 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
27894 adresses to uintptr_t. Replace "long int" and "unsigned long
27895 int" with "greg_t" on va_arg.
27897 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
27899 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
27900 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
27902 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
27903 Move e_machine check before EI_CLASS check. Handle x32
27904 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
27905 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
27906 SKIP_EM_IA_64 and include
27907 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
27909 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
27910 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
27911 (add_system_dir): New macro.
27913 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
27914 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
27916 2012-03-16 Joseph Myers <joseph@codesourcery.com>
27927 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
27929 * math/w_j0f.c (j0f): Likewise.
27931 * math/w_j0l.c (__j0l): Likewise.
27933 * math/w_j1.c (j1): Likewise.
27935 * math/w_j1f.c (j1f): Likewise.
27937 * math/w_j1l.c (__j1l): Likewise.
27939 * math/w_jn.c (jn): Likewise.
27941 * math/w_jnf.c (jnf): Likewise.
27943 * math/w_jnl.c (__jnl): Likewise.
27945 * math/libm-test.inc (j0_test): Add more tests.
27946 (j1_test): Likewise.
27947 (jn_test): Likewise. Add trailing semicolon to existing test.
27948 (y0_test): Likewise.
27949 (y1_test): Likewise.
27950 * sysdeps/i386/fpu/libm-test-ulps: Update.
27951 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27955 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
27956 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
27957 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
27958 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
27959 (__tanl): Set errno for infinite argument.
27960 * sysdeps/i386/fpu/mptan.c: Remove.
27961 * sysdeps/i386/fpu/s_tan.S: Likewise.
27962 * sysdeps/i386/fpu/s_tanl.S: Likewise.
27963 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
27964 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
27965 * math/libm-test.inc (tan_test): Add more tests and enable more
27966 tests for double and long double.
27967 * sysdeps/i386/fpu/libm-test-ulps: Update.
27968 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27970 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
27972 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
27973 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
27975 2012-03-16 Roland McGrath <roland@hack.frob.com>
27977 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
27978 * configure.in: Use it for both main tree and add-ons.
27979 * configure: Regenerated.
27981 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
27983 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
27985 2012-03-16 Joseph Myers <joseph@codesourcery.com>
27987 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
27991 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
27992 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
27993 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
27994 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
27995 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
27997 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
27998 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
27999 != 0 for prec == 2.
28000 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
28001 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
28002 * sysdeps/i386/fpu/s_cosl.S: Likewise.
28003 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
28004 * sysdeps/i386/fpu/s_sinl.S: Likewise.
28005 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
28006 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
28007 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
28008 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
28009 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
28010 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
28011 * math/libm-test.inc (cos_test): Add more tests and enable more
28012 tests for long double.
28013 (sin_test): Likewise.
28014 (sincos_test): Likewise.
28015 * sysdeps/i386/fpu/libm-test-ulps: Update.
28016 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28018 2012-03-16 David S. Miller <davem@davemloft.net>
28020 * sysdeps/sparc/fpu/math_private.h: New file.
28022 2012-03-15 David S. Miller <davem@davemloft.net>
28024 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
28026 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
28027 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
28029 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
28030 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
28031 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
28032 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
28033 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
28034 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
28036 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
28038 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
28039 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
28041 * sysdeps/sparc/sparc-ifunc.h: New file.
28042 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
28044 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
28045 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
28047 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
28049 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
28050 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
28051 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
28052 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
28054 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
28055 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
28056 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
28057 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
28058 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
28060 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
28062 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
28063 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
28064 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
28065 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
28066 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
28067 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
28068 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
28069 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
28070 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
28071 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
28072 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
28073 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
28074 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
28075 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
28076 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
28077 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
28078 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
28079 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
28080 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
28081 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
28082 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
28083 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
28084 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
28085 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
28087 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
28089 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
28091 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28093 2012-03-15 Andreas Jaeger <aj@suse.de>
28096 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
28097 ieee754/flt-32 implementation for sin, cos and sincos.
28098 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
28099 * sysdeps/i386/fpu/s_cosf.S: Likewise.
28100 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
28101 * sysdeps/i386/fpu/s_sinf.S: Likewise.
28102 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
28103 ieee754/flt-32 implementation for tan.
28105 * math/libm-test.inc (cos_test): Enable some large input tests for
28107 (sin_test): Likewise.
28108 (sincos_test): Likewise.
28109 (tan_test): Add tests for large input.
28111 * sysdeps/i386/fpu/libm-test-ulps: Update.
28113 2012-03-15 Andreas Jaeger <aj@suse.de>
28116 * math/libm-test.inc (cos_test): Add more test cases.
28117 (sin_test): Likewise.
28118 (sincos_test): Likewise.
28120 2012-03-15 Andreas Jaeger <aj@suse.de>
28123 * math/libm-test.inc (cos_test): Add a test case for large input
28125 (sin_test): Likewise.
28126 (sincos_test): Likewise.
28128 2012-03-15 Andreas Jaeger <aj@suse.de>,
28129 Joseph Myers <joseph@codesourcery.com>
28132 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
28133 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
28134 * sysdeps/i386/fpu/branred.c: Likewise.
28135 * sysdeps/i386/fpu/dosincos.c: Likewise.
28136 * sysdeps/i386/fpu/mpa.c: Likewise.
28137 * sysdeps/i386/fpu/s_cos.S: Likewise.
28138 * sysdeps/i386/fpu/s_sin.S: Likewise.
28139 * sysdeps/i386/fpu/s_sincos.S: Likewise.
28140 * sysdeps/i386/fpu/sincos32.c: Likewise.
28142 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
28144 (libc_feupdateenv_53bit): Define.
28145 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
28147 (libc_feupdateenv_53bit): Define.
28149 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
28150 53 bit (without extend i386 double precision).
28152 * math/libm-test.inc (sincos_test): Add tests for large input.
28156 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
28158 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
28160 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28162 2012-03-15 David S. Miller <davem@davemloft.net>
28164 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
28165 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
28166 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
28167 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
28168 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
28169 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
28170 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
28171 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
28172 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
28173 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
28174 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
28175 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
28176 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
28177 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
28178 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
28179 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
28181 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
28182 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
28184 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
28185 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
28187 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
28188 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
28190 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
28191 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
28192 fmin/fmax sysdep routines.
28193 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
28195 2012-03-14 David S. Miller <davem@davemloft.net>
28197 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
28198 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
28199 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
28200 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
28201 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
28202 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
28203 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
28204 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
28205 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
28206 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
28207 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
28208 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
28209 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
28210 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
28211 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
28212 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
28213 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
28214 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
28215 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
28216 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
28217 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
28218 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
28219 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
28220 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
28221 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
28222 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
28223 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
28224 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
28225 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
28227 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
28229 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
28230 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
28232 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
28233 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
28235 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
28236 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
28238 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
28239 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
28241 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
28242 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
28244 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
28246 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
28248 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
28250 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
28252 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
28254 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
28256 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
28257 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
28259 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
28260 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
28262 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
28263 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
28265 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
28266 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
28269 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
28272 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28274 * sysdeps/sparc/configure.in: New file.
28275 * sysdeps/sparc/configure: Generate.
28276 * configure.in (libc_cv_sparc_as_vis3): Substitute.
28277 * configure: Regenerate.
28278 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
28279 * config.make.in (have-as-vis3): New.
28280 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
28281 available use -Av9d instead of -Av9a.
28282 * sysdeps/sparc/sparc64/Makefile: Likewise.
28283 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
28284 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
28286 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
28288 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
28290 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
28292 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
28293 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
28294 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
28295 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
28296 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
28298 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
28299 fzeros/fnegs to load 0x80000000 into a float register instead of
28301 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
28303 2012-03-14 Joseph Myers <joseph@codesourcery.com>
28305 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28307 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
28308 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
28309 ($(inst_includedir)/bits/syscall.h): Remove rule.
28310 ($(objpfx)bits/syscall.d): Include instead of
28311 $(objpfx)syscall-list.d.
28312 (generated): Change syscall-list.h and syscall-list.d to
28313 bits/syscall.h and bits/syscall.d.
28315 2012-03-14 Roland McGrath <roland@hack.frob.com>
28318 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
28320 2012-03-14 Joseph Myers <joseph@codesourcery.com>
28323 * math/s_csqrt.c: Include <float.h>.
28324 (__csqrt): Scale large or subnormal inputs.
28325 * math/s_csqrtf.c: Likewise.
28326 * math/s_csqrtl.c: Likewise.
28327 * math/libm-test.inc (csqrt_test): Add more tests.
28328 * sysdeps/i386/fpu/libm-test-ulps: Update.
28329 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28332 * math/libm-test.inc (hypot_test): Add more tests.
28334 2012-03-13 David S. Miller <davem@davemloft.net>
28337 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
28338 double-precision for the calculation instead of scaling.
28340 2012-03-13 Joseph Myers <joseph@codesourcery.com>
28342 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
28343 manipulate bits before adding and subtracting TWO52[sx].
28344 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
28345 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
28347 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
28349 2012-03-13 David S. Miller <davem@davemloft.net>
28351 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
28352 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
28353 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
28354 rtld-global-offsets.h
28355 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
28357 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
28360 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
28362 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
28363 'err' in the ifdef scope in which it is actually used.
28365 * nss/nss_db/db-init.c: Include string.h
28367 2012-03-12 David S. Miller <davem@davemloft.net>
28369 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
28370 masking out of the most significant byte of random value used.
28371 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
28372 Fix coding style in previous change.
28374 * sysdeps/unix/sysv/linux/kernel-features.h
28375 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
28376 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
28378 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
28381 2012-03-11 David S. Miller <davem@davemloft.net>
28383 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
28384 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
28385 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
28386 for 'resultvar' otherwise things get truncated on 64-bit.
28388 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
28389 Fix masking out of the most significant byte of random value used.
28391 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28393 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
28395 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28397 2012-03-09 David S. Miller <davem@davemloft.net>
28399 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
28400 variables with appropriate CPP guards.
28401 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
28402 frame pointer, not the stack pointer. Correct layout comments. Fix test
28403 on resulting framesize and the management of the outregs buffer for pltexit.
28404 Preserve floating point return values across _dl_call_pltexit call.
28405 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
28406 framesize and the management of the outregs buffer for pltexit.
28407 Preserve floating point return values across _dl_call_pltexit
28409 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
28410 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
28411 (print_exit): Fix format string for return register value.
28413 2012-03-10 Joseph Myers <joseph@codesourcery.com>
28415 * sunrpc/Makefile (others): Add rpcgen.
28416 ($(objpfx)rpcgen): Remove special build rule and dependency on
28418 * sunrpc/rpcgen.c: New file.
28420 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
28423 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
28424 * stdio-common/bug-vfprintf-nargs.c: Likewise.
28425 * sysdeps/i386/crti.S: Likewise.
28426 * sysdeps/i386/crtn.S: Likewise.
28427 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
28428 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
28429 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
28430 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
28431 * sysdeps/sh/crti.S: Likewise.
28432 * sysdeps/sh/crtn.S: Likewise.
28433 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
28436 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
28438 * locale/programs/locfile-kw.gperf: Likewise.
28439 * locale/programs/charmap-kw.h: Regenerated.
28440 * locale/programs/locfile-kw.h: Likewise.
28443 * intl/plural.y: Replace FSF snail mail address with URL.
28444 * intl/plural.c: Regenerated.
28446 2012-03-09 Richard Henderson <rth@twiddle.net>
28448 * include/math_private.h: Remove file.
28449 * math/math_private.h: Move file ...
28450 * sysdeps/generic/math_private.h: ... here.
28452 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
28453 * sysdeps/powerpc/fpu/math_private.h: Likewise.
28454 * sysdeps/x86_64/fpu/math_private.h: Likewise.
28456 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
28457 and <math_private.h>.
28458 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
28459 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
28460 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
28461 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
28462 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
28463 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
28464 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
28465 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28466 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
28467 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
28468 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28469 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
28470 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
28471 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
28472 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
28473 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
28474 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
28475 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
28476 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
28477 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
28478 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28479 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
28480 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
28481 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28482 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
28483 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
28484 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
28485 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
28486 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28487 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
28488 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
28489 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
28490 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
28491 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
28492 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
28493 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
28494 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
28495 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
28496 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
28497 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
28498 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
28499 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
28500 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
28501 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
28502 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
28503 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
28504 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
28505 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
28506 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
28507 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
28508 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
28509 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
28510 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
28511 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
28512 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
28513 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
28514 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
28515 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
28516 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
28517 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
28518 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
28519 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
28520 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
28521 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
28522 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
28523 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
28524 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
28525 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
28526 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
28527 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
28528 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
28529 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
28530 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
28531 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
28532 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
28533 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
28534 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
28535 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
28536 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
28537 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
28538 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
28539 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
28540 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
28541 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
28542 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
28543 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
28544 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
28545 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
28546 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
28547 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
28548 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
28549 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
28550 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
28551 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
28552 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
28553 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
28554 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
28555 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
28556 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
28557 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
28558 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
28559 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
28560 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
28561 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
28562 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
28563 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
28564 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
28565 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
28566 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
28567 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
28568 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
28569 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
28570 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
28571 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
28572 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
28573 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
28574 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
28575 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
28576 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
28577 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
28578 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
28579 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
28580 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
28581 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
28582 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
28583 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
28584 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
28585 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
28586 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
28587 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
28588 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
28589 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
28590 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
28591 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
28592 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
28593 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
28594 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
28595 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
28596 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
28597 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
28598 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
28599 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
28600 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
28601 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
28602 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
28603 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
28604 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
28605 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
28606 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
28607 * sysdeps/ieee754/k_standard.c: Likewise.
28608 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
28609 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
28610 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
28611 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
28612 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
28613 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
28614 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
28615 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
28616 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
28617 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
28618 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
28619 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
28620 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
28621 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
28622 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
28623 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
28624 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
28625 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
28626 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
28627 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
28628 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
28629 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
28630 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
28631 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
28632 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
28633 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
28634 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
28635 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
28636 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
28637 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
28638 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
28639 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
28640 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
28641 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
28642 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
28643 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
28644 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
28645 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
28646 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
28647 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
28648 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
28649 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
28650 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
28651 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
28652 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
28653 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
28654 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
28655 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
28656 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
28657 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
28658 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
28659 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
28660 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
28661 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
28662 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
28663 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
28664 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
28665 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
28666 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
28667 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
28668 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
28669 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
28670 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
28671 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
28672 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
28673 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
28674 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
28675 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
28676 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
28677 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
28678 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
28679 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
28680 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
28681 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
28682 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
28683 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
28684 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
28685 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
28686 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
28687 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
28688 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
28689 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
28690 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
28691 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
28692 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
28693 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
28694 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
28695 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
28696 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
28697 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
28698 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
28699 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
28700 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
28701 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
28702 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
28703 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
28704 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
28705 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
28706 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
28707 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
28708 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
28709 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
28710 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
28711 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
28712 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
28713 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
28714 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
28715 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
28716 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
28717 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
28718 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
28719 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
28720 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
28721 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
28722 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
28723 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
28724 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
28725 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
28726 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
28727 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
28728 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
28729 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
28730 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
28731 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
28732 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
28733 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
28734 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
28735 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
28736 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
28737 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
28738 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
28739 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
28740 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
28741 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
28742 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
28743 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
28744 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
28745 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
28746 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
28747 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
28748 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
28749 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
28750 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
28751 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
28752 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
28753 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
28754 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
28755 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
28756 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
28757 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
28758 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
28759 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
28760 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
28761 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
28762 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
28763 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
28764 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
28765 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
28766 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
28767 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
28768 * sysdeps/ieee754/s_lib_version.c: Likewise.
28769 * sysdeps/ieee754/s_matherr.c: Likewise.
28770 * sysdeps/ieee754/s_signgam.c: Likewise.
28771 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
28772 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
28773 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
28774 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
28775 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
28776 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
28777 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
28778 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
28779 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
28780 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
28781 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
28782 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
28783 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
28784 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
28785 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
28786 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
28787 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
28788 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
28789 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
28790 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
28791 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
28793 2012-03-09 Joseph Myers <joseph@codesourcery.com>
28795 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
28796 * sunrpc/rpc_main.c: Likewise.
28797 * sunrpc/rpc_svcout.c: Likewise.
28799 2012-03-09 David S. Miller <davem@davemloft.net>
28801 * include/math_private.h: New file.
28803 2012-03-09 Joseph Myers <joseph@codesourcery.com>
28805 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
28806 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
28807 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
28808 from <bits/socket_type.h>.
28809 (enum __socket_type): Don't define here.
28810 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
28811 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28812 bits/socket_type.h.
28815 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
28816 checking __USE_GNU.
28818 * Makerules ($(inst_includedir)/%.h): New rule.
28819 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
28820 (install-others): Remove variable setting.
28821 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
28823 2012-03-08 Richard Henderson <rth@twiddle.net>
28825 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
28826 from macro to inline function; merge with the
28827 !__LIBC_INTERNAL_MATH_INLINES version.
28828 (__ieee754_sqrtf): Likewise.
28830 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
28831 to inline function.
28832 (__rintf, __floor, __floorf): Likewise.
28834 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
28835 macro to inline function.
28836 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
28838 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
28839 not <math/math_private.h>.
28841 2012-03-08 David S. Miller <davem@davemloft.net>
28843 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
28845 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
28847 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
28849 * resolv/gai_misc.c (handle_requests): Fix struct timespec
28851 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
28852 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
28854 2012-03-08 Ulrich Drepper <drepper@gmail.com>
28856 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
28857 be defined individually, they must be defined as a block. Define
28858 S for printing a string instead of hidint the different by using a
28859 macro for adding the 'l'.
28860 * stdio-common/tst-fphex-wide.c: Adjust.
28862 2012-03-07 Marek Polacek <polacek@redhat.com>
28864 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
28866 2012-03-08 Marek Polacek <polacek@redhat.com>
28869 * stdio-common/Makefile (tests): Add tst-fphex-wide.
28870 * stdio-common/tst-fphex.c: Define a few macros to make the
28871 test reusable. Use them.
28872 * stdio-common/tst-fphex-wide.c: New file.
28874 2012-03-08 Joseph Myers <joseph@codesourcery.com>
28877 * manual/macros.texi (gnusystems): New macro.
28878 (nongnusystems): Likewise.
28879 (gnulinuxhurdsystems): Likewise.
28880 (gnuhurdsystems): Likewise..
28881 (gnulinuxsystems): Likewise.
28882 * manual/charset.texi: Use new macros or @theglibc{} to refer to
28883 variants of the GNU system, not "GNU system".
28884 * manual/conf.texi: Likewise.
28885 * manual/errno.texi: Likewise. Update example of errno macro
28887 * manual/filesys.texi: Likewise.
28888 (getumask): Document as specific to GNU/Hurd.
28889 * manual/install.texi: Likewise. Reword some references to
28891 * manual/intro.texi: Likewise.
28892 * manual/io.texi: Likewise.
28893 (File Name Portability): Detail which constraints are inapplicable
28894 to all GNU systems and which are only inapplicable to GNU/Hurd.
28895 * manual/job.texi: Likewise.
28896 * manual/llio.texi: Likewise.
28897 (O_NOCTTY): Document as present on GNU/Linux.
28898 * manual/maint.texi: Likewise.
28899 * manual/memory.texi: Likewise.
28900 * manual/pattern.texi: Likewise.
28901 * manual/pipe.texi: Likewise.
28902 * manual/process.texi: Likewise.
28903 * manual/resource.texi: Likewise.
28904 (RUSAGE_CHILDREN): Remove statement about specifying a particular
28906 * manual/setjmp.texi: Likewise.
28907 * manual/signal.texi: Likewise.
28908 * manual/startup.texi: Likewise.
28909 * manual/stdio.texi: Likewise.
28910 * manual/terminal.texi: Likewise.
28911 (ONLCR): Document as POSIX.
28912 (OXTABS): Document availability on GNU/Linux as XTABS.
28913 (ONOEOT): Document availability separately from other bits.
28914 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
28915 * manual/time.texi: Likewise.
28916 * manual/users.texi: Likewise.
28917 * INSTALL: Regenerated.
28918 * sysdeps/gnu/errlist.c: Regenerated.
28920 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
28921 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
28922 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
28924 * configure: Regenerated.
28926 2012-03-07 Joseph Myers <joseph@codesourcery.com>
28928 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
28929 default includes instead of AC_HEADER_CHECK.
28930 * sysdeps/i386/configure: Regenerated.
28933 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
28934 * math/s_cacoshf.c (__cacoshf): Likewise.
28935 * math/s_cacoshl.c (__cacoshl): Likewise.
28936 * math/s_casinh.c (__casinh): Set signs of result from argument.
28937 * math/s_casinhf.c (__casinhf): Likewise.
28938 * math/s_casinhl.c (__casinhl): Likewise.
28939 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
28940 (casinh_test): Add more tests.
28941 * sysdeps/i386/fpu/libm-test-ulps: Update.
28942 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28944 2012-03-07 Ulrich Drepper <drepper@gmail.com>
28946 * po/zh_TW.po: Update from translation team.
28948 * login/Makefile (distribute): Remove variable.
28949 * catgets/Makefile: Likewise.
28950 * mach/Makefile: Likewise.
28951 * malloc/Makefile: Likewise.
28952 * misc/Makefile: Likewise.
28953 * iconv/Makefile: Likewise.
28954 * nscd/Makefile: Likewise.
28955 * hurd/Makefile: Likewise.
28956 * manual/Makefile: Likewise.
28957 * locale/Makefile: Likewise.
28958 * intl/Makefile: Likewise.
28959 * conform/Makefile: Likewise.
28960 * nss/Makefile: Likewise.
28961 * time/Makefile: Likewise.
28962 * soft-fp/Makefile: Likewise.
28963 * dirent/Makefile: Likewise.
28964 * gmon/Makefile: Likewise.
28965 * po/Makefile: Likewise.
28966 * rt/Makefile: Likewise.
28967 * socket/Makefile: Likewise.
28968 * math/Makefile: Likewise.
28969 * signal/Makefile: Likewise.
28970 * debug/Makefile: Likewise.
28971 * elf/Makefile: Likewise.
28972 * timezone/Makefile: Likewise.
28973 * stdlib/Makefile: Likewise.
28974 * iconvdata/Makefile: Likewise.
28975 * sunrpc/Makefile: Likewise.
28976 * io/Makefile: Likewise.
28977 * argp/Makefile: Likewise.
28978 * inet/Makefile: Likewise.
28979 * hesiod/Makefile: Likewise.
28980 * grp/Makefile: Likewise.
28981 * csu/Makefile: Likewise.
28982 * wctype/Makefile: Likewise.
28983 * crypt/Makefile: Likewise.
28984 * libio/Makefile: Likewise.
28985 * string/Makefile: Likewise.
28986 * nis/Makefile: Likewise.
28987 * resolv/Makefile: Likewise.
28988 * stdio-common/Makefile: Likewise.
28989 * wcsmbs/Makefile: Likewise.
28990 * dlfcn/Makefile: Likewise.
28991 * posix/Makefile: Likewise.
28994 * timezone/Makefile: Don't install timezone files, just the programs
28997 2012-03-06 Ulrich Drepper <drepper@gmail.com>
28999 * nss/databases.def: Add missing gshadow entry.
29001 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
29003 2012-03-06 Marek Polacek <polacek@redhat.com>
29006 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
29007 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
29008 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
29009 * stdio-common/tst-long-dbl-fphex.c: New file.
29011 2012-03-06 David S. Miller <davem@davemloft.net>
29013 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
29014 (set_obp_int): New function.
29015 (get_obp_int): New function.
29016 (__get_clockfreq_via_dev_openprom): Likewise.
29017 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
29018 Avoid unused variable warnings on 'val' and use builtin_expect.
29019 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
29021 (INLINE_CLONE_SYSCALL): Likewise.
29023 2012-03-05 David S. Miller <davem@davemloft.net>
29025 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29027 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
29029 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29031 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
29032 only for |x| >= 40.
29033 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
29035 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
29037 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
29038 Replace gettimeofday with __vdso_gettimeofday.
29040 * sysdeps/unix/sysv/linux/x86_64/init-first.c
29041 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
29042 __vdso_clock_gettime and __vdso_getcpu.
29044 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
29045 time with __vdso_time.
29047 2012-03-05 Joseph Myers <joseph@codesourcery.com>
29049 * manual/lang.texi (size_t): Note types to which size_t may be
29050 equivalent with the GNU C Library, but do not describe when
29051 differences between them are significant.
29053 2012-03-05 Andreas Jaeger <aj@suse.de>
29055 * sysdeps/i386/fpu/libm-test-ulps: Update.
29057 2012-03-05 Joseph Myers <joseph@codesourcery.com>
29060 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
29061 (__ieee754_pow): Save and restore rounding mode and use
29062 round-to-nearest for main computations.
29063 * math/libm-test.inc (pow_test_tonearest): New function.
29064 (pow_test_towardzero): Likewise.
29065 (pow_test_downward): Likewise.
29066 (pow_test_upward): Likewise.
29067 (main): Call the new functions.
29068 * sysdeps/i386/fpu/libm-test-ulps: Update.
29069 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29072 * math/libm-test.inc (cosh_test_tonearest): New function.
29073 (cosh_test_towardzero): Likewise.
29074 (cosh_test_downward): Likewise.
29075 (cosh_test_upward): Likewise.
29076 (sinh_test_tonearest): Likewise.
29077 (sinh_test_towardzero): Likewise.
29078 (sinh_test_downward): Likewise.
29079 (sinh_test_upward): Likewise.
29080 (main): Call the new functions.
29081 * sysdeps/i386/fpu/libm-test-ulps: Update.
29082 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29084 2012-03-05 Tom de Vries <tom@codesourcery.com>
29086 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
29087 default stack guard is set in last bytes.
29088 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
29090 2012-03-05 Kees Cook <keescook@chromium.org>
29092 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
29095 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
29096 possibly allocate from heap instead of stack.
29097 * stdio-common/bug-vfprintf-nargs.c: New file.
29098 * stdio-common/Makefile (tests): Add nargs overflow test.
29100 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
29102 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29104 2012-03-03 Marek Polacek <polacek@redhat.com>
29106 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
29107 * math/math_private.h: Likewise.
29108 * stdlib/tst-strtod.c: Likewise.
29109 * sysdeps/i386/i486/bits/atomic.h: Likewise.
29110 * sysdeps/x86_64/bits/atomic.h: Likewise.
29112 2012-03-02 David S. Miller <davem@davemloft.net>
29114 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
29115 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
29116 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
29117 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
29118 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
29119 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
29120 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
29121 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
29123 2012-03-02 Roland McGrath <roland@hack.frob.com>
29126 * manual/examples/README: New file, says the example source files
29127 can be used under GPL>=2.
29128 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
29129 line containing just "*/".
29130 * manual/examples/add.c: Add copyright header (GPL>=2).
29131 * manual/examples/argp-ex1.c: Likewise.
29132 * manual/examples/argp-ex2.c: Likewise.
29133 * manual/examples/argp-ex3.c: Likewise.
29134 * manual/examples/argp-ex4.c: Likewise.
29135 * manual/examples/atexit.c: Likewise.
29136 * manual/examples/db.c: Likewise.
29137 * manual/examples/dir.c: Likewise.
29138 * manual/examples/dir2.c: Likewise.
29139 * manual/examples/execinfo.c: Likewise.
29140 * manual/examples/filecli.c: Likewise.
29141 * manual/examples/filesrv.c: Likewise.
29142 * manual/examples/fmtmsgexpl.c: Likewise.
29143 * manual/examples/genpass.c: Likewise.
29144 * manual/examples/inetcli.c: Likewise.
29145 * manual/examples/inetsrv.c: Likewise.
29146 * manual/examples/isockad.c: Likewise.
29147 * manual/examples/longopt.c: Likewise.
29148 * manual/examples/memopen.c: Likewise.
29149 * manual/examples/memstrm.c: Likewise.
29150 * manual/examples/mkfsock.c: Likewise.
29151 * manual/examples/mkisock.c: Likewise.
29152 * manual/examples/mygetpass.c: Likewise.
29153 * manual/examples/pipe.c: Likewise.
29154 * manual/examples/popen.c: Likewise.
29155 * manual/examples/rprintf.c: Likewise.
29156 * manual/examples/search.c: Likewise.
29157 * manual/examples/select.c: Likewise.
29158 * manual/examples/setjmp.c: Likewise.
29159 * manual/examples/sigh1.c: Likewise.
29160 * manual/examples/sigusr.c: Likewise.
29161 * manual/examples/stpcpy.c: Likewise.
29162 * manual/examples/strdupa.c: Likewise.
29163 * manual/examples/strftim.c: Likewise.
29164 * manual/examples/strncat.c: Likewise.
29165 * manual/examples/subopt.c: Likewise.
29166 * manual/examples/swapcontext.c: Likewise.
29167 * manual/examples/termios.c: Likewise.
29168 * manual/examples/testopt.c: Likewise.
29169 * manual/examples/testpass.c: Likewise.
29170 * manual/examples/timeval_subtract.c: Likewise.
29173 * manual/time.texi (Elapsed Time): Move timeval_subtract example
29175 * manual/timeval_subtract.c.texi: ... here, new file.
29177 2012-03-02 David S. Miller <davem@davemloft.net>
29179 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
29181 2012-03-02 Joseph Myers <joseph@codesourcery.com>
29184 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
29185 (__sin): Save and restore rounding mode and use round-to-nearest
29186 for all computations.
29187 (__cos): Save and restore rounding mode and use round-to-nearest
29188 for all computations.
29189 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
29191 (tan): Save and restore rounding mode and use round-to-nearest for
29193 * math/libm-test.inc (cos_test_tonearest): New function.
29194 (cos_test_towardzero): Likewise.
29195 (cos_test_downward): Likewise.
29196 (cos_test_upward): Likewise.
29197 (sin_test_tonearest): Likewise.
29198 (sin_test_towardzero): Likewise.
29199 (sin_test_downward): Likewise.
29200 (sin_test_upward): Likewise.
29201 (tan_test_tonearest): Likewise.
29202 (tan_test_towardzero): Likewise.
29203 (tan_test_downward): Likewise.
29204 (tan_test_upward): Likewise.
29205 (main): Call the new functions.
29206 * sysdeps/i386/fpu/libm-test-ulps: Update.
29207 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29210 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
29211 small n, then large n, before computing and testing k+n.
29212 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
29213 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
29215 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
29217 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
29218 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
29219 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
29220 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
29221 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
29222 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
29223 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
29224 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
29225 * math/libm-test.inc (scalbn_test): Add more tests.
29226 (scalbln_test): Likewise.
29228 * manual/filesys.texi (mode_t): Describe constraints on size and
29229 signedness, not exact equivalence to a particular type.
29231 (ino64_t): Likewise.
29233 (nlink_t): Likewise.
29234 (blkcnt_t): Likewise.
29235 (blkcnt64_t): Likewise.
29236 * manual/llio.texi (off_t): Likewise.
29239 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
29240 (__ieee754_exp): Save and restore rounding mode and use
29241 round-to-nearest for all computations.
29242 * math/libm-test.inc (exp_test_tonearest): New function.
29243 (exp_test_towardzero): Likewise.
29244 (exp_test_downward): Likewise.
29245 (exp_test_upward): Likewise.
29246 (main): Call the new functions.
29247 * sysdeps/i386/fpu/libm-test-ulps: Update.
29248 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29250 2012-03-01 Chris Demetriou <cgd@google.com>
29252 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
29253 have predictable order.
29255 2012-03-01 David S. Miller <davem@davemloft.net>
29257 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
29259 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
29260 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
29261 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
29262 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
29264 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
29265 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
29266 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
29267 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
29268 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
29269 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
29270 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
29271 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
29272 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
29274 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29276 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
29277 * sysdeps/sparc/fpu/libm-test-ulps: to here.
29278 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
29280 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
29281 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
29282 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
29283 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
29284 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
29285 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
29286 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
29287 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
29288 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
29289 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
29290 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
29291 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
29292 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
29293 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
29294 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
29295 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
29296 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
29297 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
29298 * sysdeps/sparc/elf/configure: Regenerated.
29300 2012-03-01 Joseph Myers <joseph@codesourcery.com>
29302 * configure.in (AS, LD): Require binutils 2.20 or later.
29303 * configure: Regenerated.
29304 * manual/install.texi (Tools for Compilation): Give binutils 2.20
29305 as required minimum version.
29306 * INSTALL: Regenerated.
29310 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
29311 before squaring exponent.
29312 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
29313 bottom long double and 27 bits of top long double before squaring
29315 * math/libm-test.inc (erfc_test): Add more tests.
29316 * sysdeps/i386/fpu/libm-test-ulps: Update.
29317 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
29318 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29320 2012-03-01 Kai Tietz <ktietz@redhat.com>
29322 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
29323 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
29324 containing bit-fields.
29325 * soft-fp/extended.h (_FP_UNION_E): Likewise.
29326 * soft-fp/single.h (_FP_UNION_S): Likewise.
29327 * soft-fp/double.h (_FP_UNION_D): Likewise.
29329 2012-02-29 Joseph Myers <joseph@codesourcery.com>
29332 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
29333 not include ../strcmp.S.
29334 [USE_AS_STRNCASECMP_L]: Likewise.
29335 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
29336 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
29337 * sysdeps/i386/i686/multiarch/strncase_l-c.c
29338 (__strncasecmp_l_ia32): Define as alias to
29339 __strncasecmp_l_nonascii.
29342 * math/libm-test.inc (expm1_test): Add test for bug 5794.
29343 * sysdeps/i386/fpu/libm-test-ulps: Update.
29344 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29346 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
29347 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29349 2012-02-29 Jeff Law <law@redhat.com>
29351 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
29352 out of bounds read.
29354 2012-02-29 Marek Polacek <polacek@redhat.com>
29357 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
29358 * elf/Makefile: Add rules to run tst-unused-dep.out.
29360 2012-02-28 David S. Miller <davem@davemloft.net>
29362 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
29363 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
29364 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
29365 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
29366 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
29367 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
29369 2012-02-29 Joseph Myers <joseph@codesourcery.com>
29371 * math/libm-test.inc (llround_test): Move one test from
29372 lround_test. Use TEST_f_L in moved test.
29373 (lround_test): Move misplaced test to llround_test. Add testcase
29376 2012-02-28 Ulrich Drepper <drepper@gmail.com>
29378 * sysdeps/x86_64/fpu/e_expf.S: New file.
29379 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
29381 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
29384 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
29385 of remain_len that may cause incomplete multi-byte character and
29387 * posix/bug-regex33.c: New file.
29388 * posix/Makefile (tests): Add bug-regex33.
29390 2012-02-28 Joseph Myers <joseph@codesourcery.com>
29392 * manual/macros.texi: New file.
29393 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
29394 * manual/libc.texinfo: Include macros.texi.
29395 * manual/creatute.texi: Likewise.
29396 * manual/install.texi: Likewise.
29397 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
29398 @glibcadj{} in references to the GNU C Library.
29399 * manual/charset.texi: Likewise.
29400 * manual/conf.texi: Likewise.
29401 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
29402 when not using those macros.
29403 * manual/creature.texi: Likewise.
29404 * manual/crypt.texi: Likewise.
29405 * manual/errno.texi: Likewise.
29406 * manual/filesys.texi: Likewise.
29407 * manual/header.texi: Likewise.
29408 * manual/install.texi: Likewise.
29409 * manual/intro.texi: Likewise.
29410 * manual/io.texi: Likewise.
29411 * manual/job.texi: Likewise.
29412 * manual/lang.texi: Likewise.
29413 * manual/libc.texiinfo: Likewise.
29414 * manual/llio.texi: Likewise.
29415 * manual/locale.texi: Likewise.
29416 * manual/maint.texi: Likewise.
29417 * manual/math.texi: Likewise.
29418 * manual/memory.texi: Likewise.
29419 * manual/message.texi: Likewise.
29420 * manual/nss.texi: Likewise.
29421 * manual/pattern.texi: Likewise.
29422 * manual/process.texi: Likewise.
29423 * manual/resource.texi: Likewise.
29424 * manual/search.texi: Likewise.
29425 * manual/setjmp.texi: Likewise.
29426 * manual/signal.texi: Likewise.
29427 * manual/socket.texi: Likewise.
29428 * manual/startup.texi: Likewise.
29429 * manual/stdio.texi: Likewise.
29430 * manual/string.texi: Likewise.
29431 * manual/sysinfo.texi: Likewise.
29432 * manual/syslog.texi: Likewise.
29433 * manual/terminal.texi: Likewise.
29434 * manual/time.texi: Likewise.
29435 * manual/users.texi: Likewise.
29436 * INSTALL: Regenerated.
29437 * NOTES: Regenerated.
29438 * sysdeps/gnu/errlist.c: Regenerated.
29440 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
29442 * include/dirent.h: Include <dirstream.h> before
29445 2012-02-28 David S. Miller <davem@davemloft.net>
29447 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
29448 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
29449 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
29450 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
29452 2012-02-27 David S. Miller <davem@davemloft.net>
29454 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
29455 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
29456 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
29457 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
29459 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
29460 frame pointer instead of stack pointer relative arg slot.
29461 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
29462 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
29463 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
29465 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
29468 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
29470 2012-02-27 David S. Miller <davem@davemloft.net>
29472 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
29473 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
29474 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
29475 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
29476 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
29477 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
29478 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
29479 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
29481 2012-02-27 Joseph Myers <joseph@codesourcery.com>
29483 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
29484 later. Allow versions 5-9.
29485 * configure: Regenerated.
29486 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
29487 required minimum version and 4.6 as recommended version. Do not
29488 mention bugs in GCC 2.7 and 2.8.
29489 * INSTALL: Regenerated.
29491 2012-02-27 David S. Miller <davem@davemloft.net>
29493 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
29494 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
29495 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
29496 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
29497 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
29498 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
29499 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
29500 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
29502 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
29503 manipulate bits before adding and subtracting TWO112[sx].
29504 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
29506 2012-02-27 Roland McGrath <roland@hack.frob.com>
29509 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
29510 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
29511 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
29512 being in POSIX, because they are in 1003.1-2008.
29514 * rt/tst-aio.c: Include <fcntl.h>.
29515 * rt/tst-aio7.c: Likewise.
29516 * rt/tst-aio64.c: Likewise.
29518 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
29520 2012-02-27 Joseph Myers <joseph@codesourcery.com>
29522 * manual/install.texi (--with-headers): Describe headers as
29523 interface headers, not private headers.
29524 (Specific advice for GNU/Linux systems): Describe use of headers
29525 from "make headers_install", not private headers from older
29527 * INSTALL: Regenerated.
29528 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
29530 * sysdeps/unix/sysv/linux/configure: Regenerated.
29532 * manual/llio.texi (fclean): Remove documentation.
29534 * manual/Makefile (libc-texi-generated): New variable. Include
29536 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
29537 $(libc-texi-generated), not duplicated list of files.
29538 (version.texi, stamp-version): New rules.
29539 (realclean): Remove $(libc-texi-generated), not individual files
29540 from that list. Do not remove dir-add.texinfo.
29541 * manual/libc.texinfo: Comment out uses of edition numbers and
29542 references to printed manual. Remove last-updated dates.
29543 (EDITION): Comment out.
29545 (VERSION, UPDATED): Remove.
29546 (version.texi): Include.
29548 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
29550 * sysdeps/posix/spawni.c: Include <signal.h>.
29551 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
29552 * sysdeps/pthread/aio_fsync.c: Likewise.
29554 2012-02-26 Ulrich Drepper <drepper@gmail.com>
29556 * conform/Makefile (tests): Run only when not cross-compiling and
29557 when fast-check is not defined.
29559 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
29560 * conform/data/limits.h-data: Fixes for POSIX2008.
29561 * conform/run-conformtest.sh: Run all tests.
29562 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
29564 * include/bits/dlfcn.h: Likewise.
29565 * include/langinfo.h: Likewise.
29566 * include/monetary.h: Likewise.
29567 * include/sys/poll.h: Likewise.
29569 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
29571 * posix/spawn.h: Define __need_sigset_t.
29572 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
29573 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
29574 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
29575 to get sigevent_t only.
29576 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
29577 only for __USE_GNU.
29578 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
29579 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
29580 process_vm_writev only for __USE_GNU.
29581 * termios/termios.h: Declare tcgetsid also for POSIX2008.
29583 * conform/Makefile: For now ignore errors from run-conformtest.
29584 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
29585 POSIX to avoid namespace pollution. Don't prepend headers.
29586 * conform/data/aio.h-data: Fixes for POSIX testing.
29587 * conform/data/fcntl.h-data: Likewise.
29588 * conform/data/glob.h-data: Likewise.
29589 * conform/data/grp.h-data: Likewise.
29590 * conform/data/pthread.h-data: Likewise.
29591 * conform/data/pwd.h-data: Likewise.
29592 * conform/data/signal.h-data: Likewise.
29593 * conform/data/spawn.h-data: Likewise.
29594 * conform/data/stdio.h-data: Likewise.
29595 * conform/data/stdlib.h-data: Likewise.
29596 * conform/data/stropts.h-data: Likewise.
29597 * conform/data/sys/mman.h-data: Likewise.
29598 * conform/data/sys/stat.h-data: Likewise.
29599 * conform/data/sys/types.h-data: Likewise.
29600 * conform/data/sys/wait.h-data: Likewise.
29601 * conform/data/time.h-data: Likewise.
29602 * conform/data/unistd.h-data: Likewise.
29603 * conform/data/utime.h-data: Likewise.
29605 * io/sys/stat.h: fchmod was always in POSIX.
29606 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
29607 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
29608 * rt/aio.h: Define __need_timespec before including <time.h>.
29609 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
29610 struct. Add forward declaration of pthread_attr_t and use it in
29612 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
29613 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
29614 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
29615 always remove CLK_TCK definition.
29617 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
29619 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
29621 2012-02-25 Ulrich Drepper <drepper@gmail.com>
29623 * conform/run-conformtest.sh: New file.
29624 * conform/Makefile: Run run-conformtest for tests.
29625 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
29628 * conform/data/uchar.h-data: New file.
29629 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
29630 * conform/data/arpa/inet.h-data: Likewise.
29631 * conform/data/assert.h-data: Likewise.
29632 * conform/data/complex.h-data: Likewise.
29633 * conform/data/cpio.h-data: Likewise.
29634 * conform/data/ctype.h-data: Likewise.
29635 * conform/data/dirent.h-data: Likewise.
29636 * conform/data/dlfcn.h-data: Likewise.
29637 * conform/data/errno.h-data: Likewise.
29638 * conform/data/fcntl.h-data: Likewise.
29639 * conform/data/float.h-data: Likewise.
29640 * conform/data/fmtmsg.h-data: Likewise.
29641 * conform/data/fnmatch.h-data: Likewise.
29642 * conform/data/ftw.h-data: Likewise.
29643 * conform/data/glob.h-data: Likewise.
29644 * conform/data/grp.h-data: Likewise.
29645 * conform/data/iconv.h-data: Likewise.
29646 * conform/data/inttypes.h-data: Likewise.
29647 * conform/data/langinfo.h-data: Likewise.
29648 * conform/data/libgen.h-data: Likewise.
29649 * conform/data/limits.h-data: Likewise.
29650 * conform/data/locale.h-data: Likewise.
29651 * conform/data/math.h-data: Likewise.
29652 * conform/data/monetary.h-data: Likewise.
29653 * conform/data/mqueue.h-data: Likewise.
29654 * conform/data/ndbm.h-data: Likewise.
29655 * conform/data/net/if.h-data: Likewise.
29656 * conform/data/netdb.h-data: Likewise.
29657 * conform/data/netinet/in.h-data: Likewise.
29658 * conform/data/nl_types.h-data: Likewise.
29659 * conform/data/poll.h-data: Likewise.
29660 * conform/data/pthread.h-data: Likewise.
29661 * conform/data/pwd.h-data: Likewise.
29662 * conform/data/regex.h-data: Likewise.
29663 * conform/data/sched.h-data: Likewise.
29664 * conform/data/search.h-data: Likewise.
29665 * conform/data/semaphore.h-data: Likewise.
29666 * conform/data/setjmp.h-data: Likewise.
29667 * conform/data/signal.h-data: Likewise.
29668 * conform/data/spawn.h-data: Likewise.
29669 * conform/data/stdarg.h-data: Likewise.
29670 * conform/data/stdio.h-data: Likewise.
29671 * conform/data/stdlib.h-data: Likewise.
29672 * conform/data/string.h-data: Likewise.
29673 * conform/data/strings.h-data: Likewise.
29674 * conform/data/stropts.h-data: Likewise.
29675 * conform/data/sys/ipc.h-data: Likewise.
29676 * conform/data/sys/mman.h-data: Likewise.
29677 * conform/data/sys/msg.h-data: Likewise.
29678 * conform/data/sys/resource.h-data: Likewise.
29679 * conform/data/sys/select.h-data: Likewise.
29680 * conform/data/sys/sem.h-data: Likewise.
29681 * conform/data/sys/shm.h-data: Likewise.
29682 * conform/data/sys/socket.h-data: Likewise.
29683 * conform/data/sys/stat.h-data: Likewise.
29684 * conform/data/sys/statvfs.h-data: Likewise.
29685 * conform/data/sys/time.h-data: Likewise.
29686 * conform/data/sys/timeb.h-data: Likewise.
29687 * conform/data/sys/times.h-data: Likewise.
29688 * conform/data/sys/types.h-data: Likewise.
29689 * conform/data/sys/uio.h-data: Likewise.
29690 * conform/data/sys/un.h-data: Likewise.
29691 * conform/data/sys/utsname.h-data: Likewise.
29692 * conform/data/sys/wait.h-data: Likewise.
29693 * conform/data/syslog.h-data: Likewise.
29694 * conform/data/tar.h-data: Likewise.
29695 * conform/data/termios.h-data: Likewise.
29696 * conform/data/utime.h-data: Likewise.
29697 * conform/data/utmpx.h-data: Likewise.
29698 * conform/data/varargs.h-data: Likewise.
29699 * conform/data/wchar.h-data: Likewise.
29700 * conform/data/wctype.h-data: Likewise.
29701 * conform/data/wordexp.h-data: Likewise.
29703 * include/stropts.h: New file.
29704 * include/uchar.h: New file.
29705 * include/aio.h: Changes to allow conformtest.pl to use the headers.
29706 * include/assert.h: Likewise.
29707 * include/ctype.h: Likewise.
29708 * include/dirent.h: Likewise.
29709 * include/dlfcn.h: Likewise.
29710 * include/fcntl.h: Likewise.
29711 * include/fnmatch.h: Likewise.
29712 * include/glob.h: Likewise.
29713 * include/grp.h: Likewise.
29714 * include/libio.h: Likewise.
29715 * include/locale.h: Likewise.
29716 * include/math.h: Likewise.
29717 * include/net/if.h: Likewise.
29718 * include/netdb.h: Likewise.
29719 * include/netinet/in.h: Likewise.
29720 * include/pthread.h: Likewise.
29721 * include/pwd.h: Likewise.
29722 * include/regex.h: Likewise.
29723 * include/sched.h: Likewise.
29724 * include/search.h: Likewise.
29725 * include/setjmp.h: Likewise.
29726 * include/signal.h: Likewise.
29727 * include/stdio.h: Likewise.
29728 * include/stdlib.h: Likewise.
29729 * include/string.h: Likewise.
29730 * include/sys/cdefs.h: Likewise.
29731 * include/sys/mman.h: Likewise.
29732 * include/sys/msg.h: Likewise.
29733 * include/sys/resource.h: Likewise.
29734 * include/sys/select.h: Likewise.
29735 * include/sys/socket.h: Likewise.
29736 * include/sys/stat.h: Likewise.
29737 * include/sys/statvfs.h: Likewise.
29738 * include/sys/time.h: Likewise.
29739 * include/sys/times.h: Likewise.
29740 * include/sys/uio.h: Likewise.
29741 * include/sys/utsname.h: Likewise.
29742 * include/sys/wait.h: Likewise.
29743 * include/termios.h: Likewise.
29744 * include/time.h: Likewise.
29745 * include/ulimit.h: Likewise.
29746 * include/unistd.h: Likewise.
29747 * include/utime.h: Likewise.
29748 * include/wchar.h: Likewise.
29749 * include/wctype.h: Likewise.
29750 * include/wordexp.h: Likewise.
29752 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
29754 * time/time.h: TIME_UTC must be a macro.
29755 Make timespec_get available for ISO C11 only as well.
29757 2012-02-24 Ulrich Drepper <drepper@gmail.com>
29759 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
29760 Reported by Peng Haitao <penght@cn.fujitsu.com>.
29762 2012-02-24 Joseph Myers <joseph@codesourcery.com>
29764 * configure.in: Use -o not -a in test for unsupported multi-arch.
29766 2012-02-24 Joseph Myers <joseph@codesourcery.com>
29768 * manual/texinfo.tex: Update to version 2012-01-19.16.
29770 2012-02-24 Joseph Myers <joseph@codesourcery.com>
29772 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
29774 2012-02-24 Roland McGrath <roland@hack.frob.com>
29777 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
29778 * manual/fdl-1.3.texi: New file.
29779 * manual/fdl-1.1.texi: File removed.
29782 * manual/libc.texinfo (FDL_VERSION): New @set.
29783 Use it for mention of FDL in cover text.
29784 (Documentation License): Use it in @include file name.
29786 2012-02-22 Joseph Myers <joseph@codesourcery.com>
29787 Roland McGrath <roland@hack.frob.com>
29790 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
29791 not LONG_LONG_MAX and LONG_LONG_MIN.
29792 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
29793 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
29795 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
29797 2012-02-22 Joseph Myers <joseph@codesourcery.com>
29801 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
29802 manipulate bits before adding and subtracting TWO23[sx].
29803 * math/libm-test.inc (nearbyint_test): Add more tests.
29805 2012-02-22 Joseph Myers <joseph@codesourcery.com>
29808 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
29809 bits before adding and subtracting TWO23[sx].
29810 * math/libm-test.inc (rint_test): Add more tests.
29811 (rint_test_tonearest): Likewise.
29812 (rint_test_towardzero): Likewise.
29813 (rint_test_downward): Likewise.
29814 (rint_test_upward: Likewise.
29816 2012-02-22 Joseph Myers <joseph@codesourcery.com>
29819 * include/stdc-predef.h: New file. Extracted from features.h.
29820 * include/features.h: Include stdc-predef.h.
29821 * Makefile (headers): Add stdc-predef.h.
29822 * CONFORMANCE (Compiler limitations): Update.
29824 2012-02-22 Joseph Myers <joseph@codesourcery.com>
29826 * manual/libc.texinfo (VERSION, UPDATED): Revert.
29828 2012-02-21 David S. Miller <davem@davemloft.net>
29830 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
29831 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
29833 2012-02-20 David S. Miller <davem@davemloft.net>
29835 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
29836 using a normal save/restore sequence, rather than allocating a
29837 dummy stack frame just to store a frame pointer and restore.
29838 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
29840 2012-02-21 Joseph Myers <joseph@codesourcery.com>
29842 * manual/install.texi: Fix stray word in line-wrapped comment.
29844 2012-02-20 David S. Miller <davem@davemloft.net>
29846 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
29847 both binutils and gcc support GOTDATA.
29849 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
29850 "rd %pc" in the PIC register setup sequences.
29852 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
29853 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
29854 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
29855 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
29856 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
29857 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
29858 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
29859 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
29860 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
29861 (SYSCALL_ERROR_HANDLER): Likewise.
29862 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
29863 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
29864 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
29865 (SYSCALL_ERROR_HANDLER): Likewise.
29867 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
29868 (HAVE_GCC_GOTDATA): New.
29869 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
29870 relocation support in both binutils and gcc.
29871 * sysdeps/sparc/elf/configure: Regenerate.
29873 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
29874 * sysdeps/sparc/sparc32/elf/configure: Delete.
29875 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
29876 * sysdeps/sparc/sparc64/elf/configure: Delete.
29877 * sysdeps/sparc/elf/configure.in: New file.
29878 * sysdeps/sparc/elf/configure: Generate.
29880 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
29881 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
29882 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
29883 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
29884 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
29886 2012-02-21 Joseph Myers <joseph@codesourcery.com>
29888 * manual/install.texi: Do not mention specific glibc version
29890 * manual/libc.texinfo (VERSION, UPDATED): Update.
29891 (@copying): Use @copyright{} and range of years.
29893 2012-02-21 Joseph Myers <joseph@codesourcery.com>
29896 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
29897 [crti.S not in sysdirs] (generated): Do not append.
29898 [crti.S not in sysdirs] (omit-deps): Likewise.
29899 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
29900 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
29901 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
29902 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
29903 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
29905 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
29906 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
29907 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
29908 * csu/defs.awk: Remove file.
29909 * sysdeps/generic/initfini.c: Likewise.
29910 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
29912 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
29915 2012-02-20 Joseph Myers <joseph@codesourcery.com>
29917 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
29918 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
29919 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
29920 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
29921 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
29922 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
29924 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
29925 (__EPOLL_PACKED): Define to empty if not defined by
29927 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
29928 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29931 2012-02-20 Joseph Myers <joseph@codesourcery.com>
29933 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
29934 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
29935 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
29936 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
29938 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
29939 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29942 2012-02-20 Joseph Myers <joseph@codesourcery.com>
29944 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
29946 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
29947 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
29948 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
29949 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29951 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
29953 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
29954 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
29956 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
29958 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
29959 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
29961 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
29963 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
29966 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
29968 * math/w_acos.c: Use non-signaling floating-point comparisons.
29969 * math/w_acosf.c: Likewise.
29970 * math/w_acosh.c: Likewise.
29971 * math/w_acoshf.c: Likewise.
29972 * math/w_acoshl.c: Likewise.
29973 * math/w_acosl.c: Likewise.
29974 * math/w_asin.c: Likewise.
29975 * math/w_asinf.c: Likewise.
29976 * math/w_asinl.c: Likewise.
29977 * math/w_atanh.c: Likewise.
29978 * math/w_atanhf.c: Likewise.
29979 * math/w_atanhl.c: Likewise.
29980 * math/w_exp2.c: Likewise.
29981 * math/w_exp2f.c: Likewise.
29982 * math/w_exp2l.c: Likewise.
29983 * math/w_j0.c: Likewise.
29984 * math/w_j0f.c: Likewise.
29985 * math/w_j0l.c: Likewise.
29986 * math/w_j1.c: Likewise.
29987 * math/w_j1f.c: Likewise.
29988 * math/w_j1l.c: Likewise.
29989 * math/w_jn.c: Likewise.
29990 * math/w_jnf.c: Likewise.
29991 * math/w_log.c: Likewise.
29992 * math/w_log10.c: Likewise.
29993 * math/w_log10f.c: Likewise.
29994 * math/w_log10l.c: Likewise.
29995 * math/w_log2.c: Likewise.
29996 * math/w_log2f.c: Likewise.
29997 * math/w_log2l.c: Likewise.
29998 * math/w_logf.c: Likewise.
29999 * math/w_logl.c: Likewise.
30000 * math/w_sqrt.c: Likewise.
30001 * math/w_sqrtf.c: Likewise.
30002 * math/w_sqrtl.c: Likewise.
30003 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
30004 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
30005 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
30006 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
30007 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
30009 2012-02-19 Joseph Myers <joseph@codesourcery.com>
30012 * manual/string.texi (strnlen): Use correct parameter name in
30013 equivalent expression.
30015 2012-02-19 Joseph Myers <joseph@codesourcery.com>
30018 * manual/users.texi (seteuid): Consistently use neweuid for
30021 2012-02-19 Joseph Myers <joseph@codesourcery.com>
30024 * manual/nss.texi (Services in the NSS configuration): Correct
30025 list of services in example configuration file.
30027 2012-02-19 Nick Bowler <nbowler@draconx.ca>
30030 * manual/arith.texi: Remove statements about negative zero
30031 behaving identically to zero.
30033 2012-02-18 Joseph Myers <joseph@codesourcery.com>
30036 * manual/install.texi: Do not document upgrading from libc5.
30038 2012-02-18 Joseph Myers <joseph@codesourcery.com>
30041 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
30043 2012-02-18 David S. Miller <davem@davemloft.net>
30045 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
30046 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
30047 %o7 across the call.
30048 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
30050 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
30051 SETUP_PIC_REG_LEAF.
30052 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
30053 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
30054 * sysdeps/sparc/crtn.S: Likewise.
30056 2012-02-17 Ulrich Drepper <drepper@gmail.com>
30058 * aout/Makefile: Remove.
30060 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
30063 * manual/examples/argp-ex1.c (main): Format definition in GNU
30065 * manual/examples/argp-ex2.c (main): Likewise.
30066 * manual/examples/argp-ex3.c (main): Likewise.
30067 * manual/examples/argp-ex4.c (main): Likewise.
30068 * manual/examples/longopt.c (main): Use new-style prototype
30070 * manual/examples/strncat.c (main): Specify return type and use
30071 (void) for arguments.
30072 * manual/examples/subopt.c (main): Use char **argv argument.
30074 2012-02-17 Joseph Myers <joseph@codesourcery.com>
30077 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
30080 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
30083 * manual/string.texi (strchr): Change when strchrnul is
30086 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
30089 * manual/locale.texi (setlocale): Document LOCPATH.
30091 2012-02-17 Joseph Myers <joseph@codesourcery.com>
30094 * manual/process.texi (execle): Move @dots{} before last argument.
30096 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
30099 * manual/charset.texi (Generic Charset Conversion): Fix typo
30100 (LC_TYPE -> LC_CTYPE).
30102 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
30105 * manual/arith.texi (scalbn): Use @var{} on parameter names.
30106 (scalbnf): Likewise.
30107 (scalbnl): Likewise.
30108 (scalbln): Likewise.
30109 (scalblnf): Likewise.
30110 (scalblnl): Likewise.
30111 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
30112 (vwarnx): Likewise.
30115 * manual/filesys.texi (telldir): Use braces around return type.
30116 * manual/llio.texi (mmap): Add space after comma.
30117 (mmap64): Likewise.
30118 * manual/math.texi (jn): Use @var{} on parameter names.
30124 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
30126 * manual/resource.texi (ulimit): Use @dots{} instead of literal
30128 (sched_get_priority_min): Remove semicolon on @deftypefun line.
30129 (sched_get_priority_max): Likewise.
30130 * manual/signal.texi (sigvec): Add space after comma.
30131 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
30133 (if_indextoname): Likewise.
30134 (if_freenameindex): Likewise.
30135 (sendto): Use ',' instead of '.' in prototype.
30136 * manual/startup.texi (syscall): Use @dots{} instead of literal
30138 * manual/stdio.texi (__fpending): Separate initial words of
30139 paragraph from @deftypefun line.
30140 * manual/syslog.texi (syslog): Use @dots{} instead of literal
30142 (vsyslog): Use @var{} on parameter names.
30143 * manual/terminal.texi (stty): Use @var{} on parameter names.
30144 * manual/users.texi (getutmp): Use @var{} on parameter names.
30145 (getutmpx): Likewise.
30147 2012-02-17 Joseph Myers <joseph@codesourcery.com>
30150 * manual/stdio.texi (fopen): Fix typos in description of
30153 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
30156 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
30157 get clock_id definition.
30159 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
30162 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
30163 (madvise): Cast every argument to void on its own.
30165 2012-02-17 Joseph Myers <joseph@codesourcery.com>
30168 * manual/startup.texi (Exit Status): Fix typo.
30170 2012-02-17 Joseph Myers <joseph@codesourcery.com>
30173 * manual/examples/argp-ex1.c: Include <stdlib.h>.
30174 * manual/examples/argp-ex2.c: Likewise.
30175 * manual/examples/argp-ex3.c: Likewise.
30177 2012-02-16 Richard Henderson <rth@redhat.com>
30179 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
30180 * sysdeps/s390/s390-32/initfini.c: Remove.
30181 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
30182 * sysdeps/s390/s390-64/initfini.c: Remove.
30184 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
30186 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
30187 compiler output for sysdeps/generic/initfini.c.
30188 * sysdeps/sh/elf/initfini.c: Remove file.
30190 2012-02-16 David S. Miller <davem@davemloft.net>
30193 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
30195 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
30196 * sysdeps/sparc/crti.S: New file.
30197 * sysdeps/sparc/crtn.S: New file.
30198 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
30199 * sysdeps/sparc/sparc64/Makefile: Likewise.
30201 2012-02-15 Mike Frysinger <vapier@gentoo.org>
30204 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
30206 2012-02-15 Roland McGrath <roland@hack.frob.com>
30209 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
30211 * mach/devstream.c (cookie_io_functions_t): Macro removed.
30212 (write, read, close): Likewise.
30213 Patch by Aurelien Jarno <aurelien@aurel32.net>.
30215 2012-02-15 Joseph Myers <joseph@codesourcery.com>
30217 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
30218 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
30219 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
30220 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
30222 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
30223 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30226 2012-02-14 Marek Polacek <polacek@redhat.com>
30228 * sysdeps/x86_64/crti.S: New file.
30229 * sysdeps/x86_64/crtn.S: New file.
30230 * sysdeps/x86_64/elf/initfini.c: Remove file.
30232 2012-02-13 Joseph Myers <joseph@codesourcery.com>
30234 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
30235 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
30236 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
30237 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
30239 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
30240 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30243 2012-02-13 Joseph Myers <joseph@codesourcery.com>
30245 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
30246 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
30247 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
30248 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
30250 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
30251 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30254 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
30256 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
30257 __feraiseexcept instead of feraiseexcept.
30259 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
30260 nanosleep invocations.
30261 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
30262 strings, and add error checking for a nanosleep invocations.
30264 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
30266 Replace FSF snail mail address with URLs, as per GNU coding standards.
30267 Most of the snail mail addresses were wrong anyway, and omitting
30268 them makes the source code easier to maintain. Almost all of the
30269 changes are to license notices and to locale LC_IDENTIFICATION
30270 addresses, except for this one:
30271 * manual/libc.texinfo: In "Published by", give the FSF's URL,
30272 not its snail mail address.
30274 2012-02-09 Richard Henderson <rth@twiddle.net>
30276 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
30277 of kernel-features.h.
30279 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
30281 2012-02-08 Marek Polacek <polacek@redhat.com>
30283 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
30284 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
30285 * sysdeps/gnu/_G_config.h: Likewise.
30286 * sysdeps/generic/_G_config.h: Likewise.
30288 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
30290 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
30292 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30294 * sysdeps/powerpc/powerpc32/crti.S: New file.
30295 * sysdeps/powerpc/powerpc32/crtn.S: New file.
30296 * sysdeps/powerpc/powerpc64/crti.S: New file.
30297 * sysdeps/powerpc/powerpc64/crtn.S: New file.
30299 * Makeconfig (have-initfini): Don't set.
30300 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
30301 * configure.in (nopic_initfini): Don't substitute.
30302 * config.h.in (HAVE_INITFINI): Don't #undef.
30303 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
30304 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
30306 2012-02-08 Joseph Myers <joseph@codesourcery.com>
30308 Support crti.S and crtn.S provided directly by architectures.
30309 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
30310 [crti.S in sysdirs] (omit-deps): Likewise.
30311 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
30312 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
30313 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
30314 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
30315 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
30316 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
30317 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
30318 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
30319 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
30320 compiler output for sysdeps/generic/initfini.c.
30321 * sysdeps/i386/elf/Makefile: Remove file.
30322 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
30324 2012-02-07 Marek Polacek <polacek@redhat.com>
30326 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
30327 * sysdeps/gnu/_G_config.h: Likewise.
30328 * sysdeps/mach/hurd/_G_config.h: Likewise.
30330 2012-02-07 Marek Polacek <polacek@redhat.com>
30332 * math/Makefile (tests): Add tst-CMPLX2.
30333 * math/tst-CMPLX2.c: New file.
30335 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
30337 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
30339 * math/libm-test.inc (jn_test): Add missing L suffix.
30341 2012-02-06 Marek Polacek <polacek@redhat.com>
30343 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
30344 * sysdeps/i386/fpu/e_powf.S: Likewise.
30345 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
30346 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
30347 * sysdeps/i386/fpu/e_acosh.S: Likewise.
30348 * sysdeps/i386/fpu/e_pow.S: Likewise.
30349 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
30350 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
30351 * sysdeps/i386/fpu/s_expm1.S: Likewise.
30352 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
30353 * sysdeps/i386/fpu/e_log2.S: Likewise.
30354 * sysdeps/i386/fpu/e_log2l.S: Likewise.
30355 * sysdeps/i386/fpu/e_scalb.S: Likewise.
30356 * sysdeps/i386/fpu/e_powl.S: Likewise.
30357 * sysdeps/i386/fpu/s_log1p.S: Likewise.
30358 * sysdeps/i386/fpu/e_log10f.S: Likewise.
30359 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
30360 * sysdeps/i386/fpu/e_logl.S: Likewise.
30361 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
30362 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
30363 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
30364 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
30365 * sysdeps/i386/fpu/e_log2f.S: Likewise.
30366 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
30367 * sysdeps/i386/fpu/e_log.S: Likewise.
30368 * sysdeps/i386/fpu/s_cexp.S: Likewise.
30369 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
30370 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
30371 * sysdeps/i386/fpu/e_logf.S: Likewise.
30372 * sysdeps/i386/fpu/e_log10l.S: Likewise.
30373 * sysdeps/i386/fpu/e_atanh.S: Likewise.
30374 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
30375 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
30376 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
30377 * sysdeps/i386/fpu/e_log10.S: Likewise.
30378 * sysdeps/i386/fpu/s_frexp.S: Likewise.
30379 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
30380 * sysdeps/i386/fpu/s_asinh.S: Likewise.
30381 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
30382 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
30383 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
30384 * sysdeps/i386/asm-syntax.h: Likewise.
30385 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
30386 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
30387 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
30388 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
30389 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
30390 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
30391 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
30392 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
30393 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
30394 * sysdeps/powerpc/sysdep.h: Likewise.
30395 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
30396 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
30398 2012-02-06 Joseph Myers <joseph@codesourcery.com>
30401 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
30403 2012-02-06 Joseph Myers <joseph@codesourcery.com>
30405 * sysdeps/i386/sysdep.h: Include <features.h>.
30406 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
30409 2012-02-05 Joseph Myers <joseph@codesourcery.com>
30411 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
30413 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
30416 2012-02-03 Joseph Myers <joseph@codesourcery.com>
30418 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
30419 (SETUP_PIC_REG): Use GET_PC_THUNK.
30420 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
30423 2012-02-03 Joseph Myers <joseph@codesourcery.com>
30425 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
30426 for non-PIC compilation.
30427 (SETUP_PIC_REG): Add .p2align directive.
30428 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
30429 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
30430 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
30431 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
30432 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
30433 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
30434 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
30435 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
30436 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
30437 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
30438 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
30439 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
30440 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
30441 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
30442 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
30443 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
30444 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
30445 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
30446 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
30447 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
30448 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
30449 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
30450 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
30451 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
30452 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
30453 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
30454 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
30455 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
30456 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
30457 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
30458 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
30459 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
30460 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
30461 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
30462 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
30463 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
30464 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
30465 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
30466 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
30467 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
30468 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
30470 2012-02-03 Joseph Myers <joseph@codesourcery.com>
30472 * math/tst-CMPLX.c: Include <stdio.h>.
30474 2012-01-31 Joseph Myers <joseph@codesourcery.com>
30476 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
30478 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
30479 * sysdeps/sparc/bits/mathdef.h: Likewise.
30481 2012-01-31 Marek Polacek <polacek@redhat.com>
30483 * libio/libio.h: Don't define _PARAMS.
30484 * locale/programs/config.h: Don't define PARAMS.
30485 * stdlib/strtol_l.c: Likewise.
30486 (__strtol_l): Remove PARAMS from the prototype.
30488 2012-01-31 Ulrich Drepper <drepper@gmail.com>
30490 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
30491 names. Just use the correct names. Remove unnecessary wrapper
30493 * malloc/arena.c: Likewise.
30494 * malloc/hooks.c: Likewise.
30496 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
30497 ARENA_TEST says not to. Simplify test for creation of a new arena.
30498 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
30500 2012-01-30 Ulrich Drepper <drepper@gmail.com>
30502 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
30504 (update_get_addr): New function.
30505 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
30506 GET_ADDR_MODULE parameter.
30508 2012-01-30 Joseph Myers <joseph@codesourcery.com>
30510 * crypt/cert.c: Remove __STDC__ conditionals.
30511 * crypt/crypt-entry.c: Likewise.
30512 * crypt/crypt_util.c: Likewise.
30513 * libio/filedoalloc.c: Likewise.
30514 * libio/fileops.c: Likewise.
30515 * libio/genops.c: Likewise.
30516 * libio/iofclose.c: Likewise.
30517 * libio/iofdopen.c: Likewise.
30518 * libio/iofopen.c: Likewise.
30519 * libio/iofopen64.c: Likewise.
30520 * libio/iogetdelim.c: Likewise.
30521 * libio/iopopen.c: Likewise.
30522 * libio/obprintf.c: Likewise.
30523 * libio/oldfileops.c: Likewise.
30524 * libio/oldiofclose.c: Likewise.
30525 * libio/oldiofdopen.c: Likewise.
30526 * libio/oldiofopen.c: Likewise.
30527 * libio/oldiopopen.c: Likewise.
30528 * libio/wfiledoalloc.c: Likewise.
30529 * libio/wgenops.c: Likewise.
30530 * locale/programs/xmalloc.c: Likewise.
30531 * misc/syslog.c: Likewise.
30532 * stdio-common/xbug.c: Likewise.
30533 * string/memchr.c: Likewise.
30534 * string/memcmp.c: Likewise.
30535 * string/memrchr.c: Likewise.
30536 * string/rawmemchr.c: Likewise.
30537 * sysdeps/posix/getcwd.c: Likewise.
30538 * time/strftime_l.c: Likewise.
30540 2012-01-30 Joseph Myers <joseph@codesourcery.com>
30542 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
30543 * config.make.in (config-cflags-sse2avx): Define.
30544 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
30547 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
30549 * scripts/config.guess: Update from upstream config git repository.
30550 * scripts/config.sub: Likewise.
30552 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
30554 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
30556 (R_TILEPRO_*, R_TILEGX_*): New macros.
30558 * scripts/firstversions.awk: Fix bug in version range handling.
30560 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
30562 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
30564 * include/sys/epoll.h: New file.
30565 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
30568 2012-01-28 Ulrich Drepper <drepper@gmail.com>
30570 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
30571 Avoid unnecessary __WORDSIZE == 64 test.
30572 (fmaxf): Use VEX format if possible.
30577 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
30578 * math/math_private.h: Remove libc_fegetround* and
30580 * sysdeps/i386/configure.in: Check for -msse2avx.
30581 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
30582 also if SSE2AVX is defined.
30583 Remove libc_fegetround* and libc_fesetround*.
30584 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
30585 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
30586 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
30588 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
30589 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
30590 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
30591 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
30592 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
30594 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
30596 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30598 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
30600 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
30602 2012-01-27 Ulrich Drepper <drepper@gmail.com>
30605 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
30607 * Makeconfig (libm): Define.
30608 * elf/Makefile: Add rules to build and run tst-relsort1.
30609 * elf/tst-relsort1.c: New file.
30610 * elf/tst-relsort1mod1.c: New file.
30611 * elf/tst-relsort1mod2.c: New file.
30613 2012-01-27 Joseph Myers <joseph@codesourcery.com>
30615 * math/s_ldexp.c: Remove __STDC__ conditionals.
30616 * math/s_ldexpf.c: Likewise.
30617 * math/s_ldexpl.c: Likewise.
30618 * math/s_nextafter.c: Likewise.
30619 * math/s_nexttowardf.c: Likewise.
30620 * math/s_significand.c: Likewise.
30621 * math/s_significandf.c: Likewise.
30622 * math/s_significandl.c: Likewise.
30623 * math/w_jnl.c: Likewise.
30624 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
30625 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
30626 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
30627 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
30628 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
30629 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
30630 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
30631 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
30632 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
30633 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
30634 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
30635 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
30636 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
30637 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
30638 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
30639 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
30640 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
30641 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
30642 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
30643 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
30644 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
30645 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
30646 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
30647 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
30648 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
30649 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
30650 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
30651 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
30652 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
30653 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
30654 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
30655 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
30656 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
30657 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
30658 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
30659 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
30660 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
30661 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
30662 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
30663 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
30664 * sysdeps/ieee754/k_standard.c: Likewise.
30665 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
30666 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
30667 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
30668 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
30669 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
30670 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
30671 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
30672 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
30673 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
30674 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
30675 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
30676 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
30677 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
30678 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
30679 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
30680 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
30681 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
30682 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
30683 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
30684 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
30685 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
30686 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
30687 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
30688 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
30689 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
30690 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
30691 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
30692 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
30693 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
30694 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
30695 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
30696 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
30697 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
30698 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
30699 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
30700 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
30701 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
30702 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
30703 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
30704 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
30705 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
30706 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
30707 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
30708 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
30709 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
30710 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
30711 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
30712 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
30713 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
30714 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
30715 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
30716 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
30717 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
30718 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
30719 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
30720 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
30721 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
30722 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
30723 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
30724 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
30725 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
30726 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
30727 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
30728 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
30729 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
30730 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
30731 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
30732 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
30733 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
30734 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
30735 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
30736 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
30737 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
30738 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
30739 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
30740 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
30741 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
30742 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
30743 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
30744 * sysdeps/ieee754/s_matherr.c: Likewise.
30745 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
30746 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
30747 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
30748 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
30750 2012-01-26 Joseph Myers <joseph@codesourcery.com>
30752 * crypt/md5.h: Remove __STDC__ conditionals.
30753 * libio/libioP.h: Likewise.
30754 * locale/programs/config.h: Likewise.
30755 * sysdeps/generic/sysdep.h: Likewise.
30756 * sysdeps/i386/asm-syntax.h: Likewise.
30757 * sysdeps/s390/asm-syntax.h: Likewise.
30758 * sysdeps/unix/sysdep.h: Likewise.
30759 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
30760 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
30762 2012-01-26 Joseph Myers <joseph@codesourcery.com>
30764 * libio/libio.h: Remove __STDC__ conditionals.
30765 * malloc/obstack.h: Likewise.
30766 * math/complex.h: Likewise.
30767 * math/math.h: Likewise.
30768 * sysdeps/generic/_G_config.h: Likewise.
30769 * sysdeps/gnu/_G_config.h: Likewise.
30770 * sysdeps/mach/hurd/_G_config.h: Likewise.
30771 * sysdeps/powerpc/bits/mathdef.h: Likewise.
30772 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
30773 * sysdeps/sparc/bits/mathdef.h: Likewise.
30775 2012-01-26 Ulrich Drepper <drepper@gmail.com>
30778 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
30779 Clean up HAS_* macros.
30780 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
30781 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
30783 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
30785 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
30786 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
30787 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
30788 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
30789 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
30791 2012-01-25 Joseph Myers <joseph@codesourcery.com>
30793 * elf/tst-unique3.cc (gets): Remove declaration.
30794 * elf/tst-unique3lib.cc (gets): Likewise.
30795 * elf/tst-unique3lib2.cc (gets): Likewise.
30796 * elf/tst-unique4.cc (gets): Likewise.
30798 2012-01-24 Ulrich Drepper <drepper@gmail.com>
30800 * include/stdio.h: Add C++ protection. Add gets declarations and
30802 * debug/tst-chk1.c: Don't declare gets here.
30803 * stdio-common/tst-gets.c: Likewise.
30805 2012-01-24 Joseph Myers <joseph@codesourcery.com>
30807 * posix/glob: Remove directory.
30809 2012-01-24 Joseph Myers <joseph@codesourcery.com>
30811 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
30813 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
30815 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
30816 of the non-standard EPFNOSUPPORT.
30818 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
30820 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
30821 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
30822 ANYWHERE set to 1 only on KERN_NO_SPACE error.
30824 2012-01-21 Ulrich Drepper <drepper@gmail.com>
30826 * wcsmbs/uchar.h: Test __STDC_VERSION__.
30828 2012-01-20 Ulrich Drepper <drepper@gmail.com>
30830 * nscd/aicache.c (addhstaiX): Do not cache negative results of
30832 * nscd/grpcache.c (cache_addgr): Likewise.
30833 * nscd/hstcache.c (cache_addhst): Likewise.
30834 * nscd/initgrcache.c (addinitgroupsX): Likewise.
30835 * nscd/pwdcache.c (cache_addpw): Likewise.
30836 * nscd/servicescache.c (cache_addserv): Likewise.
30838 2012-01-16 Ulrich Drepper <drepper@gmail.com>
30840 * malloc/malloc.c: Various cleanups.
30841 * malloc/hooks.c: Likewise.
30843 * stdlib/Makefile (tests): Add bug-fmtmsg1.
30844 * stdlib/bug-fmtmsg1.c: New file.
30846 * stdlib/fmtmsg.c (init): Add missing unlock.
30847 Patch by Peng Haitao <penght@cn.fujitsu.com>.
30849 2012-01-12 Marek Polacek <polacek@redhat.com>
30851 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
30854 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
30856 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
30857 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
30858 macro to ensure uniqueness of label name.
30859 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
30860 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
30862 2012-01-11 Ulrich Drepper <drepper@gmail.com>
30864 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
30866 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
30867 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
30868 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
30869 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
30871 2012-01-10 Ulrich Drepper <drepper@gmail.com>
30873 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
30875 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
30876 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
30877 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
30879 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
30881 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
30882 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
30883 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
30884 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
30886 * math/bits/math-finite.h: Add ldexp support.
30888 2012-01-10 Marek Polacek <polacek@redhat.com>
30890 * locale/programs/localedef.h (show_archive_content): Add noreturn
30893 2012-01-09 Ulrich Drepper <drepper@gmail.com>
30895 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
30897 2012-01-08 Ulrich Drepper <drepper@gmail.com>
30899 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
30901 * io/Makefile (headers): Add bits/poll2.h.
30903 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
30905 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
30906 typo #include statement.
30908 2012-01-08 Ulrich Drepper <drepper@gmail.com>
30910 * include/sys/cdefs.h: Define __attribute_alloc_size.
30911 * catgets/gencat.c: Add alloc_size attribute and apply consistently
30912 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
30913 * elf/pldd.c: Likewise.
30914 * iconv/iconv_charmap.c: Likewise.
30915 * iconv/iconvconfig.c: Likewise.
30916 * iconv/strtab.c: Likewise.
30917 * locale/programs/locale.c: Likewise.
30918 * locale/programs/localedef.h: Likewise.
30919 * locale/programs/simple-hash.c: Likewise.
30920 * nscd/nscd.h: Likewise.
30921 * nss/makedb.c: Likewise.
30922 * sysdeps/generic/ldconfig.h: Likewise.
30923 * locale/programs/localedef.c: Remove xmalloc prototype.
30924 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
30926 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
30928 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
30931 2012-01-08 Ulrich Drepper <drepper@gmail.com>
30933 * math/Makefile (tests): Add tst-CMPLX.
30934 * math/tst-CMPLX.c: New file.
30936 * math/complex.h (CMPLXL): Fix typo.
30938 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
30939 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
30941 * debug/tst-chk1.c: Add poll and ppoll tests.
30942 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
30943 * include/sys/poll.h: Add hidden proto for ppoll.
30944 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
30945 * sysdeps/mach/hurd/ppoll.c: Likewise.
30946 * io/ppoll.c: Likewise.
30947 * debug/poll_chk.c: New file.
30948 * debug/ppoll_chk.c: New file.
30949 * include/bits/poll2.h: New file.
30950 * io/bits/poll2.h: New file.
30953 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
30955 * configure.in: static is always set to yes. Remove.
30956 * config.make.in: Don't set build-static.
30957 * Makeconfig: Remove use of build-static.
30958 * dlfcn/Makefile: Likewise.
30959 * elf/Makefile: Likewise.
30960 * math/Makefile: Likewise.
30961 * misc/Makefile: Likewise.
30962 * nptl/Makefile: Likewise.
30963 * sysdeps/mach/hurd/Makefile: Likewise.
30965 * configure.in: PWD_P is not used anymore.
30966 * config.make.in: Remove PWD_P entry.
30968 * configure.in: Remove last remnants of RANLIB.
30969 No need to check for signed size_t anymore.
30970 Don't set libc_commonpagesize and libc_relro_required here for Alpha
30972 Remove __builtin_expect test because we require at least gcc 3.4.
30973 * aclocal.m4: Likewise.
30975 * wcsmbs/mbrtoc16.c: Implement using towc function.
30976 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
30977 * wcsmbs/wcsmbsload.c: Likewise.
30978 * iconv/gconv_simple.c: Likewise.
30979 * iconv/gconv_int.h: Likewise.
30980 * iconv/gconv_builtin.h: Likewise.
30981 * iconv/iconv_prog.c: Remove CHAR16 handling.
30983 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
30985 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
30987 * configure.in: Remove --with-elf and --enable-bounded options.
30988 Dont set base_machine for ia64. More non-ELF conditions removed.
30989 Remove testing and setting of leading underscore information.
30990 * config.make.in (build-bounded): Set to no.
30991 * config.h.in: Remove NO_UNDERSCORES entry.
30992 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
30994 * csu/start.c: Remove !NO_UNDERSCORE code.
30995 * locale/localeinfo.h: Likewise.
30996 * sysdeps/generic/machine-gmon.h: Likewise.
30997 * sysdeps/generic/sysdep.h: Likewise.
30998 * sysdeps/i386/sysdep.h: Likewise.
30999 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
31000 * sysdeps/mach/sysdep.h: Likewise.
31001 * sysdeps/s390/s390-32/sysdep.h: Likewise.
31002 * sysdeps/s390/s390-64/sysdep.h: Likewise.
31003 * sysdeps/sh/sysdep.h: Likewise.
31004 * sysdeps/sparc/sparc32/alloca.S: Likewise.
31005 * sysdeps/unix/i386/sysdep.S: Likewise.
31006 * sysdeps/unix/sparc/start.c: Likewise.
31007 * sysdeps/unix/sparc/sysdep.S: Likewise.
31008 * sysdeps/unix/sparc/sysdep.h: Likewise.
31009 * sysdeps/unix/start.c: Likewise.
31010 * sysdeps/unix/x86_64/sysdep.S: Likewise.
31011 * sysdeps/x86_64/sysdep.h: Likewise.
31013 2012-01-07 Ulrich Drepper <drepper@gmail.com>
31016 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
31018 * argp/argp-fmtstream.h: Use const instead __const.
31019 * argp/argp.h: Likewise.
31020 * assert/assert.h: Likewise.
31021 * bits/fenv.h: Likewise.
31022 * bits/sched.h: Likewise.
31023 * bits/sigset.h: Likewise.
31024 * bits/sigthread.h: Likewise.
31025 * catgets/nl_types.h: Likewise.
31026 * conform/data/pthread.h-data: Likewise.
31027 * crypt/crypt-private.h: Likewise.
31028 * crypt/crypt.h: Likewise.
31029 * crypt/crypt_util.c: Likewise.
31030 * ctype/ctype.h: Likewise.
31031 * debug/execinfo.h: Likewise.
31032 * debug/mbsnrtowcs_chk.c: Likewise.
31033 * debug/mbsrtowcs_chk.c: Likewise.
31034 * debug/wcsnrtombs_chk.c: Likewise.
31035 * debug/wcsrtombs_chk.c: Likewise.
31036 * debug/wcstombs_chk.c: Likewise.
31037 * dirent/dirent.h: Likewise.
31038 * dlfcn/dlfcn.h: Likewise.
31039 * elf/neededtest4.c: Likewise.
31040 * grp/grp.h: Likewise.
31041 * gshadow/gshadow.h: Likewise.
31042 * iconv/gconv.h: Likewise.
31043 * iconv/gconv_int.h: Likewise.
31044 * iconv/gconv_simple.c: Likewise.
31045 * iconv/iconv.h: Likewise.
31046 * iconv/loop.c: Likewise.
31047 * iconv/skeleton.c: Likewise.
31048 * include/aio.h: Likewise.
31049 * include/aliases.h: Likewise.
31050 * include/argz.h: Likewise.
31051 * include/arpa/inet.h: Likewise.
31052 * include/assert.h: Likewise.
31053 * include/dirent.h: Likewise.
31054 * include/dlfcn.h: Likewise.
31055 * include/execinfo.h: Likewise.
31056 * include/fcntl.h: Likewise.
31057 * include/fenv.h: Likewise.
31058 * include/glob.h: Likewise.
31059 * include/grp.h: Likewise.
31060 * include/libintl.h: Likewise.
31061 * include/mntent.h: Likewise.
31062 * include/netdb.h: Likewise.
31063 * include/pwd.h: Likewise.
31064 * include/rpc/netdb.h: Likewise.
31065 * include/sched.h: Likewise.
31066 * include/search.h: Likewise.
31067 * include/shadow.h: Likewise.
31068 * include/signal.h: Likewise.
31069 * include/stdio.h: Likewise.
31070 * include/stdlib.h: Likewise.
31071 * include/string.h: Likewise.
31072 * include/sys/socket.h: Likewise.
31073 * include/sys/stat.h: Likewise.
31074 * include/sys/statfs.h: Likewise.
31075 * include/sys/statvfs.h: Likewise.
31076 * include/sys/syslog.h: Likewise.
31077 * include/sys/time.h: Likewise.
31078 * include/sys/uio.h: Likewise.
31079 * include/time.h: Likewise.
31080 * include/unistd.h: Likewise.
31081 * include/utmp.h: Likewise.
31082 * include/wchar.h: Likewise.
31083 * include/wctype.h: Likewise.
31084 * inet/aliases.h: Likewise.
31085 * inet/arpa/inet.h: Likewise.
31086 * inet/netinet/ether.h: Likewise.
31087 * inet/netinet/in.h: Likewise.
31088 * intl/libintl.h: Likewise.
31089 * io/bits/fcntl2.h: Likewise.
31090 * io/fcntl.h: Likewise.
31091 * io/ftw.h: Likewise.
31092 * io/sys/poll.h: Likewise.
31093 * io/sys/stat.h: Likewise.
31094 * io/sys/statfs.h: Likewise.
31095 * io/sys/statvfs.h: Likewise.
31096 * io/utime.h: Likewise.
31097 * libio/bits/stdio.h: Likewise.
31098 * libio/bits/stdio2.h: Likewise.
31099 * libio/libio.h: Likewise.
31100 * libio/libioP.h: Likewise.
31101 * libio/stdio.h: Likewise.
31102 * locale/lc-ctype.c: Likewise.
31103 * locale/locale.h: Likewise.
31104 * login/utmp.h: Likewise.
31105 * malloc/arena.c: Likewise.
31106 * malloc/malloc.c: Likewise.
31107 * malloc/malloc.h: Likewise.
31108 * malloc/mcheck.c: Likewise.
31109 * malloc/mtrace.c: Likewise.
31110 * math/bits/mathcalls.h: Likewise.
31111 * math/fenv.h: Likewise.
31112 * math/math_private.h: Likewise.
31113 * misc/bits/error.h: Likewise.
31114 * misc/bits/syslog.h: Likewise.
31115 * misc/err.h: Likewise.
31116 * misc/error.h: Likewise.
31117 * misc/fstab.h: Likewise.
31118 * misc/mntent.h: Likewise.
31119 * misc/regexp.h: Likewise.
31120 * misc/search.h: Likewise.
31121 * misc/sgtty.h: Likewise.
31122 * misc/sys/mman.h: Likewise.
31123 * misc/sys/syslog.h: Likewise.
31124 * misc/sys/uio.h: Likewise.
31125 * misc/sys/xattr.h: Likewise.
31126 * misc/ttyent.h: Likewise.
31127 * nis/rpcsvc/ypclnt.h: Likewise.
31128 * nss/nss.h: Likewise.
31129 * posix/bits/unistd.h: Likewise.
31130 * posix/fnmatch.h: Likewise.
31131 * posix/glob.h: Likewise.
31132 * posix/sched.h: Likewise.
31133 * posix/spawn.h: Likewise.
31134 * posix/sys/wait.h: Likewise.
31135 * posix/unistd.h: Likewise.
31136 * posix/wordexp.h: Likewise.
31137 * pwd/pwd.h: Likewise.
31138 * resolv/netdb.h: Likewise.
31139 * resource/sys/resource.h: Likewise.
31140 * rt/aio.h: Likewise.
31141 * rt/bits/mqueue2.h: Likewise.
31142 * rt/mqueue.h: Likewise.
31143 * shadow/shadow.h: Likewise.
31144 * signal/signal.h: Likewise.
31145 * socket/send.c: Likewise.
31146 * socket/sendto.c: Likewise.
31147 * socket/sys/socket.h: Likewise.
31148 * stdio-common/printf.h: Likewise.
31149 * stdlib/bits/stdlib.h: Likewise.
31150 * stdlib/fmtmsg.h: Likewise.
31151 * stdlib/monetary.h: Likewise.
31152 * stdlib/stdlib.h: Likewise.
31153 * stdlib/ucontext.h: Likewise.
31154 * streams/stropts.h: Likewise.
31155 * string/argz.h: Likewise.
31156 * string/bits/string2.h: Likewise.
31157 * string/string.h: Likewise.
31158 * string/strings.h: Likewise.
31159 * sunrpc/rpc/auth.h: Likewise.
31160 * sunrpc/rpc/auth_des.h: Likewise.
31161 * sunrpc/rpc/clnt.h: Likewise.
31162 * sunrpc/rpc/netdb.h: Likewise.
31163 * sunrpc/rpc/pmap_clnt.h: Likewise.
31164 * sunrpc/rpc/xdr.h: Likewise.
31165 * sysdeps/generic/inttypes.h: Likewise.
31166 * sysdeps/generic/net/if.h: Likewise.
31167 * sysdeps/generic/sys/swap.h: Likewise.
31168 * sysdeps/gnu/net/if.h: Likewise.
31169 * sysdeps/gnu/utmpx.h: Likewise.
31170 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
31171 * sysdeps/i386/i486/bits/string.h: Likewise.
31172 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
31173 * sysdeps/s390/bits/string.h: Likewise.
31174 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
31175 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
31176 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
31177 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
31178 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
31179 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
31180 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
31181 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
31182 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
31183 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
31184 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
31185 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
31186 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
31187 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
31188 * sysdeps/unix/sysv/linux/readv.c: Likewise.
31189 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
31190 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
31191 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
31192 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
31193 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
31194 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
31195 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
31196 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
31197 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
31198 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
31199 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
31200 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
31201 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
31202 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
31203 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
31204 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
31205 * sysvipc/sys/ipc.h: Likewise.
31206 * sysvipc/sys/msg.h: Likewise.
31207 * sysvipc/sys/sem.h: Likewise.
31208 * sysvipc/sys/shm.h: Likewise.
31209 * termios/termios.h: Likewise.
31210 * time/sys/time.h: Likewise.
31211 * time/time.h: Likewise.
31212 * wcsmbs/bits/wchar2.h: Likewise.
31213 * wcsmbs/uchar.h: Likewise.
31214 * wcsmbs/wchar.h: Likewise.
31215 * wctype/wctype.h: Likewise.
31218 * Makeconfig: Remove all but ELF support including AIX support.
31219 * Makerules: Likewise.
31220 * config.h.in: Likewise.
31221 * config.make.in: Likewise.
31222 * configure: Likewise.
31223 * configure.in: Likewise.
31224 * csu/Makefile: Likewise.
31225 * csu/version.c: Likewise.
31226 * debug/Makefile: Likewise.
31227 * dlfcn/Makefile: Likewise.
31228 * elf/Makefile: Likewise.
31229 * extra-lib.mk: Likewise.
31230 * iconv/Makefile: Likewise.
31231 * include/libc-symbols.h: Likewise.
31232 * include/shlib-compat.h: Likewise.
31233 * resolv/Makefile: Likewise.
31234 * resolv/res_libc.c: Likewise.
31235 * rt/Makefile: Likewise.
31236 * sysdeps/i386/asm-syntax.h: Likewise.
31237 * sysdeps/i386/sysdep.h: Likewise.
31238 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
31239 * sysdeps/mach/sysdep.h: Likewise.
31240 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
31241 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
31242 * sysdeps/s390/asm-syntax.h: Likewise.
31243 * sysdeps/s390/s390-32/sysdep.h: Likewise.
31244 * sysdeps/s390/s390-64/sysdep.h: Likewise.
31245 * sysdeps/sh/sysdep.h: Likewise.
31246 * sysdeps/unix/sparc/sysdep.h: Likewise.
31247 * sysdeps/wordsize-32/divdi3.c: Likewise.
31248 * sysdeps/x86_64/sysdep.h: Likewise.
31250 * argp/Versions: Remove _argp_unlock_xxx.
31253 * abilist/ld.abilist: Update. Adjust for removal of tls option.
31254 * abilist/libBrokenLocale.abilist: Likewise.
31255 * abilist/libanl.abilist: Likewise.
31256 * abilist/libc.abilist: Likewise.
31257 * abilist/libcrypt.abilist: Likewise.
31258 * abilist/libdl.abilist: Likewise.
31259 * abilist/libm.abilist: Likewise.
31260 * abilist/libnsl.abilist: Likewise.
31261 * abilist/libpthread.abilist: Likewise.
31262 * abilist/libresolv.abilist: Likewise.
31263 * abilist/librt.abilist: Likewise.
31264 * abilist/libthread_db.abilist: Likewise.
31265 * abilist/libutil.abilist: Likewise.
31266 * abilist/libnss_db.abilist: New file.
31268 * scripts/abilist.awk: Add support for indirect functions.
31270 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
31272 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
31274 * shlib-versions: Remove entries for ports architectures.
31276 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
31278 * elf/stackguard-macros.h: Remove support for IA-64.
31279 * elf/tst-auditmod1.c: Likewise.
31280 * sysdeps/generic/ldsodefs.h: Likewise.
31282 * sysdeps/unix/sysv/linux/configure.in: Ports should define
31283 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
31287 * configure.in: Remove --enable-omitfp support.
31289 * config.make.in: Likewise.
31290 * Makeconfig: Likewise.
31291 * manual/install.texi: Likewise.
31293 In case anyone cares, the IA-64 architecture could move to ports.
31294 * sysdeps/ia64/*: Removed.
31295 * sysdeps/unix/sysv/linux/ia64/*: Removed.
31296 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
31299 * configure.in: Remove entries for unsupported architectures.
31302 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
31303 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
31305 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
31306 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
31307 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
31308 fall back to using wcrtomb.
31309 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
31310 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
31312 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
31313 * wcsmbs/tst-c16c32-1.c: New file.
31315 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
31318 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
31320 * elf/tst-unique3.cc: Add explicit declaration of gets.
31321 * elf/tst-unique3lib.cc: Likewise.
31322 * elf/tst-unique3lib2.cc: Likewise.
31323 * elf/tst-unique4.cc: Likewise.
31325 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
31327 2012-01-06 Joseph Myers <joseph@codesourcery.com>
31330 * assert/assert.h (static_assert): Don't define for C++.
31331 * libio/stdio.h (gets): Do declare for C++ <= C++11.
31332 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
31334 2012-01-03 Ulrich Drepper <drepper@gmail.com>
31336 * iconv/loop.c (single loop): Fix assertion in storing of
31339 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
31341 2012-01-01 Ulrich Drepper <drepper@gmail.com>
31343 * posix/getconf.c: Update copyright year.
31344 * nss/getent.c: Likewise.
31345 * nss/makedb.c: Likewise.
31346 * iconv/iconvconfig.c: Likewise.
31347 * iconv/iconv_prog.c: Likewise.
31348 * elf/ldconfig.c: Likewise.
31349 * elf/pldd.c: Likewise.
31350 * elf/sotruss.ksh: Likewise.
31351 * catgets/gencat.c: Likewise.
31352 * csu/version.c: Likewise.
31353 * elf/ldd.bash.in: Likewise.
31354 * elf/sprof.c (print_version): Likewise.
31355 * locale/programs/locale.c: Likewise.
31356 * locale/programs/localedef.c: Likewise.
31357 * login/programs/pt_chown.c: Likewise.
31358 * nscd/nscd.c (print_version): Likewise.
31359 * debug/xtrace.sh: Likewise.
31360 * malloc/memusage.sh: Likewise.
31361 * malloc/mtrace.pl: Likewise.
31362 * debug/catchsegv.sh: Likewise.
31364 2011-12-30 Jakub Jelinek <jakub@redhat.com>
31366 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
31369 2011-12-24 Ulrich Drepper <drepper@gmail.com>
31372 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
31373 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
31375 * iconv/gconv_int.h: Likewise.
31376 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
31377 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
31378 from libc for GLIBC_2.16.
31379 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
31380 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
31381 * wcsmbs/uchar.h: Really define mbstate_t.
31382 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
31383 * wcsmbs/c16rtomb.c: New file.
31384 * wcsmbs/mbrtoc16.c: New file.
31385 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
31386 for C/POSIX locale.
31387 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
31388 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
31390 * wcsmbs/wchar.h: Add missing __restrict.
31392 2011-12-23 Ulrich Drepper <drepper@gmail.com>
31395 * time/Makefile (routines): Add timespec_get.
31396 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
31397 * time/time.h: Define TIME_UTC and declare timespec_get. Define
31398 timespec for ISO C11.
31399 * time/timespec_get.c: New file.
31400 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
31401 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
31404 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
31405 * stdlib/stdlib.h: Declare aligned_alloc.
31406 * Versions.def: Add GLIBC_2.16 for libc.
31407 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
31410 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
31413 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
31417 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
31420 * assert/assert.h (static_assert): Define.
31422 * version.h: Update for 2.16 development version.
31425 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
31428 * version.h (RELEASE): Bump for 2.15 release.
31429 * include/features.h (__GLIBC_MINOR__): Bump to 15.
31431 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
31432 Patch by Marek Polacek <mpolacek@redhat.com>.
31434 * bits/byteswap.h: Protect long long constants with __extension__.
31435 * sysdeps/i386/bits/byteswap.h: Likewise.
31436 * sysdeps/ia64/bits/byteswap.h: Likewise.
31437 * sysdeps/s390/bits/byteswap.h: Likewise.
31438 * sysdeps/x86_64/bits/byteswap.h: Likewise.
31440 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31443 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
31444 destination buffer.
31445 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
31447 2011-12-23 Marek Polacek <polacek@redhat.com>
31449 * elf/dl-addr.c (determine_info): Add inline keyword.
31450 * elf/tst-auditmod4b.c (check_avx): Likewise.
31451 * elf/tst-auditmod6b.c (check_avx): Likewise.
31452 * elf/tst-auditmod6c.c (check_avx): Likewise.
31453 * elf/tst-auditmod7b.c (check_avx): Likewise.
31455 2011-12-23 Ulrich Drepper <drepper@gmail.com>
31457 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
31460 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31463 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
31464 processing for last bytes.
31466 2011-08-06 Bruno Haible <bruno@clisp.org>
31469 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
31470 U+0385, not to U+1FEE.
31473 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
31474 entry for U+00A5 U+0301.
31476 2011-12-22 Ulrich Drepper <drepper@gmail.com>
31479 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
31480 buffer for the output is too small.
31482 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
31486 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
31487 SSE flags if possible.
31489 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31492 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
31493 processing for last bytes.
31495 2011-12-22 Joseph Myers <joseph@codesourcery.com>
31497 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
31498 (syscall-list-default-options, syscall-list-default-condition)
31499 (syscall-list-includes): Define.
31500 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
31501 list of ABIs and options and #if conditions for each ABI. Do not
31502 handle common syscalls between ABIs specially.
31503 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
31505 (syscall-list-variants, syscall-list-32bit-options)
31506 (syscall-list-32bit-condition, syscall-list-64bit-options)
31507 (syscall-list-64bit-condition): Define.
31508 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
31509 (syscall-list-variants, syscall-list-32bit-options)
31510 (syscall-list-32bit-condition, syscall-list-64bit-options)
31511 (syscall-list-64bit-condition): Define.
31512 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
31514 (syscall-list-variants, syscall-list-32bit-options)
31515 (syscall-list-32bit-condition, syscall-list-64bit-options)
31516 (syscall-list-64bit-condition): Define.
31517 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
31519 (syscall-list-variants, syscall-list-32bit-options)
31520 (syscall-list-32bit-condition, syscall-list-64bit-options)
31521 (syscall-list-64bit-condition): Define.
31523 2011-12-22 Ulrich Drepper <drepper@gmail.com>
31525 * locale/iso-639.def: Add brx entry.
31528 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
31529 Proposed by Mariusz_Cukr <marcukr@op.pl>.
31531 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
31532 __feraiseexcept_renamed.
31534 2011-12-21 Ulrich Drepper <drepper@gmail.com>
31537 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
31538 EPOLLET with unsigned values.
31539 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
31540 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
31542 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
31543 to large cancellation.
31544 * math/s_cacoshf.c: Likewise.
31545 * math/s_cacoshl.c: Likewise.
31547 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
31551 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
31552 * math/s_cacoshf.c: Likewise.
31553 * math/s_cacoshl.c: Likewise.
31555 2011-12-21 Ulrich Drepper <drepper@gmail.com>
31558 * iconv/gconv.h: Define __GCONV_SWAP.
31559 * iconvdata/unicode.c: The swap bit must be stored in __flags.
31560 * iconvdata/utf-16.c: Likewise.
31561 * iconvdata/utf-32.c: Likewise.
31563 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
31566 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
31567 numerator after shifting it by one limb.
31569 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
31571 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
31572 under [__USE_EXTERN_INLINES].
31574 2011-12-17 Ulrich Drepper <drepper@gmail.com>
31577 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
31579 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31581 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
31582 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
31584 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
31585 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
31586 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
31587 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
31588 for strncasecmp/strncasecmp_l compilation.
31589 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
31590 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
31592 2011-12-08 Marek Polacek <mpolacek@redhat.com>
31595 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
31598 2011-12-17 Ulrich Drepper <drepper@gmail.com>
31601 * time/tzfile.c (__tzfile_read): Check values from file header.
31603 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
31605 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
31606 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
31607 * powerpc/powerpc32/dl-start.S: Likewise.
31608 * powerpc/powerpc32/elf/start.S: Likewise.
31609 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
31610 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
31611 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
31612 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
31613 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
31614 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
31615 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
31616 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
31617 * powerpc/powerpc32/fpu/s_round.S: Likewise.
31618 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
31619 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
31620 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
31621 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
31622 * powerpc/powerpc32/memset.S: Likewise.
31623 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
31624 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
31625 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
31626 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
31627 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
31628 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
31629 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
31630 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
31631 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
31632 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
31633 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
31634 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
31635 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
31637 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31639 * math/libm-test.inc: Added more nearbyint tests.
31640 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
31641 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
31642 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
31643 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
31645 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
31647 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
31650 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31652 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
31653 Add wcscpy-ssse3 wcscpy-c.
31654 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
31655 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
31656 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
31657 * sysdeps/x86_64/wcschr.S: New file.
31658 * sysdeps/x86_64/wcsrchr.S: New file.
31659 * string/test-strcmp.c: Remove checking of wcscmp function for
31661 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
31662 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
31663 wcsrchr-sse2 wcsrchr-c.
31664 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
31665 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
31666 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
31667 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
31668 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
31669 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
31670 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
31671 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
31672 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
31673 * wcsmbc/wcschr.c (WCSCHR): New macro.
31675 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31677 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
31678 * wcsmbs/test-wcsrchr.c: New file.
31679 * string/test-strrchr.c: Add wcsrchr support.
31681 * wcsmbs/test-wcscpy.c: New file.
31682 * string/test-strcpy.c: Add wcscpy support.
31685 2011-12-10 Ulrich Drepper <drepper@gmail.com>
31687 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
31690 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
31693 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
31695 2011-12-04 Ulrich Drepper <drepper@gmail.com>
31697 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
31698 Minor optimizations.
31700 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
31701 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
31702 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
31704 2011-12-03 Ulrich Drepper <drepper@gmail.com>
31706 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
31707 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
31708 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
31709 for gcc to avoid warnings.
31710 * inet/Makefile (tests): Add tst-checks.
31711 * inet/tst-checks.c: New file.
31713 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
31716 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
31719 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
31720 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
31722 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
31724 2011-12-02 Ulrich Drepper <drepper@gmail.com>
31726 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
31729 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
31731 2011-11-29 Joseph Myers <joseph@codesourcery.com>
31733 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
31734 conditional on GCC version.
31735 (__arch_compare_and_exchange_val_8_acq)
31736 (__arch_compare_and_exchange_val_16_acq)
31737 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
31738 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
31739 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
31741 2011-12-02 Joseph Myers <joseph@codesourcery.com>
31743 * sysdeps/sh/backtrace.c: New file.
31745 2011-12-02 Andreas Schwab <schwab@redhat.com>
31747 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
31750 2011-12-01 Andreas Schwab <schwab@redhat.com>
31752 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
31753 falling back to utime.
31755 2011-11-30 Andreas Schwab <schwab@redhat.com>
31757 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
31758 expectations for float.
31760 2011-11-29 Andreas Schwab <schwab@redhat.com>
31762 * locale/weight.h (findidx): Add parameter len.
31763 * locale/weightwc.h (findidx): Likewise.
31764 * posix/fnmatch_loop.c (FCT): Adjust caller.
31765 * posix/regcomp.c (build_equiv_class): Likewise.
31766 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
31767 * posix/regexec.c (check_node_accept_bytes): Likewise.
31768 * string/strcoll_l.c (STRCOLL): Likewise.
31769 * string/strxfrm_l.c (STRXFRM): Likewise.
31771 2011-11-17 Ulrich Drepper <drepper@gmail.com>
31773 * Makefile.in: Remove CVSOPT handling.
31774 * configure.in: Remove use of AC_REVISION.
31775 * iconvdata/Makefile (distribute): No need to filter out CVS.
31776 * scripts/list-sources.sh: Remove CVS, subversion and monotone
31779 2011-11-16 Andreas Schwab <schwab@redhat.com>
31781 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
31782 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
31783 [USE_AS_STRNCASECMP_L]: Likewise.
31784 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
31785 NO_TLS_DIRECT_SEG_REFS.
31786 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
31787 Fix argument offsets for non-PIC.
31788 [USE_AS_STRNCASECMP_L]: Likewise.
31789 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
31790 NO_TLS_DIRECT_SEG_REFS.
31792 2011-11-15 Ulrich Drepper <drepper@gmail.com>
31794 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
31796 * locale/loadlocale.c (_nl_load_locale): Likewise.
31798 2011-11-15 Andreas Schwab <schwab@redhat.com>
31800 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
31801 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
31802 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
31803 (SYSCALL_GETTIME): Set errno on error.
31805 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
31806 count references to noai6ai_cached.
31808 2011-11-15 Ulrich Drepper <drepper@gmail.com>
31810 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
31812 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
31813 FD_CLOEXEC for /proc/self/maps.
31815 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
31816 FD_CLOEXEC for /proc/meminfo.
31818 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
31821 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
31822 FD_CLOEXEC for given file.
31824 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
31826 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
31827 FD_CLOEXEC for /etc/hosts.
31828 (_gethtent): Likewise.
31830 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
31832 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
31833 cancellation and set FD_CLOEXEC for /etc/netgroup.
31835 * nss/nss_files/files-key.c (search): Don't allow cancellation when
31836 reading /etc/publickey.
31838 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
31839 allow cancellation when reading /etc/group.
31841 * nss/nss_files/files-alias.c (internal_setent): Don't allow
31843 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
31845 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
31846 when using data file.
31848 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
31850 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
31851 (write_nis_obj): Use "c" and "e" in fopen.
31853 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
31855 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
31857 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
31859 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
31861 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
31864 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
31866 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
31868 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
31870 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
31871 file parsing and set FD_CLOEXEC.
31873 2011-11-14 Ulrich Drepper <drepper@gmail.com>
31875 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
31877 2011-11-14 Andreas Schwab <schwab@redhat.com>
31879 * malloc/arena.c (arena_get2): Don't call reused_arena when
31880 _int_new_arena failed.
31882 2011-11-14 Ulrich Drepper <drepper@gmail.com>
31884 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
31885 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
31886 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
31887 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
31888 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
31889 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
31890 to compile strcasecmp and strncasecmp.
31891 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
31892 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
31894 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
31896 2011-11-13 Ulrich Drepper <drepper@gmail.com>
31898 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
31899 locale-defines.sym to gen-as-const-headers.
31900 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
31901 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
31902 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
31903 to compile strcasecmp and strncasecmp.
31904 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
31905 strcasecmp_l and strncasecmp_l.
31906 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
31907 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
31908 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
31909 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
31910 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
31911 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
31912 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
31913 * sysdeps/i386/i686/multiarch/strncase.S: New file.
31914 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
31915 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
31916 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
31918 2011-11-12 Ulrich Drepper <drepper@gmail.com>
31920 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
31921 result of SYSDEP_GETTIME_CPU to retval.
31922 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
31923 parameter list to macro. Remove trailing semicolon. Adjust users.
31925 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
31928 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
31930 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
31932 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
31933 from unused variable.
31935 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
31937 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
31940 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
31943 * sunrpc/rpc_prot.c (rejected): Fix case value.
31945 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
31946 unsigned long long int to avoid warnings in shift.
31948 * posix/regex_internal.c (re_string_reconstruct): Actually use result
31950 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
31953 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
31954 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
31955 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
31957 * nis/nis_table.c (nis_list): Use variable of correct type for
31958 result of __follow_path call.
31960 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31962 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
31963 of math functions ceil, trunc, floor, round, and sqrt, when
31964 avaliable on the platform.
31965 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
31967 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
31968 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
31969 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
31971 2011-10-30 Marek Polacek <mpolacek@redhat.com>
31973 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
31974 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
31976 2011-11-11 Roland McGrath <roland@hack.frob.com>
31978 * include/unistd.h: Fix __readlink return type.
31979 Reported by Chris Metcalf <cmetcalf@tilera.com>.
31981 2011-11-11 Ulrich Drepper <drepper@gmail.com>
31983 * stdlib/ucontext.h: Undo last change for makecontext.
31985 2011-11-11 Andreas Schwab <schwab@redhat.com>
31987 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
31989 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
31990 * setjmp/setjmp.h: Mark functions as non-leaf.
31991 * setjmp/bits/setjmp2.h: Likewise.
31992 * stdlib/ucontext.h: Likewise.
31994 2011-11-10 Andreas Schwab <schwab@redhat.com>
31996 * malloc/arena.c (_int_new_arena): Don't increment narenas.
31997 (reused_arena): Don't check arena limit.
31998 (arena_get2): Atomically check arena limit.
32000 2011-11-08 Ulrich Drepper <drepper@gmail.com>
32002 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
32003 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
32005 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
32008 2011-11-07 Andreas Schwab <schwab@redhat.com>
32010 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
32011 handler when locking.
32013 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
32014 Fix size of allocated buffer.
32016 2011-11-04 Andreas Schwab <schwab@redhat.com>
32019 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
32020 declarations for long double functions.
32021 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
32023 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
32025 2011-11-03 Andreas Schwab <schwab@redhat.com>
32027 * nscd/nscd.c (main): Don't start AVC thread until credentials are
32030 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
32033 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
32035 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
32037 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
32039 * include/alloca.h (stackinfo_alloca_round): Define.
32040 (extend_alloca): Use it.
32041 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
32042 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
32045 * scripts/check-local-headers.sh: Ignore libaudit.h.
32047 * nscd/Makefile (extra-objs): Make recursively expanded.
32049 2011-11-01 Ulrich Drepper <drepper@gmail.com>
32051 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
32052 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
32054 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
32055 * posix/tst-rfc3484-2.c: Likewise.
32056 * posix/tst-rfc3484-3.c: Likewise.
32058 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
32060 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
32062 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
32063 process_vm_writev from libc using GLIBC_2.15 version.
32065 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
32067 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
32069 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
32072 2011-10-31 Ulrich Drepper <drepper@gmail.com>
32075 * nss/getent.c (initgroups_keys): Show error message in case no group
32078 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
32079 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
32080 __bump_nl_timestamp.
32081 * nscd/connections (nscd_init): When host database is served open
32082 netlink socket and request notification about configuration changes.
32083 (main_loop_poll): Track netlink file descriptor and bump timestamp
32084 in case data becomes available.
32085 (main_loop_epoll): Likewise.
32086 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
32087 (database_pers_head): Add extra_data fileds.
32088 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
32089 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
32090 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
32092 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
32093 in6ai data, call __free_in6ai.
32094 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
32095 Add -DHAVE_NETLINK.
32096 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
32097 interface information. Reuse previous data if netlink timestamp
32099 (__bump_nl_timestamp): New function.
32100 (__free_in6ai): New function.
32102 2011-10-30 Ulrich Drepper <drepper@gmail.com>
32104 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
32105 close_not_cancel_no_status here.
32106 (__check_pf): Reorganize code a bit to not call close twice if OOM.
32108 2011-10-29 Ulrich Drepper <drepper@gmail.com>
32111 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
32114 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
32115 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
32116 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
32118 2011-07-03 Andreas Jaeger <aj@suse.de>
32121 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
32122 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
32123 * math/libm-test.inc (sin_test): Add test case.
32125 2011-10-29 Ulrich Drepper <drepper@gmail.com>
32128 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
32129 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
32131 * elf/chroot_canon.c (chroot_canon): Cleanups.
32133 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
32136 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
32137 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
32139 * string/test-strchr.c: Make usable for strchrnul testing.
32140 * string/test-strchrnul.c: New file.
32141 * string/Makefile (strop-tests): Add strchrnul.
32143 * po/it.po: Update from translation team.
32144 * po/es.po: Likewise.
32146 2011-10-28 Ulrich Drepper <drepper@gmail.com>
32148 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
32149 the three constants needed as parameters. Drop the others.
32150 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
32151 __m128i_strloadu_tolower.
32152 Create and initialize variable zero and use it in all the places
32153 where _mm_setzero_si128 was used.
32155 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
32156 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
32157 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
32158 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
32160 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
32161 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
32162 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
32163 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
32164 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
32165 __mpranred, __mptan.
32166 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
32167 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
32168 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
32169 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
32170 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
32171 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
32172 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
32173 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
32174 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
32176 2011-10-28 Andreas Schwab <schwab@redhat.com>
32178 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
32179 redefine if SHARED.
32180 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
32182 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
32183 wide char related routines to wcsmbs subdir.
32185 2011-10-27 Andreas Schwab <schwab@redhat.com>
32188 * misc/sys/cdefs.h (__THROWNL): Define.
32189 * posix/unistd.h: Use __THREADNL instead of __THREAD
32190 for memory synchronization functions.
32192 2011-10-26 Roland McGrath <roland@hack.frob.com>
32195 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
32197 * manual/stdio.texi (Obstack Streams): Node removed.
32199 2011-10-26 Andreas Schwab <schwab@redhat.com>
32201 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
32202 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
32203 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
32205 * math/math_private.h (math_force_eval): Allow non-addressable
32207 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
32209 2011-10-25 Ulrich Drepper <drepper@gmail.com>
32211 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
32212 file is not needed.
32214 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
32215 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
32216 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
32217 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
32218 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
32219 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
32220 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
32221 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
32223 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
32224 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
32225 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
32226 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
32227 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
32228 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
32229 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
32230 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
32231 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
32232 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
32233 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
32234 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
32235 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
32236 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
32237 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
32238 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
32239 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
32240 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
32241 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
32243 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
32244 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
32246 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
32247 place. Use VEX encoding when compiling for AVX.
32249 2011-10-25 Andreas Schwab <schwab@redhat.com>
32251 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
32252 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
32254 * string/test-strchr.c (do_test): Don't generate NUL bytes.
32256 2011-10-25 Ulrich Drepper <drepper@gmail.com>
32258 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
32259 useless if() expression.
32260 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
32261 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
32262 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
32263 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
32264 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
32265 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
32266 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
32267 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
32268 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
32269 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
32270 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
32271 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
32272 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
32273 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
32274 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
32275 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
32276 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
32277 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
32278 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
32280 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
32282 2011-10-25 Andreas Schwab <schwab@redhat.com>
32284 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
32286 * elf/dl-fini.c (_dl_sort_fini): Likewise.
32288 2011-10-25 Ulrich Drepper <drepper@gmail.com>
32290 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
32291 .text section. Avoid duplicate constants.
32292 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
32293 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32294 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
32295 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32296 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
32297 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32298 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32299 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32300 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
32301 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
32302 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
32303 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
32304 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
32305 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
32306 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
32307 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
32308 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
32309 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
32310 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
32311 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32312 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
32313 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
32314 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
32315 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
32316 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
32317 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
32318 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
32319 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
32320 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
32321 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
32322 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
32323 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
32324 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
32325 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
32326 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
32327 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
32328 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
32329 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
32330 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
32331 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
32332 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
32333 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
32334 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
32335 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
32336 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
32338 2011-10-24 Ulrich Drepper <drepper@gmail.com>
32340 * sysdeps/x86_64/dla.h: Move to ...
32341 * sysdeps/x86_64/fpu/dla.h: ...here.
32342 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
32343 situations. Use __builtin_fma only for gcc 4.6 and up.
32345 * config.make.in: Add have-mfma4 entry.
32346 * configure.in: Substitute libc_cv_cc_fma4.
32347 * math/Makefile (dbl-only-routines): Add sincostab.
32348 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
32349 Use __sincostab not sincos.
32350 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
32352 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
32353 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32354 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32355 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
32357 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
32358 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
32359 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
32360 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
32362 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
32363 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
32365 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
32366 define aliases when function name is a macro.
32367 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
32368 sysdeps/ieee754/dbl-64/sincos.tbl.
32369 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
32370 fma4-enabled routines.
32371 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
32372 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
32373 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
32374 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
32375 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
32376 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
32377 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
32378 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
32379 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
32380 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
32381 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
32382 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
32383 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
32384 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
32385 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
32386 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
32387 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
32388 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
32389 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
32390 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
32391 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
32392 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
32393 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
32394 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
32395 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
32396 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
32397 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
32398 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
32399 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
32400 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
32402 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
32404 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32405 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32406 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32407 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32408 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32409 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32410 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
32411 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32413 2011-10-24 Andreas Schwab <schwab@redhat.com>
32415 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
32417 2011-10-23 Ulrich Drepper <drepper@gmail.com>
32419 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
32421 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
32423 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
32425 * string/strnlen.c: Don't define STRNLEN, reverse logic.
32426 Remove unused variable magic_bits.
32427 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
32429 * string/strnlen.c: Define and use STRNLEN macro.
32430 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
32431 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
32432 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
32433 * wcsmbs/wcslen.c: Define and use WCSLEN.
32434 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
32435 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
32436 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
32437 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
32438 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
32439 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
32440 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
32442 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32444 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32445 strnlen-sse2-no-bsf.
32446 Rename strlen-no-bsf to strlen-sse2-no-bsf.
32447 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
32448 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
32449 Add strnlen support.
32450 (USE_AS_STRNLEN): New macro.
32451 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
32452 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
32453 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
32454 * sysdeps/x86_64/wcslen.S: New file.
32456 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
32458 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
32459 XMM-moves are used for copying on small sizes.
32461 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32463 * wcsmbs/Makefile (strop-tests): Add wcschr.
32464 * wcsmbs/test-wcschr.c: New file.
32465 * string/test-strchr.c: Update.
32466 Add wcschr support.
32469 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32471 * wcsmbs/Makefile (strop-tests): Add wcslen.
32472 * wcsmbs/test-wcslen.c: New file.
32473 * string/test-strlen.c: Update.
32474 Add wcslen support.
32477 2011-10-23 Ulrich Drepper <drepper@gmail.com>
32479 * po/it.po: Update from translation team.
32481 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32483 * sysdeps/x86_64/wcscmp.S: Update.
32484 Fix wrong comparison semantics.
32485 wcscmp shall use signed comparison not unsigned.
32486 Don't use substraction to avoid overflow bug.
32487 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
32488 * wcsmbc/wcscmp.c: Likewise.
32489 * string/test-strcmp.c: Likewise.
32490 Add new tests to check cases with negative values.
32492 2011-10-23 Ulrich Drepper <drepper@gmail.com>
32494 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
32495 * sysdeps/x86_64/dla.h: ...here. New file.
32496 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
32497 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32498 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32499 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32500 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32501 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
32502 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32503 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
32504 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32506 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
32508 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
32509 __ynl_finite aliases.
32511 2011-10-22 Ulrich Drepper <drepper@gmail.com>
32513 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32515 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
32517 [DLA_FMA] (EMULV): Use DLA_FMA.
32518 [DLA_FMA] (MUL12): Use EMULV.
32519 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
32520 that are not needed.
32521 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32522 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32523 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32524 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32525 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32526 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
32527 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32529 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
32531 * math/s_nan.c: Undef __nan.
32532 * math/s_nanf.c: Undef __nanf.
32533 * math/s_nanl.c: Undef __nanl.
32534 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
32537 2011-10-22 Ulrich Drepper <drepper@gmail.com>
32539 * math/s_catan.c: Add branch predictions.
32540 * math/s_catanf.c: Likewise.
32541 * math/s_catanh.c: Likewise.
32542 * math/s_catanhf.c: Likewise.
32543 * math/s_catanhl.c: Likewise.
32544 * math/s_catanl.c: Likewise.
32545 * math/s_cexp.c: Likewise.
32546 * math/s_cexpf.c: Likewise.
32547 * math/s_cexpl.c: Likewise.
32548 * math/s_clog.c: Likewise.
32549 * math/s_clog10.c: Likewise.
32550 * math/s_clog10f.c: Likewise.
32551 * math/s_clog10l.c: Likewise.
32552 * math/s_clogf.c: Likewise.
32553 * math/s_clogl.c: Likewise.
32554 * math/s_csqrt.c: Likewise.
32555 * math/s_csqrtf.c: Likewise.
32556 * math/s_csqrtl.c: Likewise.
32557 * math/s_ctanf.c: Likewise.
32558 * math/s_ctanh.c: Likewise.
32559 * math/s_ctanhf.c: Likewise.
32560 * math/s_ctanhl.c: Likewise.
32561 * math/s_ctanl.c: Likewise.
32563 * math/math_private.h: Define __nan, __nanf, __nanl.
32564 * math/s_cacosh.c: Include <math_private.h>.
32565 * math/s_cacoshl.c: Likewise.
32566 * math/s_casinh.c: Likewise.
32567 * math/s_casinhf.c: Likewise.
32568 * math/s_casinhl.c: Likewise.
32569 * math/s_ccos.c: Rely entire on ccosh.
32570 * math/s_ccosf.c: Rely entire on ccoshf.
32571 * math/s_ccosl.c: Rely entirely on ccoshl.
32572 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
32573 Remove tests for FE_INVALID.
32574 * math/s_ccoshf.c: Likewise.
32575 * math/s_ccoshl.c: Likewise.
32576 * math/s_csin.c: Likewise.
32577 * math/s_csinf.c: Likewise.
32578 * math/s_csinh.c Likewise.
32579 * math/s_csinhf.c: Likewise.
32580 * math/s_csinhl.c: Likewise.
32581 * math/s_csinl.c: Likewise.
32582 * math/s_ctan.c: Likewise.
32583 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
32584 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
32585 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
32587 2011-10-21 Ulrich Drepper <drepper@gmail.com>
32589 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
32590 compilation problems.
32592 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
32595 2011-10-20 Ulrich Drepper <drepper@gmail.com>
32597 * sysdeps/i386/configure.in: Test for -mfma4 option.
32598 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
32599 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
32600 COMMON_CPUID_INDEX_80000001.
32601 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
32602 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
32603 use it if FMA3 is not supported.
32604 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
32606 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
32607 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
32609 2011-10-20 Andreas Schwab <schwab@redhat.com>
32612 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
32613 it would create a cycle with a link time dependency.
32615 2011-10-19 Ulrich Drepper <drepper@gmail.com>
32617 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
32619 * string/Makefile (strop-tests): Add rawmemchr.
32620 * string/test-rawmemchr.c: New file.
32622 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
32623 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
32624 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
32625 when compiling str{,n}casecmp and when AVX is available. Hook up
32626 new optimized code in initializers.
32628 2011-10-19 Andreas Schwab <schwab@redhat.com>
32630 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
32631 __feraiseexcept instead of feraiseexcept.
32633 2011-10-18 Ulrich Drepper <drepper@gmail.com>
32635 * math/math_private.h: Define defaults for libc_fetestexcept and
32637 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
32638 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
32639 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
32640 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
32641 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
32642 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
32643 libc_fetestexcept and libc_feupdateenv.
32645 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
32646 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
32647 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
32648 * sysdeps/x86_64/fpu/math_private.h: Define special version of
32649 libc_feholdexcept_setround.
32651 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
32652 Add s_nearbyint-c and s_nearbyintf-c.
32653 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
32654 nearbyintf inlines.
32655 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
32656 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
32657 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
32658 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
32660 * math/math_private.h: Define defaults for libc_fegetround,
32661 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
32662 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
32663 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
32664 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
32665 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
32666 standard functions.
32667 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
32668 Remove comments and hacks for old compiler versions.
32669 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
32670 libc_fegetround, libc_fesetround, libc_feholdexcept, and
32671 libc_feholdexceptl.
32673 2011-10-18 Andreas Schwab <schwab@redhat.com>
32675 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
32676 (__feraiseexcept_renamed): Add __NTH.
32677 (feraiseexcept): Add __NTH. Rename local variables to fix
32678 namespace violations.
32680 2011-10-17 Ulrich Drepper <drepper@gmail.com>
32682 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
32684 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
32686 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
32687 recently added interfaces.
32688 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
32690 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
32691 about macro parameter expansion.
32693 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
32694 __NO_MATH_INLINES is defined. Cleanups.
32696 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
32697 and __floorf is target has SSE4.1.
32698 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
32699 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
32700 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
32701 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
32703 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
32705 (floorf): Likewise.
32707 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
32709 2011-10-17 Andreas Schwab <schwab@redhat.com>
32711 * misc/sys/cdefs.h: Fix last change.
32713 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
32716 2011-10-16 Ulrich Drepper <drepper@gmail.com>
32718 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
32720 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
32721 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
32722 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
32723 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
32724 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
32725 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
32726 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
32727 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
32728 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
32729 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
32730 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
32731 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
32732 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
32733 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
32734 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
32735 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
32736 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
32737 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
32738 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
32739 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
32740 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
32741 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
32743 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
32744 ceil, ceilf, floor, floorf.
32746 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
32747 Perform IRELATIVE relocations last.
32749 * elf/do-rel.h: Add another parameter nrelative, replacing the
32750 local variable with the same name. Change name of the function
32751 to end in Rel or Rela (uppercase).
32752 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
32753 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
32754 elf_dynamic_do_##reloc function.
32756 2011-10-15 Ulrich Drepper <drepper@gmail.com>
32758 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
32759 is sufficient, at least on modern CPUs.
32761 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
32763 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
32764 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
32766 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
32768 * math/bits/math-finite.h: Add entries for exp.
32769 * math/e_expl.c: Add __*_finite alias.
32770 * sysdeps/i386/fpu/e_exp.S: Likewise.
32771 * sysdeps/i386/fpu/e_expf.S: Likewise.
32772 * sysdeps/i386/fpu/e_expl.c: Likewise.
32773 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
32774 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
32775 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
32776 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
32777 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
32778 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
32779 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
32781 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
32782 is sufficient, at least on modern CPUs.
32784 * ctype/ctype-info.c (__ctype_init): Define.
32785 * include/ctype.h (__ctype_init): Declare.
32786 (__ctype_b_loc): The variable is always initialized.
32787 (__ctype_toupper_loc): Likewise.
32788 (__ctype_tolower_loc): Likewise.
32789 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
32790 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
32792 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
32794 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
32796 * configure.in: Also look in $cxxmachine/include for C++ system
32799 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32801 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
32802 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
32803 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
32804 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
32805 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
32806 (USE_AS_WMEMCMP): New macro.
32808 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
32809 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
32810 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
32811 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
32812 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32813 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
32814 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
32815 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
32816 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
32817 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
32818 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
32819 (USE_AS_WMEMCMP): New macro.
32820 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
32821 * sysdeps/string/test-memcmp.c: Update.
32822 Fix simple_wmemcmp.
32824 * wcsmbs/wmemcmp.c: Update.
32825 (WMEMCMP): New macro.
32828 2011-10-12 Andreas Jaeger <aj@suse.de>
32831 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
32833 2011-10-15 Ulrich Drepper <drepper@gmail.com>
32835 * libio/iofwide.c (do_length): Avoid warning.
32837 * ctype/ctype.h (__isctype_f): Add missing __THROW.
32839 2011-10-14 Ulrich Drepper <drepper@gmail.com>
32841 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
32843 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
32844 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
32845 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
32846 * sysdeps/i386/i686/fpu/e_log.S: New file.
32847 * sysdeps/i386/i686/fpu/e_logf.S: New file.
32848 * sysdeps/i386/i686/fpu/e_logl.S: New file.
32850 * ctype/ctype.h: Add support for inlined isXXX functions when
32851 compiling C++ code.
32853 2011-10-14 Andreas Schwab <schwab@redhat.com>
32855 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
32857 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
32859 2011-10-13 Roland McGrath <roland@hack.frob.com>
32862 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
32864 2011-10-13 Andreas Schwab <schwab@redhat.com>
32866 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
32867 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
32870 * sysdeps/x86_64/memrchr.S: Check for zero size.
32872 * string/stratcliff.c: Add memrchr tests.
32874 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32876 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32877 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
32878 rawmemchr-sse2 rawmemchr-sse2-bsf.
32879 * sysdeps/i386/i686/multiarch/memchr.S: New file.
32880 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
32881 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
32882 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
32883 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
32884 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
32885 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
32886 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
32887 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
32888 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
32889 * string/memrchr.c (MEMRCHR): New macro.
32891 2011-10-12 Ulrich Drepper <drepper@gmail.com>
32893 Add integration with gcc's -ffinite-math-only and optimize wrapper
32895 * Versions.def: Define GLIBC_2.15 version for libm.
32896 * math/Makefile (headers): Add bits/math-finite.h.
32897 * math/bits/math-finite.h: New file.
32898 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
32899 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
32900 * math/e_acoshl.c: Add __*_finite alias.
32901 * math/e_acosl.c: Likewise.
32902 * math/e_asinl.c: Likewise.
32903 * math/e_atan2l.c: Likewise.
32904 * math/e_atanhl.c: Likewise.
32905 * math/e_coshl.c: Likewise.
32906 * math/e_exp10.c: Likewise.
32907 * math/e_exp10f.c: Likewise.
32908 * math/e_exp10l.c: Likewise.
32909 * math/e_exp2l.c: Likewise.
32910 * math/e_fmodl.c: Likewise.
32911 * math/e_gammal_r.c: Likewise.
32912 * math/e_hypotl.c: Likewise.
32913 * math/e_j0l.c: Likewise.
32914 * math/e_j1l.c: Likewise.
32915 * math/e_jnl.c: Likewise.
32916 * math/e_lgammal_r.c: Likewise.
32917 * math/e_log10l.c: Likewise.
32918 * math/e_log2l.c: Likewise.
32919 * math/e_logl.c: Likewise.
32920 * math/e_powl.c: Likewise.
32921 * math/e_sinhl.c: Likewise.
32922 * math/e_sqrtl.c: Likewise.
32923 * math/e_scalb.c: Completely rewritten and optimized.
32924 * math/e_scalbf.c: Likewise.
32925 * math/e_scalbl.c: Likewise.
32926 * math/w_acos.c: Likewise.
32927 * math/w_acosf.c: Likewise.
32928 * math/w_acosl.c: Likewise.
32929 * math/w_acosh.c: Likewise.
32930 * math/w_acoshf.c: Likewise.
32931 * math/w_acoshl.c: Likewise.
32932 * math/w_asin.c: Likewise.
32933 * math/w_asinf.c: Likewise.
32934 * math/w_asinl.c: Likewise.
32935 * math/w_atan2.c: Likewise.
32936 * math/w_atan2f.c: Likewise.
32937 * math/w_atan2l.c: Likewise.
32938 * math/w_atanh.c: Likewise.
32939 * math/w_atanhf.c: Likewise.
32940 * math/w_atanhl.c: Likewise.
32941 * math/w_exp10.c: Likewise.
32942 * math/w_exp10f.c: Likewise.
32943 * math/w_exp10l.c: Likewise.
32944 * math/w_fmod.c: Likewise.
32945 * math/w_fmodf.c: Likewise.
32946 * math/w_fmodl.c: Likewise.
32947 * math/w_j0.c: Likewise.
32948 * math/w_j0f.c: Likewise.
32949 * math/w_j0l.c: Likewise.
32950 * math/w_j1.c: Likewise.
32951 * math/w_j1f.c: Likewise.
32952 * math/w_j1l.c: Likewise.
32953 * math/w_jn.c: Likewise.
32954 * math/w_jnf.c: Likewise.
32955 * math/w_log.c: Likewise.
32956 * math/w_logf.c: Likewise.
32957 * math/w_logl.c: Likewise.
32958 * math/w_log10.c: Likewise.
32959 * math/w_log10f.c: Likewise.
32960 * math/w_log10l.c: Likewise.
32961 * math/w_log2.c: Likewise.
32962 * math/w_log2f.c: Likewise.
32963 * math/w_log2l.c: Likewise.
32964 * math/w_pow.c: Likewise.
32965 * math/w_powf.c: Likewise.
32966 * math/w_powl.c: Likewise.
32967 * math/w_remainder.c: Likewise.
32968 * math/w_remainderf.c: Likewise.
32969 * math/w_remainderl.c: Likewise.
32970 * math/w_scalb.c: Likewise.
32971 * math/w_scalbf.c: Likewise.
32972 * math/w_scalbl.c: Likewise.
32973 * math/w_sqrt.c: Likewise.
32974 * math/w_sqrtf.c: Likewise.
32975 * math/w_sqrtl.c: Likewise.
32976 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
32977 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
32979 * math/math_private.h: Declare __kernel_standard_f.
32980 * math/w_cosh.c: Remove cruft and optimize a bit.
32981 * math/w_coshf.c: Likewise.
32982 * math/w_coshl.c: Likewise.
32983 * math/w_exp2.c: Likewise.
32984 * math/w_exp2f.c: Likewise.
32985 * math/w_exp2l.c: Likewise.
32986 * math/w_hypot.c: Likewise.
32987 * math/w_hypotf.c: Likewise.
32988 * math/w_hypotl.c: Likewise.
32989 * math/w_lgamma.c: Likewise.
32990 * math/w_lgamma_r.c: Likewise.
32991 * math/w_lgammaf.c: Likewise.
32992 * math/w_lgammaf_r.c: Likewise.
32993 * math/w_lgammal.c: Likewise.
32994 * math/w_lgammal_r.c: Likewise.
32995 * math/w_sinh.c: Likewise.
32996 * math/w_sinhf.c: Likewise.
32997 * math/w_sinhl.c: Likewise.
32998 * math/w_tgamma.c: Likewise.
32999 * math/w_tgammaf.c: Likewise.
33000 * math/w_tgammal.c: Likewise.
33001 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
33002 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
33003 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
33004 Minor optimizations. Pretty printing. Remove cruft.
33005 * sysdeps/i386/fpu/e_acosf.S: Likewise.
33006 * sysdeps/i386/fpu/e_acosh.S: Likewise.
33007 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
33008 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
33009 * sysdeps/i386/fpu/e_acosl.c: Likewise.
33010 * sysdeps/i386/fpu/e_asin.S: Likewise.
33011 * sysdeps/i386/fpu/e_asinf.S: Likewise.
33012 * sysdeps/i386/fpu/e_atan2.S: Likewise.
33013 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
33014 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
33015 * sysdeps/i386/fpu/e_atanh.S: Likewise.
33016 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
33017 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
33018 * sysdeps/i386/fpu/e_exp10.S: Likewise.
33019 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
33020 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
33021 * sysdeps/i386/fpu/e_exp2.S: Likewise.
33022 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
33023 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
33024 * sysdeps/i386/fpu/e_fmod.S: Likewise.
33025 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
33026 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
33027 * sysdeps/i386/fpu/e_hypot.S: Likewise.
33028 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
33029 * sysdeps/i386/fpu/e_log.S: Likewise.
33030 * sysdeps/i386/fpu/e_log10.S: Likewise.
33031 * sysdeps/i386/fpu/e_log10f.S: Likewise.
33032 * sysdeps/i386/fpu/e_log10l.S: Likewise.
33033 * sysdeps/i386/fpu/e_log2.S: Likewise.
33034 * sysdeps/i386/fpu/e_log2f.S: Likewise.
33035 * sysdeps/i386/fpu/e_log2l.S: Likewise.
33036 * sysdeps/i386/fpu/e_logf.S: Likewise.
33037 * sysdeps/i386/fpu/e_logl.S: Likewise.
33038 * sysdeps/i386/fpu/e_pow.S: Likewise.
33039 * sysdeps/i386/fpu/e_powf.S: Likewise.
33040 * sysdeps/i386/fpu/e_powl.S: Likewise.
33041 * sysdeps/i386/fpu/e_remainder.S: Likewise.
33042 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
33043 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
33044 * sysdeps/i386/fpu/e_scalb.S: Likewise.
33045 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
33046 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
33047 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
33048 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
33049 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
33050 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
33051 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
33052 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33053 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
33054 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
33055 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
33056 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
33057 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
33058 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
33059 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
33060 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
33061 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
33062 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33063 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
33064 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
33065 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33066 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
33067 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
33068 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
33069 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33070 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
33071 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
33072 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
33073 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
33074 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
33075 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
33076 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
33077 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
33078 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
33079 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
33080 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
33081 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
33082 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
33083 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
33084 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
33085 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
33086 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
33087 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
33088 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
33089 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
33090 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
33091 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
33092 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
33093 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
33094 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
33095 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
33096 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
33097 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
33098 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
33099 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
33100 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
33101 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
33102 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
33103 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
33104 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
33105 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
33106 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
33107 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
33108 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
33109 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
33110 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
33111 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
33112 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
33113 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
33114 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
33115 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
33116 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
33117 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
33118 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
33119 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
33120 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
33121 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
33122 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
33123 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
33124 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
33125 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
33126 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
33127 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
33128 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
33129 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
33130 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
33131 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
33132 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
33133 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
33134 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
33135 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
33136 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
33137 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
33138 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
33139 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
33140 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
33141 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
33142 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
33143 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
33144 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
33145 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
33146 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
33147 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
33148 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
33149 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
33150 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
33151 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
33152 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
33153 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
33154 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
33155 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
33156 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
33157 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
33158 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
33159 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
33160 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
33161 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
33162 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
33163 (__isnanf): Likewise.
33164 (__isinf_ns): Likewise.
33165 (__isinf_nsf): Likewise.
33166 (__finite): Likewise.
33167 (__finitef): Likewise.
33168 (__ieee754_sqrt): Define as macro.
33169 (__ieee754_sqrtf): Define as macro.
33170 (__ieee754_sqrtl): Define as macro.
33171 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
33173 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
33174 __FINITE_MATH_ONLY__ consistent.
33175 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
33177 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
33179 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
33182 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
33184 2011-10-09 Ulrich Drepper <drepper@gmail.com>
33186 * po/ja.po: Update from translation team.
33188 2011-10-08 Roland McGrath <roland@hack.frob.com>
33190 * locale/programs/locarchive.c (prepare_address_space): New function.
33191 (create_archive, enlarge_archive, open_archive): Use it.
33193 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
33194 inside [SHARED], where it is used.
33196 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
33198 * nss/getent.c (netgroup_keys): Remove unused variable.
33199 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
33201 2011-10-08 Ulrich Drepper <drepper@gmail.com>
33203 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
33204 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
33205 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
33206 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
33207 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
33208 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
33209 * math/Makefile (libm-calls): Add s_isinf_ns.
33210 * math/divtc3.c: Use __isinf_nsl instead of isinf.
33211 * math/multc3.c: Likewise.
33212 * math/s_casin.c: Likewise.
33213 * math/s_casinf.c: Likewise.
33214 * math/s_casinl.c: Likewise.
33215 * math/s_ccos.c: Likewise.
33216 * math/s_ccosf.c: Likewise.
33217 * math/s_ccosl.c: Likewise.
33218 * math/s_ctan.c: Likewise.
33219 * math/s_ctanf.c: Likewise.
33220 * math/s_ctanh.c: Likewise.
33221 * math/s_ctanhf.c: Likewise.
33222 * math/s_ctanhl.c: Likewise.
33223 * math/s_ctanl.c: Likewise.
33224 * math/w_fmod.c: Likewise.
33225 * math/w_fmodf.c: Likewise.
33226 * math/w_fmodl.c: Likewise.
33227 * math/w_remainder.c: Likewise.
33228 * math/w_remainderf.c: Likewise.
33229 * math/w_remainderl.c: Likewise.
33230 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
33231 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
33232 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
33233 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
33234 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
33235 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
33236 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
33237 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
33239 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
33241 * stdio-common/printf_fphex.c: Likewise.
33242 * stdio-common/printf_size.c: Likewise.
33244 * math/e_exp10.c: Include math_private.h using <...> not "...".
33245 * math/e_exp10f.c: Likewise.
33246 * math/e_exp10l.c: Likewise.
33247 * math/e_exp2l.c: Likewise.
33248 * math/e_j0l.c: Likewise.
33249 * math/e_j1l.c: Likewise.
33250 * math/e_jnl.c: Likewise.
33251 * math/e_lgammal_r.c: Likewise.
33252 * math/e_rem_pio2l.c: Likewise.
33253 * math/e_scalb.c: Likewise.
33254 * math/e_scalbf.c: Likewise.
33255 * math/e_scalbl.c: Likewise.
33256 * math/k_cosl.c: Likewise.
33257 * math/k_sinl.c: Likewise.
33258 * math/k_tanl.c: Likewise.
33259 * math/s_cacoshf.c: Likewise.
33260 * math/s_catan.c: Likewise.
33261 * math/s_catanf.c: Likewise.
33262 * math/s_catanh.c: Likewise.
33263 * math/s_catanhf.c: Likewise.
33264 * math/s_catanhl.c: Likewise.
33265 * math/s_catanl.c: Likewise.
33266 * math/s_ccosh.c: Likewise.
33267 * math/s_ccoshf.c: Likewise.
33268 * math/s_ccoshl.c: Likewise.
33269 * math/s_cexp.c: Likewise.
33270 * math/s_cexpf.c: Likewise.
33271 * math/s_cexpl.c: Likewise.
33272 * math/s_clog.c: Likewise.
33273 * math/s_clog10.c: Likewise.
33274 * math/s_clog10f.c: Likewise.
33275 * math/s_clog10l.c: Likewise.
33276 * math/s_clogf.c: Likewise.
33277 * math/s_clogl.c: Likewise.
33278 * math/s_csin.c: Likewise.
33279 * math/s_csinf.c: Likewise.
33280 * math/s_csinh.c: Likewise.
33281 * math/s_csinhf.c: Likewise.
33282 * math/s_csinhl.c: Likewise.
33283 * math/s_csinl.c: Likewise.
33284 * math/s_csqrt.c: Likewise.
33285 * math/s_csqrtf.c: Likewise.
33286 * math/s_csqrtl.c: Likewise.
33287 * math/s_ctan.c: Likewise.
33288 * math/s_ctanf.c: Likewise.
33289 * math/s_ctanh.c: Likewise.
33290 * math/s_ctanhf.c: Likewise.
33291 * math/s_ctanhl.c: Likewise.
33292 * math/s_ctanl.c: Likewise.
33293 * math/s_ldexp.c: Likewise.
33294 * math/s_ldexpf.c: Likewise.
33295 * math/s_ldexpl.c: Likewise.
33296 * math/s_significand.c: Likewise.
33297 * math/s_significandf.c: Likewise.
33298 * math/s_significandl.c: Likewise.
33299 * math/w_acos.c: Likewise.
33300 * math/w_acosf.c: Likewise.
33301 * math/w_acosh.c: Likewise.
33302 * math/w_acoshf.c: Likewise.
33303 * math/w_acoshl.c: Likewise.
33304 * math/w_acosl.c: Likewise.
33305 * math/w_asin.c: Likewise.
33306 * math/w_asinf.c: Likewise.
33307 * math/w_asinl.c: Likewise.
33308 * math/w_atan2.c: Likewise.
33309 * math/w_atan2f.c: Likewise.
33310 * math/w_atan2l.c: Likewise.
33311 * math/w_atanh.c: Likewise.
33312 * math/w_atanhf.c: Likewise.
33313 * math/w_atanhl.c: Likewise.
33314 * math/w_cosh.c: Likewise.
33315 * math/w_coshf.c: Likewise.
33316 * math/w_coshl.c: Likewise.
33317 * math/w_dremf.c: Likewise.
33318 * math/w_exp10.c: Likewise.
33319 * math/w_exp10f.c: Likewise.
33320 * math/w_exp10l.c: Likewise.
33321 * math/w_exp2.c: Likewise.
33322 * math/w_exp2f.c: Likewise.
33323 * math/w_fmod.c: Likewise.
33324 * math/w_fmodf.c: Likewise.
33325 * math/w_fmodl.c: Likewise.
33326 * math/w_hypot.c: Likewise.
33327 * math/w_hypotf.c: Likewise.
33328 * math/w_hypotl.c: Likewise.
33329 * math/w_j0.c: Likewise.
33330 * math/w_j0f.c: Likewise.
33331 * math/w_j0l.c: Likewise.
33332 * math/w_j1.c: Likewise.
33333 * math/w_j1f.c: Likewise.
33334 * math/w_j1l.c: Likewise.
33335 * math/w_jn.c: Likewise.
33336 * math/w_jnf.c: Likewise.
33337 * math/w_jnl.c: Likewise.
33338 * math/w_lgamma.c: Likewise.
33339 * math/w_lgamma_r.c: Likewise.
33340 * math/w_lgammaf.c: Likewise.
33341 * math/w_lgammaf_r.c: Likewise.
33342 * math/w_lgammal.c: Likewise.
33343 * math/w_lgammal_r.c: Likewise.
33344 * math/w_log.c: Likewise.
33345 * math/w_log10.c: Likewise.
33346 * math/w_log10f.c: Likewise.
33347 * math/w_log10l.c: Likewise.
33348 * math/w_log2.c: Likewise.
33349 * math/w_log2f.c: Likewise.
33350 * math/w_log2l.c: Likewise.
33351 * math/w_logf.c: Likewise.
33352 * math/w_logl.c: Likewise.
33353 * math/w_pow.c: Likewise.
33354 * math/w_powf.c: Likewise.
33355 * math/w_powl.c: Likewise.
33356 * math/w_remainder.c: Likewise.
33357 * math/w_remainderf.c: Likewise.
33358 * math/w_remainderl.c: Likewise.
33359 * math/w_scalb.c: Likewise.
33360 * math/w_scalbf.c: Likewise.
33361 * math/w_scalbl.c: Likewise.
33362 * math/w_sinh.c: Likewise.
33363 * math/w_sinhf.c: Likewise.
33364 * math/w_sinhl.c: Likewise.
33365 * math/w_sqrt.c: Likewise.
33366 * math/w_sqrtf.c: Likewise.
33367 * math/w_sqrtl.c: Likewise.
33368 * math/w_tgamma.c: Likewise.
33369 * math/w_tgammaf.c: Likewise.
33370 * math/w_tgammal.c: Likewise.
33372 * po/ja.po: Update from translation team.
33374 2011-09-29 Andreas Jaeger <aj@suse.de>
33377 * sunrpc/netname.c (netname2host): Fix logic.
33381 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
33383 * math/w_remainder.c (__remainder): Likewise.
33384 * math/w_remainderf.c (__remainderf): Likewise.
33385 * math/libm-test.inc (remainder_test): Add test cases.
33387 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33389 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
33392 2011-10-07 Ulrich Drepper <drepper@gmail.com>
33394 * string/test-memcmp.c: Avoid unncessary #defines.
33395 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
33397 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33399 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
33400 Use new sse2 version for core i3 - i7 as it's faster
33401 than sse42 version.
33402 (bit_Prefer_PMINUB_for_stringop): New.
33403 * sysdeps/x86_64/rawmemchr.S: Update.
33404 Replace with faster SSE2 version.
33405 * sysdeps/x86_64/memrchr.S: New file.
33406 * sysdeps/x86_64/memchr.S: Update.
33407 Replace with faster SSE2 version.
33409 2011-09-12 Marek Polacek <mpolacek@redhat.com>
33411 * elf/dl-load.c (lose): Add cast to avoid warning.
33413 2011-10-07 Ulrich Drepper <drepper@gmail.com>
33415 * po/ca.po: Update from translation team.
33417 * inet/getnetgrent_r.c: Hook up nscd.
33418 * nscd/Makefile (routines): Add nscd_netgroup.
33419 (nscd-modules): Add netgroupcache.
33420 (CFLAGS-netgroupcache.c): Define.
33421 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
33422 (cache_search): Add const to second parameter.
33423 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
33425 (dbs): Add netgrdb entry.
33426 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
33427 (verify_persistent_db): Handle netgrdb.
33428 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
33429 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
33431 (netgroup_response_header): Define.
33432 (innetgroup_response_header): Define.
33433 (datahead): Add netgroup_response_header and innetgroup_response_header
33435 * nscd/nscd.conf: Add entries for netgroup cache.
33436 * nscd/nscd.h (dbtype): Add netgrdb.
33437 (_PATH_NSCD_NETGROUP_DB): Define.
33438 (netgroup_iov_disabled): Declare.
33439 (xmalloc, xcalloc, xrealloc): Move declarations here.
33440 (cache_search): Adjust prototype.
33441 Add netgroup-related prototypes.
33442 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
33443 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
33444 (__nscd_innetgr): Declare.
33445 * nscd/selinux.c (perms): Use access_vector_t as element type and
33446 add netgroup-related initializers.
33447 * nscd/netgroupcache.c: New file.
33448 * nscd/nscd_netgroup.c: New file.
33449 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
33450 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
33451 For four parameters use innetgr.
33452 * nss/nss_files/files-init.c: Add definition and callback for netgr.
33453 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
33454 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
33455 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
33457 * nscd/connections.c (register_traced_file): Don't register file
33458 for disabled databases.
33460 2011-10-06 Ulrich Drepper <drepper@gmail.com>
33462 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
33464 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
33465 from tree and freeing node.
33467 2011-09-25 Jiri Olsa <jolsa@redhat.com>
33469 * nss/nsswitch.c (__nss_database_lookup): Handle
33470 nss_parse_service_list out of memory case.
33472 2011-09-15 Jiri Olsa <jolsa@redhat.com>
33474 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
33475 out of memory case.
33477 2011-10-04 Andreas Schwab <schwab@redhat.com>
33479 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
33480 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
33482 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
33483 elf_machine_rela, elf_machine_lazy_rel.
33484 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
33485 (ELF_DYNAMIC_DO_REL): Likewise.
33486 (ELF_DYNAMIC_DO_RELA): Likewise.
33487 (ELF_DYNAMIC_RELOCATE): Likewise.
33488 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
33489 to ELF_DYNAMIC_DO_REL.
33490 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
33491 (dl_main): In trace mode always set __RTLD_NOIFUNC.
33492 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
33494 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
33495 skip_ifunc, don't call ifunc function if non-zero.
33496 (elf_machine_rela): Likewise.
33497 (elf_machine_lazy_rel): Likewise.
33498 (elf_machine_lazy_rela): Likewise.
33499 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
33500 (elf_machine_lazy_rel): Likewise.
33501 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
33503 (elf_machine_lazy_rel): Likewise.
33504 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
33506 (elf_machine_lazy_rel): Likewise.
33507 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
33508 (elf_machine_lazy_rel): Likewise.
33509 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
33510 (elf_machine_lazy_rel): Likewise.
33511 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
33512 (elf_machine_lazy_rel): Likewise.
33513 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
33514 (elf_machine_lazy_rel): Likewise.
33515 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
33516 (elf_machine_lazy_rel): Likewise.
33517 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
33518 (elf_machine_lazy_rel): Likewise.
33520 2011-09-28 Ulrich Drepper <drepper@gmail.com>
33522 * nss/nss_files/files-init.c (_nss_files_init): Use static
33523 initialization for all the *_traced_file variables.
33525 2011-09-28 Andreas Schwab <schwab@redhat.com>
33527 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
33529 2011-09-27 Roland McGrath <roland@hack.frob.com>
33532 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
33534 2011-09-27 Andreas Schwab <schwab@redhat.com>
33536 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
33537 Reread the line before reparsing it.
33539 2011-09-26 Andreas Schwab <schwab@redhat.com>
33541 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
33543 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
33544 Maxim Kuvyrkov <maxim@codesourcery.com>
33545 Joseph Myers <joseph@codesourcery.com>
33547 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
33548 if needed for __stack_chk_guard.
33550 2011-09-19 Roland McGrath <roland@hack.frob.com>
33552 * sysdeps/posix/spawni.c (script_execute): Always define it.
33553 It will be optimized away if unused.
33554 (maybe_script_execute): New function.
33555 (__spawni): Call it.
33557 * Makerules: Don't include tls.make.
33558 (config-tls): Always set to thread.
33559 * tls.make.c: File removed.
33561 2011-09-19 Mike Frysinger <vapier@gentoo.org>
33563 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
33564 * config.make.in (CPPFLAGS-config): New substituted variable.
33566 2011-09-15 Ulrich Drepper <drepper@gmail.com>
33568 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
33571 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
33572 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
33574 2011-09-15 Roland McGrath <roland@hack.frob.com>
33576 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
33577 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
33578 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
33579 (CALL_FAIL): Likewise.
33580 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
33581 (CALL_FAIL): Macro removed.
33582 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
33584 2011-09-15 Ulrich Drepper <drepper@gmail.com>
33586 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
33587 for __FINITE_MATH_ONLY__ == 1.
33589 2011-09-15 Andreas Schwab <schwab@redhat.com>
33591 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
33592 __ieee754_sqrt instead of sqrt.
33593 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
33594 __ieee754_sqrtf instead of sqrtf.
33595 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
33596 __floorf instead of floorf.
33597 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
33598 __floorf, __truncf instead of floorf, truncf.
33600 2011-09-14 Ulrich Drepper <drepper@gmail.com>
33602 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
33604 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
33605 __extern_always_inline.
33606 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
33609 2011-09-14 Andreas Schwab <schwab@redhat.com>
33611 * elf/rtld.c (dl_main): Also relocate in dependency order when
33612 doing symbol dependency testing.
33614 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
33616 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
33617 Always define `refsym'.
33619 2011-09-13 Andreas Schwab <schwab@redhat.com>
33621 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
33622 (__FD_ELT): Renamed from __FDELT.
33623 * misc/bits/select2.h (__FD_ELT): Likewise.
33624 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
33625 __FD_MASK instead of __FDELT, __FDMASK.
33626 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
33628 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
33631 * elf/Makefile (gen-ldd): Fix pattern.
33633 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
33634 (init_tls): Likewise.
33636 2011-09-12 Ulrich Drepper <drepper@gmail.com>
33638 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
33640 2011-09-12 Andreas Schwab <schwab@redhat.com>
33642 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
33643 `struct cmsghdr *' instead of `void *'.
33644 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
33647 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
33649 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
33651 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
33652 ldd_rewrite_script.
33654 2011-09-11 Ulrich Drepper <drepper@gmail.com>
33656 * configure.in: Remove --with-tls option.
33657 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
33658 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
33659 out in case it is missing.
33660 * sysdeps/ia64/elf/configure.in: Likewise.
33661 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
33662 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
33663 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
33664 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
33665 * sysdeps/sh/elf/configure.in: Likewise.
33666 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
33667 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
33668 * sysdeps/x86_64/elf/configure.in: Likewise.
33669 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
33670 * sysdeps/mach/hurd/tls.h: Likewise.
33673 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
33676 * configure.in: Fix use of AC_INIT.
33678 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
33680 2011-09-10 Ulrich Drepper <drepper@gmail.com>
33682 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
33684 * malloc/hooks.c: Likewise.
33687 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
33688 variables statically.
33689 (narenas): Initialize.
33690 (list_lock): Initialize.
33691 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
33692 initializtion of main_arena and list_lock. Small cleanups.
33693 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
33694 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
33695 Add initializers to main_arena and mp_.
33696 (malloc_state): Remove pagesize member. Change all users to use
33699 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
33700 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
33701 is always initialized.
33703 * malloc/malloc.c: Removed unused configurations and dead code.
33704 * malloc/arena.c: Likewise.
33705 * malloc/hooks.c: Likewise.
33706 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
33708 * include/tls.h: Removed. USE___THREAD must always be defined.
33709 * bits/libc-tsd.h: Don't handle !USE___THREAD.
33710 * elf/dl-libc.c: Likewise.
33711 * elf/dl-tsd.c: Likewise.
33712 * include/errno.h: Likewise.
33713 * include/netdb.h: Likewise.
33714 * include/resolv.h: Likewise.
33715 * inet/herrno-loc.c: Likewise.
33716 * inet/herrno.c: Likewise.
33717 * malloc/arena.c: Likewise.
33718 * malloc/hooks.c: Likewise.
33719 * malloc/malloc.c: Likewise.
33720 * resolv/res-state.c: Likewise.
33721 * resolv/res_libc.c: Likewise.
33722 * sysdeps/i386/dl-machine.h: Likewise.
33723 * sysdeps/ia64/dl-machine.h: Likewise.
33724 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
33725 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
33726 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
33727 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
33728 * sysdeps/sh/dl-machine.h: Likewise.
33729 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
33730 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
33731 * sysdeps/unix/i386/sysdep.S: Likewise.
33732 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
33733 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
33734 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
33735 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
33736 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
33737 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
33738 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
33739 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
33740 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
33741 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
33742 * sysdeps/unix/x86_64/sysdep.S: Likewise.
33743 * sysdeps/x86_64/dl-machine.h: Likewise.
33744 * tls.make.c: Likewise.
33746 * configure.in: Remove --with-__thread option. Make tests for
33747 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
33748 tls_model attribute fail if no support is available. Remove
33750 * Makeconfig: Adjust for dropped configure option. All features are
33752 * Makerules: Likewise.
33753 * Versions.def: Likewise.
33754 * argp/argp-fmtstream.c: Likewise.
33755 * argp/argp-fmtstream.h: Likewise.
33756 * argp/argp-help.c: Likewise.
33757 * assert/assert.c: Likewise.
33758 * config.h.in: Likewise.
33759 * config.make.in: Likewise.
33760 * configure: Likewise.
33761 * configure.in: Likewise.
33762 * csu/Versions: Likewise.
33763 * csu/init.c: Likewise.
33764 * elf/tst-audit2.c: Likewise.
33765 * elf/tst-tls10.c: Likewise.
33766 * elf/tst-tls10.h: Likewise.
33767 * elf/tst-tls11.c: Likewise.
33768 * elf/tst-tls12.c: Likewise.
33769 * elf/tst-tls14.c: Likewise.
33770 * elf/tst-tlsmod11.c: Likewise.
33771 * elf/tst-tlsmod12.c: Likewise.
33772 * elf/tst-tlsmod13.c: Likewise.
33773 * elf/tst-tlsmod13a.c: Likewise.
33774 * elf/tst-tlsmod14a.c: Likewise.
33775 * elf/tst-tlsmod15b.c: Likewise.
33776 * elf/tst-tlsmod16a.c: Likewise.
33777 * elf/tst-tlsmod16b.c: Likewise.
33778 * elf/tst-tlsmod7.c: Likewise.
33779 * elf/tst-tlsmod8.c: Likewise.
33780 * elf/tst-tlsmod9.c: Likewise.
33781 * gmon/gmon.c: Likewise.
33782 * grp/fgetgrent_r.c: Likewise.
33783 * grp/putgrent.c: Likewise.
33784 * hurd/fopenport.c: Likewise.
33785 * include/libc-symbols.h: Likewise.
33786 * include/tls.h: Likewise.
33787 * intl/gettextP.h: Likewise.
33788 * intl/loadinfo.h: Likewise.
33789 * locale/global-locale.c: Likewise.
33790 * locale/localeinfo.h: Likewise.
33791 * mach/devstream.c: Likewise.
33792 * malloc/arena.c: Likewise.
33793 * malloc/set-freeres.c: Likewise.
33794 * misc/err.c: Likewise.
33795 * misc/getttyent.c: Likewise.
33796 * misc/mntent_r.c: Likewise.
33797 * posix/getopt.c: Likewise.
33798 * posix/wordexp.c: Likewise.
33799 * pwd/fgetpwent_r.c: Likewise.
33800 * resolv/Versions: Likewise.
33801 * resolv/res_hconf.c: Likewise.
33802 * shadow/fgetspent_r.c: Likewise.
33803 * shadow/putspent.c: Likewise.
33804 * stdio-common/printf_fphex.c: Likewise.
33805 * stdio-common/tmpfile.c: Likewise.
33806 * stdlib/abort.c: Likewise.
33807 * stdlib/fmtmsg.c: Likewise.
33808 * sunrpc/auth_unix.c: Likewise.
33809 * sunrpc/clnt_perr.c: Likewise.
33810 * sunrpc/clnt_tcp.c: Likewise.
33811 * sunrpc/clnt_udp.c: Likewise.
33812 * sunrpc/clnt_unix.c: Likewise.
33813 * sunrpc/openchild.c: Likewise.
33814 * sunrpc/svc_simple.c: Likewise.
33815 * sunrpc/svc_tcp.c: Likewise.
33816 * sunrpc/svc_udp.c: Likewise.
33817 * sunrpc/svc_unix.c: Likewise.
33818 * sunrpc/xdr.c: Likewise.
33819 * sunrpc/xdr_array.c: Likewise.
33820 * sunrpc/xdr_rec.c: Likewise.
33821 * sunrpc/xdr_ref.c: Likewise.
33822 * sunrpc/xdr_stdio.c: Likewise.
33824 2011-09-09 Ulrich Drepper <drepper@gmail.com>
33826 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
33828 2011-07-03 Andreas Jaeger <aj@suse.de>
33830 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
33831 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
33832 regenerate with gen-libm-tests.pl.
33834 2010-05-12 Petr Baudis <pasky@suse.cz>
33837 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
33838 around j0() zero points by switching to j1().
33839 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
33840 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
33841 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
33842 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
33844 2011-09-09 Ulrich Drepper <drepper@gmail.com>
33846 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
33848 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
33850 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
33851 Patch in part by Pavel Roskin <proski@gnu.org>.
33854 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
33856 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
33857 Free memory block if necessary.
33860 * libio/genops.c (INTDEF): For string streams the _lock pointer can
33861 be NULL. Don't lock in this case.
33863 2011-09-09 Roland McGrath <roland@hack.frob.com>
33865 * elf/elf.h (ELFOSABI_GNU): New macro.
33866 (ELFOSABI_LINUX): Define to that.
33868 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
33870 * string/strncat.c (strncat): Undef the symbol in case it has been
33871 defined in bits/string.h.
33873 2011-09-09 Ulrich Drepper <drepper@gmail.com>
33875 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
33877 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
33880 2011-08-17 Andreas Jaeger <aj@suse.de>
33882 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
33884 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
33885 Ian Lance Taylor <iant@google.com>
33887 * math/libm-test.inc (lround_test): New testcase.
33888 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
33890 2011-09-08 Ulrich Drepper <drepper@gmail.com>
33892 * Makefile: Remove support for automatic cvs check-ins.
33893 * Makerules: Likewise.
33894 * config.make.in: Likewise.
33895 * configure.in: Likewise.
33896 * intl/Makefile: Likewise.
33897 * locale/Makefile: Likewise.
33898 * po/Makefile: Likewise.
33899 * posix/Makefile: Likewise.
33900 * sysdeps/gnu/Makefile: Likewise.
33901 * sysdeps/mach/hurd/Makefile: Likewise.
33902 * sysdeps/sparc/sparc32/Makefile: Likewise.
33905 * posix/Makefile (bug-regex32-ENV): Define.
33906 Patch by John Stanley <jpsinthemix@verizon.net>.
33908 * misc/Makefile (headers): Add bits/select2.h.
33909 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
33910 * misc/bits/select2.h: New file.
33911 * include/bits/select2.h: New file.
33912 * debug/Makefile (routines): Add fdelt_chk.
33913 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
33914 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
33916 * debug/fdelt_chk.c: New file.
33918 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
33919 * wcsmbs/test-wmemcmp.c: Likewise.
33920 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
33921 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
33923 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33925 * string/Makefile (strop-tests): Add memcmp.
33926 * string/test-wmemcmp.c: New file.
33927 * string/test-memcmp.c: Add wmemcmp support.
33929 2011-09-08 Roland McGrath <roland@hack.frob.com>
33932 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
33935 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
33936 garbage value in a __mach_port_mod_refs call in the cases of the
33937 task-self and thread-self ports.
33939 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
33941 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
33943 2011-09-08 Andreas Schwab <schwab@redhat.com>
33945 * elf/dl-load.c (lose): Check for non-null L.
33947 2011-09-07 Ulrich Drepper <drepper@gmail.com>
33949 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
33951 * elf/dl-libc.c (dlerror_run): Pass back error code from
33955 * elf/dl-load.c (lose): Free l_origin if it is valid.
33957 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
33959 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
33960 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
33961 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
33962 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
33963 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
33964 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
33966 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33968 * sysdeps/powerpc/fpu/e_hypot.c: New file.
33969 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
33970 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
33971 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
33972 * sysdeps/powerpc/fpu/k_cosf.c: New file.
33973 * sysdeps/powerpc/fpu/k_sinf.c: New file.
33974 * sysdeps/powerpc/fpu/s_cosf.c: New file.
33975 * sysdeps/powerpc/fpu/s_sinf.c: New file.
33976 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
33977 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
33979 2011-08-15 Alan Modra <amodra@gmail.com>
33982 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
33983 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
33984 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
33985 ppc_mcount to static-only-routines.
33986 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
33988 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
33989 __mcount_internal with usual JUMPTARGET. Remove useless nop.
33991 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
33993 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
33994 for finite and infinity parameters.
33996 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
33998 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
33999 and add nop instructions for throughput optimization.
34000 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
34002 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
34004 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
34005 aligned copy for power7 with vector-scalar instructions.
34006 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
34008 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
34010 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
34013 2011-09-07 Andreas Schwab <schwab@redhat.com>
34016 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
34019 2011-09-07 Ulrich Drepper <drepper@gmail.com>
34021 * sysdeps/unix/sysv/linux/x86_64/init-first.c
34022 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
34023 syscall wrapper around clock_gettime in __vdso_clock_gettime.
34024 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
34027 2011-09-06 Ulrich Drepper <drepper@gmail.com>
34029 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
34030 Forgot to demangle the pointer.
34032 * sysdeps/i386/sysdep.h: Define atom_text_section.
34033 * sysdeps/x86_64/sysdep.h: Likewise.
34034 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
34035 section with atom_text_section.
34036 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
34037 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
34038 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
34039 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
34040 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
34042 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
34043 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
34044 already be defined. Change to take two parameters and don't assign
34045 result to variable. Adjust all users.
34046 Define INTERNAL_GETTIME if not already defined.
34047 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
34049 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
34050 HAVE_CLOCK_GETTIME_VSYSCALL.
34051 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
34053 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
34054 gettimeofday vsyscall, just use time.
34056 2011-09-06 Andreas Schwab <schwab@redhat.com>
34058 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
34061 2011-09-06 Ulrich Drepper <drepper@gmail.com>
34063 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
34065 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
34067 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
34068 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
34069 syscall if possible.
34071 2011-09-05 Ulrich Drepper <drepper@gmail.com>
34073 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
34074 e_ident. Don't pass to find_mapsXX.
34075 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
34077 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
34079 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34080 strchr-sse2-no-bsf strrchr-sse2-no-bsf
34081 * sysdeps/x86_64/multiarch/strchr.S: Update.
34082 Check bit_slow_BSF bit.
34083 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
34084 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
34085 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
34087 2011-09-05 Ulrich Drepper <drepper@gmail.com>
34090 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
34092 (tryshell): Define.
34093 (__spawni): Change last parameter to be flag. Test
34094 SPAWN_XFLAGS_USE_PATH flag to use path or not.
34095 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
34096 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
34097 * posix/spawni.c: Likewise.
34098 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
34099 * posix/spawnp.c: Likewise. Change normal version to use
34100 SPAWN_XFLAGS_USE_PATH.
34101 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
34102 SPAWN_XFLAGS_TRY_SHELL.
34105 * posix/glob.h: Remove gcc 1.x support.
34108 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
34110 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
34112 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34113 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
34115 * sysdeps/i386/i686/multiarch/strchr.S: New file.
34116 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
34117 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
34118 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
34119 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
34120 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
34122 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34124 * sysdeps/x86_64/wcscmp.S: New file.
34126 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
34127 wcscmp-c wcscmp-sse2
34128 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
34129 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
34130 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
34131 * wcsmbs/wcscmp.c: Allow renaming.
34133 2011-09-05 David S. Miller <davem@davemloft.net>
34135 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
34136 stack slot, rather than the struct return pointer slot.
34137 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
34138 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
34139 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
34140 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
34142 2011-09-05 Ulrich Drepper <drepper@gmail.com>
34144 * po/ja.po: Update from translation team.
34147 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
34148 kernel in 64-bit binaries.
34150 2011-09-01 David S. Miller <davem@davemloft.net>
34152 * elf/elf.h (HWCAP_SPARC_*): Move to..
34153 * sysdeps/sparc/sysdep.h: this new file and add new values.
34154 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
34155 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
34156 _DL_HWCAP_COUNT to 24.
34157 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
34159 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
34160 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
34161 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
34162 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
34163 instead of magic constants.
34164 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
34166 2011-08-31 David S. Miller <davem@davemloft.net>
34168 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
34169 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
34170 Reimplement to do errno handling inline.
34171 (SYSCALL_ERROR_HANDLER): New macro.
34172 (__SYSCALL_STRING): Do not do errno handling in asm.
34173 (__CLONE_SYSCALL_STRING): Delete.
34174 (__INTERNAL_SYSCALL_STRING): Delete.
34175 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
34176 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
34177 (PSEUDO): Reimplement to do errno handling inline.
34178 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
34179 (SYSCALL_ERROR_HANDLER): New macro.
34180 (__SYSCALL_STRING): Do not do errno handling in asm.
34181 (__CLONE_SYSCALL_STRING): Delete.
34182 (__INTERNAL_SYSCALL_STRING): Delete.
34183 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
34184 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
34186 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
34187 (inline_syscall*): Add 'err' argument.
34188 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
34189 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
34190 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
34191 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
34193 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
34194 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
34196 2011-08-30 Andreas Schwab <schwab@redhat.com>
34198 * elf/rtld.c (dl_main): Relocate objects in dependency order.
34200 2011-08-29 Jiri Olsa <jolsa@redhat.com>
34202 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
34205 2011-08-24 David S. Miller <davem@davemloft.net>
34207 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
34209 2011-08-24 Andreas Schwab <schwab@redhat.com>
34211 * elf/Makefile: Add rules to build and run unload8 test.
34212 * elf/unload8.c: New file.
34213 * elf/unload8mod1.c: New file.
34214 * elf/unload8mod1x.c: New file.
34215 * elf/unload8mod2.c: New file.
34216 * elf/unload8mod3.c: New file.
34218 * elf/dl-close.c (_dl_close_worker): Reset private search list if
34221 2011-08-23 David S. Miller <davem@davemloft.net>
34223 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
34224 subtract stack bias.
34225 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
34226 %sp not %fp in calculations.
34227 (_JMPBUF_UNWINDS_ADJ): Likewise.
34229 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
34230 (aio_suspend): Call it to force an exception region around the
34231 AIO_MISC_WAIT() invocation.
34233 2011-08-23 Andreas Schwab <schwab@redhat.com>
34235 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
34238 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
34240 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
34242 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
34243 and <dl-machine.h>.
34244 (Elf64_FuncDesc): Remove.
34246 2011-08-22 David S. Miller <davem@davemloft.net>
34248 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
34249 sigaltstack check, add missing cfi directives.
34250 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
34251 missing cfi directives, and sigaltstack handling.
34253 2011-08-16 Andreas Schwab <schwab@redhat.com>
34256 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
34257 object is seen twice.
34258 * elf/dl-fini.c (_dl_sort_fini): Likewise.
34260 * elf/Makefile (distribute): Add tst-initorder2.c.
34261 (tests): Add tst-initorder2.
34262 (modules-names): Add tst-initorder2a tst-initorder2b
34263 tst-initorder2c tst-initorder2d. Add rules to build them.
34264 ($(objpfx)tst-initorder2.out): New rule.
34265 * elf/tst-initorder2.c: New file.
34266 * elf/tst-initorder2.exp: New file.
34268 2011-08-22 Andreas Schwab <schwab@redhat.com>
34270 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
34272 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
34273 dependencies back to end of function.
34275 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
34276 $(elfobjdir)/ld.so.
34278 2011-08-21 Ulrich Drepper <drepper@gmail.com>
34280 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
34281 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
34282 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
34283 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
34284 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
34285 of __vdso_gettimeofday.
34286 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
34287 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
34289 (_libc_vdso_platform_setup): Remove initialization of
34290 __vdso_gettimeofday and __vdso_time.
34292 2011-08-20 Ulrich Drepper <drepper@gmail.com>
34294 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
34295 and fgetc_unlocked.
34296 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
34299 * elf/dl-open.c (add_to_global): Report additions to the global scope
34300 for LD_DEBUG=scopes.
34301 (dl_open_worker): Also print scope of newly loaded dependencies.
34302 (_dl_show_scope): Indicate if there is no scope.
34305 * stdio-common/Makefile (tests): Add bug24.
34306 * stdio-common/bug24.c: New file.
34308 2011-08-19 Andreas Jaeger <aj@suse.de>
34311 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
34312 non-existant file when using close-on-exec mode.
34314 2011-08-20 Ulrich Drepper <drepper@gmail.com>
34316 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
34317 the very first instruction.
34319 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
34320 the CFI state in the end.
34321 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
34322 inclusion of dl-trampoline.h.
34323 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
34325 2011-08-19 Andreas Schwab <schwab@redhat.com>
34327 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
34328 expectations for long double.
34330 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
34331 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
34333 2011-08-14 David S. Miller <davem@davemloft.net>
34335 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
34336 artificual limit depends upon the system page size.
34338 2011-08-17 Ulrich Drepper <drepper@gmail.com>
34340 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
34341 * resolv/Makefile: Define CFLAGS-libresolv.
34343 2011-08-17 Andreas Schwab <schwab@redhat.com>
34345 * nss/makedb.c (compute_tables): Make variables used in nested
34348 2011-08-17 Ulrich Drepper <drepper@gmail.com>
34350 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
34351 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
34352 if buffer was too small.
34354 * elf/pldd.c (main): Attach to all threads in the process.
34355 Rewrite /proc handling to use *at functions.
34357 2011-08-16 Ulrich Drepper <drepper@gmail.com>
34359 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
34360 specifies first scope to show.
34361 (dl_open_worker): Update callers. Move printing scope of new
34362 object to before the relocation.
34363 * elf/rtld.c (dl_main): Update _dl_show_scope call.
34364 * sysdeps/generic/ldsodefs.h: Update declaration.
34366 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
34367 string for the scope number.
34369 2011-08-14 Ulrich Drepper <drepper@gmail.com>
34371 * nscd/servicescache.c (cache_addserv): Make sure written is always
34374 2011-08-14 Roland McGrath <roland@hack.frob.com>
34376 * sysdeps/i386/i486/bits/atomic.h
34377 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
34378 statement expression, so as to suppress "set but not used" warning.
34379 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
34381 * string/strncat.c (STRNCAT): Use prototype definition.
34383 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
34384 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
34386 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
34387 (localedef-modules): Add localedef.
34388 (locale-modules): Add locale.
34390 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
34391 * elf/rtld.c (dl_main): Invert order of assignment in last change,
34392 to avoid a warning.
34394 2011-08-14 David S. Miller <davem@davemloft.net>
34396 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
34397 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
34399 2011-08-13 Ulrich Drepper <drepper@gmail.com>
34401 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
34402 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
34403 * elf/rtld.c (dl_main): Set l_name of vDSO.
34404 Call _dl_show_scope when DL_DEBUG_SCOPES.
34405 (process_dl_debug): Recognize scopes flag and also set it for all.
34406 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
34407 Declare _dl_show_scope.
34409 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
34410 (do_dlopen): Pass caller_dlopen to dl_open.
34411 (__libc_dlopen_mode): Initialize caller_dlopen.
34413 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
34414 of libc. Make tolower call locale-independent. Optimize a bit by
34415 using isdigit instead of isalnum.
34416 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
34418 2011-08-12 Ulrich Drepper <drepper@gmail.com>
34420 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
34421 was a dependency or dynamically loaded.
34423 2011-08-11 Ulrich Drepper <drepper@gmail.com>
34425 * intl/l10nflist.c: Allow architecture-specific pop function.
34426 * sysdeps/x86_64/l10nflist.c: New file.
34428 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
34431 2011-08-10 Andreas Schwab <schwab@redhat.com>
34433 * include/dirent.h: Add libc_hidden_proto for scandirat and
34434 scandirat64. Don't declare __scandirat64.
34435 * dirent/scandirat.c: Add libc_hidden_def.
34436 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
34437 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
34439 2011-08-10 David S. Miller <davem@davemloft.net>
34441 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
34443 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
34444 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
34445 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
34447 2011-08-09 Ulrich Drepper <drepper@gmail.com>
34449 * Versions.def [libc]: Add GLIBC_2.15.
34450 * dirent/Makefile (routines): Add scandirat and scandirat64.
34451 * dirent/Versions [libc]: Export scandirat and scandirat64 for
34453 * dirent/dirent.h: Declare scandirat and scandirat64.
34454 * dirent/scandirat.c: New file.
34455 * dirent/scandirat64.c: New file.
34456 * sysdeps/wordsize-64/scandirat.c: New file.
34457 * sysdeps/wordsize-64/scandirat64.c: New file.
34458 * dirent/opendir.c: Define opendirat.
34459 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
34461 * dirent/scandir64.c: Adjust for scandir.c change.
34462 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
34463 __scandirat64, and __scandir_cancel_handler.
34464 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
34465 additional parameter and use openat instead of open (outside of ld.so).
34466 Add new __opendir as wrapper around __opendirat.
34467 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
34468 here without requiring old scandirat implementation.
34470 2011-08-08 Ulrich Drepper <drepper@gmail.com>
34472 * dirent/scandir.c (cancel_handler): Renamed to
34473 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
34474 defined. Adjust users.
34475 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
34476 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
34478 2011-08-04 Ulrich Drepper <drepper@gmail.com>
34480 * string/test-string.h (IMPL): Use __STRING to expand name and then
34483 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
34486 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34488 * string/Makefile: Update.
34489 (strop-tests): Append strncat.
34490 * string/test-wcscmp.c: New file.
34491 New comprehensive test for wcscmp.
34492 * string/test-strcmp.c: Update.
34493 (WIDE): New define.
34495 2011-07-22 Andreas Schwab <schwab@redhat.com>
34497 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
34500 2011-07-26 Andreas Schwab <schwab@redhat.com>
34502 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
34503 encoding to ACE if AI_IDN.
34505 2011-08-01 Jakub Jelinek <jakub@redhat.com>
34507 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
34508 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
34510 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
34512 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
34513 Fix overflow bug in strncat.
34514 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
34516 * string/test-strncat.c: Update.
34517 Add new tests for checking overflow bugs.
34519 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
34521 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34522 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
34523 * sysdeps/i386/i686/multiarch/strcat.S: New file.
34524 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
34525 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
34526 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
34527 * sysdeps/i386/i686/multiarch/strncat.S: New file.
34528 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
34529 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
34531 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
34532 (USE_AS_STRCAT): Define.
34533 Add strcat and strncat support.
34534 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
34536 2011-07-25 Andreas Schwab <schwab@redhat.com>
34538 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
34539 __n bigger than INT_MAX+1.
34540 (__strncmp_g): Likewise.
34542 2011-07-23 Ulrich Drepper <drepper@gmail.com>
34544 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
34545 * libio/stido.h: Likewise.
34547 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
34549 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
34552 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
34553 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
34554 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
34555 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
34556 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
34559 * scripts/test-installation.pl: Don't expect libnss_test1 to be
34562 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
34564 (_dl_x86_64_save_sse): Likewise.
34566 2011-07-22 Ulrich Drepper <drepper@gmail.com>
34568 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
34570 (_dl_x86_64_save_sse): Likewise.
34572 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
34574 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
34576 2011-07-21 Andreas Schwab <schwab@redhat.com>
34578 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
34580 (_dl_x86_64_save_sse): Use correct AVX check.
34582 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34584 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
34585 bug in strncpy/strncat.
34586 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
34588 2011-07-21 Ulrich Drepper <drepper@gmail.com>
34590 * string/tester.c (test_strcat): Add tests for different alignments
34591 of source and destination.
34592 (test_strncat): Likewise.
34594 2011-07-20 Ulrich Drepper <drepper@gmail.com>
34597 * posix/glob.c (glob): Check passed in values before using them in
34598 expressions to avoid some overflows.
34599 (glob_in_dir): Likewise.
34602 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
34603 check for AVX enablement so that we don't crash with old kernels and
34605 * elf/tst-audit4.c: Add same checks here.
34606 * elf/tst-audit6.c: Likewise.
34608 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
34610 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
34612 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
34614 2011-07-20 Ulrich Drepper <drepper@gmail.com>
34616 * po/cs.po: Update from translation team.
34617 * po/bg.po: Likewise.
34619 2011-07-12 Marek Polacek <mpolacek@redhat.com>
34621 * misc/sys/cdefs.h: Add support for const attribute.
34622 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
34623 to gnu_dev_{major,minor,makedev} functions.
34625 2011-07-20 Marek Polacek <mpolacek@redhat.com>
34627 * intl/dcigettext.c (get_output_charset): Add missing bracket.
34629 2011-07-20 Andreas Schwab <schwab@redhat.com>
34631 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
34634 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34636 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
34637 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
34638 register in order to avoid conflicts with the soft frame pointer
34639 being held in r11 when necessary.
34640 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
34641 (INTERNAL_VSYSCALL_NCS): Likewise.
34643 2011-07-14 Marek Polacek <mpolacek@redhat.com>
34645 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
34646 * elf/dl-fini.c (_dl_fini): Adjust caller.
34647 * elf/dl-close.c (_dl_close_worker): Likewise.
34648 * sysdeps/generic/ldsodefs.h: Adjust declaration.
34650 2011-07-15 Marek Polacek <mpolacek@redhat.com>
34652 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
34653 "aux_cache->nlibs < 0".
34655 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
34656 in the reload-count case.
34658 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
34660 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34661 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
34662 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
34663 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
34664 * sysdeps/x86_64/multiarch/strcat.S: New file.
34665 * sysdeps/x86_64/multiarch/strncat.S: New file.
34666 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
34667 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
34668 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
34669 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
34670 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
34671 (USE_AS_STRCAT): Define.
34672 Add strcat and strncat support.
34673 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
34674 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
34675 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
34676 * string/strncat.c: Update.
34677 (USE_AS_STRNCAT): Define.
34678 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34679 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
34681 * sysdeps/x86_64/multiarch/init-arch.h
34682 (bit_Prefer_PMINUB_for_stringop): New.
34683 (index_Prefer_PMINUB_for_stringop): Likewise.
34684 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
34685 bit_Prefer_PMINUB_for_stringop.
34687 2011-07-19 Ulrich Drepper <drepper@gmail.com>
34689 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
34691 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
34692 of casting of buffer.
34693 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
34694 buffer32 and buffer64.
34695 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
34696 writes instead of casting of buffer.
34697 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
34699 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
34702 2011-07-19 Andreas Schwab <schwab@redhat.com>
34704 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
34706 2011-07-19 Ulrich Drepper <drepper@gmail.com>
34708 * nscd/nscd.c (termination_handler): Don't do anything for a database
34709 if it has not yet been initialized.
34711 2011-07-18 Ulrich Drepper <drepper@gmail.com>
34713 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
34715 2011-07-15 Marek Polacek <mpolacek@redhat.com>
34717 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
34719 2011-07-18 Ulrich Drepper <drepper@gmail.com>
34721 * po/nl.po: Update from translation team.
34722 * po/sv.po: Likewise.
34724 2011-07-16 Roland McGrath <roland@hack.frob.com>
34726 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
34727 now disallowed by GCC.
34729 * configure.in (use-default-link): Default to yes if a test -shared
34730 link meets our qualifications.
34731 * configure: Regenerated.
34733 * config.make.in (output-format): New variable.
34734 * configure.in: Check for ld --print-output-format support.
34735 * configure: Regenerated.
34736 * Makerules ($(common-objpfx)format.lds)
34737 [$(output-format) != unknown]: Just use $(output-format),
34738 instead of the linker-script munging.
34740 2011-07-14 Roland McGrath <roland@hack.frob.com>
34742 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
34743 of $(common-objpfx)shlib.lds.
34744 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
34746 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
34747 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
34749 * configure.in (-z relro check): Adjust test code to add a large
34750 writable data section after it.
34751 * configure: Regenerated.
34753 2011-07-11 Roland McGrath <roland@hack.frob.com>
34755 * configure.in (-z relro check): Fix test code to make the variable
34757 * configure: Regenerated.
34759 2011-07-11 Ulrich Drepper <drepper@gmail.com>
34761 * nscd/nscd.h (struct traced_file): Define.
34762 (struct database_dyn): Remove inotify_descr, reset_res, and filename
34763 elements. Add traced_files.
34764 (inotify_fd): Declare.
34765 (register_traced_file): Declare.
34766 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
34767 (inotify_fd): Export.
34768 (resolv_conf_descr): Remove.
34769 (nscd_init): Move inotify descriptor creation to main.
34770 Don't register files for notification here.
34771 (register_traced_file): New function.
34772 (invalidate_cache): Don't use reset_res to determine whether to call
34773 res_init, go through the list of registered files.
34774 (main_loop_poll): The inotify descriptors are now stored in the
34775 structures for the traced files.
34776 (main_loop_epoll): Likewise
34777 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
34778 to __nss_disable_nscd.
34779 * nscd/cache.c (prune_cache): There is no single inotify descriptor
34780 for a database anymore. Check the records for all the registered
34782 * nss/Makefile (libnss_files-routines): Add files-init.
34783 (libnss_db-routines): Add db-init.
34784 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
34785 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
34786 * nss/nss_db/db-init.c: New file.
34787 * nss/nss_files/files-init.c: New file.
34788 * nss/nsswitch.c (nss_load_library): New function. Broken out of
34789 __nss_lookup_function.
34790 (__nss_lookup_function): Call nss_load_library.
34791 (nss_load_all_libraries): New function.
34792 (__nss_disable_nscd): Take parameter with callback function for files
34793 to register. Set is_nscd. Load all the DSOs for the NSS modules
34794 used for the cached services.
34795 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
34796 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
34797 options for features to all the files in nscd.
34799 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
34801 2011-07-10 Roland McGrath <roland@hack.frob.com>
34803 * csu/elf-init.c (__libc_csu_init): Comment typo.
34805 2011-07-09 Ulrich Drepper <drepper@gmail.com>
34807 * po/pl.po: Update from translation team.
34808 * po/ja.po: Likewise.
34809 * po/ru.po: Likewise.
34810 * po/ko.po: Likewise.
34811 * po/fr.po: Likewise.
34813 2011-07-09 Roland McGrath <roland@hack.frob.com>
34815 * configure.in (.ctors/.dtors header and trailer check):
34816 Use an empirical test on a built program.
34817 * configure: Regenerated.
34819 * configure.in (-z relro check): Use an empirical test on a built DSO.
34820 Detect, but do not require, on ia64.
34821 * configure: Regenerated.
34823 * configure.in (READELF): Find it with AC_CHECK_TOOL.
34824 Update tests that use readelf to use $READELF instead.
34825 * configure: Regenerated.
34827 2011-07-08 Ulrich Drepper <drepper@gmail.com>
34829 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
34830 if the result is not used.
34832 2011-07-05 Andreas Jaeger <aj@suse.de>
34835 * stdlib/tst-strtod.c: Add testcase.
34837 2011-07-07 Ulrich Drepper <drepper@gmail.com>
34839 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
34840 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
34841 The latter has a higher limit. Take additional parameter to pass to
34843 (__pathconf): Pass file to __statfs_link_max.
34844 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
34846 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
34850 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
34851 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
34853 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
34854 (__statfs_filesize_max): Likewise.
34855 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
34857 2011-07-05 Andreas Jaeger <aj@suse.de>
34859 * resolv/res_comp.c (dn_skipname): Remove unused variable.
34861 2011-07-06 Marek Polacek <mpolacek@redhat.com>
34863 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
34865 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
34868 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
34870 * Makefile (strop-tests): Add strncat.
34871 * string/test-strncat.c: New file.
34873 2011-06-30 Marek Polacek <mpolacek@redhat.com>
34875 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
34877 2011-06-21 Andreas Jaeger <aj@suse.de>
34879 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
34880 Copy rule from iconvdata/Makefile.
34882 2011-07-06 Ulrich Drepper <drepper@gmail.com>
34885 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
34886 but no long options are defined, just return 'W'.
34888 2011-06-22 Marek Polacek <mpolacek@redhat.com>
34891 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
34893 2011-07-06 Ulrich Drepper <drepper@gmail.com>
34895 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
34897 (innetgr): Likewise.
34899 2011-07-05 Roland McGrath <roland@hack.frob.com>
34901 * config.make.in (install_root): Default to $(DESTDIR).
34903 2011-07-05 Ulrich Drepper <drepper@gmail.com>
34905 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
34907 2011-07-02 Roland McGrath <roland@hack.frob.com>
34909 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
34911 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
34912 containing directory rather than embedding absolute directory names.
34914 * scripts/check-local-headers.sh: Rewritten using awk.
34915 Match by word, not by line. Print error messages for matches.
34916 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
34918 * Makerules [shlib-lds-flags empty]:
34919 ($(common-objpfx)libc_pic.opts): New target.
34920 ($(common-objpfx)libc_pic.os.clean): New target.
34921 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
34923 * config.make.in (OBJCOPY): New variable.
34924 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
34925 * configure: Regenerated.
34927 * config.make.in (use-default-link): New variable.
34928 * configure.in (use_default_link): Grok --with-default-link to set it.
34929 * configure: Regenerated.
34930 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
34931 (shlib-lds, shlib-lds-flags): Define to empty.
34933 * Makerules (shlib-lds): New variable.
34934 (shlib-lds-flags): New variable.
34935 (build-shlib, build-moduile, build-module-asneeded): Use it.
34936 ($(common-objpfx)libc.so): Use $(shlib-lds).
34937 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
34938 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
34940 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
34941 DT_FLAGS/DT_FLAGS_1 with zero flags.
34943 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
34944 linker script munging.
34946 2011-07-02 Ulrich Drepper <drepper@gmail.com>
34948 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
34950 * crypt/sha512.c (sha512_process_block): Perform total addition using
34951 128-bit if possible.
34952 (__sha512_finish_ctx): Likewise.
34953 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
34955 * crypt/sha256.c (SWAP64): Define.
34956 (sha256_process_block): Perform total addition using 64-bit if
34958 (__sha256_finish_ctx): Likewise.
34960 2011-07-01 Ulrich Drepper <drepper@gmail.com>
34962 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
34963 * nscd/initgrcache.c (addinitgroupsX): Likewise.
34964 * nscd/hstcache.c (cache_addhst): Likewise.
34965 * nscd/grpcache.c (cache_addgr): Likewise.
34966 * nscd/aicache.c (addhstaiX): Likewise
34967 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
34969 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
34971 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
34972 * nscd/initgrcache.c (addinitgroupsX): Likewise.
34973 * nscd/hstcache.c (cache_addhst): Likewise.
34974 * nscd/grpcache.c (cache_addgr): Likewise.
34975 * nscd/aicache.c (addhstaiX): Likewise
34977 2011-07-01 Andreas Schwab <schwab@redhat.com>
34979 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
34980 domain only when needed.
34982 2011-06-30 Andreas Schwab <schwab@redhat.com>
34984 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
34985 is always restored.
34987 2011-06-29 Ulrich Drepper <drepper@gmail.com>
34989 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
34990 are re-adding the entry.
34991 * nscd/servicescache.c (cache_addserv): Likewise.
34993 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
34995 * sysdeps/generic/dl-irel.h: fix protection against multiple
34997 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
34999 2011-06-28 Ulrich Drepper <drepper@gmail.com>
35002 * malloc/memusage.sh: Fix quoting in message.
35003 * debug/xtrace.sh: Likewise.
35005 * configure.in: Remove support for --experimental-malloc option, make
35007 * config.make.in: Likewise.
35008 * malloc/Makefile: Likewise.
35010 2011-06-27 Andreas Schwab <schwab@redhat.com>
35012 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
35013 two-byte characters.
35015 2011-06-27 Roland McGrath <roland@hack.frob.com>
35017 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
35018 AC_CACHE_CHECK invocation.
35019 * configure: Regenerated.
35021 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
35023 2011-06-27 Ulrich Drepper <drepper@gmail.com>
35026 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
35027 bit from old_res_options.
35029 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
35031 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
35032 value type for setfct.
35034 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
35036 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
35037 __gettimeofday instead of gettimeofday.
35039 2011-06-26 Ulrich Drepper <drepper@gmail.com>
35041 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
35043 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
35045 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
35047 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
35050 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
35052 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
35053 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
35054 strcpy-sse2-unaligned strncpy-sse2-unaligned
35055 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
35056 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
35057 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
35058 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
35059 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
35060 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
35061 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
35062 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
35063 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
35064 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
35065 (STRCPY): Support SSE2 and SSSE3 versions.
35067 2011-06-24 Ulrich Drepper <drepper@gmail.com>
35070 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
35071 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
35072 kernels which artificially limit size of requests.
35074 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
35076 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35077 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
35078 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
35079 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
35080 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
35081 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
35082 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
35083 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
35084 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
35085 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
35086 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
35087 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
35088 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
35089 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
35090 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
35091 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35092 Enable unaligned load optimization for Intel Core i3, i5 and i7
35094 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
35096 (index_Fast_Unaligned_Load): Define.
35097 (HAS_FAST_UNALIGNED_LOAD): Define.
35099 2011-06-23 Marek Polacek <mpolacek@redhat.com>
35101 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
35103 2011-06-22 Ulrich Drepper <drepper@gmail.com>
35106 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
35107 until it is clear that the information is realy needed.
35108 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
35110 2011-06-22 Andreas Schwab <schwab@redhat.com>
35112 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
35114 2011-06-22 Ulrich Drepper <drepper@gmail.com>
35116 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
35117 /sys/devices/system/cpu/online if it is usable.
35119 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
35120 reading the information from the /proc filesystem to once a second.
35122 2011-06-21 Andreas Jaeger <aj@suse.de>
35124 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
35125 NULL after inclusion of kernel headers.
35127 2011-06-21 Ulrich Drepper <drepper@gmail.com>
35129 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
35130 calls to internal_setent.
35133 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
35134 addresses using gethostbyname4_r ignore IPv4 addresses.
35136 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
35137 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
35139 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
35141 2011-06-20 David S. Miller <davem@davemloft.net>
35143 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
35145 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
35147 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
35148 (elf_irel): Use it.
35149 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
35150 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
35151 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
35152 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
35153 * sysdeps/x86_64/dl-irel.h: Likewise.
35155 * elf/dl-runtime.c: Use elf_ifunc_invoke.
35156 * elf/dl-sym.c: Likewise.
35158 2011-06-15 Ulrich Drepper <drepper@gmail.com>
35160 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
35161 need to dereference resplen2.
35163 2011-06-14 Andreas Schwab <schwab@redhat.com>
35165 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
35167 2011-06-15 Ulrich Drepper <drepper@gmail.com>
35169 * Makeconfig: Define vardbdir and inst_vardbdir.
35170 * nss/Makefile: Add rules to install db-Makefile.
35172 * nss/nss_db/db-XXX.c: Cleanup.
35174 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
35175 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
35177 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
35178 * nss/makedb.c: Implement -g option to specify that value strings
35179 are generated and should not be added to table iterated over for
35181 * nss/nss_db/db-initgroups.c: New file.
35183 * nss/getent.c: Add support for initgroups lookups through getgrouplist
35186 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
35187 (internal_getgrouplist): Adjust to name change.
35188 Update use_initgroups_entry if this is not the first call.
35189 * nss/databases.def: Add initgroups entry.
35191 * nss/makedb.c (compute_tables): Check result of multiple hash table
35192 sizes to minimize maximum chain length.
35194 2011-06-14 Ulrich Drepper <drepper@gmail.com>
35196 * Versions.def: Add entry for libnss_db.
35197 * shlib-versions: Likewise.
35198 * nss/Makefile: Add rules to build libnss_db.
35199 * nss/Versions: Add libnss_db information. Organize libnss_files
35201 * nss/db-Makefile: Add gshadow support. Change rules for the new
35202 makedb progra. Some minor improvements to generate smaller files.
35203 * nss/nss_db/nss_db.h: Move NSS database header data structures to
35205 * nss/makedb.c: ...here.
35206 Improve database format to be smaller and require less memory at
35208 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
35210 * nss/nss_db/db-netgrp.c: Likewise.
35211 * nss/nss_db/db-open.c: Likewise.
35212 * nss/nss_files/flies-XXX.x: Adjust comments.
35213 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
35214 * nss/nss_files/files-grp.c: Likewise.
35215 * nss/nss_files/files-hosts.c: Likewise.
35216 * nss/nss_files/files-network.c: Likewise.
35217 * nss/nss_files/files-proto.c: Likewise.
35218 * nss/nss_files/files-pwd.c: Likewise.
35219 * nss/nss_files/files-rpc.c: Likewise.
35220 * nss/nss_files/files-service.c: Likewise.
35221 * nss/nss_files/files-sgrp.c: Likewise.
35222 * nss/nss_files/files-spwd.c: Likewise.
35223 * nss/nss_db/db-alias.c: Removed.
35224 * nss/nss_db/dummy-db.h: Removed.
35226 2011-06-02 Ulrich Drepper <drepper@gmail.com>
35228 * nss/makedb.c: Rewritten to not use database library.
35229 * nss/Makefile: Update to build new makedb program.
35231 2011-06-14 Andreas Jaeger <aj@suse.de>
35233 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
35234 memset declaration.
35236 2011-06-10 Andreas Schwab <schwab@redhat.com>
35238 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
35241 2011-06-10 Roland McGrath <roland@hack.frob.com>
35243 * Makerules (shlib.lds): Fail if the linker script comes out empty.
35244 * elf/Makefile ($(objpfx)ld.so): Likewise.
35246 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
35247 Don't list ld.so twice in dependencies.
35249 * posix/bug-regex31.c: Include <stdlib.h>.
35251 * nscd/hstcache.c (cache_addhst): Remove unused variable.
35253 * nis/nss_compat/compat-spwd.c
35254 (getspent_next_nss_netgr): Remove unused variable.
35255 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
35257 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
35258 nonmembers" output to use the right array.
35260 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
35262 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
35264 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
35265 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
35266 * catgets/gencat.c (read_input_file): Likewise.
35267 * locale/programs/locarchive.c (enlarge_archive): Likewise.
35269 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
35270 variable definition inside #if's controlling its use.
35272 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
35274 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
35276 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
35278 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
35281 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
35283 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
35284 * configure: Regenerated.
35286 * Makerules: Revert last change.
35287 * elf/Makefile: Likewise.
35289 2011-06-09 Roland McGrath <roland@hack.frob.com>
35291 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
35292 * elf/Makefile ($(objpfx)librtld.os): Likewise.
35293 (reloc-link): Likewise.
35295 2011-06-09 Ulrich Drepper <drepper@gmail.com>
35297 * elf/Makefile: Add rules to build pldd.
35298 * elf/pldd.c: New file.
35299 * elf/pldd-xx.c: New file.
35301 2011-06-07 Ulrich Drepper <drepper@gmail.com>
35303 * version.h: Update for 2.15 development version.
35305 2011-06-07 David S. Miller <davem@davemloft.net>
35307 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
35309 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
35310 elf_machine_lazy_rel): Likewise.
35311 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
35312 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
35313 elf_machine_lazy_rel): Likewise.
35314 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
35315 dl_hwcap via passed in argument.
35316 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
35319 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35321 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
35323 2011-06-06 Roland McGrath <roland@hack.frob.com>
35326 * manual/fdl-1.1.texi: New file, verbatim from:
35327 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
35328 * manual/lgpl-2.1.texi: New file, verbatim from:
35329 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
35330 * manual/Makefile (licenses): New variable, list those new file names.
35332 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
35334 * manual/fdl.texi: File removed.
35335 * manual/lesser.texi: File removed.
35336 * manual/libc.texinfo (Copying, Documentation License):
35337 Use new @include file names, put @appendix directive before @include.
35339 2011-06-04 Jakub Jelinek <jakub@redhat.com>
35342 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
35343 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
35344 (mq_open): Add __NTH.
35346 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
35348 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35349 Assume Intel Core i3/i5/i7 processor if AVX is available.
35351 2011-05-31 Ulrich Drepper <drepper@gmail.com>
35353 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
35356 2011-05-31 Andreas Schwab <schwab@redhat.com>
35358 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
35359 memory. Use alloca_account. Fix memory leak when retrying.
35361 2011-05-31 Ulrich Drepper <drepper@gmail.com>
35363 * version.h (RELEASE): Bump for 2.14 release.
35364 * include/features.h (__GLIBC_MINOR__): Bump to 14.
35366 * config.make.in (RANLIB): Remove entry.
35368 2011-05-30 Ulrich Drepper <drepper@gmail.com>
35370 * po/Makefile (po-sed-cmd): Add ksh to extensions.
35371 (libc.pot): Work around missing support for .ksh extension in xgettext.
35374 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
35375 if both request failed.
35376 (send_dg): In case of server errors clear resplen or *resplen2.
35379 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
35380 when there are multiple maps.
35381 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
35382 (_dl_fini): Remove test here.
35384 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
35386 2011-05-29 Ulrich Drepper <drepper@gmail.com>
35389 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
35390 bit from old_res_options.
35391 (gaih_inet): Likewise.
35394 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
35397 * resolv/res_init.c (res_setoptions): Make the code more compact.
35400 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
35404 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
35406 * malloc/malloc.h: Mark malloc hook variables as deprecated.
35409 * malloc/malloc.h: Declare malloc hook variables as volatile.
35411 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
35415 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
35416 raise in the comment.
35417 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
35418 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
35419 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
35421 2011-05-28 Ulrich Drepper <drepper@gmail.com>
35424 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
35425 grow the buffers more if it already has to be sufficient.
35426 (build_wcs_upper_buffer): Likewise.
35427 * posix/regexec.c (check_matching): Likewise.
35428 (clean_state_log_if_needed): Likewise.
35429 (extend_buffers): Don't enlarge buffers beyond size of the input
35431 Patches mostly by Emil Wojak <emil@wojak.eu>.
35432 * posix/bug-regex32.c: New file.
35433 * posix/Makefile (tests): Add bug-regex32.
35435 * locale/findlocale.c (_nl_find_locale): Return right away if
35436 _nl_explode_name failed.
35437 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
35439 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
35441 * debug/xtrace.sh: Unify messages.
35442 * malloc/memusage.sh: Likewise.
35445 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
35446 time symbol from vDSO. Substitute with vsyscall if not available.
35447 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
35450 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
35451 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
35452 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
35453 Add sendmmsg and internal_sendmmsg.
35454 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
35455 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
35456 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
35458 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
35459 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
35460 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
35462 2011-05-27 Ulrich Drepper <drepper@gmail.com>
35465 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
35466 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
35468 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
35472 * iconvdata/Makefile (tests): Add bug-iconv9.
35473 * iconvdata/bug-iconv9.c: New file.
35475 2011-05-27 Andreas Schwab <schwab@redhat.com>
35478 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
35480 2011-05-25 Jakub Jelinek <jakub@redhat.com>
35482 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
35483 (struct user_regs_struct): Change intcs field back to cs.
35485 2011-05-25 Ulrich Drepper <drepper@gmail.com>
35487 * po/ja.po: Update from translation team.
35489 2011-05-23 Ulrich Drepper <drepper@gmail.com>
35492 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
35493 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
35495 2011-05-20 Andreas Schwab <schwab@redhat.com>
35497 * stdlib/longlong.h: Update from GCC.
35499 2011-05-23 Andreas Schwab <schwab@redhat.com>
35501 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
35503 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
35504 Add parameter name.
35505 (__sysconf): Pass it down.
35507 2011-05-22 Ulrich Drepper <drepper@gmail.com>
35510 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
35512 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
35513 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
35514 add in in __libc_use_alloca calls. Adjust callers.
35515 (glob): Use malloc in some situations.
35517 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
35518 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
35521 2011-05-21 Ulrich Drepper <drepper@gmail.com>
35523 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
35524 and CLOCK_BOOTTIME_ALARM.
35527 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
35530 * string/_strerror.c (__strerror_r): Print negative errors as signed
35534 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
35535 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
35536 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
35538 * configure.in: Fix typo in redirection and correct removal of test
35539 files in two cases.
35542 * locale/setlocale.c (new_composite_name): Fix test to check for
35543 identical name of all categories.
35546 * libio/filedoalloc.c (local_isatty): New function.
35547 (_IO_file_doallocate): Use local_isatty.
35548 * stdio-common/perror.c (perror): In case a new stream is used
35549 forward the stream error.
35550 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
35553 2011-05-20 Ulrich Drepper <drepper@gmail.com>
35556 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
35558 * include/alloca.h (extend_alloca_account): Define.
35561 * posix/regex.h: Fix comments with documentation of user-accessible
35562 fields after compilation and describe correct free'ing of pattern
35563 after re_compile_pattern.
35564 Patch by Reuben Thomas <rrt@sc3d.org>.
35566 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
35568 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
35569 and -mno-altivec to prevent the compiler from using Altivec and/or
35570 VSX instructions when the corresponding registers are not available.
35572 2011-05-19 Andreas Schwab <schwab@redhat.com>
35574 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
35576 2011-05-19 Ulrich Drepper <drepper@gmail.com>
35578 * libio/freopen.c (freopen): Use __dup2, not dup2.
35579 * libio/freopen64.c (freopen64): Likewise.
35581 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
35584 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
35585 * math/Makefile (tests): Add test-powl.
35586 (CFLAGS-test-powl.c): Define.
35587 * math/test-powl.c: New file.
35589 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
35591 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
35593 2011-05-17 Ulrich Drepper <drepper@gmail.com>
35596 * iconvdata/gb18030.c: Update to GB18020-2005.
35598 2011-05-16 Ulrich Drepper <drepper@gmail.com>
35600 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
35601 RE_SYNTAX_POSIX_AWK): Update to match recent development.
35602 Patch by Aharon Robbins <arnold@skeeve.com>.
35605 * stdlib/putenv.c (putenv): Don't always create copy of the variable
35609 * misc/pselect.c (__pselect): Handle timeout value errors hidden
35610 through underflows.
35613 * misc/error.c (error_at_line): Ensure file_name and old_file_name
35614 point to strings before performing equality test for error_one_per_line
35618 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
35621 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
35622 (struct user_fpregs_struct): Avoid __uint*_t types.
35625 * malloc/mtrace.c (tr_where): Add additional parameter to point to
35626 symbol info. Use it instead of calling _dl_addr locally.
35627 (lock_and_info): New function.
35628 (tr_freehook): Call lock_and_info and pass symbol info as additional
35629 parameter to tr_where.
35630 (tr_mallochook): Likewise.
35631 (tr_reallochook): Likewise.
35632 (tr_memalignhook): Likewise.
35634 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
35635 used and couldn't be at all thread-safe.
35637 2011-05-15 Ulrich Drepper <drepper@gmail.com>
35639 * libio/freopen.c (freopen): Don't close old file descriptor
35640 before the new one is opened. Instead dup the new file descriptor
35641 to the old one after the new stream is created.
35642 * libio/freopen64.c (freopen64): Likewise.
35643 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
35644 * libio/fileops.c (_IO_new_file_close_it): Handle new
35645 _IO_FLAGS2_NOCLOSE flag.
35646 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
35647 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
35648 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
35649 _IO_FLAGS2_NOCLOSE flag.
35650 * include/unistd.h: Add hidden_proto for dup3.
35651 Define __have_dup3.
35652 * io/dup3.c: Define hidden symbol.
35653 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
35656 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
35657 when an incomplete long option is used.
35658 * posix/tst-getopt_long1.c: New file.
35659 * posix/Makefile (tests): Add tst-getopt_long1.
35662 * scripts/config.guess: Update from autoconf-2.68.
35663 * scripts/config.sub: Likewise.
35666 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
35668 (has_cpuclock): ...this. New function.
35669 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
35670 macro here based on has_cpuclock code.
35673 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
35674 First byte (not low byte) is now always NUL.
35675 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
35677 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
35678 Use non-cancelable interfaces.
35681 * locale/iso-639.def: Add entry for Sorani.
35684 * include/stdlib.h: Move include protection to the right place.
35685 Define abort_msg_s. Declare __abort_msg with it.
35686 * stdlib/abort.c (__abort_msg): Adjust type.
35687 * assert/assert.c (__assert_fail_base): New function. Majority
35688 of code from __assert_fail. Allocate memory for __abort_msg with
35690 (__assert_fail): Now call __assert_fail_base.
35691 * assert/assert-perr.c: Remove bulk of implementation. Use
35692 __assert_fail_base.
35693 * include/assert.hL Declare __assert_fail_base.
35694 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
35696 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
35698 2011-05-14 Ulrich Drepper <drepper@gmail.com>
35702 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
35703 until all modules are registered in the DTV.
35704 * elf/Makefile: Add rules to build and run tst-tls19.
35705 * elf/tst-tls19.c: New file.
35706 * elf/tst-tls19mod1.c: New file.
35707 * elf/tst-tls19mod2.c: New file.
35708 * elf/tst-tls19mod3.c: New file.
35709 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
35712 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
35716 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
35717 two-byte sequence errors.
35718 * iconvdata/Makefile (tests): Add bug-iconv8.
35719 * iconvdata/bug-iconv8.c: New file.
35722 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
35725 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
35728 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
35729 (dummy_getcfa): New function.
35730 (init): Get _Unwind_GetCFA address, use dummy if not found.
35731 (backtrace_helper): In recursion check, also check whether CFA changes.
35732 (__backtrace): Completely initialize arg.
35734 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
35735 storing incomplete byte sequence in state object. Avoid testing for
35736 guaranteed too small input if we know there is enough data available.
35738 2011-05-11 Andreas Schwab <schwab@redhat.com>
35740 * Makeconfig (+link-pie): Indent.
35741 * Rules (binaries-pie): Define if $(have-fpie) and
35743 (binaries-shared): Also filter out $(binaries-pie).
35744 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
35745 * nscd/Makefile (others-pie): Add nscd.
35746 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
35747 ($(objpfx)nscd): Remove command override.
35748 * login/Makefile (others-pie): Add pt_chown.
35749 ($(objpfx)pt_chown): Remove command override.
35750 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
35751 remove command overrides.
35753 2011-05-13 Ulrich Drepper <drepper@gmail.com>
35755 * libio/tst_putwc.c: Fix error messages.
35758 * libio/fileops.c (_IO_new_file_close_it): Always flush when
35759 currently writing and seek to current position when not.
35760 * libio/Makefile (tests): Add bug-fclose1.
35761 * libio/bug-fclose1.c: New file.
35763 2011-05-12 Ulrich Drepper <drepper@gmail.com>
35766 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
35767 don't set DF_1_NODELETE here.
35768 (do_lookup_x): When entering new entry test for copy relocation
35769 and if necessary set DF_1_NODELETE flag.
35770 * elf/tst-unique4.cc: New file.
35771 * elf/tst-unique4.h: New file.
35772 * elf/tst-unique4lib.cc: New file.
35773 * elf/Makefile: Add rules to build and run tst-unique4.
35774 Patch by Piotr Bury <pbury@goahead.com>.
35776 2011-05-11 Ulrich Drepper <drepper@gmail.com>
35779 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
35782 * misc/mntent_r.c (addmntent): Flush the stream after the output
35785 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
35786 (is_trusted_path_normalize): Skip initial colon. Append slash
35787 to empty buffer. Duplicate is_trusted_path code but allow
35788 constructed patch to be prefix.
35789 (is_dst): Allow $ORIGIN followed by /.
35790 (_dl_dst_substitute): Correct clearing of check_for_trusted.
35791 Correct testing of result of is_trusted_path_normalize
35792 (decompose_rpath): Fix warning.
35794 2011-05-10 Ulrich Drepper <drepper@gmail.com>
35797 * grp/initgroups.c (internal_getgrouplist): When we found the service
35798 list through the initgroups entry in nsswitch.conf do not always
35799 continue on a successful lookup. Don't always use the
35800 __nss_group_database value if it is set.
35801 * nss/nsswitch.conf (initgroups): Change action for successful db
35802 lookup to continue for compatibility.
35804 2011-05-09 Ulrich Drepper <drepper@gmail.com>
35807 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
35809 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
35811 * iconvdata/tst-tables.sh: Likewise.
35812 * iconvdata/cp770.c: New file.
35813 * iconvdata/cp771.c: New file.
35814 * iconvdata/cp772.c: New file.
35815 * iconvdata/cp773.c: New file.
35816 * iconvdata/cp774.c: New file.
35817 * iconvdata/testdata/CP770: New file.
35818 * iconvdata/testdata/CP770..UTF8: New file.
35819 * iconvdata/testdata/CP771: New file.
35820 * iconvdata/testdata/CP771..UTF8: New file.
35821 * iconvdata/testdata/CP772: New file.
35822 * iconvdata/testdata/CP772..UTF8: New file.
35823 * iconvdata/testdata/CP773: New file.
35824 * iconvdata/testdata/CP773..UTF8: New file.
35825 * iconvdata/testdata/CP774: New file.
35826 * iconvdata/testdata/CP774..UTF8: New file.
35828 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
35830 * iconvdata/gen-8bit-gap.sh: Likewise.
35831 * iconvdata/gen-8bit.sh: Likewise.
35833 * locale/iso-639.def: Add ary entry.
35836 * locale/C-translit.h.in: Add U20A1 transliteration.
35839 * locale/iso-639.def: Add wae entry.
35840 Patch by Kevin Bortis <bortis@translate-wae.ch>.
35843 * locale/programs/localedef.c (construct_output_path): Use ssize_t
35847 * locale/C-translit.h.in: Add entry for U20B9.
35848 Patch by pravin.d.s@gmail.com.
35850 2011-05-08 Ulrich Drepper <drepper@gmail.com>
35853 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
35854 ENAMETOOLONG use generic getcwd.
35855 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
35856 in rtld. Use *stat64.
35857 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
35858 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
35859 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
35860 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
35861 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
35862 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
35863 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
35864 __fstatat64 macros.
35865 * include/dirent.h: Add libc_hidden_proto for rewinddir.
35866 * dirent/rewinddir.c: Add libc_hidden_def.
35867 * sysdeps/mach/hurd/rewinddir.c: Likewise.
35868 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
35870 * include/dirent.h (__alloc_dir): Add flags parameter.
35871 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
35872 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
35874 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
35875 from fdopendir if O_CLOEXEC is already set.
35877 2011-03-15 Alan Modra <amodra@gmail.com>
35879 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
35880 l_tls_firstbyte_offset non-zero. Save padding offset in
35881 l_tls_firstbyte_offset for later use.
35882 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
35883 freeing static tls block.
35885 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
35887 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
35888 where #ifdef was intended. The intent is to prevent ARG_MAX from
35889 being defined by the kernel headers.
35891 2011-05-07 Ulrich Drepper <drepper@gmail.com>
35894 * resolv/resolv.h: Define RES_NOTLDQUERY.
35895 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
35896 no-tld-query and set RES_NOTLDQUERY.
35897 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
35898 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
35899 modern BIND to search name as TLD unless forbidden.
35901 2011-05-07 Petr Baudis <pasky@suse.cz>
35902 Ulrich Drepper <drepper@gmail.com>
35905 * elf/dl-load.c (fillin_rpath): Move trusted path check...
35906 (is_trusted_path): ...to here.
35907 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
35908 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
35909 using is_trusted_path_normalize() in setuid scripts.
35911 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
35913 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
35914 __BEGIN/__END_DECLS.
35916 2011-05-06 Ulrich Drepper <drepper@gmail.com>
35918 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
35919 NSS_STATUS_NOTFOUND if no record was found.
35921 2011-05-05 Andreas Schwab <schwab@redhat.com>
35923 * sunrpc/Makefile (headers): Add rpc/netdb.h.
35924 (headers-not-in-tirpc): Remove rpc/netdb.h
35925 * resolv/netdb.h: Revert last change.
35927 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
35929 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
35930 circular dependency between libgcc.a and libc.a.
35932 2011-05-05 Andreas Schwab <schwab@redhat.com>
35934 * resolv/netdb.h: Don't include <rpc/netdb.h>.
35935 * nis/Makefile: Don't install rpcsvc/*.
35936 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
35937 instead of <rpc/types.h>.
35938 (MAXHOSTNAMELEN): Define.
35940 2011-05-03 Andreas Schwab <schwab@redhat.com>
35942 * elf/ldconfig.c (add_dir): Don't crash on empty path.
35944 2011-04-28 Maciej Babinski <mbabinski@google.com>
35947 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
35948 gethostbyname4_r when IPv6 results are possible.
35950 2011-05-02 Ulrich Drepper <drepper@gmail.com>
35953 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
35954 _PC_PIPE_BUF handling.
35956 2011-04-30 Bruno Haible <bruno@clisp.org>
35959 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
35960 * resolv/netdb.h (getnameinfo): Change type of flags parameter
35962 * inet/getnameinfo.c (getnameinfo): Likewise.
35964 2011-04-29 Ulrich Drepper <drepper@gmail.com>
35966 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
35967 to groups setting in database lookup.
35968 * nss/nsswitch.conf: Add initgroups entry.
35970 2011-04-22 Ulrich Drepper <drepper@gmail.com>
35973 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
35975 Patch by Eric Blake <eblake@redhat.com>.
35977 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
35979 * sunrpc/Makefile (need-export-routines): Add svc_run.
35980 (routines): Remove svc_run.
35981 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
35982 * sunrpc/clnt_perr.c (clnt_perrno): Export.
35983 * sunrpc/svc_run.c (svc_run): Likewise.
35984 * sunrpc/svc_udp.c (svcudp_create): Likewise.
35986 2011-04-21 Ulrich Drepper <drepper@gmail.com>
35988 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
35989 problem in reallocation in last patch.
35991 2011-04-20 Ulrich Drepper <drepper@gmail.com>
35993 * sunrpc/Makefile: Move inclusion of Rules.
35995 2011-04-19 Ulrich Drepper <drepper@gmail.com>
35997 * nss/nss_files/files-initgroups.c: New file.
35998 * nss/Makefile (libnss_files-routines): Add files-initgroups.
35999 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
36000 _nss_files_initgroups_dyn.
36002 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
36004 * elf/elf.h (R_ARM_IRELATIVE): Define.
36006 2011-04-19 Ulrich Drepper <drepper@gmail.com>
36008 * po/ru.po: Update from translation team.
36010 2011-04-17 Ulrich Drepper <drepper@gmail.com>
36012 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
36015 2011-02-06 Mike Frysinger <vapier@gentoo.org>
36018 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
36019 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
36020 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
36021 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
36022 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
36024 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
36026 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
36028 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
36029 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
36030 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
36032 2011-04-17 Ulrich Drepper <drepper@gmail.com>
36035 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
36037 * stdlib/bug-getcontext.c: New file.
36038 * stdlib/Makefile: Add rules to build and run bug-getcontext.
36040 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36042 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
36043 instructions into .machine "z9-109".
36044 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
36045 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
36047 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36049 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
36050 between environment variables and auxiliary vector.
36052 2011-04-16 Ulrich Drepper <drepper@gmail.com>
36054 * Makefile: Add rules to build linkobj/libc.so.
36055 * include/libc-symbols.h: Define libc_hidden_nolink.
36056 * include/rpc/auth.h: Mark functions which are to be hidden.
36057 * include/rpc/auth_des.h: Likewise.
36058 * include/rpc/auth_unix.h: Likewise.
36059 * include/rpc/clnt.h: Likewise.
36060 * include/rpc/des_crypt.h: Likewise.
36061 * include/rpc/key_prot.h: Likewise.
36062 * include/rpc/pmap_clnt.h: Likewise.
36063 * include/rpc/pmap_prot.h: Likewise.
36064 * include/rpc/pmap_rmt.h: Likewise.
36065 * include/rpc/rpc_msg.h: Likewise.
36066 * include/rpc/svc.h: Likewise.
36067 * include/rpc/svc_auth.h: Likewise.
36068 * include/rpc/xdr.h: Likewise.
36069 * nis/Makefile: Link all DSOs against linkobj/libc.so.
36070 * nss/Makefile: Likewise.
36071 * sunrpc/Makefile: Don't install headers. Build library with normal
36072 entry points. Don't build rpcinfo. Link RPC tests appropriately.
36073 * sunrpc/auth_des.c: Hide exported symbols by default, export some
36074 for the compat linking library. Remove use of INTDEF/INTUSE.
36075 * sunrpc/auth_none.c: Likewise.
36076 * sunrpc/auth_unix.c: Likewise.
36077 * sunrpc/authdes_prot.c: Likewise.
36078 * sunrpc/authuxprot.c: Likewise.
36079 * sunrpc/clnt_gen.c: Likewise.
36080 * sunrpc/clnt_perr.c: Likewise.
36081 * sunrpc/clnt_raw.c: Likewise.
36082 * sunrpc/clnt_simp.c: Likewise.
36083 * sunrpc/clnt_tcp.c: Likewise.
36084 * sunrpc/clnt_udp.c: Likewise.
36085 * sunrpc/clnt_unix.c: Likewise.
36086 * sunrpc/des_crypt.c: Likewise.
36087 * sunrpc/des_soft.c: Likewise.
36088 * sunrpc/get_myaddr.c: Likewise.
36089 * sunrpc/key_call.c: Likewise.
36090 * sunrpc/key_prot.c: Likewise.
36091 * sunrpc/netname.c: Likewise.
36092 * sunrpc/pm_getmaps.c: Likewise.
36093 * sunrpc/pm_getport.c: Likewise.
36094 * sunrpc/pmap_clnt.c: Likewise.
36095 * sunrpc/pmap_prot.c: Likewise.
36096 * sunrpc/pmap_prot2.c: Likewise.
36097 * sunrpc/pmap_rmt.c: Likewise.
36098 * sunrpc/publickey.c: Likewise.
36099 * sunrpc/rpc_cmsg.c: Likewise.
36100 * sunrpc/rpc_common.c: Likewise.
36101 * sunrpc/rpc_dtable.c: Likewise.
36102 * sunrpc/rpc_prot.c: Likewise.
36103 * sunrpc/rpc_thread.c: Likewise.
36104 * sunrpc/rtime.c: Likewise.
36105 * sunrpc/svc.c: Likewise.
36106 * sunrpc/svc_auth.c: Likewise.
36107 * sunrpc/svc_authux.c: Likewise.
36108 * sunrpc/svc_raw.c: Likewise.
36109 * sunrpc/svc_run.c: Likewise.
36110 * sunrpc/svc_simple.c: Likewise.
36111 * sunrpc/svc_tcp.c: Likewise.
36112 * sunrpc/svc_udp.c: Likewise.
36113 * sunrpc/svc_unix.c: Likewise.
36114 * sunrpc/svcauth_des.c: Likewise.
36115 * sunrpc/xcrypt.c: Likewise.
36116 * sunrpc/xdr.c: Likewise.
36117 * sunrpc/xdr_array.c: Likewise.
36118 * sunrpc/xdr_float.c: Likewise.
36119 * sunrpc/xdr_intXX_t.c: Likewise.
36120 * sunrpc/xdr_mem.c: Likewise.
36121 * sunrpc/xdr_rec.c: Likewise.
36122 * sunrpc/xdr_ref.c: Likewise.
36123 * sunrpc/xdr_sizeof.c: Likewise.
36124 * sunrpc/xdr_stdio.c: Likewise.
36126 2011-04-10 Ulrich Drepper <drepper@gmail.com>
36129 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
36130 * sysdeps/ia64/dl-tls.h: Likewise.
36131 * sysdeps/powerpc/dl-tls.h: Likewise.
36132 * sysdeps/s390/dl-tls.h: Likewise.
36133 * sysdeps/sh/dl-tls.h: Likewise.
36134 * sysdeps/sparc/dl-tls.h: Likewise.
36135 * sysdeps/x86_64/dl-tls.h: Likewise.
36136 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
36138 2011-03-14 Andreas Schwab <schwab@redhat.com>
36140 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
36141 rpath element also skip the following colon.
36142 (expand_dynamic_string_token): Add is_path parameter and pass
36143 down to DL_DST_REQUIRED and _dl_dst_substitute.
36144 (decompose_rpath): Call expand_dynamic_string_token with
36145 non-zero is_path. Ignore empty rpaths.
36146 (_dl_map_object_from_fd): Call expand_dynamic_string_token
36149 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
36151 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
36154 2011-04-09 Ulrich Drepper <drepper@gmail.com>
36157 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
36158 Patch by Filipe David Manana <fdmanana@apache.org>.
36160 2011-04-07 Andreas Schwab <schwab@redhat.com>
36162 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
36163 Maintain aligned stack.
36164 (CHECK_RSP): Remove unused macro.
36166 2011-04-03 Ulrich Drepper <drepper@gmail.com>
36168 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
36169 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
36171 2011-04-02 Ulrich Drepper <drepper@gmail.com>
36173 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
36175 * include/features.h: Mention __USE_XOPEN2K8 in comment.
36177 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
36180 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
36181 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
36182 * sysdeps/x86_64/memmove.c: New file.
36183 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
36184 (memcpy): Renamed to ...
36185 (__new_memcpy): This.
36186 (memcpy): Provide GLIBC_2_14 memcpy.
36187 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
36188 (memcpy): Provide GLIBC_2_2_5 memcpy.
36190 2011-04-01 Ulrich Drepper <drepper@gmail.com>
36193 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
36195 2011-03-30 Andreas Schwab <schwab@redhat.com>
36197 * misc/syncfs.c: New file.
36198 * misc/Makefile (routines): Add syncfs.
36199 * posix/unistd.h: Declare syncfs.
36200 * sysdeps/unix/syscalls.list: Add syncfs.
36202 2011-04-01 Andreas Schwab <schwab@redhat.com>
36204 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
36206 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
36207 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
36208 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36209 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
36210 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36211 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
36212 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
36214 2011-04-01 Ulrich Drepper <drepper@gmail.com>
36216 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
36217 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
36218 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
36219 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36220 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
36221 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36222 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
36224 * io/Makefile: Compile fallocate.c, fallocate64.c, and
36225 sync_file_range.c with -fexceptions.
36226 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
36227 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
36228 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
36229 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
36230 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
36231 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
36232 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
36233 sync_file_range as cancellation point
36234 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
36235 now a wrapper around __call_sync_file_range with cancellation handling.
36236 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
36237 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
36238 function name to __call_sync_file_range.
36239 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
36240 Add call_sync_file_range.
36242 2011-04-01 Andreas Schwab <schwab@redhat.com>
36244 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36247 2011-04-01 Ulrich Drepper <drepper@gmail.com>
36249 * iconv/iconv.h: Fix typo in comment.
36250 * io/fcntl.h: Likewise.
36251 * libio/stdio.h: Likewise.
36252 * posix/spawn.h: Likewise.
36253 * posix/unistd.h: Likewise.
36254 * stdlib/stdlib.h: Likewise.
36255 * time/time.h: Likewise.
36256 * wcsmbs/wchar.h: Likewise.
36258 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
36259 open_by_handle): Add.
36260 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
36261 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
36262 Augment a few comments.
36263 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
36264 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36265 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
36266 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36267 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
36268 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
36271 * io/fcntl.h (AT_EMPTY_PATH): Define.
36273 2011-03-30 Ulrich Drepper <drepper@gmail.com>
36275 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
36276 * sysdeps/unix/sysv/linux/bits/time.h: New file.
36277 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
36279 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
36280 * Versions.def: Add GLIBC_2.14.
36281 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
36284 2011-03-22 Ulrich Drepper <drepper@gmail.com>
36286 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
36288 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
36290 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
36293 * string/test-strncmp.c (do_page_test): New function.
36294 (check2): Likewise.
36295 (test_main): Call check2.
36296 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
36298 2011-03-20 Ulrich Drepper <drepper@gmail.com>
36301 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
36302 Handle cache information in CPU leaf 4.
36303 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
36305 2011-03-18 Ulrich Drepper <drepper@gmail.com>
36308 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
36309 character representation.
36310 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
36312 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
36314 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
36315 END(__isnan) to END(__isnanf) to match function entry point/label
36316 EALIGN(__isnanf,...).
36318 2011-03-10 Jakub Jelinek <jakub@redhat.com>
36320 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
36322 2011-03-10 Ulrich Drepper <drepper@gmail.com>
36325 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
36326 copy from the symbol referenced in the relocation to initialize the
36328 Patch by Piotr Bury <pbury@goahead.com>.
36329 * elf/Makefile: Add rules to build and tst-unique3.
36330 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
36331 * elf/tst-unique3.cc: New file.
36332 * elf/tst-unique3.h: New file.
36333 * elf/tst-unique3lib.cc: New file.
36334 * elf/tst-unique3lib2.cc: New file.
36336 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
36338 2011-03-10 Mike Frysinger <vapier@gentoo.org>
36340 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
36341 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
36344 2011-03-06 Ulrich Drepper <drepper@gmail.com>
36346 * elf/dl-load.c (_dl_map_object): If we are looking for the first
36347 to-be-loaded object along a path to loader is ld.so.
36349 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
36350 Ulrich Drepper <drepper@gmail.com>
36352 * sysdeps/x86_64/memset.S: After aligning destination, code
36353 branches to different locations depending on the value of
36354 misalignment, when multiarch is enabled. Fix this.
36356 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
36358 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
36359 Set _x86_64_preferred_memory_instruction for AMD processsors.
36360 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36361 Set bit_Prefer_SSE_for_memop for AMD processors.
36363 2011-03-04 Ulrich Drepper <drepper@gmail.com>
36365 * libio/fmemopen.c (fmemopen): Optimize a bit.
36367 2011-03-03 Andreas Schwab <schwab@redhat.com>
36369 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
36371 2011-03-03 Roland McGrath <roland@redhat.com>
36373 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
36375 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
36377 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
36378 __bzero_ultra1 instead of __memset_ultra1.
36380 2011-02-23 Andreas Schwab <schwab@redhat.com>
36381 Ulrich Drepper <drepper@gmail.com>
36384 * include/link.h (struct link_map): Add l_orig_initfini.
36385 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
36386 returning unsuccessfully.
36387 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
36388 close of a file loaded at startup, restore the original l_initfini
36390 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
36391 list, store the pointer.
36392 * elf/Makefile ($(objpfx)noload-mem): New rule.
36393 (noload-ENV): Define.
36394 (tests): Add $(objpfx)noload-mem.
36395 * elf/noload.c: Include <memcheck.h>.
36396 (main): Call mtrace. Close all opened handles.
36398 2011-02-17 Andreas Schwab <schwab@redhat.com>
36401 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
36402 dependencies are missing.
36404 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
36406 Fix __if_freereq crash: Unlike the generic version which uses free,
36408 * sysdeps/mach/hurd/ifreq.h: New file.
36410 2011-01-27 Petr Baudis <pasky@suse.cz>
36411 Ulrich Drepper <drepper@gmail.com>
36414 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
36415 to extend_alloca().
36416 * stdio-common/bug23.c: New file.
36417 * stdio-common/Makefile (tests): Add bug23.
36419 2010-09-28 Andreas Schwab <schwab@redhat.com>
36420 Ulrich Drepper <drepper@gmail.com>
36423 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
36424 before performing relro protection. At old place add assertion
36425 to make sure nothing changed.
36427 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
36428 Glauber de Oliveira Costa <glommer@gmail.com>
36430 * elf/elf.h: Add new ARM TLS relocs.
36432 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
36434 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
36435 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
36437 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
36439 * sysdeps/wordsize-64/tst-writev.c: New file.
36441 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
36443 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
36444 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
36445 insns in _dl_start to prevent a TOC reference before relocs are
36448 2011-02-15 Ulrich Drepper <drepper@gmail.com>
36451 * Makeconfig: Remove RANLIB definition.
36452 * Makerules: Don't use RANLIB.
36453 * aclocal.m4: Remove ranlib test.
36454 * configure.in: No need to check for ranlib.
36455 * elf/rtld-Rules: Don't use RANLIB.
36457 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
36459 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
36461 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
36462 inclusion protection macro.
36464 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
36465 SIGRTMIN and SIGRTMAX and print information in that case only when
36466 SIGRTMIN is defined.
36468 2011-02-11 Jakub Jelinek <jakub@redhat.com>
36470 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
36471 arginfo fn returning -1.
36473 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
36474 and thousands string is zero terminated.
36476 2011-02-03 Andreas Schwab <schwab@redhat.com>
36478 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
36479 sysdeps/unix/sysv/linux/bits/socket.h.
36481 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
36483 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
36484 (__CPU_COUNT): Remove old macros.
36485 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
36486 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
36487 (__CPU_ALLOC, __CPU_FREE): Add macros.
36488 (__sched_cpualloc, __sched_cpufree): Add declarations.
36490 2011-02-05 Ulrich Drepper <drepper@gmail.com>
36492 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
36493 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
36494 * nscd/aicache.c (addhstaiX): Return timeout of added value.
36495 (readdhstai): Return value of addhstaiX call.
36496 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
36497 (addgrbyX): Return value returned by cache_addgr.
36498 (readdgrbyname): Return value returned by addgrbyX.
36499 (readdgrbygid): Likewise.
36500 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
36501 (addpwbyX): Return value returned by cache_addpw.
36502 (readdpwbyname): Return value returned by addhstbyX.
36503 (readdpwbyuid): Likewise.
36504 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
36505 (addservbyX): Return value returned by cache_addserv.
36506 (readdservbyname): Return value returned by addservbyX:
36507 (readdservbyport): Likewise.
36508 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
36509 (addhstbyX): Return value returned by cache_addhst.
36510 (readdhstbyname): Return value returned by addhstbyX.
36511 (readdhstbyaddr): Likewise.
36512 (readdhstbynamev6): Likewise.
36513 (readdhstbyaddrv6): Likewise.
36514 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
36515 (readdinitgroups): Return value returned by addinitgroupsX.
36516 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
36517 (prune_cache): Keep track of timeout value of re-added entries.
36518 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
36519 * nscd/nscd.h: Adjust prototypes of readd* functions.
36521 2011-02-04 Roland McGrath <roland@redhat.com>
36523 * nis/nis_server.c (nis_servstate): Use the right name for 0.
36524 (nis_stats): Likewise.
36525 * nis/nis_modify.c (nis_modify): Likewise.
36526 * nis/nis_remove.c (nis_remove): Likewise.
36527 * nis/nis_add.c (nis_add): Likewise.
36529 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
36531 * posix/fnmatch_loop.c: Add some consts.
36533 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
36535 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
36538 * config.make.in (config-cflags-novzeroupper): Define.
36539 * configure.in: Substitute libc_cv_cc_novzeroupper.
36540 * elf/Makefile (AVX-CFLAGS): Define.
36541 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
36542 (CFLAGS-tst-auditmod4a.c): Likewise.
36543 (CFLAGS-tst-auditmod4b.c): Likewise.
36544 (CFLAGS-tst-auditmod6b.c): Likewise.
36545 (CFLAGS-tst-auditmod6c.c): Likewise.
36546 (CFLAGS-tst-auditmod7b.c): Likewise.
36547 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
36549 2011-02-02 Ulrich Drepper <drepper@gmail.com>
36551 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
36552 function to the callback.
36553 Patch partly by Jiri Olsa <jolsa@redhat.com>.
36555 2011-02-02 Andreas Schwab <schwab@redhat.com>
36557 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
36560 2011-01-19 Ulrich Drepper <drepper@gmail.com>
36563 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
36565 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
36567 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
36570 * elf/Makefile: Add rules to build and run new test.
36571 * elf/tst-initorder.c: New file.
36572 * elf/tst-initorder.exp: New file.
36573 * elf/tst-initordera1.c: New file.
36574 * elf/tst-initordera2.c: New file.
36575 * elf/tst-initordera3.c: New file.
36576 * elf/tst-initordera4.c: New file.
36577 * elf/tst-initorderb1.c: New file.
36578 * elf/tst-initorderb2.c: New file.
36579 * elf/tst-order-a1.c: New file.
36580 * elf/tst-order-a2.c: New file.
36581 * elf/tst-order-a3.c: New file.
36582 * elf/tst-order-a4.c: New file.
36583 * elf/tst-order-b1.c: New file.
36584 * elf/tst-order-b2.c: New file.
36585 * elf/tst-order-main.c: New file.
36586 New test case by George Gensure <werkt0@gmail.com>.
36588 2010-10-01 Andreas Schwab <schwab@redhat.com>
36590 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
36591 decoding ACE if AI_CANONIDN.
36593 2011-01-18 Ulrich Drepper <drepper@gmail.com>
36595 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
36597 2011-01-17 Ulrich Drepper <drepper@gmail.com>
36599 * version.h (RELEASE): Bump for 2.13 release.
36600 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
36602 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
36604 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
36606 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
36607 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
36608 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
36609 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
36610 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
36611 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
36613 * posix/getconf.c: Update copyright year.
36614 * catgets/gencat.c: Likewise.
36615 * csu/version.c: Likewise.
36616 * debug/catchsegv.sh: Likewise.
36617 * debug/xtrace.sh: Likewise.
36618 * elf/ldconfig.c: Likewise.
36619 * elf/ldd.bash.in: Likewise.
36620 * elf/sprof.c (print_version): Likewise.
36621 * iconv/iconv_prog.c: Likewise.
36622 * iconv/iconvconfig.c: Likewise.
36623 * locale/programs/locale.c: Likewise.
36624 * locale/programs/localedef.c: Likewise.
36625 * malloc/memusage.sh: Likewise.
36626 * malloc/mtrace.pl: Likewise.
36627 * nscd/nscd.c (print_version): Likewise.
36628 * nss/getent.c: Likewise.
36630 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
36631 PF_CAIF, and PF_ALG.
36632 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
36634 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
36636 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
36637 (modules-names): Use them.
36638 (ifunc-test-modules, ifunc-pie-tests): Define.
36639 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
36640 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
36641 (test-extras): Likewise.
36642 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
36643 $(compile-command.c).
36644 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
36645 (all-built-dso): Define.
36646 (check-textrel.out, check-execstack.out): Depend on it.
36648 * configure.in: Don't override --enable-multi-arch.
36650 2011-01-15 Ulrich Drepper <drepper@gmail.com>
36653 * nscd/hstcache.c (tryagain): Define.
36654 (cache_addhst): Return tryagain not notfound for temporary errors.
36655 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
36658 2011-01-14 Ulrich Drepper <drepper@gmail.com>
36661 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
36662 to make the syscall.
36663 * sysdeps/unix/sysv/linux/setgroups.c: New file.
36666 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
36667 and fall back to matching as normal character if the string ends before
36668 the matching ']' is found. This is what POSIX requires.
36669 * posix/testfnm.c: Adjust test result.
36670 * posix/globtest.sh: Adjust test result. Add new test.
36671 * posix/tst-fnmatch.input: Likewise.
36672 * posix/tst-fnmatch2.c: Add new test.
36674 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
36676 * elf/Makefile (check-execstack): Revert last change. Depend on
36678 (check-execstack.h): New target.
36679 (generated): Add check-execstack.h.
36680 * elf/check-execstack.c: Include "check-execstack.h".
36681 (main): Revert last change.
36682 (handle_file): Return zero if GNU_STACK is absent and
36683 DEFAULT_STACK_PERMS doesn't include PF_X.
36685 2011-01-13 Ulrich Drepper <drepper@gmail.com>
36687 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
36688 in child fails because the descriptor is already closed.
36689 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
36690 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
36691 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
36694 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
36698 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
36699 temporary buffer used to handle multi lookups locally.
36700 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
36702 2011-01-12 Ulrich Drepper <drepper@gmail.com>
36704 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
36707 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
36709 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
36710 alignment for SSE2.
36712 2011-01-12 Ulrich Drepper <drepper@gmail.com>
36715 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
36716 characters. When rounding increased number of integer digits recompute
36718 * stdio-common/tst-grouping.c: New file.
36719 * stdio-common/Makefile: Add rules to build and run tst-grouping.
36721 2011-01-09 Ulrich Drepper <drepper@gmail.com>
36723 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
36724 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
36726 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
36728 * bits/select.h: Likewise.
36730 2011-01-08 Ulrich Drepper <drepper@gmail.com>
36732 * po/ja.po: Update from translation team.
36734 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
36737 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
36738 implementation just like for lxstat, fxstatat, et al.
36740 2010-12-27 Jim Meyering <meyering@redhat.com>
36743 * posix/regexec.c (build_trtable): Return failure indication upon
36744 calloc failure. Otherwise, re_search_internal could infloop on OOM.
36746 2010-12-25 Ulrich Drepper <drepper@gmail.com>
36749 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
36750 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
36751 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
36752 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
36755 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
36758 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
36759 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
36761 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
36763 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
36764 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
36765 script has SORT_BY_INIT_PRIORITY.
36766 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
36767 NO_CTORS_DTORS_SECTIONS is defined.
36768 * elf/soinit.c: Likewise.
36769 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
36770 NO_CTORS_DTORS_SECTIONS is defined.
36771 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
36772 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
36773 * sysdeps/sh/init-first.c: Likewise.
36774 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
36776 2010-12-24 Ulrich Drepper <drepper@gmail.com>
36778 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
36779 always use the slow path.
36781 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
36783 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
36784 similar rule which adds the sysdep directories to the header search in
36785 order to pick up the correct platform stackinfo.h.
36786 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
36787 perform test if it is, otherwise return successfully without testing.
36788 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
36789 DEFAULT_STACK_PERMS define in stackinfo.h.
36790 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
36791 defined in stackinfo.h.
36792 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
36793 DEFAULT_STACK_PERMS defined in stackinfo.h.
36794 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
36795 * sysdeps/ia64/stackinfo.h: Likewise.
36796 * sysdeps/s390/stackinfo.h: Likewise.
36797 * sysdeps/sh/stackinfo.h: Likewise.
36798 * sysdeps/sparc/stackinfo.h: Likewise.
36799 * sysdeps/x86_64/stackinfo.h: Likewise.
36800 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
36801 PF_X for powerpc64. Retain PF_X for powerpc32.
36803 2010-12-19 Ulrich Drepper <drepper@gmail.com>
36805 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
36807 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
36808 GETDENTS_64BIT_ALIGNED.
36810 2010-12-14 Ulrich Drepper <dreper@gmail.com>
36812 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
36814 2010-12-10 Andreas Schwab <schwab@redhat.com>
36816 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
36819 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
36820 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
36822 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
36823 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
36825 2010-12-09 Ulrich Drepper <drepper@gmail.com>
36828 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
36831 2010-12-09 Jakub Jelinek <jakub@redhat.com>
36833 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
36835 2010-12-03 Ulrich Drepper <drepper@gmail.com>
36837 * po/it.po: Update from translation team.
36839 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
36841 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
36844 2010-11-30 Ulrich Drepper <drepper@gmail.com>
36846 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
36848 2010-11-24 Andreas Schwab <schwab@redhat.com>
36850 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
36852 (gaih_getanswer_slice): Likewise.
36854 2010-10-20 Jakub Jelinek <jakub@redhat.com>
36856 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
36858 2010-05-31 Petr Baudis <pasky@suse.cz>
36861 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
36862 silently even in the chroot mode.
36864 2010-11-22 Ulrich Drepper <drepper@gmail.com>
36866 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
36867 last patch a bit. Pretty printing
36869 2010-05-31 Petr Baudis <pasky@suse.cz>
36872 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
36873 initialization of skip_initgroups_dyn.
36875 2010-11-19 Ulrich Drepper <drepper@gmail.com>
36877 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
36878 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
36880 2010-11-16 Ulrich Drepper <drepper@gmail.com>
36882 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
36884 2010-11-11 Andreas Schwab <schwab@redhat.com>
36886 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
36887 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
36888 (tst-fnmatch-ENV): Set MALLOC_TRACE.
36889 ($(objpfx)tst-fnmatch-mem): New rule.
36890 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
36891 * posix/tst-fnmatch.c (main): Call mtrace.
36893 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
36895 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36896 Support Intel processor model 6 and model 0x2c.
36898 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
36900 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
36903 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
36906 * string/test-strncasecmp.c (check_result): New function.
36907 (do_one_test): Use it.
36908 (check1): New function.
36909 (test_main): Use it.
36910 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
36911 Support strcasecmp and strncasecmp.
36913 2010-11-08 Ulrich Drepper <drepper@gmail.com>
36916 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
36917 * sysdeps/x86_64/bits/byteswap.h: Likewise.
36919 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
36921 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
36923 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
36925 * sysdeps/x86_64/multiarch/bzero.S: New file.
36926 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
36927 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
36928 * sysdeps/x86_64/multiarch/memset.S: New file.
36929 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
36930 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36931 Set bit_Prefer_SSE_for_memop for Intel processors.
36932 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
36934 (index_Prefer_SSE_for_memop): Define.
36935 (HAS_PREFER_SSE_FOR_MEMOP): Define.
36937 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
36939 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
36940 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
36942 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
36945 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
36946 (__x86_64_raw_data_cache_size_half): Likewise.
36947 (__x86_64_raw_shared_cache_size): Likewise.
36948 (__x86_64_raw_shared_cache_size_half): Likewise.
36950 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
36951 (__x86_64_raw_data_cache_size_half): Likewise.
36952 (__x86_64_raw_shared_cache_size): Likewise.
36953 (__x86_64_raw_shared_cache_size_half): Likewise.
36954 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
36955 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
36956 and __x86_64_raw_shared_cache_size_half. Round
36957 __x86_64_data_cache_size_half, __x86_64_data_cache_size
36958 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
36959 to multiple of 256 bytes.
36961 2010-11-03 Ulrich Drepper <drepper@gmail.com>
36964 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
36965 of inacessible symlinks. Verify result of symlink before returning it.
36966 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
36967 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
36969 2010-10-28 Erich Ritz <erichritz@gmail.com>
36971 * math/math.h (isinf): Fix typo in comment.
36973 2010-11-01 Ulrich Drepper <drepper@gmail.com>
36975 * po/da.po: Update from translation team.
36977 2010-10-26 Ulrich Drepper <drepper@gmail.com>
36979 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
36980 is added to the list.
36982 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36983 Ulrich Drepper <drepper@gmail.com>
36985 * elf/dl-object.c (_dl_new_object): Don't append the new object to
36986 the global list here. Move code to...
36987 (_dl_add_to_namespace_list): ...here. New function.
36988 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
36989 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
36990 * elf/dl-load.c (lose): Don't remove the element from the list.
36991 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
36992 (_dl_map_object): Likewise.
36994 2010-10-25 Ulrich Drepper <drepper@gmail.com>
36997 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
36998 into all bytes of SSE register.
36999 Patch by Richard Li <richardpku@gmail.com>.
37001 2010-10-24 Ulrich Drepper <drepper@gmail.com>
37004 * malloc/malloc.c (_int_free): Fill correct number of bytes when
37007 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
37009 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
37010 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
37011 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
37012 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
37013 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
37015 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
37017 2010-10-22 Andreas Schwab <schwab@redhat.com>
37019 * include/dlfcn.h (__RTLD_SECURE): Define.
37020 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
37021 mode & __RTLD_SECURE instead.
37022 (open_path): Rename preloaded parameter to secure.
37023 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
37024 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
37025 * elf/dl-deps.c (openaux): Likewise.
37026 * elf/rtld.c (struct map_args): Remove is_preloaded.
37027 (map_doit): Don't use it.
37028 (dl_main): Likewise.
37029 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
37030 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
37032 2010-09-09 Andreas Schwab <schwab@redhat.com>
37034 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
37035 (sysd-rules-targets): Remove duplicates.
37036 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
37037 rtld-%.$o dependency.
37039 2010-10-18 Andreas Schwab <schwab@redhat.com>
37041 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
37042 _dl_map_object do it.
37044 2010-10-19 Ulrich Drepper <drepper@gmail.com>
37046 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
37047 fast fma builtins, define the macros in the C99 standard.
37048 (FP_FAST_FMAF): Likewise.
37049 (FP_FAST_FMAL): Likewise.
37050 * sysdeps/x86_64/bits/mathdef.h: Likewise.
37052 * bits/mathdef.h: Update copyright year.
37053 * sysdeps/powerpc/bits/mathdef.h: Likewise.
37055 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
37057 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
37058 builtins, define the macros in the C99 standard.
37059 (FP_FAST_FMAF): Likewise.
37060 (FP_FAST_FMAL): Likewise.
37061 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
37063 (FP_FAST_FMAF): Likewise.
37065 2010-10-15 Jakub Jelinek <jakub@redhat.com>
37068 * math/libm-test.inc (fma_test): Some new testcases.
37069 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
37070 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
37071 y and infinite z. Do multiplication by C already in long double.
37072 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
37073 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
37074 y and infinite z. Do bitwise or of inexact bit into u.d.
37075 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
37076 * sysdeps/i386/fpu/s_fmaf.S: Removed.
37077 * sysdeps/i386/fpu/s_fma.S: Removed.
37078 * sysdeps/i386/fpu/s_fmal.S: Removed.
37080 2010-10-16 Jakub Jelinek <jakub@redhat.com>
37083 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
37084 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
37085 computation is not scheduled after fetestexcept. Fix value
37086 of minimum denormal long double.
37088 2010-10-14 Jakub Jelinek <jakub@redhat.com>
37091 * math/libm-test.inc (fma_test): Add some more tests.
37092 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
37095 2010-10-15 Andreas Schwab <schwab@redhat.com>
37097 * scripts/data/localplt-s390-linux-gnu.data: New file.
37098 * scripts/data/localplt-s390x-linux-gnu.data: New file.
37100 2010-10-13 Jakub Jelinek <jakub@redhat.com>
37103 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
37104 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
37106 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
37108 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
37109 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
37110 if one of x and y is very large and the other is subnormal.
37111 * sysdeps/s390/fpu/s_fmaf.c: New file.
37112 * sysdeps/s390/fpu/s_fma.c: New file.
37113 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
37114 * sysdeps/powerpc/fpu/s_fma.S: New file.
37115 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
37116 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
37117 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
37119 2010-10-12 Jakub Jelinek <jakub@redhat.com>
37122 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
37124 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
37125 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
37126 * sysdeps/i386/i686/multiarch/s_fma.c: Include
37127 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
37128 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
37129 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
37130 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
37132 2010-10-12 Ulrich Drepper <drepper@redhat.com>
37135 * posix/regcomp.c (parse_branch): One more memory leak plugged.
37136 * posix/bug-regex31.input: Add test case.
37138 2010-10-11 Ulrich Drepper <drepper@gmail.com>
37140 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
37141 * posix/bug-regex31.input: New file.
37144 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
37145 (parse_sub_exp): Fix last change, use postorder.
37147 * posix/bug-regex31.c: New file.
37148 * posix/Makefile: Add rules to build and run bug-regex31.
37150 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
37153 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
37156 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
37157 to have entries in sys_siglist.
37160 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
37163 2010-10-07 Jakub Jelinek <jakub@redhat.com>
37166 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
37167 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
37168 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
37169 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
37170 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
37171 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
37172 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
37173 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
37174 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
37175 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
37176 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
37177 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
37178 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
37179 * math/ftestexcept.c (fetestexcept): Likewise.
37180 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
37181 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
37182 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
37183 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
37184 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
37185 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
37186 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
37188 2010-10-11 Ulrich Drepper <drepper@gmail.com>
37191 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
37194 2010-10-06 Ulrich Drepper <drepper@gmail.com>
37196 * string/bug-strstr1.c: New file.
37197 * string/Makefile: Add rules to build and run bug-strstr1.
37199 2010-10-05 Eric Blake <eblake@redhat.com>
37202 * string/str-two-way.h (two_way_long_needle): Always clear memory
37203 when skipping input due to the shift table.
37205 2010-10-03 Ulrich Drepper <drepper@gmail.com>
37208 * malloc/mcheck.c: Handle large requests.
37211 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
37212 for strncmp and strncasecmp.
37213 * string/stratcliff.c: Add tests for strcmp and strncmp.
37214 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
37216 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
37218 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
37221 2010-09-30 Andreas Jaeger <aj@suse.de>
37223 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
37224 (CGROUP_SUPER_MAGIC): Define.
37225 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
37226 Handle btrfs and cgroup file systems.
37227 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
37230 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
37232 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
37233 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
37235 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37238 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
37239 trying to locate the ELF header.
37241 2010-09-27 Andreas Schwab <schwab@redhat.com>
37244 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
37245 Mask out sign-bit copies when constructing f_fsid.
37247 2010-09-24 Petr Baudis <pasky@suse.cz>
37249 * debug/stack_chk_fail_local.c: Add missing licence exception.
37250 * debug/warning-nop.c: Likewise.
37252 2010-09-15 Joseph Myers <joseph@codesourcery.com>
37254 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
37255 implementing getdents64 using getdents syscall, set d_type if
37256 __ASSUME_GETDENTS32_D_TYPE.
37258 2010-09-16 Andreas Schwab <schwab@redhat.com>
37260 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
37261 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
37263 2010-09-21 Ulrich Drepper <drepper@redhat.com>
37266 * posix/unistd.h: Undo change of feature selection for ftruncate from
37269 2010-09-20 Ulrich Drepper <drepper@redhat.com>
37271 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
37274 2010-09-20 Andreas Schwab <schwab@redhat.com>
37276 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
37278 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
37280 2010-09-14 Andreas Schwab <schwab@redhat.com>
37282 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
37283 variables after CHECK_SP call.
37284 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
37286 2010-09-13 Andreas Schwab <schwab@redhat.com>
37287 Ulrich Drepper <drepper@redhat.com>
37289 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
37290 re-relocationg ld.so.
37291 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
37292 _dl_init_paths call.
37293 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
37296 2010-09-14 Ulrich Drepper <drepper@redhat.com>
37298 * resolv/res_init.c (__res_vinit): Count the default server we added.
37300 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
37301 Ulrich Drepper <drepper@redhat.com>
37304 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
37305 (____longjmp_chk): Use %ebx for saving value across system call.
37308 2010-09-06 Andreas Schwab <schwab@redhat.com>
37310 * manual/Makefile: Don't mix pattern rules with normal rules.
37312 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
37314 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
37316 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
37317 * libio/iofopncook.c (_IO_cookie_init): Likewise.
37318 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
37319 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
37320 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
37323 2010-09-04 Ulrich Drepper <drepper@redhat.com>
37326 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
37327 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
37329 2010-09-02 Ulrich Drepper <drepper@redhat.com>
37331 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
37332 * sysdeps/x86_64/addmul_1.S: Likewise.
37333 * sysdeps/x86_64/lshift.S: Likewise.
37334 * sysdeps/x86_64/mul_1.S: Likewise.
37335 * sysdeps/x86_64/rshift.S: Likewise.
37336 * sysdeps/x86_64/sub_n.S: Likewise.
37337 * sysdeps/x86_64/submul_1.S: Likewise.
37339 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
37341 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
37342 Define __sched_param instead of SCHED_* and sched_param when
37343 <bits/sched.h> is included with __need_schedparam defined.
37344 * bits/sched.h [__need_schedparam]
37345 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
37346 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
37347 (__defined_schedparam): Define to 1.
37348 (__sched_param): New structure, identical to sched_param.
37349 (__need_schedparam): Undefine.
37351 2010-08-31 Mike Frysinger <vapier@gentoo.org>
37353 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
37354 (epoll_create1): Declare.
37356 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
37358 2010-08-31 Andreas Schwab <schwab@redhat.com>
37361 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
37362 shifting retval into place.
37364 2010-09-01 Ulrich Drepper <drepper@redhat.com>
37366 * nis/rpcsvc/nis.h: Update copyright notice.
37367 * nis/rpcsvc/nis.x: Likewise.
37368 * nis/rpcsvc/nis_callback.h: Likewise.
37369 * nis/rpcsvc/nis_callback.x: Likewise.
37370 * nis/rpcsvc/nis_object.x: Likewise.
37371 * nis/rpcsvc/nis_tags.h: Likewise.
37372 * nis/rpcsvc/yp.h: Likewise.
37373 * nis/rpcsvc/yp.x: Likewise.
37374 * nis/rpcsvc/ypupd.h: Likewise.
37375 * nis/yp_xdr.c: Likewise.
37376 * nis/ypupdate_xdr.c: Likewise.
37378 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
37379 mainly the body of pmap_getport. Add parameters to specify timeouts.
37380 (pmap_getport): Use __libc_rpc_getport.
37381 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
37382 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
37383 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
37385 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
37387 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
37390 2010-08-27 Roland McGrath <roland@redhat.com>
37392 * sysdeps/i386/i686/multiarch/Makefile
37393 (CFLAGS-varshift.c): New variable.
37395 2010-08-27 Ulrich Drepper <drepper@redhat.com>
37397 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
37398 * sysdeps/i386/i686/multiarch/varshift.c: New file.
37400 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
37402 * sysdeps/x86_64/strlen.S: Minimal code improvement.
37404 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
37406 * sysdeps/x86_64/strlen.S: Unroll the loop.
37407 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37408 strlen-sse2 strlen-sse2-bsf.
37409 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
37410 __strlen_no_bsf if bit_Slow_BSF is set.
37411 (__strlen_sse42): Removed.
37412 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
37413 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
37415 2010-08-25 Roland McGrath <roland@redhat.com>
37417 * sysdeps/x86_64/multiarch/varshift.S: File removed.
37418 * sysdeps/x86_64/multiarch/varshift.c: New file.
37419 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
37420 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
37421 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
37422 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
37424 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
37426 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37427 strlen-sse2 strlen-sse2-bsf.
37428 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
37429 __strlen_sse2_bsf if bit_Slow_BSF is unset.
37430 (__strlen_sse2): Removed.
37431 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
37432 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
37433 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
37434 bit_Slow_BSF for Atom.
37435 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
37436 (index_Slow_BSF): Define.
37437 (HAS_SLOW_BSF): Define.
37439 2010-08-25 Ulrich Drepper <drepper@redhat.com>
37442 * resolv/res_init.c (__res_vinit): When no server address at all
37443 is given default to loopback.
37445 2010-08-24 Roland McGrath <roland@redhat.com>
37447 * configure.in: Remove config-name.h generation.
37448 * configure: Regenerated.
37449 * config-name.in: File removed.
37450 * scripts/config-uname.sh: New file.
37451 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
37452 ($(objdir)config-name.h): New target.
37454 * sunrpc/rpc_parse.h: Avoid nested comment.
37456 2010-08-24 Richard Henderson <rth@redhat.com>
37457 Ulrich Drepper <drepper@redhat.com>
37458 H.J. Lu <hongjiu.lu@intel.com>
37460 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
37461 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
37462 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
37463 Replace _mm_srli_si128 with __m128i_shift_right. Replace
37464 _mm_alignr_epi8 with _mm_loadu_si128.
37465 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
37466 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
37467 (__m128i_shift_right): Removed.
37468 * sysdeps/i386/i686/multiarch/varshift.h: New file.
37469 * sysdeps/i386/i686/multiarch/varshift.S: New file.
37470 * sysdeps/x86_64/multiarch/varshift.h: New file.
37471 * sysdeps/x86_64/multiarch/varshift.S: New file.
37473 2010-08-21 Mike Frysinger <vapier@gentoo.org>
37475 * configure.in: Move assembler checks to before sysdep dir checking.
37477 2010-08-20 Petr Baudis <pasky@suse.cz>
37479 * LICENSES: Sync the sunrpc license.
37481 2010-08-19 Ulrich Drepper <drepper@redhat.com>
37483 * sunrpc/auth_des.c: Update copyright notice once again.
37484 * sunrpc/auth_none.c: Likewise.
37485 * sunrpc/auth_unix.c: Likewise.
37486 * sunrpc/authdes_prot.c: Likewise.
37487 * sunrpc/authuxprot.c: Likewise.
37488 * sunrpc/bindrsvprt.c: Likewise.
37489 * sunrpc/clnt_gen.c: Likewise.
37490 * sunrpc/clnt_perr.c: Likewise.
37491 * sunrpc/clnt_raw.c: Likewise.
37492 * sunrpc/clnt_simp.c: Likewise.
37493 * sunrpc/clnt_tcp.c: Likewise.
37494 * sunrpc/clnt_udp.c: Likewise.
37495 * sunrpc/clnt_unix.c: Likewise.
37496 * sunrpc/des_crypt.c: Likewise.
37497 * sunrpc/des_soft.c: Likewise.
37498 * sunrpc/get_myaddr.c: Likewise.
37499 * sunrpc/getrpcport.c: Likewise.
37500 * sunrpc/key_call.c: Likewise.
37501 * sunrpc/key_prot.c: Likewise.
37502 * sunrpc/openchild.c: Likewise.
37503 * sunrpc/pm_getmaps.c: Likewise.
37504 * sunrpc/pm_getport.c: Likewise.
37505 * sunrpc/pmap_clnt.c: Likewise.
37506 * sunrpc/pmap_prot.c: Likewise.
37507 * sunrpc/pmap_prot2.c: Likewise.
37508 * sunrpc/pmap_rmt.c: Likewise.
37509 * sunrpc/rpc/auth.h: Likewise.
37510 * sunrpc/rpc/auth_unix.h: Likewise.
37511 * sunrpc/rpc/clnt.h: Likewise.
37512 * sunrpc/rpc/des_crypt.h: Likewise.
37513 * sunrpc/rpc/key_prot.h: Likewise.
37514 * sunrpc/rpc/netdb.h: Likewise.
37515 * sunrpc/rpc/pmap_clnt.h: Likewise.
37516 * sunrpc/rpc/pmap_prot.h: Likewise.
37517 * sunrpc/rpc/pmap_rmt.h: Likewise.
37518 * sunrpc/rpc/rpc.h: Likewise.
37519 * sunrpc/rpc/rpc_des.h: Likewise.
37520 * sunrpc/rpc/rpc_msg.h: Likewise.
37521 * sunrpc/rpc/svc.h: Likewise.
37522 * sunrpc/rpc/svc_auth.h: Likewise.
37523 * sunrpc/rpc/types.h: Likewise.
37524 * sunrpc/rpc/xdr.h: Likewise.
37525 * sunrpc/rpc_clntout.c: Likewise.
37526 * sunrpc/rpc_cmsg.c: Likewise.
37527 * sunrpc/rpc_common.c: Likewise.
37528 * sunrpc/rpc_cout.c: Likewise.
37529 * sunrpc/rpc_dtable.c: Likewise.
37530 * sunrpc/rpc_hout.c: Likewise.
37531 * sunrpc/rpc_main.c: Likewise.
37532 * sunrpc/rpc_parse.c: Likewise.
37533 * sunrpc/rpc_parse.h: Likewise.
37534 * sunrpc/rpc_prot.c: Likewise.
37535 * sunrpc/rpc_sample.c: Likewise.
37536 * sunrpc/rpc_scan.c: Likewise.
37537 * sunrpc/rpc_scan.h: Likewise.
37538 * sunrpc/rpc_svcout.c: Likewise.
37539 * sunrpc/rpc_tblout.c: Likewise.
37540 * sunrpc/rpc_util.c: Likewise.
37541 * sunrpc/rpc_util.h: Likewise.
37542 * sunrpc/rpcinfo.c: Likewise.
37543 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
37544 * sunrpc/rpcsvc/key_prot.x: Likewise.
37545 * sunrpc/rpcsvc/klm_prot.x: Likewise.
37546 * sunrpc/rpcsvc/mount.x: Likewise.
37547 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
37548 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
37549 * sunrpc/rpcsvc/rex.x: Likewise.
37550 * sunrpc/rpcsvc/rstat.x: Likewise.
37551 * sunrpc/rpcsvc/rusers.x: Likewise.
37552 * sunrpc/rpcsvc/sm_inter.x: Likewise.
37553 * sunrpc/rpcsvc/spray.x: Likewise.
37554 * sunrpc/rpcsvc/yppasswd.x: Likewise.
37555 * sunrpc/rtime.c: Likewise.
37556 * sunrpc/svc.c: Likewise.
37557 * sunrpc/svc_auth.c: Likewise.
37558 * sunrpc/svc_authux.c: Likewise.
37559 * sunrpc/svc_raw.c: Likewise.
37560 * sunrpc/svc_run.c: Likewise.
37561 * sunrpc/svc_simple.c: Likewise.
37562 * sunrpc/svc_tcp.c: Likewise.
37563 * sunrpc/svc_udp.c: Likewise.
37564 * sunrpc/svc_unix.c: Likewise.
37565 * sunrpc/svcauth_des.c: Likewise.
37566 * sunrpc/xcrypt.c: Likewise.
37567 * sunrpc/xdr.c: Likewise.
37568 * sunrpc/xdr_array.c: Likewise.
37569 * sunrpc/xdr_float.c: Likewise.
37570 * sunrpc/xdr_mem.c: Likewise.
37571 * sunrpc/xdr_rec.c: Likewise.
37572 * sunrpc/xdr_ref.c: Likewise.
37573 * sunrpc/xdr_sizeof.c: Likewise.
37574 * sunrpc/xdr_stdio.c: Likewise.
37576 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
37579 2010-08-19 Andreas Schwab <schwab@redhat.com>
37581 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
37583 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
37585 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
37586 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
37587 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
37588 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
37589 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
37590 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
37591 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
37592 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
37593 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
37594 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
37595 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
37596 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
37597 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
37598 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
37600 2010-07-26 Anton Blanchard <anton@samba.org>
37602 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
37603 * malloc/arena.c (heap_trim): Likewise.
37605 2010-08-16 Ulrich Drepper <drepper@redhat.com>
37607 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
37609 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
37610 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
37612 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
37614 * sysdeps/i386/elf/Makefile: New file.
37616 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
37618 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
37619 from fanotify_init.
37620 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
37621 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
37623 2010-08-15 Ulrich Drepper <drepper@redhat.com>
37625 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
37627 * sysdeps/multiarch/strcmp.S: Likewise.
37629 2010-08-14 Ulrich Drepper <drepper@redhat.com>
37631 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
37632 strncase_l-nonascii.
37633 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
37634 Add strncase_l-ssse3.
37635 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
37636 * sysdeps/x86_64/strcmp.S: Likewise.
37637 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
37638 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
37639 * sysdeps/x86_64/strncase.S: New file.
37640 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
37641 * sysdeps/x86_64/strncase_l.S: New file.
37642 * string/Makefile (strop-tests): Add strncasecmp.
37643 * string/test-strncasecmp.c: New file.
37645 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
37648 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
37649 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
37651 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
37653 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
37655 2010-08-12 Ulrich Drepper <drepper@redhat.com>
37657 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
37658 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
37659 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
37661 2010-05-01 Alan Modra <amodra@gmail.com>
37663 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
37664 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
37665 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
37666 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
37667 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
37668 tidying. Don't tail-call __sigjmp_save for static lib.
37669 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
37671 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
37672 (CALL_MCOUNT): Add eh info, and nop after bl.
37673 (TAIL_CALL_SYSCALL_ERROR): New macro.
37674 (PSEUDO_RET): Use it.
37675 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
37676 Correct save location of integer regs and cr.
37677 (_dl_profile_resolve): Correct cr save location. Delete nops
37678 after bl when SHARED. Reduce cfi size a little by better
37679 placement of cfi directives.
37680 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
37681 make a stack frame. Instead use parm save area as a temp.
37682 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
37683 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
37684 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
37685 Don't make a stack frame for parent, use parm save area.
37686 Increase child stack frame to 112 bytes. Don't save unused reg,
37687 and adjust reg usage. Set up cfi on error recovery and
37688 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
37689 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
37690 (__makecontext): Add dummy nop after jump to exit.
37691 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
37692 Use correct parm save area and cr save, reduce stack frame.
37693 Correct cfi for possible PSEUDO_RET frame setup.
37694 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
37695 Branch to local label emitted by PSEUDO_RET rather than
37698 2010-08-12 Andreas Schwab <schwab@redhat.com>
37701 * locale/programs/locale.c (print_assignment): New function.
37702 (show_locale_vars): Use it.
37704 2010-08-11 Ulrich Drepper <drepper@redhat.com>
37706 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
37708 (struct statfs64): Likewise.
37709 (_STATFS_F_FLAGS): Define.
37710 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
37711 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
37712 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
37713 (ST_VALID): Define locally.
37714 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
37715 __statvfs_getflags, use the provided value.
37716 * sysdeps/unix/sysv/linux/kernel-features.h: Define
37717 __ASSUME_STATFS_F_FLAGS.
37719 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
37721 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
37722 Add sys/fanotify.h.
37723 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
37724 fanotify_mask for GLIBC_2.13.
37725 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
37726 fanotify_init and fanotify_mark.
37727 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
37728 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
37730 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
37732 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
37733 prlimit64 for GLIBC_2.13.
37734 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
37736 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
37738 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
37739 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
37740 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
37741 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
37742 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
37744 * sysdeps/unix/sysv/linux/prlimit.c: New file.
37747 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
37748 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
37750 * nss/Makefile: Add rules to build and run tst-nss-test1.
37751 * shlib-versions: Add entry for libnss_test1.
37752 * nss/nss_test1.c: New file.
37753 * nss/tst-nss-test1.c: New file.
37755 * nss/nsswitch.c (__nss_database_custom): Define new variable.
37756 (__nss_configure_lookup): Set appropriate entry in
37757 __nss_configure_lookup to true.
37758 * nss/nsswitch.h: Define enum with indeces of databases in
37759 databases and __nss_database_custom arrays. Declare
37760 __nss_database_custom.
37761 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
37762 to avoid using nscd when custom rules are installed.
37763 * nss/getXXbyYY_r.c: Likewise.
37764 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
37766 * nss/nss_files/files-parse.c: Whitespace fixes.
37768 2010-08-09 Ulrich Drepper <drepper@redhat.com>
37771 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
37772 * posix/fnmatch_loop.c: Likewise.
37774 2010-07-17 Andi Kleen <ak@linux.intel.com>
37776 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
37777 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
37778 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
37779 * Versions.def [GLIBC_2.13]: Add.
37781 2010-08-06 Ulrich Drepper <drepper@redhat.com>
37783 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
37784 Also fail if tpwd after pwuid call is NULL.
37786 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
37788 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
37789 when converting to ms.
37791 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
37793 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
37794 EOPNOTSUPP errors with ENOTTY.
37795 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
37796 EOPNOTSUPP errors with ENOTTY.
37798 2010-07-31 Ulrich Drepper <drepper@redhat.com>
37800 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
37801 Add strcasecmp_l-ssse3.
37802 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
37804 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
37805 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
37806 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
37808 2010-07-30 Ulrich Drepper <drepper@redhat.com>
37810 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
37812 * string/Makefile (strop-tests): Add strcasecmp.
37813 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
37814 strcasecmp_l-nonascii.
37815 (gen-as-const-headers): Add locale-defines.sym.
37816 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
37817 * sysdeps/x86_64/strcasecmp.S: New file.
37818 * sysdeps/x86_64/strcasecmp_l.S: New file.
37819 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
37820 * sysdeps/x86_64/locale-defines.sym: New file.
37821 * string/test-strcasecmp.c: New file.
37823 * string/test-strcasestr.c: Test both ends of the range of characters.
37824 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
37826 2010-07-29 Roland McGrath <roland@redhat.com>
37829 * manual/locale.texi (Yes-or-No Questions): Fix example code.
37831 2010-07-27 Ulrich Drepper <drepper@redhat.com>
37833 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
37836 2010-07-27 Andreas Schwab <schwab@redhat.com>
37838 * manual/memory.texi (Malloc Tunable Parameters): Document
37841 2010-07-26 Roland McGrath <roland@redhat.com>
37844 * configure.in (-fgnu89-inline check): Set and substitute
37845 gnu89_inline, not libc_cv_gnu89_inline.
37846 * configure: Regenerated.
37847 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
37849 2010-07-26 Ulrich Drepper <drepper@redhat.com>
37851 * string/test-strnlen.c: New file.
37852 * string/Makefile (strop-tests): Add strnlen.
37853 * string/tester.c (test_strnlen): Add a few more test cases.
37854 * string/tst-strlen.c: Better error reporting.
37856 * sysdeps/x86_64/strnlen.S: New file.
37858 2010-07-24 Ulrich Drepper <drepper@redhat.com>
37860 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
37861 lower-latency instructions.
37863 2010-07-23 Ulrich Drepper <drepper@redhat.com>
37865 * string/test-strcasestr.c: New file.
37866 * string/test-strstr.c: New file.
37867 * string/Makefile (strop-tests): Add strstr and strcasestr.
37868 * string/str-two-way.h: Don't undefine MAX.
37869 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
37871 2010-07-21 Andreas Schwab <schwab@redhat.com>
37873 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37874 strcasestr-nonascii.
37875 (CFLAGS-strcasestr-nonascii.c): Define.
37876 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
37877 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
37878 Remove unused attribute.
37880 2010-07-20 Roland McGrath <roland@redhat.com>
37882 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
37883 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
37884 ld.so.cache was broken. With it, there is no way to disable dsocaps
37885 like LD_HWCAP_MASK can disable hwcaps.
37887 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
37889 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
37891 2010-07-16 Ulrich Drepper <drepper@redhat.com>
37893 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
37894 call in strcasestr.
37895 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
37896 __strcasestr_sse42_nonascii.
37897 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
37898 strcasestr-nonascii.c.
37899 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
37901 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
37903 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
37904 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
37905 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
37906 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
37908 2010-07-09 Ulrich Drepper <drepper@redhat.com>
37910 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
37913 2010-07-06 Andreas Schwab <schwab@redhat.com>
37916 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
37919 2010-07-06 Ulrich Drepper <drepper@redhat.com>
37921 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
37922 _PC_PIPE_BUF using F_GETPIPE_SZ.
37924 2010-07-05 Roland McGrath <roland@redhat.com>
37926 * manual/arith.texi (Rounding Functions): Fix rint description
37927 implicit in round description.
37929 2010-07-02 Ulrich Drepper <drepper@redhat.com>
37931 * elf/Makefile: Fix linking for a few tests to make recent linker
37934 2010-06-30 Andreas Schwab <schwab@redhat.com>
37936 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
37937 $(common-objpfx)libc_nonshared.a.
37939 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
37941 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
37942 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
37943 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
37944 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
37945 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
37946 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
37947 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
37948 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
37949 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
37950 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
37951 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
37952 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
37953 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
37954 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
37955 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
37956 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
37957 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
37958 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
37959 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
37960 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
37961 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
37962 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
37963 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
37964 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
37965 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
37966 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
37967 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
37968 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
37969 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
37970 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
37971 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
37972 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
37973 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
37974 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
37975 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
37976 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
37977 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
37978 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
37979 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
37980 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
37981 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
37982 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
37983 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
37984 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
37985 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
37986 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
37987 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
37988 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
37990 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
37992 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
37993 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
37994 * string/memmove.c (memmove): Renamed to ...
37995 (MEMMOVE): ...this. Default to memmove.
37996 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
37997 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
37999 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
38000 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
38001 mempcpy-ssse3-back memmove-ssse3-back.
38002 * sysdeps/x86_64/multiarch/bcopy.S: New file .
38003 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
38004 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
38005 * sysdeps/x86_64/multiarch/memcpy.S: New file.
38006 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
38007 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
38008 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
38009 * sysdeps/x86_64/multiarch/memmove.c: New file.
38010 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
38011 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
38012 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
38013 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
38014 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
38015 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
38017 (index_Fast_Copy_Backward): Define.
38018 (HAS_ARCH_FEATURE): Define.
38019 (HAS_FAST_REP_STRING): Define.
38020 (HAS_FAST_COPY_BACKWARD): Define.
38022 2010-06-21 Andreas Schwab <schwab@redhat.com>
38024 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
38025 Restore proper fallback handling.
38027 2010-06-19 Ulrich Drepper <drepper@redhat.com>
38030 * posix/group_member.c (__group_member): Correct checking loop.
38032 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
38033 OOM in getpwuid_r correctly. Return error number when the caller
38034 should return, otherwise -1.
38035 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
38036 call returning > 0 value.
38037 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
38039 2010-06-07 Andreas Schwab <schwab@redhat.com>
38041 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
38042 libc_nonshared.a from targets in modules-names.
38044 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
38046 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
38049 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
38051 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
38052 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
38053 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
38054 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
38056 2010-06-02 Andreas Schwab <schwab@redhat.com>
38058 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
38060 2010-06-14 Ulrich Drepper <drepper@redhat.com>
38062 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
38064 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
38065 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
38066 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
38067 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
38068 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
38069 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
38071 2010-06-14 Roland McGrath <roland@redhat.com>
38073 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
38075 2010-06-07 Jakub Jelinek <jakub@redhat.com>
38077 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
38078 __REDIRECT followed by __THROW.
38079 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
38080 * posix/getopt.h (getopt): Likewise.
38082 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
38084 * hurd/lookup-at.c (__file_name_lookup_at): Accept
38085 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
38086 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
38088 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
38089 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
38091 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
38093 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
38095 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
38098 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38099 Properly check family and model.
38101 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
38103 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
38105 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
38107 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
38109 2010-05-21 Ulrich Drepper <drepper@redhat.com>
38111 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
38114 2010-05-19 Andreas Schwab <schwab@redhat.com>
38116 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
38119 2010-05-21 Andreas Schwab <schwab@redhat.com>
38121 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
38122 and internal_recvmmsg.
38123 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
38124 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
38125 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
38126 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
38128 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
38129 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
38130 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
38132 2010-05-20 Andreas Schwab <schwab@redhat.com>
38134 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
38136 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
38138 POWER7 optimizations.
38139 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
38140 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
38142 2010-05-19 Ulrich Drepper <drepper@redhat.com>
38144 * version.h: Update for 2.13 development version.
38146 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
38148 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
38149 exceptions. Return 0.
38151 2010-05-07 Roland McGrath <roland@redhat.com>
38153 * elf/ldconfig.c (main): Add a const.
38155 2010-05-06 Ulrich Drepper <drepper@redhat.com>
38157 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
38158 (args_options): Add no-idn option.
38159 (ahosts_keys_int): Add idn_flags to ai_flags.
38160 (parse_option): Handle 'i' option to clear idn_flags.
38162 * malloc/malloc.c (_int_free): Possible race in the most recently
38163 added check. Only act on the data if no current modification
38166 See ChangeLog.17 for earlier changes.